diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml new file mode 100644 index 00000000..5db2e580 --- /dev/null +++ b/.github/workflows/python-package.yml @@ -0,0 +1,43 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python + +name: Python package + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Lint with flake8 + run: | + # stop the build if there are Python syntax errors or undefined names + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + - name: Install the module + run: | + python -m pip install . + - name: Test with pytest + run: | + pytest diff --git a/.gitignore b/.gitignore index 0a9ae630..2020516e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /testbed/ __pycache__/ /dist/ +/terraform-provider-junos-vqfx-evpn-vxlan/ diff --git a/examples/providers/build.sh b/examples/providers/build.sh index 992c4ba9..214b9906 100755 --- a/examples/providers/build.sh +++ b/examples/providers/build.sh @@ -2,8 +2,6 @@ set -e -(cd ../../.. && git clone https://github.com/Juniper/yang.git 2>&1 | grep "destination path 'yang' already exists") +jtaf-yang2go -p ../yang/18.2/18.2R3/common ../yang/18.2/18.2R3/junos-qfx/conf/*.yang -x ../evpn-vxlan-dc/dc1/dc1-*leaf* ../evpn-vxlan-dc/dc1/dc1-*spine* ../evpn-vxlan-dc/dc2/dc2-*spine* -t vqfx-evpn-vxlan -jtaf-yang2go -p ../../../yang/18.2/18.2R3/common ../../../yang/18.2/18.2R3/junos-qfx/conf/*.yang -x ../evpn-vxlan-dc/dc1/dc1-*leaf* ../evpn-vxlan-dc/dc1/dc1-*spine* ../evpn-vxlan-dc/dc2/dc2-*spine* -t vqfx-evpn-vxlan - -jtaf-yang2go -p ../../../yang/18.2/18.2R3/common ../../../yang/18.2/18.2R3/junos-es/conf/*.yang -x ../evpn-vxlan-dc/dc1/dc1-*firewall* ../evpn-vxlan-dc/dc2/dc2-*firewall* -t vsrx-evpn-vxlan \ No newline at end of file +jtaf-yang2go -p ../yang/18.2/18.2R3/common ../yang/18.2/18.2R3/junos-es/conf/*.yang -x ../evpn-vxlan-dc/dc1/dc1-*firewall* ../evpn-vxlan-dc/dc2/dc2-*firewall* -t vsrx-evpn-vxlan diff --git a/examples/yang/18.2/18.2R3/README.txt b/examples/yang/18.2/18.2R3/README.txt new file mode 100644 index 00000000..874745d4 --- /dev/null +++ b/examples/yang/18.2/18.2R3/README.txt @@ -0,0 +1,42 @@ +Juniper YANG modules +==================== + +This package contains the configuration and operational YANG modules for +various JUNOS families. Each family has its own directory and contains the +family specific files. The 'common' directory contains the family independent +files and as the name suggests, is common across all families. The +*-with-extensions directories contain the corresponding YANG modules with +references to Junos extensions modules. + +Package--+-common (Common modules like extensions) + | + +--+-conf (Configuration YANG modules) + | + +-rpc (Operational commands YANG modules) + | + +-conf-with-extensions (Configuration YANG with Junos extensions) + | + +-rpc-with-extensions (Operational YANG with Junos extensions) + +Each JUNOS 'family' is a grouping of similar platforms : + +junos : M/MX, T/TX, Some EX platforms, ACX +junos-es : SRX, Jseries, LN-* +junos-ex : EX series +junos-qfx : QFX series +junos-nfx : NFX series + +The command "show system information" can be used to find what 'family' a +device belongs to. This command is supported from Junos 17.2 onwards. + +Ex: + +user@test> show system information +Model: mx240 +Family: junos <-----This is the device family +Junos: 17.2R1.1 +Hostname: test + + + + diff --git a/examples/yang/18.2/18.2R3/common/junos-common-ddl-extensions@2019-01-01.yang b/examples/yang/18.2/18.2R3/common/junos-common-ddl-extensions@2019-01-01.yang new file mode 100644 index 00000000..1ab3ad62 --- /dev/null +++ b/examples/yang/18.2/18.2R3/common/junos-common-ddl-extensions@2019-01-01.yang @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-common-ddl-extensions { + namespace "http://yang.juniper.net/junos/common/ddl-extensions"; + + prefix junos; + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "This module contains definitions for Junos YANG extensions."; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + extension must { + argument "stmt-algebra"; + description " + expression of configuration-statement paths having special + keywords like any, all, unique"; + } + extension must-message { + argument "message-string"; + description " + When specifying the junos:must constraint, a must-message should + also be specified so that when the contraint is not met,the + warning message informs users what the constraints are. + + If the must-message is missing, the input file will compile, + but the warning message will say (null) which won't be + helpful for users to fix the problem"; + } + extension posix-pattern { + argument "value"; + description " + expression of pattern in posix format"; + } + extension pattern-message { + argument "value"; + description " + Error message in case of mismatch"; + } + extension command { + argument "command"; + description " + The junos cli command for this rpc"; + } + extension action-execute { + description " + The junos action execute for rpc"; + } + extension script { + argument "script"; + description " + The junos action execute script for rpc"; + } + extension trans-script { + argument "value"; + description " + List of space seperated tranlsation scripts invoked by + associated hierarchy"; + } + } diff --git a/examples/yang/18.2/18.2R3/common/junos-common-odl-extensions@2019-01-01.yang b/examples/yang/18.2/18.2R3/common/junos-common-odl-extensions@2019-01-01.yang new file mode 100644 index 00000000..2d223bb1 --- /dev/null +++ b/examples/yang/18.2/18.2R3/common/junos-common-odl-extensions@2019-01-01.yang @@ -0,0 +1,98 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-common-odl-extensions { + namespace "http://yang.juniper.net/junos/common/odl-extensions"; + + prefix junos-odl; + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "This module contains definitions for Junos YANG ODL extensions"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + extension header { + argument "header"; + description "ODL format header"; + } + extension header-group { + argument "header-group"; + description "ODL format header group"; + } + extension picture { + argument "picture"; + description "ODL format picture"; + } + extension line { + description "ODL line statement"; + } + extension field { + argument "field"; + description "ODL field statement"; + } + extension style { + argument "style"; + description "ODL format style"; + } + extension template { + argument "template"; + description "ODL format template"; + } + extension indent { + argument "indent"; + description "Indent the display to right"; + } + extension default-text { + argument "default-text"; + description "ODL default text for missing field"; + } + extension formal-name { + argument "formal-name"; + description "ODL formal name for rendering"; + } + extension capitalize { + description "ODL flag to capitalize the text output"; + } + extension colon { + description "ODL flag for colon"; + } + extension explicit { + description "ODL flag for explicit"; + } + extension fieldwrap { + description "ODL flag for fieldwrap"; + } + extension float { + description "ODL flag for float"; + } + extension leading { + description "ODL flag for leading"; + } + extension space { + description "ODL flag for space"; + } + extension truncate { + description "ODL flag for truncate"; + } + extension wordwrap { + description "ODL flag for wordwrap"; + } + extension comma { + description "ODL flag for comma"; + } + extension cli-format { + description "Flag for container used for cli rendering"; + } + extension no-line-break { + description "ODL flag for no linebreak"; + } + extension blank-line { + description "ODL flag for no blank line"; + } + } diff --git a/examples/yang/18.2/18.2R3/common/junos-common-types@2019-01-01.yang b/examples/yang/18.2/18.2R3/common/junos-common-types@2019-01-01.yang new file mode 100644 index 00000000..dd497c25 --- /dev/null +++ b/examples/yang/18.2/18.2R3/common/junos-common-types@2019-01-01.yang @@ -0,0 +1,200 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-common-types { + namespace "http://yang.juniper.net/junos/common/types"; + + prefix jt; + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "This module contains definitions for Junos YANG types."; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + typedef daemon { + type string; + } + typedef filename { + type string; + } + typedef client-filename { + type string; + } + typedef hostname { + type string; + } + typedef ipaddr { + type string; + } + typedef sysid { + type string; + } + typedef interface-device { + type string; + } + typedef ddl-bits { + type string; + } + typedef isoaddr { + type string; + } + typedef ipprefix { + type string; + } + typedef ipprefix-mandatory { + type string; + } + typedef interface-unit { + type string; + } + typedef ipaddr-or-interface { + type string; + } + typedef areaid { + type string; + } + typedef interface-name { + type string; + } + typedef community { + type string; + } + typedef interface-wildcard { + type string; + } + typedef unreadable { + type string; + } + typedef ipprefix-optional { + type string; + } + typedef policy-algebra { + type string; + } + typedef regular-expression { + type string; + } + typedef group-glob { + type string; + } + typedef atm-vci { + type string; + } + typedef ipprefix-only { + type string; + } + typedef ipv4addr { + type string; + } + typedef ipv4prefix { + type string; + } + typedef ipv4prefix-mandatory { + type string; + } + typedef ipv4addr-or-interface { + type string; + } + typedef ipv4prefix-optional { + type string; + } + typedef ipv4prefix-only { + type string; + } + typedef ipv6addr { + type string; + } + typedef ipv6prefix { + type string; + } + typedef ipv6prefix-mandatory { + type string; + } + typedef ipv6addr-or-interface { + type string; + } + typedef ipv6prefix-optional { + type string; + } + typedef ipv6prefix-only { + type string; + } + typedef interface-device-wildcard { + type string; + } + typedef time { + type string; + } + typedef mac-addr { + type string; + } + typedef mac-addr-prefix { + type string; + } + typedef mac-unicast { + type string; + } + typedef mac-unicast-prefix { + type string; + } + typedef mac-multicast { + type string; + } + typedef mac-multicast-prefix { + type string; + } + typedef mpls-label { + type string; + } + typedef unsigned-float { + type string; + } + typedef isoprefix { + type string; + } + typedef isosysid { + type string; + } + typedef string-huge { + type string; + } + typedef variable { + type string; + } + typedef glob-variable { + type string; + } + typedef vlan-range { + type string; + } + typedef interface-range-wild { + type string; + } + typedef fc-addr { + type string; + } + typedef wwn { + type string; + } + typedef logfilename { + type string; + } + typedef range { + type string; + } + typedef esi { + type string; + } + typedef time-of-day { + type string; + } + typedef date { + type string; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-access-profile@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-access-profile@2019-01-01.yang new file mode 100644 index 00000000..21d70049 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-access-profile@2019-01-01.yang @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-access-profile { + namespace "http://yang.juniper.net/junos-es/conf/access-profile"; + + prefix jc-access-profile; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos access-profile configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses access-profile-group; + } + augment /jc:configuration/jc:groups { + uses access-profile-group; + } + grouping access-profile-group { + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-access@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-access@2019-01-01.yang new file mode 100644 index 00000000..f8e106c9 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-access@2019-01-01.yang @@ -0,0 +1,5915 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-access { + namespace "http://yang.juniper.net/junos-es/conf/access"; + + prefix jc-access; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos access configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses access-group; + } + augment /jc:configuration/jc:groups { + uses access-group; + } + grouping access-group { + container access { + description "Network access configuration"; + uses juniper-access-options; + } + } + grouping juniper-access-options { + uses apply-advanced; + list radius-server { + key name; + ordered-by user; + description "RADIUS server configuration"; + uses access-radius-server-object; + } + list domain-name-server { + key name; + ordered-by user; + description "Default DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet { + key name; + ordered-by user; + description "DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet6 { + key name; + ordered-by user; + description "DNS server's IPv6 address"; + leaf name { + description "Address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "Default WINS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list address-pool { + key name; + ordered-by user; + description "Address pool"; + uses address-pool-object; + } + list group-profile { + key name; + ordered-by user; + description "Group profile to use for this client"; + uses group-profile-object; + } + list profile { + key name; + ordered-by user; + description "Set of attributes that define access"; + leaf name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list accounting-order { + ordered-by user; + description "Order in which accounting mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + } + } + leaf-list authentication-order { + ordered-by user; + description "Order in which authentication mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "password" { + description "Locally configured password in access profile"; + } + enum "none" { + description "No authentication performed"; + } + enum "nasreq" { + description "Diameter based authentication and authorization using NASREQ application protocol"; + } + enum "ldap" { + description "Lightweight Directory Access Protocol"; + } + enum "securid" { + description "RSA SecurID Authentication"; + } + } + } + leaf-list authorization-order { + ordered-by user; + description "Order in which authorization mechanisms are used"; + type enumeration { + enum "jsrc" { + description "Diameter based authorization using Juniper's SRC application protocol"; + } + enum "nasreq" { + description "Diameter based authorization using NASREQ application protocol"; + } + enum "none" { + description "No authorization performed"; + } + } + } + leaf provisioning-order { + description "Order in which provisioning mechanisms are used"; + type enumeration { + enum "jsrc" { + description "Address authorization via SRC"; + } + enum "gx-plus" { + description "Policy/service provisioning via GXPLUS"; + } + enum "pcrf" { + description "Policy/service provisioning via PCRF"; + } + } + } + leaf-list preauthentication-order { + ordered-by user; + description "Order in which preauthentication mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + } + } + leaf-list charging-service-list { + ordered-by user; + description "List of used 3gpp charging servicess"; + type enumeration { + enum "ocs" { + description "Online charging service"; + } + } + } + list domain-name-server { + key name; + ordered-by user; + description "Default DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet { + key name; + ordered-by user; + description "DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet6 { + key name; + ordered-by user; + description "DNS server's IPv6 address"; + leaf name { + description "Address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "Default WINS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list client { + key name; + description "Entity requesting access"; + uses access-client-object; + } + container address-assignment { + description "Address assignment pool"; + uses apply-advanced; + leaf pool { + description "Name of address-assignment pool"; + type string { + length "1 .. 63"; + } + } + } + container local { + description "Set configuration for local reporting"; + uses apply-advanced; + leaf flat-file-profile { + description "Specifies that the service accounting will be reported as per flat-file profile"; + type string; + } + } + container radius { + description "Set of RADIUS configurations"; + uses apply-advanced; + leaf-list authentication-server { + ordered-by user; + description "The authentication server list to use in the specified order to send authentication messages"; + type jt:ipaddr; + } + leaf-list accounting-server { + ordered-by user; + description "The accounting server list to use in the specified order to send accounting messages"; + type jt:ipaddr; + } + leaf-list preauthentication-server { + ordered-by user; + description "The preauthentication server list to use in the specified order to send preauthentication messages"; + type jt:ipv4addr; + } + container options { + description "Specifies the RADIUS options"; + uses apply-advanced; + leaf ethernet-port-type-virtual { + description "Type of physical port to authenticate the user is virtual (RADIUS attribute 61)"; + type empty; + } + container interface-description-format { + description "Interface description in the NAS-port-ID attribute"; + uses apply-advanced; + leaf exclude-sub-interface { + description "Exclude sub-interface from interface description"; + type empty; + } + leaf exclude-adapter { + description "Exclude adapter from interface description"; + type empty; + } + leaf exclude-channel { + description "Exclude channel from interface description"; + type empty; + } + } + leaf nas-identifier { + description "NAS-Identifier to be used for authentication and accounting requests (RADIUS attribute 32)"; + type string { + length "1 .. 64"; + } + } + container nas-port-extended-format { + description "RADIUS client's use of an extended format for RADIUS attribute 5"; + uses apply-advanced; + leaf ae-width { + description "Number of bits for the aggregated ethernet identifier field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf slot-width { + description "Number of bits for the slot field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf adapter-width { + description "Number of bits for the adapter field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf port-width { + description "Number of bits for the port field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf pw-width { + description "Number of bits for the pseudo-wire field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf stacked-vlan-width { + description "Number of bits for the S-VLAN subinterface field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf vlan-width { + description "Number of bits for the VLAN subinterface field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + container atm { + description "ATM specific parameters for NAS Port"; + uses apply-advanced; + leaf slot-width { + description "Number of bits for the ATM slot field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf adapter-width { + description "Number of bits for the ATM adapter field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf port-width { + description "Number of bits for the ATM port field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf vpi-width { + description "Number of bits for the ATM VPI field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf vci-width { + description "Number of bits for the ATM VCI field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + leaf nas-port-id-delimiter { + description "Single character delimiter character to use in the NAS-Port-Id"; + type string { + length 1; + } + } + container nas-port-id-format { + description "Format methods for building the NAS-Port-Id radius attribute"; + uses apply-advanced; + leaf nas-identifier { + description "Include the nas-identifier value"; + type empty; + } + leaf interface-description { + description "Include the interface-description value"; + type empty; + } + leaf agent-circuit-id { + description "Include (ACI) agent-circuit-id value"; + type empty; + } + leaf agent-remote-id { + description "Include (ARI) agent-remote-id value"; + type empty; + } + leaf postpend-vlan-tags { + description "Include the vlan tag(s) using :-"; + type empty; + } + leaf interface-text-description { + description "Include the interfaces description string"; + type empty; + } + leaf-list order { + ordered-by user; + description "Order of options for appearance in the NAS-Port-Id string"; + type enumeration { + enum "nas-identifier" { + description "Include the nas-identifier value"; + } + enum "agent-circuit-id" { + description "Include (ACI) agent-circuit-id value"; + } + enum "agent-remote-id" { + description "Include (ARI) agent-remote-id value"; + } + enum "interface-description" { + description "Include the interface-description value"; + } + enum "interface-text-description" { + description "Include the interface's description string"; + } + enum "postpend-vlan-tags" { + description "Include the vlan tag(s) using :-"; + } + } + } + } + container nas-port-type { + description "Translation mechanism for changing the NAS-Port-Type radius attribute"; + uses apply-advanced; + leaf ethernet { + description "Translation mechanism for changing the Ethernet value"; + type string; + } + } + leaf calling-station-id-delimiter { + description "Single character separator for calling-station-id"; + type string { + length 1; + } + } + container calling-station-id-format { + description "Format method for building the calling-station-id"; + uses apply-advanced; + leaf nas-identifier { + description "Include the nas-identifier value"; + type empty; + } + leaf interface-description { + description "Include the interface-description value"; + type empty; + } + leaf agent-circuit-id { + description "Include agent-circuit-id value"; + type empty; + } + leaf agent-remote-id { + description "Include agent-remote-id value"; + type empty; + } + leaf interface-text-description { + description "Include the interfaces description string"; + type empty; + } + leaf stacked-vlan { + description "Include the stacked vlan tag value"; + type empty; + } + leaf vlan { + description "Include the vlan tag value"; + type empty; + } + } + leaf accounting-session-id-format { + description "Decimal format or description format for the accounting session ID"; + type enumeration { + enum "decimal" { + description "Decimal-session-identifier"; + } + enum "description" { + description "Description Format: :"; + } + } + } + leaf revert-interval { + description "Time after which to revert to primary server"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + leaf vlan-nas-port-stacked-format { + description "Include the S-VLAN ID, in addition to the VLAN ID, for subscribers on Ethernet interfaces"; + type empty; + } + leaf client-authentication-algorithm { + description "Algorithm to access the RADIUS servers for authentication"; + type enumeration { + enum "direct" { + description "Contacts the first AAA server on the list for each request, the second AAA server if the first one fails, and so on"; + } + enum "round-robin" { + description "Contacts the first AAA server for the first request, the second AAA server for the second request, and so on"; + } + } + } + leaf client-accounting-algorithm { + description "Algorithm to access the RADIUS servers for accounting"; + type enumeration { + enum "direct" { + description "Contacts the first AAA server on the list for each request, the second AAA server if the first one fails, and so on"; + } + enum "round-robin" { + description "Contacts the first AAA server for the first request, the second AAA server for the second request, and so on"; + } + } + } + leaf juniper-dsl-attributes { + description "Include the Juniper (IANA 4874) DSL VSAs in requests to RADIUS servers"; + type empty; + } + container ip-address-change-notify { + presence "enable ip-address-change-notify"; + description "Include IPv4-Release-Control VSA (26-164) in requests to RADIUS server"; + leaf message { + description "Message to be added in IPv4-Release-Control VSA (26-164)"; + type string { + length "1 .. 32"; + } + } + } + leaf coa-dynamic-variable-validation { + description "Enable strict dynamic variable validation (no undefined variable) in CoA processing"; + type empty; + } + leaf chap-challenge-in-request-authenticator { + description "Use 16-byte CHAP challenge as Request Authenticator"; + type empty; + } + container service-activation { + description "Service activation requirement for successful login"; + uses apply-advanced; + leaf extensible-service { + description "Service activation of extensible services requirement for successful login"; + default "optional-at-login"; + type enumeration { + enum "required-at-login" { + description "Service activation must succeed to allow subscriber login"; + } + enum "optional-at-login" { + description "Service activation success is not required to allow subscriber login"; + } + } + } + leaf dynamic-profile { + description "Service activation of dynamic-profile services requirement for successful login"; + default "required-at-login"; + type enumeration { + enum "required-at-login" { + description "Service activation must succeed to allow subscriber login"; + } + enum "optional-at-login" { + description "Service activation success is not required to allow subscriber login"; + } + } + } + } + leaf accounting-username-original { + description "Use orignal (un-modified) username in accounting messages"; + type empty; + } + } + container attributes { + description "Specifies how RADIUS attributes should be handled"; + uses apply-advanced; + container ignore { + description "Ignores the specified attribute in RADIUS Access-Accept messages"; + uses apply-advanced; + leaf output-filter { + description "Juniper (IANA 4874) Output-filter / Egress-Policy-Name (VSA 26-11)"; + type empty; + } + leaf input-filter { + description "Juniper (IANA 4874) Input-filter / Ingress-Policy-Name (VSA 26-10)"; + type empty; + } + leaf framed-ip-netmask { + description "Framed-IP-Netmask (attribute 9)"; + type empty; + } + leaf logical-system-routing-instance { + description "Juniper (IANA 4874) Logical-system-routing-instance / Virtual-Router (VSA 26-1)"; + type empty; + } + leaf dynamic-iflset-name { + description "Juniper (IANA 4874) Dynamic interface set / Qos-Set-Name (VSA 26-130)"; + type empty; + } + leaf idle-timeout { + description "Idle-Timeout (attribute 28)"; + type empty; + } + leaf session-timeout { + description "Session-Timeout (attribute 27)"; + type empty; + } + leaf-list standard-attribute { + ordered-by user; + description "RADIUS standard attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + list vendor-id { + key name; + ordered-by user; + description "Specify the vendor-identifier for a vendor-specific attribute (VSA)"; + leaf name { + description "Vendor IANA enterprise number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + uses apply-advanced; + leaf-list vendor-attribute { + ordered-by user; + description "Vendor specific attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container exclude { + description "Configures the exclusion of RADIUS attributes in RADIUS messages"; + uses apply-advanced; + list standard-attribute { + key name; + ordered-by user; + description "Specify RADIUS standard attribute number"; + leaf name { + description "RADIUS standard attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + leaf-list packet-type { + ordered-by user; + description "Specify packet types to be excluded"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + } + list vendor-id { + key name; + ordered-by user; + description "Specify the vendor-identifier for a vendor-specific attribute (VSA)"; + leaf name { + description "Vendor IANA enterprise number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + uses apply-advanced; + list vendor-attribute { + key name; + ordered-by user; + description "Specify vendor specific attribute number"; + leaf name { + description "Vendor specific attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + leaf-list packet-type { + ordered-by user; + description "Specify packet types to be excluded"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + } + } + leaf-list accounting-authentic { + ordered-by user; + description "Excludes RADIUS attribute 45, Acct-Authentic"; + type enumeration { + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list accounting-delay-time { + ordered-by user; + description "Excludes RADIUS attribute 41, Acct-Delay-Time"; + type enumeration { + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list accounting-session-id { + ordered-by user; + description "Excludes RADIUS attribute 44, Acct-Session-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list accounting-terminate-cause { + ordered-by user; + description "Excludes RADIUS attribute 49, Acct-Terminate-Cause"; + type enumeration { + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + } + } + leaf-list called-station-id { + ordered-by user; + description "Excludes RADIUS attribute 30, Called-Station-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list calling-station-id { + ordered-by user; + description "Excludes RADIUS attribute 31, Calling-Station-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list class { + ordered-by user; + description "Excludes RADIUS attribute 25, Class"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list delegated-ipv6-prefix { + ordered-by user; + description "Excludes RADIUS attribute 123, Delegated-IPv6-Prefix"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-options { + ordered-by user; + description "Excludes RADIUS attribute 26-55, DHCP-Options"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-gi-address { + ordered-by user; + description "Excludes RADIUS attribute 26-57, DHCP-GI-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-mac-address { + ordered-by user; + description "Excludes RADIUS attribute 26-56, DHCP-MAC-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-filter { + ordered-by user; + description "Excludes RADIUS attribute 26-11, Egress-Policy-Name"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list event-time-stamp { + ordered-by user; + description "Excludes RADIUS attribute 55, Event-Timestamp"; + type enumeration { + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list filter-id { + ordered-by user; + description "Excludes RADIUS attribute 11, Filter-Id"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ip-address { + ordered-by user; + description "Excludes RADIUS attribute 8, Framed-IP-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ip-netmask { + ordered-by user; + description "Excludes RADIUS attribute 9, Framed-IP-Netmask"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ip-route { + ordered-by user; + description "Excludes RADIUS attribute 22, Framed-Route"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-address { + ordered-by user; + description "Excludes RADIUS attribute 168, Framed-IPV6-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-pool { + ordered-by user; + description "Excludes RADIUS attribute 100, Framed-IPv6-Pool"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-prefix { + ordered-by user; + description "Excludes RADIUS attribute 97, Framed-IPv6-Prefix"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-route { + ordered-by user; + description "Excludes RADIUS attribute 99, Framed-IPv6-Route"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-pool { + ordered-by user; + description "Excludes RADIUS attribute 88, Framed-Pool"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-filter { + ordered-by user; + description "Excludes RADIUS attribute 26-10, Ingress-Policy-Name"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-gigapackets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-42, Acct-Input-Gigapackets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-gigawords { + ordered-by user; + description "Excludes RADIUS attribute 52, Acct-Input-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-ipv6-packets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-153, Acct-Input-IPv6-Packets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-ipv6-gigawords { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-155, Acct-Input-IPv6-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-ipv6-octets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-151, Acct-Input-IPv6-Octets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list interface-description { + ordered-by user; + description "Excludes RADIUS attribute 26-63, Interface-Desc"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-identifier { + ordered-by user; + description "Excludes RADIUS attribute 32, NAS-identifier"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-port { + ordered-by user; + description "Excludes RADIUS attribute 5, NAS-Port"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-port-id { + ordered-by user; + description "Excludes RADIUS attribute 87, NAS-Port-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-port-type { + ordered-by user; + description "Excludes RADIUS attribute 61, NAS-Port-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-gigapackets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-43, Acct-Output-Gigapackets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-gigawords { + ordered-by user; + description "Excludes RADIUS attribute 53, Acct-Output-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-ipv6-packets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-154, Acct-Output-IPv6-Packets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-ipv6-gigawords { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-156, Acct-Output-IPv6-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-ipv6-octets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-152, Acct-Output-IPv6-Octets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dynamic-iflset-name { + ordered-by user; + description "Excludes RADIUS attribute 26-130, Dynamic-Iflset-Name"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dsl-forum-attributes { + ordered-by user; + description "Excludes DSL Forum RADIUS attributes (RFC 4679)"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list l2c-upstream-data { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-92, L2C-Upstream-Data"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list l2c-downstream-data { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-93, L2C-Downstream-Data"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-loop-cir-id { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-110, Acc-Loop-Cir-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-aggr-cir-id-bin { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-111, Acc-Aggr-Cir-Id-Bin"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-aggr-cir-id-asc { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-112, Acc-Aggr-Cir-Id-Asc"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-113, Act-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-114, Act-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-115, Min-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-116, Min-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list att-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-117, Att-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list att-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-118, Att-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-119, Max-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-120, Max-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-lp-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-121, Min-Lp-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-lp-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-122, Min-Lp-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-interlv-delay-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-123, Max-Interlv-Delay-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-interlv-delay-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-124, Act-Interlv-Delay-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-interlv-delay-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-125, Max-Interlv-Delay-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-interlv-delay-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-126, Act-Interlv-Delay-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dsl-line-state { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-127, DSL-Line-State"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dsl-type { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-128, DSL-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list downstream-calculated-qos-rate { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-141, Downstream-Calculated-QoS-Rate"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list upstream-calculated-qos-rate { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-142, Upstream-Calculated-QoS-Rate"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list cos-shaping-rate { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-177, Cos-Shaping-Rate"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-interface-id { + ordered-by user; + description "Excludes RADIUS attribute 96, Framed-Interface-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list chargeable-user-identity { + ordered-by user; + description "Excludes RADIUS attribute 89, Chargeable-User-Identity"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list l2tp-tx-connect-speed { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-162, , L2TP-Tx-Connect-Speed"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list l2tp-rx-connect-speed { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-163, , L2TP-Rx-Connect-Speed"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-type { + ordered-by user; + description "Excludes RADIUS attribute 64, Tunnel-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-medium-type { + ordered-by user; + description "Excludes RADIUS attribute 65, Tunnel-Medium-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-client-endpoint { + ordered-by user; + description "Excludes RADIUS attribute 66, Tunnel-Client-Endpoint"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-server-endpoint { + ordered-by user; + description "Excludes RADIUS attribute 67, Tunnel-Server-Endpoint"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-assignment-id { + ordered-by user; + description "Excludes RADIUS attribute 82, Tunnel-Assignment-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-client-auth-id { + ordered-by user; + description "Excludes RADIUS attribute 90, Tunnel-Client-Auth-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-server-auth-id { + ordered-by user; + description "Excludes RADIUS attribute 91, Tunnel-Server-Auth-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acct-tunnel-connection { + ordered-by user; + description "Excludes RADIUS attribute 68, Acct-Tunnel-Connection"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-loop-remote-id { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-XXX, ERX-Acc-Loop-Remote-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-loop-encap { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-182, ERX-Acc-Loop-Encap"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list pppoe-description { + ordered-by user; + description "Excludes RADIUS attribute 26-24, PPPOE-Description"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list virtual-router { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-1, Virtual-Router"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list first-relay-ipv4-address { + ordered-by user; + description "Excludes RADIUS attribute 26-189, DHCP-First-Relay-IPv4-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list first-relay-ipv6-address { + ordered-by user; + description "Excludes RADIUS attribute 26-190, DHCP-First-Relay-IPv6-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcpv6-options { + ordered-by user; + description "Excludes RADIUS attribute 26-207, DHCPv6-Options"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-header { + ordered-by user; + description "Excludes RADIUS attribute 26-208, DHCP-Header"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list dhcpv6-header { + ordered-by user; + description "Excludes RADIUS attribute 26-209, DHCPv6-Header"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list acct-request-reason { + ordered-by user; + description "Excludes RADIUS attribute 26-210, Acct-Request-Reason"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + } + } + } + container session-options { + description "Options for an authenticated client's session"; + uses apply-advanced; + leaf-list client-group { + ordered-by user; + description "One or more groups to which client belongs"; + type string; + } + leaf client-idle-timeout { + description "Time in minutes of idleness after which access is denied"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf client-idle-timeout-ingress-only { + description "Idle timeout applies to ingress traffic only"; + type empty; + } + leaf client-session-timeout { + description "Time in minutes since initial access after which access is denied"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 527040"; + } + } + } + container strip-user-name { + description "Options for stripping user name string"; + uses apply-advanced; + container delimiter { + description "Allowable delimiter characters for strip user name separation"; + leaf characters { + description "Sequence of characters without spaces and commas"; + type string { + length "1 .. 8"; + } + } + } + container parse-direction { + description "Strip user name parsing direction"; + choice direction { + case case_1 { + leaf right-to-left { + description "Parse the username from right to left"; + type empty; + } + } + case case_2 { + leaf left-to-right { + description "Parse the username field from left to right"; + type empty; + } + } + } + } + } + container pcc-context { + description "Pcc context configurations"; + uses apply-advanced; + leaf pcef-profile { + description "Pcef profile name"; + type string; + } + leaf input-service-set { + description "Input service-set name"; + type string; + } + leaf output-service-set { + description "Output service-set name"; + type string; + } + leaf input-ipv6-service-set { + description "Input ipv6 service set name"; + type string; + } + leaf output-ipv6-service-set { + description "Output ipv6 service set name"; + type string; + } + leaf input-service-filter { + description "Input service filter name"; + type string; + } + leaf output-service-filter { + description "Output service filter name"; + type string; + } + leaf input-ipv6-service-filter { + description "Input ipv6 service filter name"; + type string; + } + leaf output-ipv6-service-filter { + description "Output ipv6 service filter name"; + type string; + } + } + } + container client-name-filter { + description "Restrictions on client names"; + uses access-client-name-filter-object; + } + container ldap-options { + description "Lightweight Directory Access Protocol options"; + uses access-ldap-options; + } + list ldap-server { + key name; + ordered-by user; + description "Lightweight Directory Access Protocol server"; + uses ldap-server-object; + } + list radius-server { + key name; + ordered-by user; + description "RADIUS server configuration"; + uses profile-radius-server-object; + } + container radius-options { + description "RADIUS options"; + uses access-radius-options; + } + container accounting { + description "Specifies the accounting options"; + uses apply-advanced; + leaf-list order { + ordered-by user; + description "Order in which accounting mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote authentication dial-in user service"; + } + } + } + leaf accounting-stop-on-failure { + description "Send an Acct-Stop message if a user fails authentication, but AAA-server grants access"; + type empty; + } + leaf accounting-stop-on-access-deny { + description "Send an Acct-Stop message if AAA-server denies access"; + type empty; + } + leaf immediate-update { + description "Send an Acct-Update message on receipt of a Acct-response for the Acct-Start message"; + type empty; + } + leaf coa-immediate-update { + description "Send an Acct-Update message on completion of processing a change of authorization"; + type empty; + } + leaf statistics { + description "Reports set of statistics attributes based on reporting type"; + type enumeration { + enum "volume-time" { + description "Configures the option to report both volume and uptime"; + } + enum "time" { + description "Configures the option to report only uptime"; + } + } + } + leaf wait-for-acct-on-ack { + description "Wait for ACCT-ON-ACK"; + type empty; + } + leaf duplication { + description "Send duplicated accounting reports if applied"; + type empty; + } + leaf-list duplication-filter { + ordered-by user; + description "Configure duplication filters"; + type enumeration { + enum "interim-original" { + description "Do not send original accounting interims"; + } + enum "interim-duplicated" { + description "Do not send duplicated accounting interims"; + } + enum "exclude-attributes" { + description "Use duplication access profile exclude attributes"; + } + } + } + container duplication-vrf { + description "Duplication vrf configurations"; + uses apply-advanced; + leaf vrf-name { + description "VRF name"; + type string { + length "1 .. 257"; + } + } + leaf-list access-profile-name { + ordered-by user; + description "Access profile name"; + type string { + length "1 .. 63"; + } + max-elements 5; + } + } + leaf-list duplication-attribute-format { + ordered-by user; + description "Use attribute format defined under duplication accouting access-profile"; + type enumeration { + enum "username" { + description "Username"; + } + } + } + leaf ancp-speed-change-immediate-update { + description "Send an Acct-Update message when ANCP speed change is detected"; + type empty; + } + leaf family-state-change-immediate-update { + description "Send an Acct-Update message to notify address family activation state change"; + type empty; + } + } + container service { + description "Subscriber service configurations"; + uses apply-advanced; + leaf accounting-order { + description "Order in which accounting mechanism service is used"; + type enumeration { + enum "activation-protocol" { + description "Send service accounting reports via service activation protocol"; + } + enum "radius" { + description "Send service accounting reports via radius protocol"; + } + enum "local" { + description "Send service accounting for local reporting"; + } + } + } + container accounting { + description "Specifies the service accounting options"; + uses apply-advanced; + leaf update-interval { + description "The interval in minutes between accounting updates(Interim-stats off, if not specified)"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf statistics { + description "Reports set of statistics attributes based on reporting type"; + type enumeration { + enum "time" { + description "Configures the option to report only uptime"; + } + enum "volume-time" { + description "Configures the option to report both volume and uptime"; + } + } + } + } + } + container jsrc { + description "Set of JSRC configurations"; + uses apply-advanced; + container attributes { + description "Specifies how JSRC attributes should be handled"; + uses apply-advanced; + container exclude { + description "Configures the exclusion of JSRC attributes in DIAMETER messages"; + uses apply-advanced; + leaf-list user-name { + ordered-by user; + description "Excludes Diameter attribute 1, User-Name"; + type enumeration { + enum "authorization-request" { + description "Authorization AA-Request message"; + } + enum "provisioning-request" { + description "Provisioning AA-Request message"; + } + } + } + } + } + } + list subscriber { + key name; + description "Locally authenticated subscriber configuration"; + uses localauth-subscriber-object; + } + } + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + container address-preservation { + description "Enable address preservation"; + uses apply-advanced; + leaf address-types { + type enumeration { + enum "delegated-prefix" { + description "Address preservation delegated prefix"; + } + } + } + leaf aging-time { + description "Time to hold address reservation"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3600 .. 604800"; + } + } + } + } + leaf linked-pool-aggregation { + description "Enable linked pools aggregation"; + type empty; + } + container domain { + description "Domain map configuration"; + uses domain-map-type; + } + container ppp-options { + presence "enable ppp-options"; + description "Point-to-Point Protocol (PPP) specific options"; + uses apply-advanced; + container compliance { + description "Standards compliance definition"; + uses apply-advanced; + leaf-list rfc { + ordered-by user; + description "Enforce compliance with RFC standards"; + type enumeration { + enum "2486" { + description "RFC 2486 compliant"; + } + } + } + } + } + container gx-plus { + description "GX-PLUS configuration"; + uses gx-plus-definition; + } + container pcrf { + description "PCRF configuration"; + uses pcrf-definition; + } + container ocs { + description "OCS configuration"; + uses ocs-definition; + } + leaf report-interface-descriptions { + description "Support reporting of interface descriptions"; + type empty; + } + container nasreq { + description "Nasreq configuration"; + uses nasreq-definition; + } + list protocol-attributes { + key name; + ordered-by user; + description "Protocol specific attribute configuration"; + uses protocol-attribute-type; + } + list aaa-options { + key name; + ordered-by user; + description "AAA option configurations"; + leaf name { + description "AAA options name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf access-profile { + description "Access profile name"; + type string { + length "1 .. 63"; + } + } + leaf aaa-context { + description "AAA context"; + type string; + } + leaf subscriber-context { + description "Subscriber context"; + type string; + } + } + container radius-options { + description "RADIUS options"; + uses access-radius-options; + } + container ldap-options { + description "Lightweight Directory Access Protocol options"; + uses access-ldap-options; + } + list ldap-server { + key name; + ordered-by user; + description "Lightweight Directory Access Protocol server options"; + uses ldap-server-object; + } + list securid-server { + key name; + ordered-by user; + description "SecurID server configuration"; + max-elements 1; + uses securid-server-object; + } + container accounting-backup-options { + description "Pending accounting backup-options "; + uses apply-advanced; + leaf max-pending-accounting-stops { + description "Max pending accouting stops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 168000"; + } + } + } + leaf max-withhold-time { + description "Maximum time in mins to hold the pending accounting stops"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1440"; + } + } + } + } + container terminate-code { + description "Terminate code mapping configuration"; + uses apply-advanced; + container aaa { + description "AAA terminate-code mapping configuration"; + uses apply-advanced; + container deny { + description "Terminate-code specification"; + uses apply-advanced; + container authentication-denied { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container no-resources { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container server-request-timeout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container service-shutdown { + description "Terminate-code specification"; + uses apply-advanced; + container network-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container remote-reset { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container subscriber-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container time-limit { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container volume-limit { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container shutdown { + description "Terminate-code specification"; + uses apply-advanced; + container administrative-reset { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container idle-timeout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container reassign-on-match { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container remote-reset { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container session-timeout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container dhcp { + description "DHCP terminate-code mapping configuration"; + uses apply-advanced; + container client-request { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container lost-carrier { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nak { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nas-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container no-offers { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container hybrid-access { + description "HYBRID-ACCESS terminate-code mapping configuration"; + uses apply-advanced; + container admin-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container client-request { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container lost-carrier { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nak { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nas-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container no-resource { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container vlan { + description "VLAN terminate-code mapping configuration"; + uses apply-advanced; + container admin-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container admin-reconnect { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container other { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container out-of-band { + description "Terminate-code specification"; + uses apply-advanced; + container access-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container admin-access-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container admin-core-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container ancp { + description "Terminate-code specification"; + uses apply-advanced; + container port-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container port-vlan-id-change { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container core-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container l2-wholesale { + description "Terminate-code specification"; + uses apply-advanced; + container no-free-vlans { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container profile-request-error { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container sdb-error { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container subscriber-activate-error { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container firewall-authentication { + description "Type of firewall authentication"; + uses apply-advanced; + container pass-through { + description "Pass-through firewall authentication settings"; + uses apply-advanced; + leaf default-profile { + description "Name of profile to use if not specified in policy"; + type string { + length "1 .. 250"; + } + } + container ftp { + description "FTP banners"; + uses banner-object; + } + container telnet { + description "Telnet banners"; + uses banner-object; + } + container http { + description "HTTP banners"; + uses banner-object; + } + } + container web-authentication { + description "Web-authentication settings"; + uses apply-advanced; + leaf default-profile { + description "Name of profile to use for web-authentication"; + type string { + length "1 .. 250"; + } + } + container banner { + uses apply-advanced; + leaf success { + description "The message that will be displayed on successful login"; + type string { + length "1 .. 250"; + } + } + } + leaf timeout { + description "Web-authentication timeout value in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "5 .. 60"; + } + } + } + } + container traceoptions { + description "Firewall authentication tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "setup" { + description "Trace setup of firewall authentication service"; + } + enum "authentication" { + description "Trace authentication events"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + } + } + grouping access-client-name-filter-object { + description "Restrictions on client names authenticated on this server"; + uses apply-advanced; + leaf domain-name { + description "Domain name to match (must be part of username)"; + type string; + } + leaf separator { + description "Separator character in domain name"; + type string { + length 1; + } + } + leaf count { + description "Number of separator instances"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + grouping access-client-object { + leaf name { + description "Name of entity requesting access"; + type string; + } + uses apply-advanced; + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf chap-secret { + description "CHAP secret"; + type jt:unreadable; + } + leaf pap-password { + description "PAP password"; + type jt:unreadable; + } + choice client_type { + case case_1 { + } + case case_2 { + } + } + container xauth { + description "Configure xauth attributes"; + uses apply-advanced; + leaf ip-address { + description "Specify the ip-address for client"; + type jt:ipv4prefix; + } + } + leaf-list client-group { + ordered-by user; + description "One or more groups to which the client belongs"; + type string; + } + container firewall-user { + description "Client is configured as a firewall user"; + uses apply-advanced; + leaf password { + description "Password for user"; + type string { + length "1 .. 128"; + } + } + } + } + grouping access-ldap-options { + uses apply-advanced; + leaf revert-interval { + description "Time after which to revert to primary server"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 4294967295"; + } + } + } + leaf base-distinguished-name { + description "Suffix when assembling user distinguished name (DN) or base DN under which to search for user DN"; + type string; + } + choice search_type { + case case_1 { + container assemble { + presence "enable assemble"; + description "Derive user distinguished name from 'common-name' and 'base-distinguished-name'"; + uses apply-advanced; + leaf common-name { + description "Prefix in user distinguished name (for example, 'cn' or 'uid')"; + default "cn"; + type string; + } + } + } + case case_2 { + container search { + presence "enable search"; + description "Search for user's distinguished name"; + uses apply-advanced; + leaf search-filter { + description "Filter to use in search (examples: 'cn=' or 'givenName=')"; + type string; + } + container admin-search { + presence "enable admin-search"; + description "Perform an administrator search to find user's distinguished name"; + uses apply-advanced; + leaf distinguished-name { + description "Administrator's distinguished name"; + type string; + } + leaf password { + description "Administrator password"; + type jt:unreadable; + } + } + } + } + } + } + grouping access-radius-options { + uses apply-advanced; + leaf revert-interval { + description "Time after which to revert to primary server"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + leaf timeout-grace { + description "The period after a RADIUS server times out before marking the server as dead"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf request-rate { + description "Maximum number of RADIUS requests sent per second"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 4000"; + } + } + } + leaf interim-rate { + description "Maximum number of RADIUS requests sent per second"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 4000"; + } + } + } + leaf interim-update-tolerance { + description "Maximum tolerance for Interim Updates to RADIUS"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + container unique-nas-port { + presence "enable unique-nas-port"; + description "Use unique value for NAS-Port radius attribute"; + uses apply-advanced; + leaf chassis-id { + description "Configure chassis identifier field of NAS-Port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + leaf chassis-id-width { + description "Number of bits for the chassis identifier field of NAS-Port"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + } + } + grouping access-radius-server-object { + leaf name { + description "RADIUS server address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "RADIUS server authentication port number"; + default "1812"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf preauthentication-port { + description "RADIUS server preauthentication port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf accounting-port { + description "Port number to send RADIUS accounting messages"; + default "1813"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf dynamic-request-port { + description "RADIUS client dynamic request port number"; + default "3799"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf preauthentication-secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf retry { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf accounting-timeout { + description "Accounting request timeout period"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf accounting-retry { + description "Accounting retry attempts"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf max-outstanding-requests { + description "Maximum requests in flight to server"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + } + grouping address-assignment-type { + description "Address assignment configuration"; + uses apply-advanced; + container neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this instance"; + leaf ndra-name { + description "Designated NDRA pool name"; + type string { + length "1 .. 63"; + } + } + } + leaf high-utilization { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + leaf high-utilization-v6 { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization-v6 { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + list dynamic-pool { + key name; + ordered-by user; + description "Dynamic address pool"; + leaf name { + description "Dynamic address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Address family"; + uses apply-advanced; + container inet6 { + description "IPv6"; + uses apply-advanced; + leaf delegated-prefix-length { + description "Delegated IPv6 network prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + leaf from-interface { + description "Get prefix from interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf masked-low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf masked-high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dynamic-dhcp-attribute-type; + } + } + } + } + list pool { + key name; + ordered-by user; + description "Address pool"; + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf active-drain { + description "Notify client of pool active drain mode"; + type empty; + } + leaf hold-down { + description "Place pool in passive drain mode"; + type empty; + } + leaf link { + description "Address pool link name"; + type string { + length "1 .. 63"; + } + } + container family { + presence "enable family"; + description "Address family"; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4"; + uses apply-advanced; + leaf network { + description "Network address"; + type jt:ipv4prefix; + } + list range { + key name; + ordered-by user; + description "Address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + container xauth-attributes { + description "Configure xauth attributes"; + uses apply-advanced; + leaf primary-dns { + description "Specify the primary-dns IP address"; + type jt:ipv4prefix; + } + leaf secondary-dns { + description "Specify the secondary-dns IP address"; + type jt:ipv4prefix; + } + leaf primary-wins { + description "Specify the primary-wins IP address"; + type jt:ipv4prefix; + } + leaf secondary-wins { + description "Specify the secondary-wins IP address"; + type jt:ipv4prefix; + } + } + list host { + key name; + ordered-by user; + description "Hostname for static reservations"; + leaf name { + description "Hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf hardware-address { + description "Hardware address"; + type jt:mac-addr; + } + leaf ip-address { + description "Reserved address"; + type jt:ipv4addr; + } + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv4addr; + } + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6"; + uses apply-advanced; + leaf prefix { + description "IPv6 network prefix"; + type jt:ipv6prefix-mandatory; + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv6addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv6addr; + } + } + } + } + } + } + } + list location-pool { + key name; + ordered-by user; + description "Location-based IP address pool"; + max-elements 10; + leaf name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Address family"; + container inet { + description "IPv4 location pool"; + uses apply-advanced; + list location { + key name; + description "Relative location of router"; + max-elements 32; + leaf name { + description "Location number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + uses apply-advanced; + leaf address { + description "IP address/destination prefix"; + type jt:ipv4prefix; + } + } + } + } + } + } + grouping address-pool-object { + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + choice address_choice { + case case_1 { + leaf address { + description "Address or address prefix"; + type jt:ipv4prefix; + } + } + case case_2 { + container address-range { + presence "enable address-range"; + description "Range of addresses for pool"; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf mask { + description "Netmask for address pool"; + type jt:ipv4addr; + } + } + } + } + leaf primary-dns { + description "Name of primary DNS server"; + type jt:hostname; + } + leaf secondary-dns { + description "Name of secondary DNS server"; + type jt:hostname; + } + leaf primary-wins { + description "Name of primary WINS server"; + type jt:hostname; + } + leaf secondary-wins { + description "Name of secondary WINS server"; + type jt:hostname; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping banner-object { + uses apply-advanced; + container banner { + description "Banners that are prompted during authentication"; + uses apply-advanced; + leaf login { + description "The message that will be displayed before login"; + type string { + length "1 .. 250"; + } + } + leaf success { + description "The message that will be displayed on successful login"; + type string { + length "1 .. 250"; + } + } + leaf fail { + description "The message that will be displayed after failed user login"; + type string { + length "1 .. 250"; + } + } + } + } + grouping dhcp-attribute-type { + uses apply-advanced; + container option-match { + description "Match"; + uses apply-advanced; + container option-82 { + uses apply-advanced; + list circuit-id { + key name; + ordered-by user; + description "Circuit ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + list remote-id { + key name; + ordered-by user; + description "Remote ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + } + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "Server Identifier - IP address value"; + type jt:ipv4addr; + } + leaf grace-period { + description "Grace period for leases"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "WINS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf tftp-server { + description "TFTP server IP address advertised to clients"; + type jt:ipv4addr; + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "SIP server domain name available to clients"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list ip-address { + key name; + ordered-by user; + description "SIP servers list of IPv4 addresses available to the client"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + leaf netbios-node-type { + description "Type of NETBIOS node advertised to clients"; + type enumeration { + enum "b-node" { + description "Broadcast node"; + } + enum "p-node" { + description "Peer-to-peer node"; + } + enum "m-node" { + description "Mixed Node"; + } + enum "h-node" { + description "Hybrid node"; + } + } + } + leaf sip-server-domain-name { + description "SIP server domain name available to clients"; + type string { + } + } + list sip-server-address { + key name; + ordered-by user; + description "SIP Servers list of IPv6 addresses available to the client"; + leaf name { + description "SIP Server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP Settings to pool"; + type string; + } + leaf-list propagate-ppp-settings { + ordered-by user; + description "PPP interface name for propagating DNS/WINS settings"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf hex-string { + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_10 { + leaf ipv6-address { + description "IPV6 address value"; + type jt:ipv6addr; + } + } + case case_11 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list hex-string { + ordered-by user; + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + case case_10 { + leaf-list ipv6-address { + ordered-by user; + description "Array of IPv6 address values"; + type jt:ipv6addr; + } + } + } + } + } + } + } + leaf valid-lifetime { + description "Valid lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf exclude-prefix-len { + description "Length of IPv6 prefix to be excluded from delegated prefix"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + leaf t1-renewal-time { + description "T1 renewal time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf t2-rebinding-time { + description "T2 rebinding time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping domain-map-type { + description "Domain map configuration"; + uses apply-advanced; + list map { + key name; + ordered-by user; + description "Domain map definitions"; + leaf name { + description "Domain map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice aaa_ri_or_ls { + case case_1 { + leaf aaa-routing-instance { + description "Routing instance to be used for applying AAA services"; + type string; + } + } + case case_2 { + list aaa-logical-system { + key name; + ordered-by user; + description "Logical system to be used for applying AAA services"; + max-elements 1; + leaf name { + description "Logical system name"; + type string; + } + uses apply-advanced; + leaf aaa-routing-instance { + description "Routing instance to be used for applying AAA services"; + type string; + } + } + } + } + leaf access-profile { + description "Access profile to be used for applying AAA services"; + type string { + length "1 .. 63"; + } + } + leaf address-pool { + description "Address pool to use for providing address-allocation services"; + type string { + length "1 .. 63"; + } + } + leaf dynamic-profile { + description "Dynamic profile to be used for this client's session"; + type string { + length "1 .. 80"; + } + } + leaf override-password { + description "Use this password for authentication"; + type string { + length "1 .. 64"; + } + } + list padn { + key name; + ordered-by user; + description "PPPoE Active Discovery Network parameters to apply for this client's session"; + max-elements 16; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf mask { + description "Destination mask"; + type jt:ipv4addr; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + choice target_ri_or_ls { + case case_1 { + leaf target-routing-instance { + description "Routing instance the client's session will be mapped to"; + type string; + } + } + case case_2 { + list target-logical-system { + key name; + ordered-by user; + description "Logical system the client's session will be mapped to"; + max-elements 1; + leaf name { + description "Logical system name"; + type string; + } + uses apply-advanced; + leaf target-routing-instance { + description "Routing instance the client's session will be mapped to"; + type string; + } + } + } + } + leaf strip-domain { + description "Enable domain name stripping from the username"; + type empty; + } + container strip-username { + presence "enable strip-username"; + description "Enable user name stripping from the username"; + choice direction { + case case_1 { + leaf right-to-left { + description "Strip to first domain delimiter on the right"; + type empty; + } + } + case case_2 { + leaf left-to-right { + description "Strip to first domain delimiter on the left"; + type empty; + } + } + } + } + } + container parse-order { + description "Order in which search parsing is conducted (i.e. look for domain-namd or realm-name first)"; + choice order { + case case_1 { + leaf domain-first { + description "Search for domain name in username field before searching for realm name"; + type empty; + } + } + case case_2 { + leaf realm-first { + description "Search for realm name in username field before searching for domain name"; + type empty; + } + } + } + } + container delimiter { + description "Allowable delimiter characters for domain name separation"; + leaf characters { + description "Sequence of characters without spaces and commas"; + type string { + length "1 .. 8"; + } + } + } + container parse-direction { + description "Domain name parsing direction"; + choice direction { + case case_1 { + leaf right-to-left { + description "Parse the username from right to left"; + type empty; + } + } + case case_2 { + leaf left-to-right { + description "Parse the username field from left to right to find domain name"; + type empty; + } + } + } + } + container realm-delimiter { + description "Allowable delimiter characters for realm name separation"; + leaf characters { + description "Sequence of characters without spaces and commas"; + type string { + length "1 .. 8"; + } + } + } + container realm-parse-direction { + description "Realm name parsing direction"; + choice direction { + case case_1 { + leaf left-to-right { + description "Parse the username field from left to right to find realm name"; + type empty; + } + } + case case_2 { + leaf right-to-left { + description "Parse the username field from right to left to find realm name"; + type empty; + } + } + } + } + } + grouping dynamic-dhcp-attribute-type { + uses apply-advanced; + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf valid-lifetime { + description "Preferred lifetime"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime"; + units "seconds"; + type string; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime advertised to clients"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime advertised to clients"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + grouping group-profile-object { + leaf name { + description "Group profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container ppp { + presence "enable ppp"; + description "Configuration for Point-to-Point Protocol"; + uses apply-advanced; + leaf framed-pool { + description "Address pool used to assign an address for the user"; + type string { + length "1 .. 63"; + } + } + leaf idle-timeout { + description "Idle timeout before termination of session"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container ppp-options { + presence "enable ppp-options"; + description "Point-to-Point Protocol interface-specific options"; + uses apply-advanced; + leaf pap { + description "Password Authentication Protocol"; + type empty; + } + leaf chap { + description "Challenge Handshake Authentication Protocol"; + type empty; + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to group-profile"; + type string { + length "1 .. 63"; + } + } + } + leaf keepalive { + description "PPP keepalive interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 32767"; + } + } + } + leaf primary-dns { + description "Primary DNS server name"; + type string; + } + leaf secondary-dns { + description "Secondary DNS server name"; + type string; + } + leaf primary-wins { + description "Primary wins server name"; + type string; + } + leaf secondary-wins { + description "Secondary wins server name"; + type string; + } + leaf encapsulation-overhead { + description "Encapsulation overhead for Class of Service calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int8 { + range "-63 .. 64"; + } + } + } + leaf cell-overhead { + description "ATM cell overhead for Class of Service calculation"; + type empty; + } + leaf interface-id { + description "Interface identifier to look up session information"; + type string { + length "1 .. 63"; + } + } + } + } + grouping gx-plus-definition { + description "GX-PLUS configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "GX-PLUS partition configuration"; + leaf name { + description "GX-PLUS partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf diameter-instance { + description "GX-PLUS diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf destination-realm { + description "GX-PLUS destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "GX-PLUS destination host"; + type string { + length "1 .. 255"; + } + } + } + container global { + presence "enable global"; + description "GX-PLUS global parameters"; + uses apply-advanced; + leaf include-ipv6 { + description "Send provisioning request for IPv6-only subscribers"; + type empty; + } + leaf max-outstanding-requests { + description "Maximum number of outstanding requests"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 40"; + } + } + } + } + } + grouping ldap-server-object { + leaf name { + description "Hostname or IPv4 address of LDAP server"; + type string { + } + } + uses apply-advanced; + leaf port { + description "LDAP server port number"; + default "389"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + leaf retry { + description "Number of times to resend requests"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Delay before resending unacknowledged request"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 90"; + } + } + } + leaf tls-type { + type enumeration { + enum "start-tls" { + description "Negotiate start-tls for connection"; + } + } + } + leaf tls-timeout { + description "Limit on tls handshake time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 90"; + } + } + } + leaf tls-min-version { + default "v1.2"; + type enumeration { + enum "v1.1" { + description "Require tls 1.1 and 1.2"; + } + enum "v1.2" { + description "Require tls 1.2"; + } + } + } + leaf no-tls-certificate-check { + description "Do not validate peer certificate"; + type empty; + } + leaf tls-peer-name { + description "Expected peer fdqn"; + type string { + length "1 .. 255"; + } + } + } + grouping localauth-subscriber-object { + leaf name { + description "Subscriber username"; + type string; + } + uses apply-advanced; + leaf password { + description "Password for the subscriber"; + type string { + length "1 .. 64"; + } + } + leaf framed-ip-address { + description "IP address to assign to the subscriber"; + type jt:ipv4addr; + } + leaf framed-pool { + description "Pool name to assign an IP address to the subscriber"; + type string { + length "1 .. 63"; + } + } + leaf delegated-pool { + description "Pool name to assign an IPv6 delegated prefix to the subscriber"; + type string { + length "1 .. 64"; + } + } + leaf framed-ipv6-pool { + description "Pool name to assign an IPv6 address or NDRA prefix to the subscriber"; + type string { + length "1 .. 64"; + } + } + choice ri_or_ls { + case case_1 { + leaf target-routing-instance { + description "Routing instance to be assigned to the subscriber"; + type string; + } + } + case case_2 { + container target-logical-system { + presence "enable target-logical-system"; + description "Logical system to be assigned to the subscriber"; + uses apply-advanced; + leaf logical-system-name { + description "Logical system name"; + type string; + } + leaf target-routing-instance { + description "Routing instance "; + type string; + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping nasreq-definition { + description "NASREQ configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "NASREQ partition definition"; + leaf name { + description "NASREQ partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf diameter-instance { + description "NASREQ diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf destination-realm { + description "NASREQ destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "NASREQ destination host"; + type string { + length "1 .. 255"; + } + } + } + leaf timeout { + description "Time period that a NASREQ request waits on the transmit queue before failing"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 30"; + } + } + } + leaf request-retry { + description "Number of times to retry NASREQ request when DIAMETER fails with timeout."; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + leaf max-outstanding-requests { + description "Number of unanswered NASREQ requests sent to server"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 2000"; + } + } + } + } + grouping ocs-definition { + description "OCS configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "OCS partition configuration"; + max-elements 1; + leaf name { + description "OCS partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf alternative-partition-name { + description "Alternative diameter partition"; + type string { + length "1 .. 63"; + } + } + leaf called-station-id { + description "OCS called station id"; + type string { + length "1 .. 255"; + } + } + leaf charging-id { + description "OCS charging id"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-realm { + description "OCS destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "OCS destination host"; + type string { + length "1 .. 255"; + } + } + leaf diameter-instance { + description "OCS diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf draining { + description "Set this PCRF partiton to draining state"; + type empty; + } + leaf draining-response-timeout { + description "Final response timeout in draining mode"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf force-continue { + description "Expect/force 'continue' as cc-failure-handling value"; + type empty; + } + leaf ggsn-address { + description "Value of ggsn-address avp reported to ocs"; + type jt:ipaddr; + } + leaf ggsn-mcc-mnc { + description "Value of 3gpp-ggsn-mcc-mnc avp reported to ocs"; + type string; + } + leaf final-response-timeout { + description "Final response timeout"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf max-outstanding-requests { + description "Maximum number of outstanding requests"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 40"; + } + } + } + leaf send-origin-state-id { + description "Include origin-state-id avp"; + type empty; + } + container user-name-include { + description "Add user-name options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf interface-name { + description "Include interface-name"; + type empty; + } + leaf base-interface-name { + description "Include base-interface-name"; + type empty; + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf nas-port-id { + description "Include nas-port-id"; + type empty; + } + leaf origin-host { + description "Include origin-host"; + type empty; + } + leaf origin-realm { + description "Include origin-host"; + type empty; + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf user-name { + description "Include user-name"; + type empty; + } + } + } + container global { + description "OCS global parameters"; + uses apply-advanced; + leaf service-context-id { + description "Service context-id for OCS"; + type string { + length "1 .. 255"; + } + } + } + } + grouping pcrf-definition { + description "PCRF configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "PCRF partition configuration"; + max-elements 1; + leaf name { + description "PCRF partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf accept-sdr { + description "Accept service discovery requests"; + type empty; + } + leaf destination-realm { + description "PCRF destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "PCRF destination host"; + type string { + length "1 .. 255"; + } + } + leaf diameter-instance { + description "PCRF diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf draining { + description "Set this PCRF partiton to draining state"; + type empty; + } + leaf draining-response-timeout { + description "Logout response timeout in draining mode"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf ip-can-type { + description "Value of IP-CAN-Type AVP for this PCRF partition"; + default "77"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + container local-decision { + description "Local decision configuration"; + uses apply-advanced; + choice permission { + case case_1 { + leaf grant { + description "Grant user connection by default"; + type empty; + } + } + case case_2 { + leaf deny { + description "Deny user connection by default"; + type empty; + } + } + } + leaf timeout { + description "Local decision timeout"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 90"; + } + } + } + } + leaf logout-response-timeout { + description "Logout response timeout"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf max-outstanding-requests { + description "Maximum number of outstanding requests"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 40"; + } + } + } + leaf report-local-rule { + description "Report installed local rule to PCRF"; + type empty; + } + leaf report-resource-allocation { + description "Report rule installation failuresto PCRF"; + type empty; + } + leaf report-successful-resource-allocation { + description "Report rule installation successes to PCRF"; + type empty; + } + leaf send-dyn-subscription-indicator { + description "Include Juniper-Dyn-Subscription-Indidicator into ccr-i"; + type empty; + } + leaf send-network-family-indicator { + description "Include Juniper-Network-Family-Indidicator into ccr-i"; + type empty; + } + leaf send-origin-state-id { + description "Include origin-state-id avp"; + type empty; + } + leaf subscription-id-type { + description "Value of subscription-id-type AVP for this PCRF partition"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + container subscription-id-data-include { + description "Add subscription-id-data options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf interface-name { + description "Include interface-name"; + type empty; + } + leaf base-interface-name { + description "Include base-interface-name"; + type empty; + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf nas-port-id { + description "Include nas-port-id"; + type empty; + } + leaf origin-host { + description "Include origin-host"; + type empty; + } + leaf origin-realm { + description "Include origin-host"; + type empty; + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf user-name { + description "Include user-name"; + type empty; + } + } + leaf update-response-timeout { + description "Update response timeout"; + default "3600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container global { + description "PCRF global parameters"; + uses apply-advanced; + list rule-param { + key name; + ordered-by user; + description "Charging juniper-param avp configuraion"; + leaf name { + description "Code for this juniper-param avp"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "12000 .. 12019"; + } + } + } + uses apply-advanced; + leaf param-name { + description "Name associatated with this juniper-param avp"; + type string { + length "1 .. 255"; + } + } + leaf log-name { + description "Log-name associatated with this juniper-param avp"; + type string { + length "1 .. 255"; + } + } + } + } + } + grouping profile-radius-server-object { + leaf name { + description "RADIUS server address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "RADIUS server authentication port number"; + default "1812"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf preauthentication-port { + description "RADIUS server preauthentication port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf dynamic-request-port { + description "RADIUS client dynamic request port number"; + default "3799"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf preauthentication-secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf retry { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf accounting-timeout { + description "Accounting request timeout period"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf accounting-retry { + description "Accounting retry attempts"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf max-outstanding-requests { + description "Maximum requests in flight to server"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + } + grouping protocol-attribute-type { + description "Protocol specific attribute configuration"; + leaf name { + description "Name for this protocol attribute group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container dhcp { + description "DHCPv4 configurable attributes"; + uses dhcp-attribute-type; + } + container dhcpv6 { + description "DHCPv6 configurable attributes"; + uses dhcp-attribute-type; + } + } + grouping securid-server-object { + leaf name { + description "Name of the SecurID server"; + type string; + } + uses apply-advanced; + leaf configuration-file { + description "Path to the SecurID server configuration (sdconf.rec) file"; + type string { + length "1 .. 1024"; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-accounting-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-accounting-options@2019-01-01.yang new file mode 100644 index 00000000..ad48f124 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-accounting-options@2019-01-01.yang @@ -0,0 +1,767 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-accounting-options { + namespace "http://yang.juniper.net/junos-es/conf/accounting-options"; + + prefix jc-accounting-options; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos accounting-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses accounting-options-group; + } + augment /jc:configuration/jc:groups { + uses accounting-options-group; + } + grouping accounting-options-group { + container accounting-options { + description "Accounting data configuration"; + uses juniper_accounting_options; + } + } + grouping juniper_accounting_options { + description "Accounting data configuration"; + uses apply-advanced; + container periodic-refresh { + description "Toggle periodic statistics collection"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable statistics refresh"; + type empty; + } + } + } + } + list file { + key name; + ordered-by user; + description "Accounting data file configuration"; + leaf name { + description "Name of file in which to write accounting data"; + type string { + } + } + uses apply-advanced; + leaf nonpersistent { + description "File does not persist across reboot"; + type empty; + } + leaf size { + description "Maximum accounting data file size"; + type string; + } + leaf files { + description "Maximum number of files for this profile"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1000"; + } + } + } + leaf transfer-interval { + description "Frequency at which to transfer files to archive sites"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 2880"; + } + } + } + leaf start-time { + description "Start time for file transmission (yyyy-mm-dd.hh:mm)"; + type jt:time; + } + leaf compress { + description "Transfer file in compressed format"; + type empty; + } + container backup-on-failure { + description "Backup on transfer failure"; + uses apply-advanced; + choice backuponfailure { + case case_1 { + leaf master-only { + description "Backup on master only"; + type empty; + } + } + case case_2 { + leaf master-and-slave { + description "Backup on both master and slave"; + type empty; + } + } + } + } + leaf push-backup-to-master { + description "Push backup files to master RE"; + type empty; + } + list archive-sites { + key name; + ordered-by user; + description "List of archive destinations"; + leaf name { + description "Primary and failover URLs to receive archive files"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + } + } + list interface-profile { + key name; + ordered-by user; + description "Interface profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + container fields { + description "Statistics to log to file"; + uses apply-advanced; + leaf input-bytes { + description "Input bytes"; + type empty; + } + leaf output-bytes { + description "Output bytes"; + type empty; + } + leaf input-packets { + description "Input packets"; + type empty; + } + leaf output-packets { + description "Output packets"; + type empty; + } + leaf input-errors { + description "Generic input error packets"; + type empty; + } + leaf output-errors { + description "Generic output error packets"; + type empty; + } + leaf input-multicast { + description "Input packets arriving by multicast"; + type empty; + } + leaf output-multicast { + description "Output packets sent by multicast"; + type empty; + } + leaf input-unicast { + description "Input unicast packets"; + type empty; + } + leaf output-unicast { + description "Output unicast packets"; + type empty; + } + leaf unsupported-protocol { + description "Packets for unsupported protocol"; + type empty; + } + leaf rpf-check-bytes { + description "Bytes failing IPv4 reverse-path-forwarding check"; + type empty; + } + leaf rpf-check-packets { + description "Packets failing IPv4 reverse-path-forwarding check"; + type empty; + } + leaf rpf-check6-bytes { + description "Bytes failing IPv6 reverse-path-forwarding check"; + type empty; + } + leaf rpf-check6-packets { + description "Packets failing IPv6 reverse-path-forwarding check"; + type empty; + } + } + } + list filter-profile { + key name; + ordered-by user; + description "Filter profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1048576"; + } + } + } + list counters { + key name; + ordered-by user; + description "Name of counter"; + uses counter-object; + } + } + list class-usage-profile { + key name; + ordered-by user; + description "Class usage profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1048576"; + } + } + } + choice class-name { + case case_1 { + list destination-classes { + key name; + ordered-by user; + description "Name of destination class"; + uses dest-class-name-object; + } + } + case case_2 { + list source-classes { + key name; + ordered-by user; + description "Name of source class"; + uses source-class-name-object; + } + } + } + } + list routing-engine-profile { + key name; + ordered-by user; + description "Routing Engine profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + container fields { + description "Information to log to file"; + uses apply-advanced; + leaf host-name { + description "Hostname for this router"; + type empty; + } + leaf date { + description "Date"; + units "YYYYMMDD"; + type empty; + } + leaf time-of-day { + description "Time of day"; + units "HHMMSS"; + type empty; + } + leaf uptime { + description "Time since last reboot"; + units "seconds"; + type empty; + } + leaf cpu-load-1 { + description "Average system load over last 1 minute"; + type empty; + } + leaf cpu-load-5 { + description "Average system load over last 5 minutes"; + type empty; + } + leaf cpu-load-15 { + description "Average system load over last 15 minutes"; + type empty; + } + leaf memory-usage { + description "Instantaneous active memory usage"; + type empty; + } + leaf total-cpu-usage { + description "Total CPU usage percentage"; + type empty; + } + } + } + list mib-profile { + key name; + ordered-by user; + description "MIB profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string { + } + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + leaf operation { + description "SNMP operation"; + default "walk"; + type enumeration { + enum "get" { + description "Get SNMP object value"; + } + enum "get-next" { + description "Get next SNMP object value"; + } + enum "walk" { + description "Walk SNMP object values"; + } + } + } + list object-names { + key name; + ordered-by user; + description "Names of MIB objects"; + uses mib-variable-name-object; + } + } + list flat-file-profile { + key name; + ordered-by user; + description "Flat file profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "15"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + leaf schema-version { + description "Name of the schema"; + type string; + } + container fields { + description "Statistics to log to file"; + uses apply-advanced; + leaf all-fields { + description "All parameters"; + type empty; + } + leaf service-accounting { + description "Service accounting for filters"; + type empty; + } + container general-param { + presence "enable general-param"; + description "General interface parameters"; + uses apply-advanced; + leaf all-fields { + description "All general interface parameters"; + type empty; + } + leaf timestamp { + description "Timestamp"; + type empty; + } + leaf accounting-type { + description "Accounting status type"; + type empty; + } + leaf descr { + description "Description"; + type empty; + } + leaf routing-instances { + description "Routing Instances where interface belongs"; + type empty; + } + leaf nas-port-id { + description "NAS port id"; + type empty; + } + leaf line-id { + description "Line id"; + type empty; + } + leaf vlan-id { + description "Vlan-id"; + type empty; + } + leaf logical-interface { + description "Logical-Interface"; + type empty; + } + leaf physical-interface { + description "Physical Interface name"; + type empty; + } + leaf user-name { + description "User name of the subscriber"; + type empty; + } + } + container overall-packet { + presence "enable overall-packet"; + description "Overall packet statistics"; + uses apply-advanced; + leaf all-fields { + description "All overall packet statistics"; + type empty; + } + leaf input-bytes { + description "Input bytes"; + type empty; + } + leaf input-packets { + description "Input packets"; + type empty; + } + leaf input-v6-bytes { + description "Input IPV6 bytes"; + type empty; + } + leaf input-v6-packets { + description "Input IPV6 packets"; + type empty; + } + leaf output-bytes { + description "Output bytes"; + type empty; + } + leaf output-packets { + description "Output packets"; + type empty; + } + leaf output-v6-bytes { + description "Output IPV6 bytes"; + type empty; + } + leaf output-v6-packets { + description "Output IPV6 packets"; + type empty; + } + leaf input-errors { + description "Total input errors"; + type empty; + } + leaf output-errors { + description "Total output errors"; + type empty; + } + leaf input-discards { + description "Total input discards"; + type empty; + } + } + container l2-stats { + presence "enable l2-stats"; + description "Layer2 statistics"; + uses apply-advanced; + leaf all-fields { + description "All Layer2 statistics"; + type empty; + } + leaf input-mcast-bytes { + description "L2 multicast bytes from input side"; + type empty; + } + leaf input-mcast-packets { + description "L2 multicast packets from input side"; + type empty; + } + } + container ingress-stats { + presence "enable ingress-stats"; + description "Ingress queue statistics"; + uses apply-advanced; + leaf all-fields { + description "All ingress queue statistics"; + type empty; + } + leaf queue-id { + description "Queue ID"; + type empty; + } + leaf input-packets { + description "Total input packets on the queue"; + type empty; + } + leaf input-bytes { + description "Total input bytes on the queue"; + type empty; + } + leaf output-packets { + description "Total output packet on the queue"; + type empty; + } + leaf output-bytes { + description "Total output bytes on the queue"; + type empty; + } + leaf drop-packets { + description "Ingress queue dropped packets"; + type empty; + } + } + container egress-stats { + presence "enable egress-stats"; + description "Egress queue statistics"; + uses apply-advanced; + leaf all-fields { + description "All egress queue statistics"; + type empty; + } + leaf queue-id { + description "Queue ID"; + type empty; + } + leaf input-packets { + description "Total input packets on the queue"; + type empty; + } + leaf input-bytes { + description "Total input bytes on the queue"; + type empty; + } + leaf output-packets { + description "Total output packet on the queue"; + type empty; + } + leaf output-bytes { + description "Total output bytes on the queue"; + type empty; + } + leaf tail-drop-packets { + description "Egress queue tail dropped packets"; + type empty; + } + leaf red-drop-packets { + description "Egress queue red dropped packets"; + type empty; + } + leaf red-drop-bytes { + description "Egress queue red drop bytes"; + type empty; + } + } + } + container format { + description "Flat file accounting format"; + uses apply-advanced; + choice flatfileformat { + case case_1 { + leaf ipdr { + description "IPDR format"; + type empty; + } + } + case case_2 { + leaf csv { + description "CSV format"; + type empty; + } + } + } + } + } + container cleanup-interval { + presence "enable cleanup-interval"; + description "Backup files cleanup interval"; + uses apply-advanced; + leaf interval { + description "Cleanup interval in days"; + default "1"; + units "day"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 31"; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping counter-object { + leaf name { + description "Name of counter"; + type string; + } + } + grouping dest-class-name-object { + leaf name { + description "Class name"; + type string; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mib-variable-name-object { + leaf name { + description "MIB variable name"; + type string { + } + } + } + grouping source-class-name-object { + leaf name { + description "Class name"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-applications@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-applications@2019-01-01.yang new file mode 100644 index 00000000..3f811f6c --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-applications@2019-01-01.yang @@ -0,0 +1,582 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-applications { + namespace "http://yang.juniper.net/junos-es/conf/applications"; + + prefix jc-applications; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos applications configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses applications-group; + } + augment /jc:configuration/jc:groups { + uses applications-group; + } + grouping applications-group { + container applications { + description "Define applications by protocol characteristics"; + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Define an application"; + uses application_object; + } + list application-set { + key name; + ordered-by user; + description "Define an application set"; + uses application_set_object; + } + } + } + grouping application_object { + leaf name { + description "Application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of application"; + type string { + length "1 .. 900"; + } + } + list term { + key name; + ordered-by user; + description "Define individual application protocols"; + max-elements 8; + uses term_object; + } + leaf application-protocol { + description "Application protocol type"; + type enumeration { + enum "bootp" { + description "Bootstrap protocol"; + } + enum "dce-rpc" { + description "DCE RPC"; + } + enum "dce-rpc-portmap" { + description "DCE RPC portmap"; + } + enum "dns" { + description "Domain Name Service"; + } + enum "exec" { + description "Remote Execution Protocol"; + } + enum "ftp" { + description "File Transfer Protocol"; + } + enum "ftp-data" { + description "File Transfer Protocol Data Session"; + } + enum "gprs-gtp-c" { + description "GPRS Tunneling Control Plane"; + } + enum "gprs-gtp-u" { + description "GPRS Tunneling User Plane"; + } + enum "gprs-gtp-v0" { + description "GPRS Tunneling Version 0"; + } + enum "gprs-sctp" { + description "GPRS Stream Control Protocol"; + } + enum "h323" { + description "H.323"; + } + enum "icmp" { + description "ICMP"; + } + enum "icmpv6" { + description "ICMPv6"; + } + enum "ignore" { + description "Ignore application type"; + } + enum "iiop" { + description "Internet Inter-ORB Protocol"; + } + enum "ike-esp-nat" { + description "IKE/ESP with NAT"; + } + enum "ip" { + description "IP"; + } + enum "login" { + description "Login"; + } + enum "mgcp-ca" { + description "MGCP-CA"; + } + enum "mgcp-ua" { + description "MGCP-UA"; + } + enum "ms-rpc" { + description "Microsoft RPC"; + } + enum "netbios" { + description "NetBIOS"; + } + enum "netshow" { + description "NetShow"; + } + enum "none" { + description "None"; + } + enum "pptp" { + description "Point-to-Point Tunneling Protocol"; + } + enum "q931" { + description "Q.931"; + } + enum "ras" { + description "RAS"; + } + enum "realaudio" { + description "RealAudio"; + } + enum "rpc" { + description "RPC"; + } + enum "rpc-portmap" { + description "RPC portmap"; + } + enum "rsh" { + description "Remote Shell"; + } + enum "rtsp" { + description "Real Time Streaming Protocol"; + } + enum "sccp" { + description "Skinny Client Control Protocol"; + } + enum "sip" { + description "Session Initiation Protocol"; + } + enum "shell" { + description "Shell"; + } + enum "snmp" { + description "SNMP"; + } + enum "sqlnet" { + description "SQLNet"; + } + enum "sqlnet-v2" { + description "Oracle SQL*Net Version 2"; + } + enum "sun-rpc" { + description "Sun Microsystems RPC"; + } + enum "talk" { + description "Talk Program"; + } + enum "tftp" { + description "Trivial File Transfer Protocol"; + } + enum "traceroute" { + description "Traceroute"; + } + enum "http" { + description "Hypertext Transfer Protocol"; + } + enum "winframe" { + description "WinFrame"; + } + enum "https" { + description "Hypertext Transfer Protocol"; + } + enum "imap" { + description "Internet Mail Access Protocol"; + } + enum "smtp" { + description "Simple Mail Transfer Protocol"; + } + enum "ssh" { + description "Secure Shell Protocol"; + } + enum "telnet" { + description "Telnet Protocol"; + } + enum "twamp" { + description "Two Way Active Meaurement Protocol"; + } + } + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf ether-type { + description "Match ether type"; + type string { + } + } + leaf icmp-type { + description "Match ICMP message type"; + type string; + } + leaf icmp6-type { + description "Match ICMP6 message type"; + type string; + } + leaf icmp-code { + description "Match ICMP message code"; + type string; + } + leaf icmp6-code { + description "Match ICMP6 message code"; + type string; + } + leaf rpc-program-number { + description "Match range of RPC program numbers"; + type string { + } + } + leaf uuid { + description "Match universal unique identifier for DCE RPC objects"; + type string { + } + } + leaf inactivity-timeout { + description "Application-specific inactivity timeout"; + units "seconds"; + type string; + } + choice dns-choice { + case case_1 { + leaf do-not-translate-AAAA-query-to-A-query { + description "Knob to control the translation of AAAA query to A query"; + type empty; + } + } + case case_2 { + leaf do-not-translate-A-query-to-AAAA-query { + description "Knob to control the translation of A query to AAAA query"; + type empty; + } + } + } + } + grouping application_set_object { + leaf name { + description "Application set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of application set"; + type string { + length "1 .. 900"; + } + } + list application { + key name; + ordered-by user; + description "Application to be included in the set"; + leaf name { + description "Application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list application-set { + key name; + ordered-by user; + description "Define an application-set"; + leaf name { + description "Define an application-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping term_object { + leaf name { + description "Term name"; + type string { + length "1 .. 63"; + } + } + leaf alg { + description "Application Layer Gateway"; + type enumeration { + enum "bootp" { + description "Bootstrap protocol"; + } + enum "dce-rpc" { + description "DCE RPC"; + } + enum "dce-rpc-portmap" { + description "DCE RPC portmap"; + } + enum "dns" { + description "Domain Name Service"; + } + enum "exec" { + description "Remote Execution Protocol"; + } + enum "ftp" { + description "File Transfer Protocol"; + } + enum "ftp-data" { + description "File Transfer Protocol Data Session"; + } + enum "gprs-gtp-c" { + description "GPRS Tunneling Control Plane"; + } + enum "gprs-gtp-u" { + description "GPRS Tunneling User Plane"; + } + enum "gprs-gtp-v0" { + description "GPRS Tunneling Version 0"; + } + enum "gprs-sctp" { + description "GPRS Stream Control Protocol"; + } + enum "h323" { + description "H.323"; + } + enum "icmp" { + description "ICMP"; + } + enum "icmpv6" { + description "ICMPv6"; + } + enum "ignore" { + description "Ignore application type"; + } + enum "iiop" { + description "Internet Inter-ORB Protocol"; + } + enum "ike-esp-nat" { + description "IKE/ESP with NAT"; + } + enum "ip" { + description "IP"; + } + enum "login" { + description "Login"; + } + enum "mgcp-ca" { + description "MGCP-CA"; + } + enum "mgcp-ua" { + description "MGCP-UA"; + } + enum "ms-rpc" { + description "Microsoft RPC"; + } + enum "netbios" { + description "NetBIOS"; + } + enum "netshow" { + description "NetShow"; + } + enum "none" { + description "None"; + } + enum "pptp" { + description "Point-to-Point Tunneling Protocol"; + } + enum "q931" { + description "Q.931"; + } + enum "ras" { + description "RAS"; + } + enum "realaudio" { + description "RealAudio"; + } + enum "rpc" { + description "RPC"; + } + enum "rpc-portmap" { + description "RPC portmap"; + } + enum "rsh" { + description "Remote Shell"; + } + enum "rtsp" { + description "Real Time Streaming Protocol"; + } + enum "sccp" { + description "Skinny Client Control Protocol"; + } + enum "sip" { + description "Session Initiation Protocol"; + } + enum "shell" { + description "Shell"; + } + enum "snmp" { + description "SNMP"; + } + enum "sqlnet" { + description "SQLNet"; + } + enum "sqlnet-v2" { + description "Oracle SQL*Net Version 2"; + } + enum "sun-rpc" { + description "Sun Microsystems RPC"; + } + enum "talk" { + description "Talk Program"; + } + enum "tftp" { + description "Trivial File Transfer Protocol"; + } + enum "traceroute" { + description "Traceroute"; + } + enum "http" { + description "Hypertext Transfer Protocol"; + } + enum "winframe" { + description "WinFrame"; + } + enum "https" { + description "Hypertext Transfer Protocol"; + } + enum "imap" { + description "Internet Mail Access Protocol"; + } + enum "smtp" { + description "Simple Mail Transfer Protocol"; + } + enum "ssh" { + description "Secure Shell Protocol"; + } + enum "telnet" { + description "Telnet Protocol"; + } + enum "twamp" { + description "Two Way Active Meaurement Protocol"; + } + } + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf icmp-type { + description "Match ICMP message type"; + type string; + } + leaf icmp-code { + description "Match ICMP message code"; + type string; + } + leaf icmp6-type { + description "Match ICMP6 message type"; + type string; + } + leaf icmp6-code { + description "Match ICMP6 message code"; + type string; + } + leaf rpc-program-number { + description "Match range of RPC program numbers"; + type string { + } + } + leaf uuid { + description "Match universal unique identifier for DCE RPC objects"; + type string { + } + } + leaf inactivity-timeout { + description "Application-specific inactivity timeout"; + units "seconds"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-bridge-domains@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-bridge-domains@2019-01-01.yang new file mode 100644 index 00000000..c0741359 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-bridge-domains@2019-01-01.yang @@ -0,0 +1,5796 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-bridge-domains { + namespace "http://yang.juniper.net/junos-es/conf/bridge-domains"; + + prefix jc-bridge-domains; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos bridge-domains configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses bridge-domains-group; + } + augment /jc:configuration/jc:groups { + uses bridge-domains-group; + } + grouping bridge-domains-group { + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-bridge-domains { + description "Bridge domains"; + leaf name { + description "Bridge domain name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of bridge domain"; + type string { + } + } + leaf domain-type { + description "Type of bridge domain"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + case case_3 { + leaf-list vlan-id-list { + description "Create bridge-domain for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Create bridge-domain for isid (Valid isid:256..16777214)"; + type string; + } + leaf vlan-id-scope-local { + description "Enable the scope of vlan-id local to avoid transmitting vlan tagged packets"; + type empty; + } + leaf service-id { + description "Service id required if bridge-domain is of type MC-AE and vlan-id all or vlan-id none or vlan-tags"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf domain-id { + description "Domain-id for auto derived Route Target"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this bridge domain"; + type empty; + } + leaf mcae-mac-flush { + description "Enable MCAE MAC flush in a/s mode for a bridge domain on MCAE link up"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + leaf enable-mac-move-action { + description "Enable blocking action due to mac-move in this Bridge Domain"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface name for this bridge domain"; + leaf name { + type string; + } + uses apply-advanced; + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this bridge-domain"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-bridge-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container bridge-options { + description "Bridge domain configuration"; + uses juniper-protocols-bd; + } + container protocols { + presence "enable protocols"; + uses apply-advanced; + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-bd-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-bd-protocols-mld-snooping; + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf isolated-vlan { + description "Isolated VLAN ID for private vlan bridge domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list community-vlans { + description "List of Community VLANs for private vlan bridge domain"; + type jt:vlan-range; + } + } + grouping juniper-bd-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bd-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bridge-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for bridge forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for bridge flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for bridge flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "Dynamic ARP Inspection configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container host-outbound-traffic { + description "Host generated protocol packets"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + leaf dot1p { + description "Dot1p bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + leaf ignore-stp-topology-change { + description "Don't process stp topology change"; + type empty; + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-protocols-bd { + description "Bridging configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container traceoptions { + description "Trace options for this bridge domain"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-chassis@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-chassis@2019-01-01.yang new file mode 100644 index 00000000..f7828822 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-chassis@2019-01-01.yang @@ -0,0 +1,3089 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-chassis { + namespace "http://yang.juniper.net/junos-es/conf/chassis"; + + prefix jc-chassis; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos chassis configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses chassis-group; + } + augment /jc:configuration/jc:groups { + uses chassis-group; + } + grouping chassis-group { + container chassis { + description "Chassis configuration"; + uses chassis_type; + } + } + grouping chassis_type { + uses apply-advanced; + leaf craft-lockout { + description "Disable craft interface input"; + type empty; + } + container config-button { + description "Config button behavior settings"; + leaf no-rescue { + description "Don't reset to rescue configuration"; + type empty; + } + leaf no-clear { + description "Don't reset to factory-default configuration"; + type empty; + } + } + choice source-route-choice { + leaf source-route { + description "Enable IP source-route processing"; + status deprecated; + type empty; + } + leaf no-source-route { + description "Don't enable IP source-route processing"; + status deprecated; + type empty; + } + } + choice packet-scheduling-choice { + leaf packet-scheduling { + description "Enable DX2.0 packet scheduling"; + type empty; + } + leaf no-packet-scheduling { + description "Don't enable DX2.0 packet scheduling"; + type empty; + } + } + leaf maximum-ecmp { + description "Maximum ECMP limit for nexthops"; + type enumeration { + enum "16" { + description "Maximum 16 ECMP routes"; + } + enum "32" { + description "Maximum 32 ECMP routes"; + } + enum "64" { + description "Maximum 64 ECMP routes"; + } + enum "96" { + description "Maximum 96 ECMP routes"; + } + enum "128" { + description "Maximum 128 ECMP routes"; + } + } + } + container redundancy { + description "Redundancy settings"; + uses chassis_redundancy_type; + } + container routing-engine { + description "Routing Engine settings"; + uses chassis_routing_engine_type; + } + container aggregated-devices { + description "Aggregated devices configuration"; + uses chassis_agg_dev_type; + } + list disk-partition { + key name; + ordered-by user; + description "Chassis disk monitor configuration"; + leaf name { + description "Choose disk partition to monitor"; + type enumeration { + enum "/var" { + description "Monitor /var partition"; + } + enum "/config" { + description "Monitor /config partition"; + } + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Threshold level"; + leaf name { + type enumeration { + enum "high" { + description "Set high level of threshold"; + } + enum "full" { + description "Set full level of threshold"; + } + } + } + uses apply-advanced; + container free-space { + description "Enter threshold value & choose the metric"; + leaf thres-free { + description "Enter free space threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice thres-metric { + case case_1 { + leaf percent { + description "Free space threshold in %"; + type empty; + } + } + case case_2 { + leaf mb { + description "Free space threshold in MB"; + type empty; + } + } + } + } + } + } + container pseudowire-service { + description "Pseudowire L3 termination device configuration"; + presence "enable pseudowire-service"; + uses chassis-pw-type; + } + container fabric { + description "Switch fabric settings"; + uses chassis_fabric_type; + } + list fpc { + key name; + description "Flexible PIC Concentrator parameters"; + uses chassis_fpc_type; + } + leaf disable-power-management { + description "Disable Power Management in this chassis"; + type empty; + } + leaf dedicated-ukern-cpu { + description "Run Microkernel on a dedicated CPU core"; + type empty; + } + leaf realtime-ukern-thread { + description "Run Microkernel on a realtime CPU thread"; + type empty; + } + container fpc-feb-connectivity { + description "Connectivity between Flexible PIC Concentrators and Forwarding Engine Boards"; + uses apply-advanced; + list fpc { + key name; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container feb { + description "FEB slot number"; + choice feb-slot-choice { + case case_1 { + leaf none { + description "FPC not connected to any FEB"; + type empty; + } + } + case case_2 { + leaf feb-slot { + description "FEB slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + } + } + } + container ioc-npc-connectivity { + description "Connectivity between IOC and NPC"; + uses apply-advanced; + list ioc { + key name; + leaf name { + description "IOC-FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container npc { + description "NPC-FPC slot number"; + choice npc-slot-choice { + case case_1 { + leaf none { + description "IOC not connected to any NPC"; + type empty; + } + } + case case_2 { + leaf npc-slot { + description "NPC-FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + } + } + } + container pem { + description "Power supply (PEM) parameters"; + uses chassis_pem_type; + } + container tfeb { + description "Taz Forwarding Engine Board parameters"; + uses chassis_feb_type; + } + container alarm { + description "Global alarm settings"; + uses chassis_alarm_type; + } + leaf slow-pfe-alarm { + description "Enable slow (potential) PFE alarm"; + type empty; + } + leaf network-services { + description "Chassis network services configuration"; + type enumeration { + enum "ip" { + description "IP network services"; + } + enum "ethernet" { + description "Ethernet network services"; + } + enum "enhanced-ip" { + description "Enhanced IP network services"; + } + enum "enhanced-ethernet" { + description "Enhanced ethernet network services"; + } + enum "enhanced-mode" { + description "Enhanced network services"; + } + enum "lan" { + description "Ethernet LAN services"; + } + } + } + container usb { + description "USB control flags"; + uses apply-advanced; + container storage { + description "USB storage flags"; + uses apply-advanced; + leaf disable { + description "Disable USB storage"; + type empty; + } + } + } + list lcc { + key name; + description "Line-card chassis configuration"; + leaf name { + description "LCC number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + list fpc { + key name; + description "Flexible PIC Concentrator parameters"; + uses chassis_fpc_type; + } + container pem { + description "Power supply (PEM) parameters"; + uses chassis_pem_type; + } + choice state { + case case_1 { + leaf online-expected { + description "LCC is expected to be online"; + type empty; + } + } + case case_2 { + leaf offline { + description "LCC is expected to be offline"; + type empty; + } + } + } + } + container lcd { + description "Chassis LCD"; + status deprecated; + uses apply-advanced; + choice menu-item { + case case_1 { + leaf maintenance-menu { + description "LCD maintenance menu"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable maintenance-menu"; + type empty; + } + } + } + } + leaf fru-poweron-sequence { + description "FRUs power on sequence like 0 1 2 3 ... within double quotes"; + type string { + } + } + leaf auto-image-upgrade { + description "Auto image upgrade using DHCP"; + type empty; + } + container error { + description "Error level configuration for all FPC"; + presence "enable error"; + uses chassis_fpc_error_type; + } + container oss-map { + description "Translate Operation Supported System's requirements"; + uses apply-advanced; + leaf model-name { + description "Override chassis model name for specific show/snmp output"; + type enumeration { + enum "t640" { + description "Set to T640's model"; + } + enum "t1600" { + description "Set to T1600's model"; + } + } + } + } + list satellite { + key name; + ordered-by user; + description "List of available satellite configurations"; + leaf name { + description "Satellite name"; + type string { + } + } + uses apply-advanced; + } + container system-domains { + presence "enable system-domains"; + description "Root and protected system domain configuration"; + uses apply-advanced; + leaf root-domain-id { + description "Root domain identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3"; + } + } + } + list protected-system-domains { + key name; + description "Protected system domain configuration"; + uses juniper-protected-system-domain; + } + container traceoptions { + description "Protected system domain traceoptions"; + uses juniper-protected-system-domain-traceoptions; + } + } + container cluster { + description "Chassis cluster configuration"; + uses apply-advanced; + container traceoptions { + description "Set chassis cluster traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cli" { + description "Trace CLI events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "eventlib" { + description "Trace event library events"; + } + enum "fsm" { + description "Trace finite state machine events"; + } + enum "heartbeat" { + description "Trace JSRPD heartbeats"; + } + enum "interface" { + description "Trace interface related events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "uspipc" { + description "Trace USP IPC events"; + } + enum "init" { + description "Trace initialization events"; + } + enum "socket" { + description "Trace socket events"; + } + enum "snmp" { + description "Trace snmp events"; + } + enum "ip-monitoring" { + description "Trace IP monitoring events"; + } + enum "hw-monitoring" { + description "Trace HW monitoring events"; + } + enum "fabric-monitoring" { + description "Trace fabric monitoring events"; + } + enum "schedule-monitoring" { + description "Trace schedule monitoring events"; + } + enum "heartbeat-tlv" { + description "Trace TLV based heart-beat"; + } + enum "all" { + description "Trace all events"; + } + } + } + } + leaf level { + description "Set level of tracing"; + default "info"; + type enumeration { + enum "emergency" { + description "Match emergency conditions"; + } + enum "alert" { + description "Match alert conditions"; + } + enum "critical" { + description "Match critical conditions"; + } + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match notice level messages"; + } + enum "info" { + description "Match informational messages"; + } + enum "debug" { + description "Match debug messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + leaf control-link-recovery { + description "Enable automatic control link recovery"; + type empty; + } + leaf reth-count { + description "Number of redundant ethernet interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + list control-ports { + key "fpc port"; + ordered-by user; + description "Enable specific chassis cluster control ports"; + leaf fpc { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf port { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2"; + } + } + } + } + leaf heartbeat-interval { + description "Interval between successive heartbeats"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf heartbeat-threshold { + description "Number of consecutive missed heartbeats to indicate device failure"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container network-management { + description "Define parameters for network management"; + uses apply-advanced; + leaf cluster-master { + description "Enable in-band management on cluster-master"; + type empty; + } + } + list node { + key name; + ordered-by user; + description "Set the list of nodes in the cluster"; + status deprecated; + leaf name { + description "Node identifier"; + type enumeration { + enum "0" { + description "Node identifier 0"; + } + enum "1" { + description "Node identifier 1"; + } + } + } + uses apply-advanced; + } + list redundancy-group { + key name; + ordered-by user; + description "Set redundancy-group parameters"; + leaf name { + description "Redundancy-group number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8; + } + } + uses apply-advanced; + list node { + key name; + ordered-by user; + description "Set node specific parameters"; + leaf name { + description "Node identifier"; + type enumeration { + enum "0" { + description "Node identifier 0"; + } + enum "1" { + description "Node identifier 1"; + } + } + } + leaf priority { + description "Priority of the node in the redundancy-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + } + container preempt { + presence "enable preempt"; + description "Allow preemption of primaryship based on priority"; + uses apply-advanced; + leaf delay { + description "Time to wait before taking over mastership"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 21600"; + } + } + } + leaf limit { + description "Max number of preemptive failovers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 50"; + } + } + } + leaf period { + description "Time period during which the limit is applied"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1400"; + } + } + } + } + leaf gratuitous-arp-count { + description "Number of gratuitous ARPs to send on an active interface after failover"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 16"; + } + } + } + leaf hold-down-interval { + description "RG failover interval. RG0(300-1800) RG1+(0-1800)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1800"; + } + } + } + list interface-monitor { + key name; + ordered-by user; + description "Define interfaces to monitor"; + leaf name { + description "Name of the interface to monitor"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf weight { + description "Weight assigned to this interface that influences failover"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + container ip-monitoring { + description "Define parameters for IP monitoring feature"; + uses apply-advanced; + leaf global-weight { + description "Define global weight for IP monitoring"; + default "255"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf global-threshold { + description "Define global threshold for IP monitoring"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf retry-interval { + description "Define the time interval in seconds between retries."; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf retry-count { + description "Number of retries needed to declare reachablity failure"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + container family { + description "Define protocol family"; + uses apply-advanced; + container inet { + description "Define IPv4 related parameters"; + uses apply-advanced; + list address { + key name; + description "Define IP address related parameters"; + uses ip-monitoring-address-type; + } + } + } + } + } + container configuration-synchronize { + description "Cluster configration action"; + uses apply-advanced; + leaf no-secondary-bootup-auto { + description "Disable auto configuration synchronize on secondary bootup"; + type empty; + } + } + } + list node { + key name; + description "Set node specific parameters"; + leaf name { + description "Node identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + uses apply-advanced; + list fpc { + key name; + description "Flexible PIC Concentrator parameters"; + uses chassis_fpc_type; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping chassis-pw-type { + uses apply-advanced; + leaf device-count { + description "Number of pseudo-wire ps devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7000"; + } + } + } + } + grouping chassis_agg_dev_type { + uses apply-advanced; + container ethernet { + description "Aggregated device options for Ethernet"; + uses chassisd_agg_enet_type; + } + container sonet { + description "Aggregated device options for SONET"; + uses chassisd_agg_pos_type; + } + leaf maximum-links { + description "Maximum links limit for aggregated devices (16, 32, or 64)"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping chassis_alarm_type { + uses apply-advanced; + container management-ethernet { + description "Management Ethernet alarms"; + uses chassis_alarm_ethernet_type; + } + container otn-odu { + description "OTN ODU alarms"; + uses chassis_alarm_otn_odu_type; + } + container otn-otu { + description "OTN OTU alarms"; + uses chassis_alarm_otn_otu_type; + } + container t3 { + description "DS3 alarms"; + uses chassis_alarm_ds3_type; + } + container ds1 { + description "DS1 alarms"; + uses chassis_alarm_ds1_type; + } + container ethernet { + description "Ethernet alarms"; + uses chassis_alarm_ethernet_type; + } + container integrated-services { + description "Integrated services alarms"; + uses chassis_alarm_integrated_services_type; + } + container services { + description "Services PIC alarms"; + uses chassis_alarm_services_type; + } + container serial { + description "Serial alarms"; + uses chassis_alarm_serial_type; + } + container fibre-channel { + description "Fibre Channel alarms"; + uses chassis_alarm_fibre-channel_type; + } + } + grouping chassis_alarm_ds1_type { + uses apply-advanced; + leaf ais { + description "Alarm indicator signal"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ylw { + description "Yellow alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_ds3_type { + uses apply-advanced; + leaf ais { + description "Alarm indicator signal"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf exz { + description "Excessive zeros"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ferf { + description "Far-end failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf idle { + description "Idle alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf lcv { + description "Line code violation"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf lof { + description "Loss of frame"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf los { + description "Loss of signal"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf pll { + description "Phase-locked loop out of lock"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ylw { + description "Yellow alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_ethernet_type { + uses apply-advanced; + leaf link-down { + description "Link has gone down"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_fibre-channel_type { + uses apply-advanced; + leaf link-down { + description "Link has gone down"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_integrated_services_type { + uses apply-advanced; + leaf failure { + description "Integrated Services failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_otn_odu_type { + uses apply-advanced; + leaf odu-bdi { + description "ODU backward-defect-indicator, ODU-BDI failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf odu-ttim { + description "ODU trail-trace-identifier-mismatch, ODU-TTIM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf odu-ptim { + description "ODU payload-type-mismatch, ODU-PTIM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_otn_otu_type { + uses apply-advanced; + leaf oc-los { + description "Loss of signal, LOS failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf oc-lof { + description "Loss of framing, LOF failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf oc-lom { + description "Loss of multiframe, LOM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf wavelength-lock { + description "Wavelength lock alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-bdi { + description "OTU backward-defect-indicator, OTU-BDI failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-iae { + description "OTU incoming-alignment-error, OTU-IAE failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-ttim { + description "OTU trail-trace-identifier-mismatch, OTU-TTIM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-fec-excessive-errs { + description "OTU fec-excessive-errors, OTU-FEC_EXE failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_serial_type { + uses apply-advanced; + leaf loss-of-rx-clock { + description "RX clock absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf loss-of-tx-clock { + description "TX clock absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf dcd-absent { + description "DCD signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf cts-absent { + description "CTS signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf dsr-absent { + description "DSR signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf tm-absent { + description "TM signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_services_type { + uses apply-advanced; + leaf pic-reset { + description "Services PIC reset"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf pic-hold-reset { + description "Services PIC held in reset"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf linkdown { + description "Services PIC linkdown"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf rx-errors { + description "Services PIC excessive rx errors"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf tx-errors { + description "Services PIC excessive tx errors"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf sw-down { + description "Services PIC software problem"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf hw-down { + description "Services PIC hardware problem"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_fabric_type { + uses apply-advanced; + container degraded { + presence "enable degraded"; + description "Degraded fabric configuration"; + uses apply-advanced; + leaf action-fpc-restart-disable { + description "Limit degraded fabric actions to Plane restart only"; + type empty; + } + } + container redundancy-mode { + description "Fabric redundancy mode"; + uses apply-advanced; + choice mode { + case case_1 { + leaf redundant { + description "Fabric is configured in redundant mode"; + type empty; + } + } + case case_2 { + leaf increased-bandwidth { + description "Fabric is configured in increased bandwidth mode"; + type empty; + } + } + } + } + } + grouping chassis_feb_type { + uses apply-advanced; + } + grouping chassis_fpc_error_type { + description "Chassis Fpc Error level"; + uses apply-advanced; + container fatal { + description "FPC Fatal errors (default threshold = 1)"; + uses chassis_fpc_error_level_major_fatal; + } + container major { + description "FPC Major Level errors (default threshold = 1)"; + uses chassis_fpc_error_level_major_fatal; + } + container minor { + description "FPC Minor Level errors (default threshold = 10)"; + uses chassis_fpc_error_level_minor; + } + } + grouping chassis_fpc_error_level_major_fatal { + uses apply-advanced; + leaf threshold { + description "Error count at which to take the action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + list action { + key name; + ordered-by user; + description "Configure the action for this level"; + leaf name { + type enumeration { + enum "reset" { + description "Reset FPC"; + } + enum "offline" { + description "Offline FPC"; + } + enum "alarm" { + description "Raise FPC alarm"; + } + enum "get-state" { + description "Retreive FPC state for debugging"; + } + enum "log" { + description "Log occurence to system log file"; + } + enum "disable-pfe" { + description "Disable PFE interfaces on FPC"; + } + enum "offline-pic" { + description "Offline PICs associated with PFE on FPC"; + } + enum "fault" { + description "Set device state to fault"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_fpc_error_level_minor { + uses apply-advanced; + leaf threshold { + description "Error count at which to take the action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + list action { + key name; + ordered-by user; + description "Configure the action for this level"; + leaf name { + type enumeration { + enum "reset" { + description "Reset FPC"; + } + enum "offline" { + description "Offline FPC"; + } + enum "alarm" { + description "Raise FPC alarm"; + } + enum "get-state" { + description "Retreive FPC state for debugging"; + } + enum "log" { + description "Log occurence to system log file"; + } + enum "disable-pfe" { + description "Disable PFE interfaces on FPC"; + } + enum "offline-pic" { + description "Offline PICs associated with PFE on FPC"; + } + enum "fault" { + description "Set device state to fault"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_fpc_type { + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + list pic { + key name; + description "Physical Interface Card number"; + uses chassis_pic_type; + } + leaf power { + description "Power FPCs on or off"; + type enumeration { + enum "off" { + description "Do not provide power to FPCs"; + } + enum "on" { + description "Provide power to FPCs"; + } + } + } + choice mode { + case case_1 { + leaf disable-power { + description "Do not provide power to the card"; + status deprecated; + type empty; + } + } + case case_2 { + leaf allow-sram-parity-errors { + description "Do not power cycle FPC when SRAM parity errors occur"; + type empty; + } + } + } + choice riot-mode { + case case_1 { + } + case case_2 { + } + } + leaf services-offload { + description "Enable services offload on fpc"; + status deprecated; + type empty; + } + leaf np-cache { + description "Enable NP cache and services offload on fpc"; + type empty; + } + leaf offline { + description "Keep FPC offline"; + type empty; + } + container fabric { + presence "enable fabric"; + uses apply-advanced; + leaf blackhole-action { + description "Action taken upon fabric plane blackhole involving the FPC"; + type enumeration { + enum "log-only" { + description "Log the detected blackhole condition"; + } + enum "offline" { + description "Offline the FPC"; + } + enum "restart" { + description "Restart the FPC"; + } + enum "restart-then-offline" { + description "Restart the FPC and offline in subsequent action. "; + } + } + } + container bandwidth-degradation { + description "Take FPC recovery action when FPC running with reduced fabric bandwidth"; + uses apply-advanced; + leaf percentage { + description "The percentage of PFE bandwidth degradation to trigger action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf no-fabric-switchover { + description "Do not perform switchover to spare CB"; + type empty; + } + leaf action { + description "Type of action to trigger"; + type enumeration { + enum "log-only" { + description "Log the bandwidth degradation only"; + } + enum "offline" { + description "Offline the FPC, default action"; + } + enum "restart" { + description "Restart the FPC"; + } + enum "restart-then-offline" { + description "Restart the FPC and offline in subsequent action"; + } + } + } + } + } + list port-mirror-instance { + key name; + ordered-by user; + max-elements 2; + leaf name { + description "Associate a port mirroring instance with the FPC"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list sampling-instance { + key name; + ordered-by user; + max-elements 1; + leaf name { + description "Associate a sampling instance with the FPC"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + container inline-services { + uses apply-advanced; + leaf report-zero-oif-gw-on-discard { + description "Jflow reports value zero in OIF and GW when traffic is not forwarded"; + type empty; + } + leaf flex-flow-sizing { + description "No fixed size allocation of flow tables for proto families"; + type empty; + } + leaf use-extended-flow-memory { + description "Use extended memory for flow records"; + type empty; + } + container flow-table-size { + uses apply-advanced; + leaf ipv4-flow-table-size { + description "IPv4 flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf ipv6-flow-table-size { + description "IPv6 flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf vpls-flow-table-size { + description "VPLS flow table size in units of 256k"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf bridge-flow-table-size { + description "BRIDGE flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf ipv6-extended-attrib { + description "Enable extended flow attribute"; + type empty; + } + leaf mpls-flow-table-size { + description "MPLS flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + } + } + container inline-video-monitoring { + uses apply-advanced; + leaf maximum-flows-count { + description "Maximum number of inline video monitoring flows per PFE instance."; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 8192"; + } + } + } + leaf flow-table-size { + description "Size of flow table size per PFE instance"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 8192"; + } + } + } + } + container slamon-services { + description "SLA monitoring services"; + uses apply-advanced; + } + list pfe { + key name; + description "Packet forwarding engine parameters"; + uses chassis_pfe_type; + } + container error { + description "Error level configuration for FPC"; + uses chassis_fpc_error_type; + } + } + grouping chassis_pem_type { + uses apply-advanced; + leaf minimum { + description "Minimum number of power supplies required for normal operation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf input-current { + description "Input current (Amps) in each feed "; + default "60"; + type enumeration { + enum "40" { + description "40 Amps in each Feed"; + } + enum "60" { + description "60 Amps in each Feed"; + } + } + } + } + grouping chassis_pfe_type { + description "PFE(Packet forwarding engine)"; + leaf name { + description "PFE(Packet forwarding engine) identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + uses apply-advanced; + container forwarding-packages { + description "Associated forwarding package configuration"; + uses apply-advanced; + container mobility { + description "Mobility related PFE configuration"; + uses apply-advanced; + choice package-type { + case case_1 { + leaf ggsn-pgw { + description "GGSN packet gateway"; + type empty; + } + } + case case_2 { + leaf sgw { + description "Serving gateway"; + type empty; + } + } + } + } + } + leaf tunnel-services { + description "Tunnel services configuration"; + type empty; + } + } + grouping chassis_pic_type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf pic-mode { + description "PIC mode configuration"; + type enumeration { + enum "10G" { + description "10GE mode"; + } + enum "40G" { + description "40GE mode"; + } + enum "100G" { + description "100GE mode"; + } + } + } + choice adaptive-or-monitoring { + case case_1 { + } + case case_2 { + container monitoring-services { + description "Monitoring services configuration"; + uses apply-advanced; + leaf application { + description "Application mode"; + type enumeration { + enum "dynamic-flow-capture" { + description "Dynamic flow capture mode"; + } + enum "flow-collector" { + description "Flow collector mode"; + } + enum "monitor" { + description "Monitor mode"; + } + } + } + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sonet" { + description "SONET mode"; + } + enum "sdh" { + description "SDH mode"; + } + enum "t3" { + description "T3 mode"; + } + enum "e3" { + description "E3 mode"; + } + enum "t1" { + description "T1 mode"; + } + enum "e1" { + description "E1 mode"; + } + enum "lan" { + description "LAN mode"; + } + } + } + leaf vtmapping { + description "Virtual tunnel mapping mode"; + type enumeration { + enum "klm" { + description "KLM mode"; + } + enum "itu-t" { + description "ITU-T mode"; + } + } + } + leaf no-concatenate { + description "Do not concatenate channels"; + type empty; + } + leaf no-multi-rate { + description "Disable multi-rate mode"; + type empty; + } + leaf aggregate-ports { + description "Aggregate multiple ports on a PIC as a single port"; + type empty; + } + leaf number-of-ports { + description "Number of physical ports to enable on PIC"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf power { + description "Power off PIC"; + type enumeration { + enum "off" { + description "Do not provide power to PIC"; + } + } + } + leaf sparse-dlcis { + description "Run in sparse data-link connection identifier mode"; + type empty; + } + container q-pic-large-buffer { + presence "enable q-pic-large-buffer"; + description "Run in large delay buffer mode"; + uses apply-advanced; + choice buffer-type { + case case_1 { + leaf small-scale { + description "Supports less number of interfaces"; + type empty; + } + } + case case_2 { + leaf large-scale { + description "Supports large number of interfaces"; + type empty; + } + } + } + } + container red-buffer-occupancy { + description "Computation type for RED buffer occupancy"; + uses apply-advanced; + container weighted-averaged { + presence "enable weighted-averaged"; + description "Weighted-average computation"; + uses apply-advanced; + leaf instant-usage-weight-exponent { + description "Weight for instant buffer usage (negative exponent of 2)"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traffic-manager { + description "Configure traffic manager attributes"; + uses apply-advanced; + leaf ingress-shaping-overhead { + description "Number of CoS shaping overhead bytes in ingress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-62 .. 192"; + } + } + } + leaf egress-shaping-overhead { + description "Number of CoS shaping overhead bytes in egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-62 .. 192"; + } + } + } + leaf queue-buffer-size { + description "Set the buffer size of output queue"; + type enumeration { + enum "small" { + description "Use small buffer size"; + } + } + } + leaf mode { + description "Configure traffic manager mode"; + type enumeration { + enum "egress-only" { + description "Egress traffic manager enabled, ingress traffic manager disabled"; + } + enum "session-shaping" { + description "Enable egress session shaping"; + } + enum "ingress-and-egress" { + description "Enable the ingress and egress traffic managers"; + } + } + } + } + container idle-cell-format { + description "ATM idle cell configuration"; + uses apply-advanced; + leaf itu-t { + description "ITU-T idle cell header format"; + type empty; + } + leaf payload-pattern { + description "Payload pattern byte (0x00-0xff)"; + type string; + } + } + container atm-l2circuit-mode { + description "Enable ATM Layer 2 circuit transport mode"; + uses apply-advanced; + choice mode_choice { + case case_1 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + case case_2 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_3 { + container trunk { + presence "enable trunk"; + description "Set ATM Layer 2 circuit trunk mode"; + uses apply-advanced; + choice trunk-mode { + case case_1 { + container uni { + presence "enable uni"; + description "ATM Layer 2 circuit user-to-network interface trunk mode"; + uses apply-advanced; + } + } + case case_2 { + container nni { + presence "enable nni"; + description "ATM Layer 2 circuit network-to-network interface trunk mode"; + uses apply-advanced; + } + } + } + } + } + } + } + leaf atm-cell-relay-accumulation { + description "Enable ATM cell-relay accumulation mode"; + type empty; + } + container services-offload { + presence "enable services-offload"; + description "Enable services offload"; + uses apply-advanced; + leaf per-session-statistics { + description "Keep per session statistics in NP"; + type empty; + } + leaf low-latency { + description "Bypass Traffic Management stage to achieve low latency"; + type empty; + } + } + leaf mlfr-uni-nni-bundles { + description "Number of multilink Frame Relay UNI NNI (FRF.16) bundles to allocate on PIC"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf mlfr-uni-nni-bundles-inline { + description "Number of inline multilink frame relay UNI NNI bundles"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container ct3 { + description "CT3 NxDS0 PIC configuration"; + uses apply-advanced; + list port { + key name; + description "CT3 port"; + uses ct3_port_type; + } + } + container ce1 { + description "CE1 NxDS0 PIC configuration"; + uses apply-advanced; + list e1 { + key name; + description "E1 link"; + uses ce1_channel_type; + } + } + leaf max-queues-per-interface { + description "Maximum number of queues per interface on QOS-capable PIC"; + type enumeration { + enum "4" { + description "Maximum 4 queues per interface"; + } + enum "8" { + description "Maximum 8 queues per interface"; + } + } + } + container shdsl { + description "SHDSL chassis configuration"; + uses apply-advanced; + leaf pic-mode { + description "PIC mode"; + default "2-port-atm"; + type enumeration { + enum "1-port-atm" { + description "Single port ATM, 4 wire mode"; + } + enum "2-port-atm" { + description "Two port ATM, 2 wire mode"; + } + enum "4-port-atm" { + description "Four port ATM, 2 wire mode"; + } + enum "efm" { + description "Single port EFM, 2 wire mode"; + } + } + } + } + container ethernet { + description "J-series Ethernet PIM mode configuration"; + uses apply-advanced; + leaf pic-mode { + description "PIC mode"; + default "routing"; + type enumeration { + enum "switching" { + description "Switched mode of operation"; + } + enum "routing" { + description "Routing mode of operation"; + } + enum "enhanced-switching" { + description "Enhanced switching mode of operation"; + } + } + } + } + leaf tunnel-queuing { + description "Enable queueing for GRE/IPIP tunnels"; + type empty; + } + list port-mirror-instance { + key name; + ordered-by user; + max-elements 2; + leaf name { + description "Associate a port mirroring instance with the PIC"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list port { + key name; + description "Port number"; + uses chassis_pic_port_framing; + } + container fibre-channel { + description "Fibre channel configuration option"; + uses chassis_fibre_channel_type; + } + leaf ingress-policer-overhead { + description "Number of policer overhead bytes in ingress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + grouping ce1_channel_type { + leaf name { + description "E1 link number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + uses apply-advanced; + list channel-group { + key name; + description "Define channel group"; + leaf name { + description "Channel group number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 23"; + } + } + } + leaf timeslots { + description "DS0 timeslots (1..31); for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + } + } + grouping chassis_fibre_channel_type { + description "Fibre channel configuration option"; + uses apply-advanced; + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Fibre channel port range"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 47"; + } + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 47"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_pic_port_framing { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf framing { + description "Framing mode"; + type enumeration { + enum "sonet" { + description "SONET mode"; + } + enum "sdh" { + description "SDH mode"; + } + enum "t3" { + description "T3 mode"; + } + enum "e3" { + description "E3 mode"; + } + enum "t1" { + description "T1 mode"; + } + enum "e1" { + description "E1 mode"; + } + } + } + leaf speed { + description "Port speed"; + type enumeration { + enum "oc3-stm1" { + description "OC3 or STM1"; + } + enum "oc12-stm4" { + description "OC12 or STM4"; + } + enum "oc48-stm16" { + description "OC48 or STM16"; + } + enum "1G" { + description "1GE-Gigabit Ethernet"; + } + enum "10g" { + description "Sets the interface mode to 10Gbps"; + } + enum "25g" { + description "Sets the interface mode to 25Gbps"; + } + enum "40g" { + description "Sets the interface mode to 40Gbps"; + } + enum "100g" { + description "Sets the interface mode to 100Gbps"; + } + } + } + } + grouping chassis_redundancy_type { + uses apply-advanced; + list routing-engine { + key name; + description "Redundancy options for Routing Engines"; + uses chassis_rdd_re_type; + } + container failover { + description "Failover to other Routing Engine"; + uses chassis_rdd_failover_type; + } + leaf keepalive-time { + description "Time before Routing Engine failover"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + container graceful-switchover { + description "Enable graceful switchover on supported hardware"; + presence "enable graceful-switchover"; + uses chassis_non_stop_forwarding_type; + } + } + grouping chassis_non_stop_forwarding_type { + uses apply-advanced; + container traceoptions { + description "Graceful switchover trace options"; + status deprecated; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "update" { + description "Trace state updates"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping chassis_rdd_failover_type { + uses apply-advanced; + leaf on-loss-of-keepalives { + description "Failover on loss of keepalives"; + type empty; + } + leaf on-disk-failure { + description "Failover on disk failure"; + type empty; + } + leaf not-on-disk-underperform { + description "Prevent gstatd from initiating failovers in response to slow disks"; + type empty; + } + leaf disk-read-threshold { + description "Read threshold (ms) on disk underperform monitoring"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 10000"; + } + } + } + leaf disk-write-threshold { + description "Write threshold (ms) on disk underperform monitoring"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 10000"; + } + } + } + } + grouping chassis_rdd_re_type { + leaf name { + description "Routing Engine slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + choice priority { + case case_1 { + leaf master { + description "Master Routing Engine"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup Routing Engine"; + type empty; + } + } + case case_3 { + leaf disabled { + description "Routing Engine disabled"; + type empty; + } + } + } + } + grouping chassis_routing_engine_type { + uses apply-advanced; + container on-disk-failure { + description "Action to take when Routing Engine disk fails"; + uses chassis_re_on_disk_failure; + } + container control-interface { + presence "enable control-interface"; + description "Configure recovery method and pause frame for control interface"; + uses apply-advanced; + leaf recovery-method { + description "Select the recovery method"; + type enumeration { + enum "disable-recovery" { + description "Don't enable recovery"; + } + enum "socket" { + description "Recovery by using socket"; + } + enum "counter" { + description "Recovery by using BCM-Counters"; + } + } + } + leaf pause-frame { + description "Enable or disable Pause frame generation"; + type empty; + } + } + container bios { + description "Routing Engine BIOS"; + uses apply-advanced; + leaf no-auto-upgrade { + description "Disable routing-engine BIOS auto-upgrade"; + type empty; + } + leaf uninterrupt { + description "Set routing-engine BIOS uninterruptable"; + type empty; + } + } + container usb-wwan { + description "Enable WWAN (3G) access on the USB port"; + uses apply-advanced; + leaf port { + description "Select the port"; + type enumeration { + enum "0" { + description "Select port 0 to enable WWAN access"; + } + enum "1" { + description "Select port 1 to enable WWAN access"; + } + } + } + } + } + grouping chassis_re_on_disk_failure { + choice reboot_or_halt { + case case_1 { + leaf reboot { + description "Reboot on disk failure"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disk-failure-action { + type enumeration { + enum "reboot" { + description "Reboot on disk failure"; + } + enum "halt" { + description "Halt on disk failure"; + } + } + } + } + } + } + grouping chassisd_agg_enet_type { + uses apply-advanced; + leaf device-count { + description "Number of aggregated Ethernet devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container lacp { + description "Global Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf non-revertive { + description "Don't revert links when better priority link comes up"; + type empty; + } + } + } + } + grouping chassisd_agg_pos_type { + uses apply-advanced; + leaf device-count { + description "Number of aggregated SONET devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + grouping ct3_port_type { + leaf name { + description "CT3 L2NG_PRODUCTSport number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 1"; + } + } + } + uses apply-advanced; + list t1 { + key name; + description "T1 link"; + uses ct3_channel_type; + } + } + grouping ct3_channel_type { + leaf name { + description "T1 link number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 27"; + } + } + } + uses apply-advanced; + list channel-group { + key name; + description "Define channel group"; + leaf name { + description "Channel group number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf timeslots { + description "DS0 timeslots (1..24); for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + } + } + grouping ip-monitoring-address-type { + description "Define IP address related parameters"; + leaf name { + description "Define IPv4 address to be monitored"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf weight { + description "Define weight for this IP address"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + list interface { + key "logical-interface-name secondary-ip-address"; + ordered-by user; + description "Logical interface through which to monitor this IP address"; + max-elements 1; + leaf logical-interface-name { + description "Logical interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secondary-ip-address { + description "Define source address for monitoring packets on secondary link"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + grouping juniper-protected-system-domain { + description "Protected system domain configuration"; + leaf name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Description of protected system domain"; + type string; + } + list lcc { + key name; + leaf name { + description "Specific LCC"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf-list fpcs { + description "FPC associated with protected system domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf control-system-id { + description "Control system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf-list control-slot-numbers { + ordered-by user; + description "Slots associated with protected system domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + max-elements 2; + } + leaf control-plane-bandwidth-percent { + description "Percentage of control plane bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + grouping juniper-protected-system-domain-traceoptions { + description "Protected system domain traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "rtsock" { + description "Trace rtsock messages"; + } + enum "ipc" { + description "Trace IPC messages"; + } + enum "init" { + description "Trace intialization messages"; + } + enum "psd" { + description "Trace psd messages"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-class-of-service@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-class-of-service@2019-01-01.yang new file mode 100644 index 00000000..63536e9c --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-class-of-service@2019-01-01.yang @@ -0,0 +1,3321 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-class-of-service { + namespace "http://yang.juniper.net/junos-es/conf/class-of-service"; + + prefix jc-class-of-service; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos class-of-service configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses class-of-service-group; + } + augment /jc:configuration/jc:groups { + uses class-of-service-group; + } + grouping class-of-service-group { + container class-of-service { + description "Class-of-service configuration"; + uses juniper-class-of-service-options; + } + } + grouping juniper-class-of-service-options { + uses apply-advanced; + container forwarding-policy { + description "Class-of-service forwarding policy"; + uses apply-advanced; + list next-hop-map { + key name; + ordered-by user; + description "Class-of-service next-hop map"; + leaf name { + description "Name to identify next-hop map"; + type string { + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class from which to map"; + leaf name { + description "Forwarding class"; + type string { + } + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + container forwarding-class-default { + description "Next Hop For traffic which does not meet any FC in the next-hop-map"; + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + } + list class { + key name; + ordered-by user; + description "Class-of-service description"; + leaf name { + description "Name to identify class of service"; + type string { + } + } + uses apply-advanced; + container classification-override { + description "Define classification overrides"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + } + } + } + container classifiers { + description "Classify incoming packets based on code point value"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + } + container loss-priority-maps { + description "Map loss priority of incoming packets based on code point value"; + uses apply-advanced; + list frame-relay-de { + key name; + ordered-by user; + description "Frame relay discard eligible bit loss priority map"; + leaf name { + description "Loss priority map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Map code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to low loss priority"; + } + enum "high" { + description "Code points to classify to high loss priority"; + } + enum "medium-low" { + description "Code points to classify to medium-low loss priority"; + } + enum "medium-high" { + description "Code points to classify to medium-high loss priority"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of bit strings"; + type string; + } + } + } + } + container code-point-aliases { + description "Mapping of code point aliases to bit strings"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point aliases"; + leaf name { + description "DSCP alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point aliases IPv6"; + leaf name { + description "DSCP IPv6 alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP code point aliases"; + leaf name { + description "EXP alias name"; + type string { + } + } + leaf bits { + description "EXP 3-bit pattern"; + type string { + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 code point aliases"; + leaf name { + description "IEEE-802.1 alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1 3-bit pattern"; + type string { + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence code point aliases"; + leaf name { + description "IPv4 precedence alias name"; + type string { + } + } + leaf bits { + description "IPv4 precedence 3-bit pattern"; + type string { + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) code point aliases"; + leaf name { + description "IEEE-802.1ad (DEI) alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1ad (DEI) 4-bit pattern"; + type string { + } + } + } + } + container translation-table { + description "Translation table"; + uses apply-advanced; + list to-802.1p-from-dscp { + key name; + ordered-by user; + description "DSCP to 802.1 translation table"; + leaf name { + description "Translation table name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list to-code-point { + key name; + ordered-by user; + description "IEEE 802.1 code point"; + leaf name { + description "IEEE 802.1 code point"; + type string { + } + } + leaf-list from-code-points { + ordered-by user; + description "DSCP code point"; + type string; + } + } + } + } + container host-outbound-traffic { + description "Classify and mark host traffic to forwarding engine"; + uses apply-advanced; + leaf forwarding-class { + description "Classification of host traffic to forwarding engine"; + type string { + length "1 .. 64"; + } + } + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + leaf override-firewall { + description "Override firewall filter actions for RE generated traffic"; + type empty; + } + container translation-table { + description "Translation table for host outbound packets"; + leaf to-802.1p-from-dscp { + description "DSCP to 802.1 translation table"; + type string { + length "1 .. 64"; + } + } + } + container tcp { + presence "enable tcp"; + description "Settings for host outbound TCP packets"; + uses apply-advanced; + leaf raise-internet-control-priority { + description "Place packets with IP Precedence set to Internet control into Q3 (network-control)"; + type empty; + } + } + container ieee-802.1 { + presence "enable ieee-802.1"; + description "Mark IEEE 802.1p for host output traffic"; + uses apply-advanced; + leaf rewrite-rules { + description "Mark IEEE 802.1p for host outbound traffic using rewrite-rules"; + type empty; + } + leaf default { + description "Mark IEEE 802.1p for host outbound traffic default value"; + type string { + } + } + } + container protocol { + description "Settings for specific host outbound protocol packets"; + uses apply-advanced; + container isis-over-gre { + description "Settings for ISIS over GRE packets"; + uses apply-advanced; + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + } + } + } + list drop-profiles { + key name; + ordered-by user; + description "Random Early Drop (RED) data point map"; + leaf name { + description "Drop profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list fill-level { + key name; + ordered-by user; + description "Fill-level value of data point"; + leaf name { + description "Percentage the queue is full"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf drop-probability { + description "Probability packet will be dropped"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container interpolate { + description "Data points interpolated"; + uses apply-advanced; + leaf-list fill-level { + ordered-by user; + description "Data points for queue full percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf-list drop-probability { + ordered-by user; + description "Data points for packet drop probability"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list adaptive-shapers { + key name; + ordered-by user; + description "Define the list of trigger types and associated rates"; + leaf name { + description "Adaptive shaper name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list trigger { + key name; + ordered-by user; + description "List of trigger types"; + leaf name { + type enumeration { + enum "becn" { + description "Backward explicit congestion notification"; + } + } + } + container shaping-rate { + description "Shaping rate for the trigger"; + choice rate-choice { + case case_1 { + leaf absolute-rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + } + } + list virtual-channels { + key name; + ordered-by user; + description "Define the list of virtual channels"; + leaf name { + description "Virtual channel name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list virtual-channel-groups { + key name; + ordered-by user; + description "Define list of virtual channel groups"; + leaf name { + description "Virtual channel group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list channel { + key name; + ordered-by user; + description "Configure virtual channel for this group"; + leaf name { + description "Virtual channel group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf scheduler-map { + description "Scheduler map applied to this virtual channel"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + description "Shaping rate for the trigger"; + choice rate-choice { + case case_1 { + leaf absolute-rate { + description "Adaptive shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Adaptive shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + leaf default { + description "Default virtual channel"; + type empty; + } + } + } + leaf tri-color { + description "Enable tricolor marking"; + type empty; + } + leaf non-strict-priority-scheduling { + description "Enable non-strict-priority scheduling"; + type empty; + } + container forwarding-classes { + description "One or more mappings of forwarding class to queue number"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class to map to queue number"; + max-elements 16; + leaf name { + description "Name of forwarding class"; + type string { + length "1 .. 64"; + } + } + leaf queue-num { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Low fabric priority"; + } + enum "high" { + description "High fabric priority"; + } + } + } + leaf spu-priority { + description "SPU priority"; + type enumeration { + enum "low" { + description "Low spu priority"; + } + enum "high" { + description "High spu priority"; + } + enum "medium-low" { + description "Medium-low spu priority"; + } + enum "medium-high" { + description "Medium-high spu priority"; + } + } + } + } + list queue { + key name; + ordered-by user; + description "Queue number to map to forwarding class"; + leaf name { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf class-name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Fabric priority low"; + } + enum "high" { + description "Fabric priority high"; + } + } + } + } + } + list traffic-control-profiles { + key name; + ordered-by user; + description "Traffic shaping and scheduling profiles"; + leaf name { + description "Traffic control profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf scheduler-map { + description "Mapping of forwarding classes to packet schedulers"; + type string { + length "1 .. 64"; + } + } + leaf atm-service { + description "ATM service category"; + type enumeration { + enum "cbr" { + description "Constant bit rate"; + } + enum "rtvbr" { + description "Real-time variable bit rate"; + } + enum "nrtvbr" { + description "Non-real-time variable bit rate"; + } + } + } + leaf peak-rate { + description "ATM Peak Cell Rate (PCR)"; + units "cps"; + type string; + } + leaf sustained-rate { + description "ATM Sustained Cell Rate (SCR)"; + units "cps"; + type string; + } + leaf max-burst-size { + description "ATM Maximum Burst Size (MBS)"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "1 .. 4000"; + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container overhead-accounting { + description "Overhead accounting"; + leaf mode { + type string { + length "1 .. 64"; + } + } + leaf bytes { + description "Byte adjust value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf frame-mode-bytes { + description "Overhead bytes when in frame-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf cell-mode-bytes { + description "Overhead bytes when in cell-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + } + container shaping-rate-priority-strict-high { + description "Shaping rate for strict high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-high { + description "Shaping rate for high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium { + description "Shaping rate for medium priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium-low { + description "Shaping rate for medium low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-low { + description "Shaping rate for low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-high { + description "Shaping rate for excess high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-low { + description "Shaping rate for excess low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-high { + description "Shaping rate for excess medium-high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-low { + description "Shaping rate for excess medium-low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container guaranteed-rate { + description "Guaranteed rate"; + choice guaranteed_rate_choice { + case case_1 { + leaf rate { + description "Guaranteed rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Guaranteed rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate { + description "Excess bandwidth sharing proportion"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-high { + description "Excess bandwidth sharing for excess-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-high { + description "Excess bandwidth sharing for excess-medium-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-low { + description "Excess bandwidth sharing for excess-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-low { + description "Excess bandwidth sharing for excess-medium-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + choice delay_buffer_sizing { + case case_1 { + container delay-buffer-rate { + description "Delay buffer rate"; + choice delay_buffer_rate_choice { + case case_1 { + leaf rate { + description "Delay buffer rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Delay buffer rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_3 { + leaf cps { + description "Delay buffer rate as an absolute cells per second rate"; + units "cells per second"; + type string; + } + } + } + } + } + } + } + container interfaces { + description "Apply class-of-service options to interfaces"; + uses apply-advanced; + list interface-set { + key name; + ordered-by user; + description "Interface set traffic-control-profile attachment"; + leaf name { + description "Name of the interface set"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf internal-node { + description "Internal node"; + type empty; + } + container input-excess-bandwidth-share { + description "Input Excess bandwidth sharing policy"; + choice input_excess_bandwidth_share { + case case_1 { + leaf proportional { + description "Maximum Queue Bandwidth"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf equal { + description "Equal sharing of excess bandwidth"; + type empty; + } + } + } + } + container excess-bandwidth-share { + description "Output Excess bandwidth sharing policy"; + choice output_excess_bandwidth_share { + case case_1 { + leaf proportional { + description "Maximum Queue Bandwidth"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf equal { + description "Equal sharing of excess bandwidth"; + type empty; + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile for the interface set"; + leaf profile-name { + description "Name of the input traffic control profile associated with the interface set"; + type string { + length "1 .. 64"; + } + } + } + container input-traffic-control-profile-remaining { + description "Input traffic control profile for the remaining traffic on an interface set"; + leaf profile-name { + description "Name of the input traffic control profile associated with the remaining traffic for the interface set"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile for the interface set"; + leaf profile-name { + description "Name of the output traffic control profile associated with the interface set"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for the remaining traffic on an interface set"; + leaf profile-name { + description "Name of the output traffic control profile associated with the remaining traffic for the interface set"; + type string { + length "1 .. 64"; + } + } + } + } + list interface { + key name; + uses cos_interfaces_type; + } + } + container rewrite-rules { + description "Write code point value of outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list frame-relay-de { + key name; + ordered-by user; + description "Frame relay discard eligible bit rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + } + container fabric { + description "Define CoS parameters of switch fabric"; + uses apply-advanced; + container scheduler-map { + description "Mapping of fabric traffic to packet schedulers"; + uses apply-advanced; + list priority { + key name; + ordered-by user; + description "Fabric traffic priority"; + leaf name { + type enumeration { + enum "low" { + description "Low priority fabric traffic"; + } + enum "high" { + description "High priority fabric traffic"; + } + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "Mapping of forwarding classes to packet schedulers"; + leaf name { + description "Scheduler map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to scheduler"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + list fragmentation-maps { + key name; + ordered-by user; + description "Mapping of forwarding class to fragmentation options"; + leaf name { + description "Fragmentation map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to fragmentation options"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice fragmentation-control { + case case_1 { + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 9192"; + } + } + } + } + case case_2 { + leaf no-fragmentation { + description "Don't allow fragmentation"; + type empty; + } + } + } + leaf multilink-class { + description "Multilink-Class assigned to the forwarding class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + } + } + list schedulers { + key name; + ordered-by user; + description "Packet schedulers"; + leaf name { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container transmit-rate { + description "Transmit rate"; + uses apply-advanced; + choice transmit_rate_choice { + case case_1 { + leaf rate { + description "Transmit rate as rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Transmit rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + case case_3 { + container remainder { + presence "enable remainder"; + description "Remainder available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + choice rate_limit_choice { + case case_1 { + leaf exact { + description "Enforce exact transmit rate"; + type empty; + } + } + case case_2 { + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container buffer-size { + description "Queue transmission buffer size"; + uses apply-advanced; + choice buffer_size_choice { + case case_1 { + leaf percent { + description "Buffer size as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + case case_2 { + container remainder { + presence "enable remainder"; + description "Remainder of buffer size available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + case case_3 { + } + case case_4 { + leaf temporal { + description "Buffer size as temporal value"; + units "microseconds"; + type string; + } + } + } + choice buffer_limit { + case case_1 { + leaf exact { + description "Enforce exact buffer size"; + type empty; + } + } + } + container buffer-partition { + presence "enable buffer-partition"; + description "Partition buffer size among multicast and unicast"; + uses apply-advanced; + container multicast { + presence "enable multicast"; + description "Specify multicast fraction of reserved buffer"; + uses apply-advanced; + leaf percent { + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + leaf priority { + description "Scheduling priority"; + type string { + length "1 .. 64"; + } + } + leaf excess-priority { + description "Priority in the excess region"; + type string { + length "1 .. 64"; + } + } + list drop-profile-map { + key "loss-priority protocol"; + ordered-by user; + description "Assign drop profile to a loss priority and protocol"; + leaf loss-priority { + description "Loss priority value"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + enum "any" { + description "Ignore loss priority when assigning drop profile"; + } + } + } + leaf protocol { + description "Protocol type"; + type enumeration { + enum "tcp" { + description "TCP protocol only"; + } + enum "non-tcp" { + description "Non-TCP protocols only"; + } + enum "any" { + description "Ignore protocol type when assigning drop profile"; + } + } + } + leaf drop-profile { + description "Name of drop profile to apply"; + type string { + length "1 .. 64"; + } + } + } + } + container traceoptions { + description "Trace options for class-of-service process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace configuration processing"; + } + enum "util" { + description "Trace utilities"; + } + enum "restart" { + description "Trace restart processing"; + } + enum "snmp" { + description "Trace SNMP-related processing"; + } + enum "hardware-database" { + description "Trace chassis hardware database related processing"; + } + enum "asynch" { + description "Trace asynchronous configuration processing"; + } + enum "dynamic" { + description "Trace dynamic CoS functions"; + } + enum "cos-adjustment" { + description "Trace CoS rate adjustments"; + } + enum "performance-monitor" { + description "Trace performance monitor counters"; + } + enum "chassis-scheduler" { + description "Trace chassis stream scheduler processing"; + } + enum "cn-util" { + description "Trace utilities for congestion-notification"; + } + enum "snmp-timeouts" { + description "Trace SNMP COSD kernel timeouts"; + } + enum "all" { + description "Trace everything"; + } + enum "feature-capability" { + description "Trace feature capability"; + } + enum "application" { + description "Trace Junos application programming"; + } + } + } + } + } + container application-traffic-control { + presence "enable application-traffic-control"; + description "Application classifier configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for application classifier"; + uses appqos-traceoptions-type; + } + list rate-limiters { + key name; + ordered-by user; + description "Configure application-traffic-control rate limiters"; + leaf name { + description "Application classifier rate-limiter name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf bandwidth-limit { + description "Bandwidth limit"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 10485760"; + } + } + } + leaf burst-size-limit { + description "Burst size limit (default with bandwidth-limit and no larger than 6400 * bandwidth)"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1342177280"; + } + } + } + } + list rule-sets { + key name; + ordered-by user; + description "Configure application-traffic-control rule-sets"; + leaf name { + description "Application classifier rule-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule"; + uses appqos_rule_type; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping appqos-traceoptions-type { + description "Trace options for application classifier"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping appqos_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + description "Specify application traffic control rule match-criteria"; + uses apply-advanced; + leaf application-any { + description "Any applications"; + type empty; + } + leaf application-unknown { + description "Uknown applcations"; + status deprecated; + type empty; + } + leaf application-known { + description "Identifiable applications"; + type empty; + } + leaf-list application { + ordered-by user; + description "Specify application name to match"; + type string { + length "1 .. 63"; + } + } + leaf-list application-group { + ordered-by user; + description "Specify application group name to match"; + type string { + length "1 .. 63"; + } + } + } + container then { + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "DSCP code point bitmap or alias"; + type string { + } + } + leaf loss-priority { + description "Packet loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + container rate-limit { + description "Apply rate limiters"; + uses apply-advanced; + leaf client-to-server { + description "Client-to-server rate limiter"; + type string; + } + leaf server-to-client { + description "Server-to-client rate limiter"; + type string; + } + leaf loss-priority-high { + description "Set Rate limiter's action Loss-Priority to high"; + type empty; + } + } + leaf log { + description "Log the action"; + type empty; + } + } + } + grouping cos_interfaces_type { + description "Physical interface"; + leaf name { + description "Interface name (or wildcard)"; + type union { + type jt:interface-device-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + description "Output shaping rate"; + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + leaf overhead { + description "Shaping overhead bytes to be accounted in egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-62 .. 192"; + } + } + } + } + container input-excess-bandwidth-share { + description "Input Excess bandwidth sharing policy"; + choice input_excess_bandwidth_share { + case case_1 { + leaf proportional { + description "Maximum Queue Bandwidth"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf equal { + description "Equal sharing of excess bandwidth"; + type empty; + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container input-traffic-control-profile-remaining { + description "Input traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container member-link-scheduler { + description "Scheduler parameter model for member link"; + choice model { + case case_1 { + leaf scale { + description "Scale scheduler parameters on aggregate interface"; + type empty; + } + } + case case_2 { + leaf replicate { + description "Copy scheduler parameters from aggregate interface"; + type empty; + } + } + } + } + container exclude-queue-overhead-bytes { + presence "enable exclude-queue-overhead-bytes"; + description "Exclude the overhead bytes from the queue statistics"; + uses apply-advanced; + leaf include-hierarchy { + description "Perform overhead adjustment on IFD and all children"; + type empty; + } + } + container logical-interface-aggregate-statistics { + presence "enable logical-interface-aggregate-statistics"; + description "Logical interface aggregate queue statistics"; + } + list unit { + key name; + description "Logical interface unit (or wildcard)"; + leaf name { + description "Logical unit number"; + type union { + type string { + pattern "\*"; + } + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + } + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class assigned to incoming packets"; + type string { + length "1 .. 64"; + } + } + leaf virtual-channel-group { + description "Virtual channel group applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + leaf vc-shared-scheduler { + description "Virtual channel group shared scheduler indicator"; + type empty; + } + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf fragmentation-map { + description "Fragmentation map applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + leaf adaptive-shaper { + description "Adaptive shaper applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + presence "enable shaping-rate"; + description "Output shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifl"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + } + } + } + container report-ingress-shaping-rate { + description "Report ingress shaping rate"; + choice report_ingress_shaping_rate_choice { + case case_1 { + leaf rate { + description "Ingress shaping rate as an absolute value"; + units "bits per second"; + type string; + } + } + } + } + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP classifier"; + type string; + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP Ipv6 classifier"; + type string; + } + } + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container loss-priority-maps { + description "Loss priority maps applied to incoming packets"; + uses apply-advanced; + container frame-relay-de { + description "Frame Relay discard eligible bit loss priority map"; + leaf lpmap-name { + description "Name of loss priority map to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container rewrite-rules { + description "Rewrite rules applied to outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv6 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + } + } + } + list exp { + key name; + ordered-by user; + description "EXP rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls-any" { + description "Apply to MPLS packets, write MPLS header only"; + } + enum "mpls-inet-both" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header"; + } + enum "mpls-inet-both-non-vpn" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header for only non VPN traffic"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + container frame-relay-de { + description "Frame relay discard eligible bit rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) rewrite rule"; + uses apply-advanced; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-dialer@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-dialer@2019-01-01.yang new file mode 100644 index 00000000..811d08f7 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-dialer@2019-01-01.yang @@ -0,0 +1,158 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-dialer { + namespace "http://yang.juniper.net/junos-es/conf/dialer"; + + prefix jc-dialer; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos dialer configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses dialer-group; + } + augment /jc:configuration/jc:groups { + uses dialer-group; + } + grouping dialer-group { + container dialer { + description "Dialer services configuration"; + status deprecated; + uses apply-advanced; + container traceoptions { + description "Trace options for dialer services"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "One or more message or event types to include in trace"; + leaf name { + type enumeration { + enum "config" { + description "Dialer configuration messages"; + } + enum "kernel" { + description "Messages from the kernel"; + } + enum "route" { + description "Route and next-hop messages for dialer watch"; + } + enum "interface" { + description "Interface-related events"; + } + enum "error" { + description "Error messages"; + } + enum "memory" { + description "Memory allocation or deallocation messages"; + } + enum "all" { + description "All messages and events"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-dynamic-profiles@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-dynamic-profiles@2019-01-01.yang new file mode 100644 index 00000000..c17f7bcf --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-dynamic-profiles@2019-01-01.yang @@ -0,0 +1,49753 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-dynamic-profiles { + namespace "http://yang.juniper.net/junos-es/conf/dynamic-profiles"; + + prefix jc-dynamic-profiles; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos dynamic-profiles configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses dynamic-profiles-group; + } + augment /jc:configuration/jc:groups { + uses dynamic-profiles-group; + } + grouping dynamic-profiles-group { + list dynamic-profiles { + key name; + ordered-by user; + description "Dynamic profiles configuration"; + uses juniper-dynamic-profile-object; + } + } + grouping juniper-dynamic-profile-object { + leaf name { + description "Name for dynamic profile"; + type string { + length "1 .. 80"; + } + } + uses apply-advanced; + list variables { + key name; + ordered-by user; + description "Dynamic variable configuration"; + uses juniper-dynamic-variable-object; + } + container predefined-variable-defaults { + description "Assign default values to predefined variables"; + uses apply-advanced; + container cos-excess-rate { + description "Default for junos-cos-excess-rate"; + uses apply-advanced; + leaf proportion { + description "Excess rate as proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf percent { + description "Excess rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container cos-excess-rate-high { + description "Default for junos-cos-excess-rate-high"; + uses apply-advanced; + leaf proportion { + description "Excess rate as proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf percent { + description "Excess rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container cos-excess-rate-low { + description "Default for junos-cos-excess-rate-low"; + uses apply-advanced; + leaf proportion { + description "Excess rate as proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf percent { + description "Excess rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container cos-scheduler-tx { + description "Default for junos-cos-scheduler-tx"; + uses apply-advanced; + leaf rate { + description "Transmit rate as rate"; + type string; + } + leaf percent { + description "Transmit rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container cos-scheduler-bs { + description "Default for junos-cos-scheduler-bs"; + uses apply-advanced; + leaf percent { + description "Buffer size as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf temporal { + description "Buffer size as temporal"; + units "microseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container cos-scheduler-shaping-rate { + description "Default for junos-cos-scheduler-shaping-rate"; + uses apply-advanced; + leaf rate { + description "Shaping rate as rate"; + units "bits per second"; + type string; + } + leaf percent { + description "Shaping rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list other-variables { + key name; + ordered-by user; + uses base-default-variable-object; + } + } + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + ordered-by user; + leaf name { + type enumeration { + enum "$junos-routing-instance" { + description "Dynamic profile routing instance name"; + } + } + } + uses apply-advanced; + list interface { + key name; + description "Interface name for this routing instance"; + leaf name { + type string; + } + uses apply-advanced; + choice mode { + case case_1 { + leaf any { + description "Interface used for both unicast and multicast traffic"; + type empty; + } + } + case case_2 { + leaf unicast { + description "Interface used for unicast traffic only"; + type empty; + } + } + case case_3 { + leaf multicast { + description "Interface used for multicast traffic only"; + type empty; + } + } + } + leaf primary { + description "Preferred multicast vt interface for the routing-instance"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses apply-advanced; + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + } + } + } + container interfaces { + description "Interface configuration"; + uses apply-advanced; + list pic-set { + key name; + ordered-by user; + description "NP bundling configuration"; + leaf name { + description "Pic set name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "One or more interfaces that use this picset"; + leaf name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + } + list fpc { + key name; + ordered-by user; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + list pic { + key name; + ordered-by user; + description "Physical Interface Card number"; + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + } + } + list interface-set { + key name; + ordered-by user; + description "Logical interface set configuration"; + leaf name { + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "One or more interfaces that belong to interface set"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list unit { + key name; + description "One or more logical interface unit numbers"; + leaf name { + description "Unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + uses apply-advanced; + } + list vlan-tags-outer { + key name; + description "One or more outer VLAN tags"; + leaf name { + description "VLAN tag ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + } + container traceoptions { + description "Interface trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Enable all configuration logging"; + } + enum "kernel" { + description "Log configuration IPC messages to kernel"; + } + enum "change-events" { + description "Log changes that produce configuration events"; + } + enum "kernel-detail" { + description "Log details of configuration messages to kernel"; + } + enum "config-states" { + description "Log the configuration state machine changes"; + } + enum "resource-usage" { + description "Log the resource usage for different states"; + } + enum "gres-events" { + description "Log the events related to GRES "; + } + enum "select-events" { + description "Log the events on select state machine "; + } + enum "bfd-events" { + description "Log BFD related events"; + } + enum "lib-events" { + description "Log DCD library related events"; + } + enum "reserved" { + description "Reserved DCD logs"; + } + enum "emergency" { + description "Log DCD emergency events"; + } + enum "alert" { + description "Log DCD alert events"; + } + enum "critical" { + description "Log DCD critical events"; + } + enum "error" { + description "Log DCD error events"; + } + enum "warning" { + description "Log DCD warning events"; + } + enum "notice" { + description "Log DCD notification events"; + } + enum "informational" { + description "Log DCD informations"; + } + enum "debugging" { + description "Log DCD debug events"; + } + enum "verbose" { + description "Log DCD debug all events"; + } + enum "japi" { + description "Log DCD JAPI events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list interface-range { + key name; + ordered-by user; + description "Interface ranges configuration"; + leaf name { + description "Interface-range name"; + type string { + length "1 .. 128"; + } + } + list member { + key name; + ordered-by user; + description "Interfaces belonging to the interface range"; + leaf name { + description "Member interface name"; + type union { + type jt:interface-range-wild; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list member-range { + key name; + ordered-by user; + description "Interfaces range in to format"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf end-range { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + leaf promiscuous-mode { + description "Enable promiscuous mode for L3 interface"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + length "1 .. 64"; + } + } + container fabric-options { + description "Fabric interface specific options"; + uses apply-advanced; + list member-interfaces { + key name; + description "Member interface for the fabric interface"; + leaf name { + description "Interface name of member"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + enum "q921" { + description "Trace ISDN Q.921 frames"; + } + enum "q931" { + description "Trace ISDN Q.931 frames"; + } + } + } + } + container file { + presence "enable file"; + description "Trace file information for ISDN decoded frames"; + uses apply-advanced; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + default "128k"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + uses apply-advanced; + leaf interface { + description "Interface that acts as clock source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + uses apply-advanced; + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf media-type { + description "Interface media type (copper or fiber)"; + type enumeration { + enum "copper" { + description "Copper as media"; + } + enum "fiber" { + description "Fiber as media"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf voice-timeslots { + description "Voice timeslots (1..24),for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + leaf alarm-compliance { + description "Enforce standard for alarm reporting"; + type enumeration { + enum "accunet-t1-5-service" { + description "T1.5 interface specification"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + container dce-options { + description "DCE options"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + leaf dtr { + description "Data Transmit Ready signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + leaf dce-loopback-override { + description "DCE loopback override"; + type empty; + } + } + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf mdi-mode { + description "Cable cross-over mode"; + type enumeration { + enum "auto" { + description "Automatic mdi/mdi-x mode"; + } + enum "force" { + description "Enable auto-MDIX always"; + } + enum "mdi" { + description "MDI(straight through) mode"; + } + enum "mdix" { + description "MDI Cross-over mode"; + } + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf mac-mode { + description "Physical layer protocol of MAC's SERDES interface"; + type enumeration { + enum "sgmii" { + description "Serial Gigabit Media Independent Interface (10/100/1000 Mbps)"; + } + enum "mac-mode-1000base-x" { + description "1000Base-X (1000 Mbps)"; + } + } + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description "Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant-ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + leaf speed { + description "Speed mode"; + type enumeration { + enum "1g" { + description "Speed 1g"; + } + enum "10g" { + description "Speed 10g"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container redundant-ether-options { + description "Ethernet redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 128"; + } + } + } + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + leaf link-speed { + description "Link speed of individual interface that joins the RETH"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "10g" { + description "Links are 10G"; + } + } + } + leaf minimum-links { + description "Minimum number of active links"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf sync-reset { + description "On minimum-link failure notify out of sync to peer"; + type enumeration { + enum "disable" { + description "To disable minimum-link failure handling at LACP level"; + } + enum "enable" { + description "To enable minimum-link failure handling at LACP level"; + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-standby" { + description "MC-AE in active-standby mode"; + } + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dsl-options { + description "DSL interface-specific options"; + uses apply-advanced; + leaf operating-mode { + description "DSL operating mode"; + type enumeration { + enum "auto" { + description "Autonegotiate mode"; + } + enum "ansi-dmt" { + description "ANSI T1.413 Issue II mode"; + } + enum "itu-dmt" { + description "ITU G.992.1 mode"; + } + enum "etsi" { + description "ETSI TS 101 388 V1.3.1 mode"; + } + enum "itu-annexb-ur2" { + description "ITU G.992.1 UR-2 mode"; + } + enum "itu-annexb-non-ur2" { + description "ITU G.992.1 Non UR-2 mode"; + } + enum "itu-dmt-bis" { + description "ITU G.992.3 mode"; + } + enum "adsl2plus" { + description "ITU G.992.5 mode"; + } + enum "annexm-itu-dmt-bis" { + description "AnnexM ITU G.992.3 mode"; + } + enum "annexm-adsl2plus" { + description "AnnexM ITU G.992.5 mode"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container data-input { + description "Configuration for drop-insert data input"; + uses apply-advanced; + choice input-choice { + case case_1 { + leaf system { + description "Data sourced from system"; + type empty; + } + } + case case_2 { + leaf interface { + description "Interface that acts as data source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container switch-options { + description "Front end ports configuration"; + uses apply-advanced; + list switch-port { + key name; + leaf name { + description "Front end port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + uses apply-advanced; + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + } + } + leaf vlan-id { + description "VLAN ID for this port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf cascade-port { + description "Port externally connected to another cascade port"; + type empty; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + container policer-overhead { + description "Policer overhead adjustment for this unit"; + uses apply-advanced; + leaf policer-overhead-value { + description "Policer overhead bytes to be accounted in ingress and egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf ingress { + description "Ingress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf egress { + description "Egress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + } + leaf alias { + description "Interface alias"; + type string; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + container radio-router { + description "Parameters for dynamic link cost management"; + presence "enable radio-router"; + uses dynamic_ifbw_parms_type; + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf deep-vlan-qualified-learning { + description "Enable qualified MAC-address learning on the specified vlan tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range 3; + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container compression { + presence "enable compression"; + description "Various packet header compressions"; + uses apply-advanced; + container rtp { + presence "enable rtp"; + description "Compress and decompress RTP"; + uses apply-advanced; + leaf f-max-period { + description "Maximum number of compressed packets between transmission of full headers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list queues { + ordered-by user; + description "Queue holding RTP packets. Default is queue 1"; + type enumeration { + enum "q0" { + description "RTP packets assigned to queue 0"; + } + enum "q1" { + description "RTP packets assigned to queue 1"; + } + enum "q2" { + description "RTP packets assigned to queue 2"; + } + enum "q3" { + description "RTP packets assigned to queue 3"; + } + } + } + container port { + presence "enable port"; + description "UDP destination ports reserved for RTP packets"; + leaf minimum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container maximum-contexts { + description "Maximum number of simultaneous RTP contexts"; + leaf number { + description "Maximum number of simultaneous RTP contexts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 2048"; + } + } + } + } + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + description "Dynamic Host Configuration Protocol client configuration"; + presence "enable dhcp"; + uses dhcp-client-type; + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + container location-pool-address { + presence "enable location-pool-address"; + description "Location-based IP address pool"; + uses apply-advanced; + leaf pool-name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Not propagate DNS to kernel"; + } + container update-router-advertisement { + description "Dhcpv6 client update rpd for prefix delegation"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interfaces on which to delegate prefix"; + max-elements 3; + leaf name { + description "Interfaces-name on which to delegate prefix"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice enable-recursive-dns-server-option-choice { + leaf enable-recursive-dns-server-option { + description "Enables the recursive DNS server option"; + type empty; + } + leaf no-enable-recursive-dns-server-option { + description "Don't enables the recursive DNS server option"; + type empty; + } + } + } + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + leaf pool { + description "Dialer pool"; + type string { + length "1 .. 64"; + } + } + leaf-list dial-string { + ordered-by user; + description "String to dial out"; + type string { + length "1 .. 63"; + } + max-elements 15; + } + container incoming-map { + description "Map incoming call to dialer"; + uses apply-advanced; + choice caller-type { + case case_1 { + list caller { + key name; + ordered-by user; + description "Caller Id to be screened"; + max-elements 300; + leaf name { + description "Caller ID (upto 15 digits)"; + type string { + } + } + } + } + case case_2 { + leaf accept-all { + description "Accept all incoming calls"; + type empty; + } + } + } + } + leaf callback { + description "Call back on any incoming call to the dialer"; + type empty; + } + leaf callback-wait-period { + description "Time to wait before calling back"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf redial-delay { + description "Time to wait before redialing"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf idle-timeout { + description "Delay before taking down the interface"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list watch-list { + key name; + description "Dialer watch list"; + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + leaf load-threshold { + description "Load threshold for adding interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf load-interval { + description "Interval used to calculate average load"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 180"; + } + } + } + leaf activation-delay { + description "Activation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf deactivation-delay { + description "Deactivation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf initial-route-check { + description "Delay to check primary after the router is up"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 300"; + } + } + } + leaf always-on { + description "Always keep on-line"; + type empty; + } + } + container backup-options { + description "Backup interface configuration options"; + uses apply-advanced; + leaf interface { + description "Backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dynamic-call-admission-control { + description "Dynamic call admission control configuration"; + uses apply-advanced; + leaf bearer-bandwidth-limit { + description "Bearer bandwidth limit"; + units "kilobits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 9999"; + } + } + } + leaf activation-priority { + description "Priority assigned to bearer bandwidth limit"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + container modem-options { + description "MODEM interface-specific options"; + uses apply-advanced; + leaf init-command-string { + description "AT command string to initialize modem"; + type string { + length "1 .. 127"; + } + } + leaf dialin { + default "console"; + type enumeration { + enum "console" { + description "Management console access"; + } + enum "routable" { + description "Routable access"; + } + } + } + } + container isdn-options { + description "ISDN interface-specific options"; + uses apply-advanced; + leaf switch-type { + description "ISDN switch type"; + type enumeration { + enum "ni1" { + description "NI1 BRI variant"; + } + enum "etsi" { + description "ETSI variant"; + } + enum "att5e" { + description "ATT5E variant"; + } + enum "ntdms100" { + description "NTDMS100 variant"; + } + enum "ntt" { + description "INS NET (NTT) PRI/BRI variant"; + } + enum "ni2" { + description "NI2 PRI variant"; + } + } + } + leaf media-type { + description "IDSN media type - voice, data or both"; + default "data"; + type enumeration { + enum "data" { + description "Data"; + } + enum "voice" { + description "Voice"; + } + enum "combined" { + description "Combined"; + } + } + } + leaf spid1 { + description "Service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf spid2 { + description "Additional service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf calling-number { + description "Calling number included in outgoing calls"; + type string { + } + } + list incoming-called-number { + key name; + ordered-by user; + description "Incoming called number to be screened"; + max-elements 30; + leaf name { + description "Number called (upto 15 digits)"; + type string { + } + } + leaf reject { + description "Reject the called number"; + type empty; + } + } + leaf tei-option { + description "ISDN terminal endpoint identifier negotiation options"; + type enumeration { + enum "first-call" { + description "Terminal endpoint identifier negotiation during first call"; + } + enum "power-up" { + description "Terminal endpoint identifier negotiation during power-up"; + } + } + } + leaf static-tei-val { + description "Static TEI value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf t310 { + description "Timer T310 value"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + leaf bchannel-allocation { + description "Allocate PRI dialout b-channel in ascending/descending order"; + default "descending"; + type enumeration { + enum "ascending" { + description "Allocate b-channel in ascending order"; + } + enum "descending" { + description "Allocate b-channel in descending order"; + } + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + list pool { + key name; + description "Dialer pool"; + max-elements 30; + leaf name { + description "Dialer pool identifier"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Dialer pool priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container redundant-pseudo-interface-options { + description "Pseudo interface redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + leaf act-sim { + description "Default SIM slot to connect LTE network"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container cellular-options { + presence "enable cellular-options"; + description "Cellular interface specific options"; + uses apply-advanced; + list sim { + key name; + description "SIM slot to connect LTE network"; + leaf name { + description "SIM slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container select-profile { + description "Profile to be applied"; + leaf profile-id { + description "Profile to be used for data calls"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + container radio-access { + description "Select radio access technology"; + choice rat-value { + case case_1 { + leaf automatic { + description "Automatically selects radio access type"; + type empty; + } + } + case case_2 { + leaf umts-3g-only { + description "3G only"; + type empty; + } + } + case case_3 { + leaf umts-3g-preferred { + description "UMTS 3G Preferred"; + type empty; + } + } + case case_4 { + leaf lte-only { + description "Only LTE"; + type empty; + } + } + case case_5 { + leaf lte-preferred { + description "LTE Preferred"; + type empty; + } + } + } + } + leaf encrypted-sim-unlock-code { + description "Encrypted PIN"; + type jt:unreadable; + } + leaf gateway { + description "Set customer gateway for LTE network"; + type jt:ipprefix; + } + } + } + } + list interface { + key name; + uses interfaces_type; + } + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container igmp { + presence "enable igmp"; + description "IGMP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IGMP on this interface"; + type empty; + } + } + } + leaf version { + description "Set IGMP version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv4addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv4addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf promiscuous-mode { + description "Accept igmp messages coming from different subnet"; + type empty; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving IGMP messages"; + leaf allow-receive { + description "Allow receiving IGMP messages"; + type empty; + } + leaf send-general-query { + description "Send IGMP general query messages"; + type empty; + } + leaf send-group-query { + description "Send IGMP group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed IGMP interface"; + type empty; + } + } + container amt { + description "Automatic Multicast Tunnel options for IGMP"; + uses apply-advanced; + container relay { + description "AMT relay options for IGMP"; + uses apply-advanced; + container defaults { + presence "enable defaults"; + description "Default AMT relay options for IGMP"; + uses apply-advanced; + leaf version { + description "Set IGMP version number on AMT interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + } + } + } + } + container oam { + description "Operation, Administration, and Management configuration"; + uses apply-advanced; + container ethernet { + description "OAM configuration for Ethernet"; + uses apply-advanced; + container link-fault-management { + description "802.3ah Ethernet OAM configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for link-fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "action-profile" { + description "Trace action profile invocation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list action-profile { + key name; + ordered-by user; + description "Define an action profile"; + leaf name { + description "Name of action profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container event { + description "Events this action profile will check"; + uses apply-advanced; + leaf link-adjacency-loss { + description "Loss of adjacency with OAM peer"; + type empty; + } + leaf protocol-down { + description "Upper layer indication on protocol down"; + type empty; + } + container link-event-rate { + uses apply-advanced; + leaf symbol-period { + description "Rate of receiving symbol period events"; + units "error(s) per 100 symbol"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-error { + description "Rate of receiving frame error events"; + units "error(s) per 100 milli-second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + leaf frame-period { + description "Rate of receiving frame period events"; + units "error(s) per 100 frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-period-summary { + description "Rate of receiving frame period summary events"; + units "error(s) per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + } + } + container action { + description "Action to take on specified events"; + uses apply-advanced; + leaf syslog { + description "Generate syslog message"; + type empty; + } + leaf link-down { + description "Mark the interface down for transit traffic"; + type empty; + } + leaf send-critical-event { + description "Start sending OAM PDUs with critical event bit set"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface on which to set Ethernet OAM parameters"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list apply-action-profile { + ordered-by user; + description "Apply the specified action profile on the interface"; + type string; + } + leaf pdu-interval { + description "Periodic OAM protocol data unit interval"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "100 .. 1000"; + } + } + } + leaf loopback-tracking { + description "Enable link down on loopback detection"; + type empty; + } + leaf detect-loc { + description "Detects initial lack of adjacency formation"; + type empty; + } + leaf link-discovery { + description "Mode of discovery"; + default "active"; + type enumeration { + enum "active" { + } + enum "passive" { + } + } + } + leaf pdu-threshold { + description "Number of PDUs missed before declaring peer lost"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "3 .. 10"; + } + } + } + leaf remote-loopback { + description "Put remote DTE into remote-loopback mode"; + type empty; + } + container negotiation-options { + description "802.3ah features supported on the interface"; + uses apply-advanced; + leaf no-allow-link-events { + description "Do not emit periodic PDUs detailing framing and symbol errors"; + type empty; + } + leaf allow-remote-loopback { + description "Allow local port to be put into loopback mode"; + type empty; + } + } + container event-thresholds { + description "Thresholds for sending 802.3ah events"; + uses apply-advanced; + leaf symbol-period { + description "Threshold for sending symbol period events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-error { + description "Threshold for sending frame error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period { + description "Threshold for sending frame period error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period-summary { + description "Threshold for sending frame period summary error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + } + } + } + container connectivity-fault-management { + description "Configurations related to 802.1ag ethernet oam"; + uses apply-advanced; + leaf no-aggregate-delegate-processing { + description "Do not distribute aggregate session to pfe"; + type empty; + } + leaf enhanced-cfm-mode { + description "Enables Enhanced CFM Mode"; + type empty; + } + container traceoptions { + description "Trace options for connectivity fault management"; + presence "enable traceoptions"; + uses cfm-traceoptions; + } + list action-profile { + key name; + ordered-by user; + description "Action profiles to use when one or more remote maintenance association endpoints are down"; + leaf name { + description "Name of action profile"; + type string; + } + uses apply-advanced; + container event { + description "Events that need to be monitored"; + uses apply-advanced; + leaf-list interface-status-tlv { + ordered-by user; + description "Values that need to be monitored in interface status TLV"; + type enumeration { + enum "down" { + description "Interface is administratively down"; + } + enum "lower-layer-down" { + description "Interface is physically down"; + } + } + } + leaf-list port-status-tlv { + ordered-by user; + description "Values that need to be monitored in port status TLV"; + type enumeration { + enum "blocked" { + description "Port is blocked"; + } + } + } + leaf adjacency-loss { + description "Connectivity is lost"; + type empty; + } + leaf rdi { + description "RDI received from some MEP"; + type empty; + } + leaf connection-protection-tlv { + description "Values that need to be monitored in connection protection TLV"; + type enumeration { + enum "using-working-path" { + description "Service traffic is using working path"; + } + enum "using-protection-path" { + description "Service traffic is using protection path"; + } + } + } + } + container action { + uses apply-advanced; + leaf interface-down { + description "Mark the interface as down"; + type empty; + } + leaf revertive-interface-down { + description "Wait for CC loss-threshold to bring back the interface up"; + type empty; + } + leaf non-revertive-interface-down { + description "Interface will not be brought up when CC is received"; + type empty; + } + leaf propagate-remote-mac-flush { + description "Remote mac-flush"; + type empty; + } + leaf interface-group-down { + description "Mark the interface group as down"; + type empty; + } + container log-and-generate-ais { + uses apply-advanced; + leaf-list level { + description "Server maintenance domain levels range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + leaf interval { + description "Interval between AIS messages"; + default "1s"; + type enumeration { + enum "1s" { + } + enum "1m" { + } + } + } + leaf priority { + description "802.1p priority of AIS packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container clear-action { + uses apply-advanced; + container interface-down { + description "Mark the interface as down"; + leaf peer-interface { + description "Mark the interface as down"; + type empty; + } + } + leaf propagate-remote-mac-flush { + description "Remote mac flush"; + type empty; + } + } + container default-actions { + description "Action that needs to be taken"; + uses apply-advanced; + leaf interface-down { + description "Bring the interface down"; + type empty; + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for all sessions"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + container linktrace { + presence "enable linktrace"; + description "Linktrace protocol global options"; + uses apply-advanced; + leaf path-database-size { + description "Number of linktrace reply entries to be stored per linktrace request"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf age { + description "Time after which a stale request-response entry is deleted"; + default "10m"; + type enumeration { + enum "10s" { + } + enum "30s" { + } + enum "1m" { + } + enum "10m" { + } + enum "30m" { + } + } + } + } + list maintenance-domain { + key name; + ordered-by user; + description "Maintenance domain configuration"; + leaf name { + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + description "Bridge-domain information for the default maintenance domain"; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + list vlan { + key name; + ordered-by user; + description "VLAN information for the default maintenance domain"; + leaf name { + description "VLAN name"; + type string; + } + } + list virtual-switch { + key name; + ordered-by user; + description "Virtual switch Bridge-domain information for the default maintenance domain"; + leaf name { + description "Routing instance of type virtual switch"; + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + } + list instance { + key name; + ordered-by user; + description "VPLS instance name for the default maintenance domain"; + leaf name { + description "VPLS routing instance name"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Name of interface for the default maintenance domain"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf level { + description "Level value for maintenance domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 7"; + } + } + } + leaf name-format { + description "Format of maintenance domain name"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "none"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + } + } + list maintenance-association { + key name; + ordered-by user; + description "Maintenance association configuration"; + leaf name { + description "Name of maintenance association in IEEE compliant format"; + type string { + length "1 .. 45"; + } + } + uses apply-advanced; + leaf debug-session { + description "Debug the CFM session"; + type empty; + } + leaf short-name-format { + description "Format of Maintenance Association Name"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf primary-vid { + description "VLAN id"; + type string; + } + container continuity-check { + presence "enable continuity-check"; + description "Continuity check configuration"; + uses apply-advanced; + leaf interval { + description "Interval between continuity-check messages"; + default "1m"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + enum "3.3ms" { + } + } + } + leaf loss-threshold { + description "Number of continuity-check messages lost before marking endpoint as down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf hold-interval { + description "Time before flushing MEP database if no updates occur"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30240"; + } + } + } + leaf port-status-tlv { + description "Include port status TLV in CCM"; + type empty; + } + leaf interface-status-tlv { + description "Include interface status TLV in CCM"; + type empty; + } + leaf connection-protection-tlv { + description "Include connection protection OUI TLV in CCM"; + type empty; + } + leaf convey-loss-threshold { + description "Include Loss Threshold OUI TLV in CCM"; + type empty; + } + leaf interface-status-send-rdi { + description "Send RDI on interface operation status down in CCM"; + type empty; + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "defer"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + enum "defer" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefer"; + } + } + } + list mep { + key name; + ordered-by user; + description "Maintenance association endpoint configuration"; + leaf name { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + container interface { + presence "enable interface"; + description "Name of interface"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf vlan { + description "Trunk port interface VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + choice connection-type { + case case_1 { + leaf working { + description "Monitory the primary path"; + type empty; + } + } + case case_2 { + leaf protect { + description "Monitory the protect path"; + type empty; + } + } + } + } + leaf direction { + description "Direction of maintenance endpoint"; + default "down"; + type enumeration { + enum "up" { + } + enum "down" { + } + } + } + leaf priority { + description "802.1p priority of continuity-check and link-trace packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf auto-discovery { + description "Accept continuity-check messages from all remote MEPs"; + type empty; + } + leaf action-profile { + description "Name of the action profile"; + type string; + } + list remote-mep { + key name; + ordered-by user; + description "Remote maintenance association endpoint configuration"; + leaf name { + description "Identifier for remote maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + leaf action-profile { + description "Name of the action profile"; + type string; + } + container interface-group { + presence "enable interface-group"; + description "Mark this interface group down Profile configured with action interface-group-down"; + uses apply-advanced; + leaf interface-device-name { + description "Interface device name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list unit-list { + description "One or more logical interface unit numbers"; + type jt:range; + } + } + list sla-iterator-profile { + key name; + ordered-by user; + description "Name of the iterator profile"; + leaf name { + type string; + } + uses apply-advanced; + leaf iteration-count { + description "Iterations to partake for acquiring SLA measurements"; + units "frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "The vlan pcp value to be sent in the Y.1731 frame"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf data-tlv-size { + description "Size of the data-tlv portion of Y.1731 frame"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1400"; + } + } + } + } + leaf detect-loc { + description "Detects initial loss of connectivity with remote mep"; + type empty; + } + } + leaf lowest-priority-defect { + description "Lowest priority defect that is allowed to generate a fault alarm"; + type enumeration { + enum "all-defects" { + description "Allows all defects"; + } + enum "mac-rem-err-xcon" { + description "Allows only MAC, not receiving CCM, erroneous CCM and cross connect defects"; + } + enum "rem-err-xcon" { + description "Allows only not receiving CCM, erroneous CCM and cross connect CCM defects"; + } + enum "err-xcon" { + description "Allows only erroneous CCM and cross connect CCM defects"; + } + enum "xcon" { + description "Allows only cross connect CCM defect"; + } + enum "no-defect" { + description "Allows no defect"; + } + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for this session"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + } + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + list evcs { + key name; + description "Ethernet virtual circuits configuration"; + leaf name { + description "EVC id"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + container evc-protocol { + description "Signaling protocol to monitor EVC status"; + choice protocol { + case case_1 { + container cfm { + presence "enable cfm"; + description "Connectivity fault management"; + leaf maintenance-domain { + description "Maintenance domain name"; + type string; + } + leaf maintenance-association { + description "Maintenance association name"; + type string; + } + leaf mep { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + } + } + case case_2 { + container vpls { + presence "enable vpls"; + description "Virtual private LAN service (BGP/LDP)"; + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + } + case case_3 { + } + case case_4 { + } + } + } + leaf remote-uni-count { + description "Number of remote UNIs in the EVC"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf multipoint-to-multipoint { + description "Multipoint to Multipoint EVC"; + type empty; + } + } + container lmi { + presence "enable lmi"; + description "Ethernet local management interface configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for ethernet local management interface"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "packet" { + description "Trace events related to packet flow"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + list interface { + key name; + description "Interface options"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf uni-id { + description "UNI identifier"; + type string { + length "1 .. 64"; + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + leaf evc-map-type { + description "CE-VLAN ID/EVC map type"; + default "bundling"; + type enumeration { + enum "all-to-one-bundling" { + description "All to one bundling"; + } + enum "service-multiplexing" { + description "Service multiplexing with no bundling"; + } + enum "bundling" { + description "Bundling with service multiplexing"; + } + } + } + list evc { + key name; + description "EVC configuration"; + leaf name { + description "EVC identifier"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + leaf default-evc { + description "Default EVC"; + type empty; + } + leaf-list vlan-list { + description "Vlans mapped to this EVC"; + type jt:vlan-range; + } + } + } + } + container fnp { + presence "enable fnp"; + description "Failure notification protocol configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for FNP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace protocol events"; + } + enum "pdu" { + description "Trace PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + leaf interval { + description "Interval between FNP messages"; + default "1s"; + type enumeration { + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf loss-threshold { + description "Number of FNP messages lost before clearing FNP state"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "3 .. 255"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf domain-id { + description "Ethernet domain identifier"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container gre-tunnel { + presence "enable gre-tunnel"; + uses apply-advanced; + container traceoptions { + description "Trace options for GRE keepalives"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "snmp" { + description "Trace snmp processing events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf keepalive-time { + description "Keepalive time"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 50"; + } + } + } + leaf hold-time { + description "Hold time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "5 .. 250"; + } + } + } + } + } + } + container mld { + presence "enable mld"; + description "MLD options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MLD on this interface"; + type empty; + } + } + } + leaf version { + description "Set mld version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 2"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv6addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv6addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for ssm translation of mld v1 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming mld report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of group-limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving mld messages"; + leaf allow-receive { + description "Allow receiving mld messages"; + type empty; + } + leaf send-general-query { + description "Send mld general query messages"; + type empty; + } + leaf send-group-query { + description "Send mld group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed MLD interface"; + type empty; + } + } + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container router-advertisement { + description "IPv6 router advertisement options"; + uses apply-advanced; + container traceoptions { + description "Trace options for router advertisement"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router advertisement"; + leaf name { + type string; + } + uses apply-advanced; + leaf preference { + description "Set the Preference for Router Selection"; + type enumeration { + enum "medium" { + description "Medium / (Default)"; + } + enum "high" { + description "High"; + } + enum "low" { + description "Low"; + } + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + choice link-mtu-choice { + leaf link-mtu { + description "Link MTU"; + type empty; + } + leaf no-link-mtu { + description "Don't link MTU"; + type empty; + } + } + leaf solicit-router-advertisement-unicast { + description "Enbale solicited router advertisement as unicast"; + type empty; + } + leaf reachable-time { + description "Reachable time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600000"; + } + } + } + leaf retransmit-timer { + description "Retransmit timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf virtual-router-only { + description "Send advertisemnets only for vrrp-inet6-group"; + type empty; + } + leaf current-hop-limit { + description "Current hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf default-lifetime { + description "Router lifetime"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9000"; + } + } + } + list dns-server-address { + key name; + ordered-by user; + description "Recursive DNS address configuration"; + max-elements 3; + leaf name { + description "DNS address to be advertised"; + type string; + } + uses apply-advanced; + leaf lifetime { + description "DNS address lifetime"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + list prefix { + key name; + ordered-by user; + description "Prefix configuration"; + leaf name { + description "Prefix to be advertised"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf valid-lifetime { + description "Valid lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice on-link-choice { + leaf on-link { + description "Set on-link flag"; + type empty; + } + leaf no-on-link { + description "Don't set on-link flag"; + type empty; + } + } + leaf preferred-lifetime { + description "Preferred lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice autonomous-choice { + leaf autonomous { + description "Set autonomous flag"; + type empty; + } + leaf no-autonomous { + description "Don't set autonomous flag"; + type empty; + } + } + } + } + container ra-secure { + description "Protect box against rogue incoming RA messages"; + uses apply-advanced; + leaf accept-current-hop-limit-min { + description "Current hop limit acceptable min for incoming RA"; + units "uint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf accept-current-hop-limit-max { + description "Current hop acceptable min for incoming RA"; + units "uint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf accept-reachable-time-min { + description "Reachable Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-reachable-time-max { + description "Reachable Time acceptable max for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-retransmit-time-min { + description "Retransmit Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-retransmit-time-max { + description "Retransmit Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + } + } + } + container class-of-service { + description "Class-of-service configuration"; + uses juniper-class-of-service-options; + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses apply-advanced; + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + } + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "Protocol family IPv4 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv4 dialer filter"; + uses inet_dialer_filter; + } + list prefix-action { + key name; + ordered-by user; + description "Define a prefix action"; + uses prefix_action; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + list simple-filter { + key name; + ordered-by user; + description "Define an IPv4 firewall simple filter"; + uses inet_simple_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv4 service filters"; + uses inet_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet_fuf; + } + } + container inet6 { + description "Protocol family IPv6 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv6 dialer filter"; + uses inet6_dialer_filter; + } + list filter { + key name; + ordered-by user; + description "Define an IPv6 firewall filter"; + uses inet6_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv6 service filters"; + uses inet6_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet6_fuf; + } + } + container mpls { + description "Protocol family MPLS for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an mpls dialer filter"; + uses mpls_dialer_filter; + } + list filter { + key name; + ordered-by user; + uses mpls_filter; + } + } + container vpls { + description "Protocol family VPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container evpn { + description "Protocol family EVPN for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses bridge_filter; + } + } + container ccc { + description "Protocol family CCC for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses ccc_filter; + } + } + container any { + description "Protocol-independent filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define a protocol independent filter"; + uses any_filter; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses es_filter; + } + } + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses firewall_policer; + } + list flexible-match { + key name; + ordered-by user; + description "Flexible packet match template definition"; + uses firewall_flexible_match; + } + list tunnel-end-point { + key name; + ordered-by user; + description "Tunnel end-point template definition"; + uses tunnel_end_point; + } + list interface-set { + key name; + ordered-by user; + description "Interface set definition"; + uses interface_set_type; + } + list three-color-policer { + key name; + ordered-by user; + description "Three-color policer"; + uses three-color-policer-type; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + } + container services { + description "Service PIC applications settings"; + uses apply-advanced; + } + list profile-variable-set { + key name; + ordered-by user; + description "Dynamic profiles variable configuration"; + uses juniper-dynamic-profile-varset-object; + } + container policy-options { + description "Routing policy option configuration"; + uses apply-advanced; + list prefix-list { + key name; + ordered-by user; + description "Define a named set of address prefixes"; + leaf name { + description "Prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list-item { + key name; + uses prefix_list_items; + } + leaf apply-path { + description "Apply IP prefixes from a configuration statement"; + type string; + } + } + } + container extensible-subscriber-services { + presence "enable extensible-subscriber-services"; + description "Extensible subscriber services"; + uses apply-advanced; + leaf-list vsas { + ordered-by user; + description "Service VSAs"; + type string; + } + } + container access-cac { + description "Access ucac configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Access ucac interface options"; + uses access_cac_interface_options; + } + } + } + grouping access_cac_interface_options { + description "Access ucac interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container multicast-video-bandwidth { + presence "enable multicast-video-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf access-cac-bandwidth { + description "Bandwidth used in access cac configuration"; + units "bps"; + type string; + } + } + container video-bandwidth { + presence "enable video-bandwidth"; + description "Maximum video bandwidth for the interface"; + leaf access-cac-bandwidth { + description "Bandwidth used in access cac configuration"; + units "bps"; + type string; + } + } + choice isqos { + case case_1 { + leaf no-qos-adjust { + description "No qos adjustment"; + type empty; + } + } + case case_2 { + container qos-adjust-hierarchical { + description "Ucac interface set configuration"; + uses apply-advanced; + leaf interface-set { + description "Enable hierarchical adjust on iflset"; + type empty; + } + } + } + } + list multicast-video-policy { + key name; + ordered-by user; + description "Mcast video policy"; + leaf name { + description "Mcast video policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Access cac multicast policy family"; + uses apply-advanced; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "Family inet"; + uses apply-advanced; + leaf-list source { + description "One or more multicast source addresses"; + type jt:ipv4addr; + } + leaf-list group { + ordered-by user; + description "One or more multicast group addresses"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "Family inet6"; + uses apply-advanced; + leaf-list source { + description "One or more multicast source addresses"; + type jt:ipv6addr; + } + leaf-list group { + ordered-by user; + description "One or more multicast group addresses"; + type jt:ipv6addr; + } + } + } + } + } + container bandwidth { + presence "enable bandwidth"; + description "Maximum video bandwidth for the interface"; + uses apply-advanced; + leaf access-cac-bandwidth { + description "Bandwidth used in access cac configuration"; + units "bps"; + type string; + } + } + leaf adaptive { + description "Use multicast real traffic rate"; + type empty; + } + } + } + grouping aggregate-load-balance { + description "Load balancing parameters"; + uses apply-advanced; + choice adaptive_option { + case case_1 { + } + case case_2 { + } + case case_3 { + } + } + } + grouping any_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object_oam; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping aps_type { + uses apply-advanced; + choice aps_mode { + case case_1 { + leaf working-circuit { + description "Working circuit group name"; + type string; + } + } + case case_2 { + leaf protect-circuit { + description "Protect circuit group name"; + type string; + } + } + } + leaf annex-b { + description "Annex-b mode"; + type empty; + } + leaf wait-to-restore-time { + description "Circuit wait-to-restore time for annex-b"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf preserve-interface { + description "Preserve interface state for fast failover"; + type empty; + } + leaf neighbor { + description "Neighbor address"; + type jt:ipv4addr; + } + leaf paired-group { + description "Name of paired APS group"; + type string; + } + container authentication-key { + presence "enable authentication-key"; + description "Authentication parameters"; + leaf auth_key { + description "Authentication key"; + type jt:unreadable; + } + } + leaf switching-mode { + description "APS switching mode"; + type enumeration { + enum "bidirectional" { + description "Bidirectional"; + } + enum "unidirectional" { + description "Unidirectional"; + } + } + } + leaf advertise-interval { + description "Advertise interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf hold-time { + description "Hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf revert-time { + description "Circuit revert time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + choice break-before-make-choice { + leaf break-before-make { + description "Ensure only one interface is active at a time"; + type empty; + } + leaf no-break-before-make { + description "Don't ensure only one interface is active at a time"; + type empty; + } + } + choice manual_mode { + case case_1 { + leaf request { + description "Request circuit state"; + type enumeration { + enum "protect" { + description "Request protect circuit"; + } + enum "working" { + description "Request working circuit"; + } + } + } + } + case case_2 { + leaf force { + description "Force circuit state"; + type enumeration { + enum "protect" { + description "Force protect circuit"; + } + enum "working" { + description "Force working circuit"; + } + } + } + } + case case_3 { + leaf lockout { + description "Lockout protection"; + type empty; + } + } + } + leaf fast-aps-switch { + description "Fast aps switch"; + type empty; + } + } + grouping base-default-variable-object { + leaf name { + description "Name of predefined variable"; + type enumeration { + enum "igmp-enable" { + description "Default for junos-igmp-enable"; + } + enum "igmp-access-group-name" { + description "Default for junos-igmp-access-group-name"; + } + enum "igmp-access-source-group-name" { + description "Default for junos-igmp-access-group-name"; + } + enum "igmp-version" { + description "Default for junos-igmp-version"; + } + enum "igmp-immediate-leave" { + description "Default for junos-igmp-immediate-leave"; + } + enum "mld-access-group-name" { + description "Default for junos-mld-access-group-name"; + } + enum "mld-access-source-group-name" { + description "Default for junos-mld-access-source-group-name"; + } + enum "mld-immediate-leave" { + description "Default for junos-mld-immediate-leave"; + } + enum "input-filter" { + description "Default for junos-input-filter"; + } + enum "output-filter" { + description "Default for junos-output-filter"; + } + enum "input-ipv6-filter" { + description "Default for junos-input-ipv6-filter"; + } + enum "output-ipv6-filter" { + description "Default for junos-output-ipv6-filter"; + } + enum "adf-rule-v4" { + description "Default for junos-adf-rule-v4"; + } + enum "adf-rule-v6" { + description "Default for junos-adf-rule-v6"; + } + enum "cos-scheduler-map" { + description "Default for junos-cos-scheduler-map"; + } + enum "cos-shaping-rate" { + description "Default for junos-cos-shaping-rate"; + } + enum "cos-guaranteed-rate" { + description "Default for junos-cos-guaranteed-rate"; + } + enum "cos-delay-buffer-rate" { + description "Default for junos-cos-delay-buffer-rate"; + } + enum "cos-traffic-control-profile" { + description "Default for junos-cos-traffic-control-profile"; + } + enum "cos-shaping-mode" { + description "Default for junos-cos-shaping-mode"; + } + enum "cos-byte-adjust" { + description "Default for junos-cos-byte-adjust"; + } + enum "cos-scheduler" { + description "Default for junos-cos-scheduler"; + } + enum "cos-scheduler-pri" { + description "Default for junos-cos-scheduler-pri"; + } + enum "cos-scheduler-dropfile-low" { + description "Default for junos-cos-scheduler-dropfile-low"; + } + enum "cos-scheduler-dropfile-medium-low" { + description "Default for junos-cos-scheduler-dropfile-medium-low"; + } + enum "cos-scheduler-dropfile-medium-high" { + description "Default for junos-cos-scheduler-dropfile-medium-high"; + } + enum "cos-scheduler-dropfile-high" { + description "Default for junos-cos-scheduler-dropfile-high"; + } + enum "cos-scheduler-dropfile-any" { + description "Default for junos-cos-scheduler-dropfile-any"; + } + enum "cos-scheduler-excess-rate" { + description "Default for junos-cos-scheduler-excess-rate"; + } + enum "cos-scheduler-explicit-congestion-notification" { + description "Default for junos-cos-scheduler-explicit-congestion-notification"; + } + enum "cos-scheduler-excess-priority" { + description "Default for junos-cos-scheduler-excess-priority"; + } + enum "interface-set-name" { + description "Default for junos-interface-set-name"; + } + enum "cos-adjust-minimum" { + description "Default for junos-cos-adjust-minimum"; + } + enum "cos-excess-rate-high" { + description "Default for junos-cos-excess-rate-high"; + } + enum "cos-excess-rate-low" { + description "Default for junos-cos-excess-rate-low"; + } + enum "cos-shaping-rate-burst" { + description "Default for junos-cos-shaping-rate-burst"; + } + enum "cos-byte-adjust-frame" { + description "Default for junos-cos-byte-adjust-frame"; + } + enum "cos-byte-adjust-cell" { + description "Default for junos-cos-byte-adjust-cell"; + } + enum "cos-shaping-rate-priority-high" { + description "Default for junos-cos-shaping-rate-priority-high"; + } + enum "cos-shaping-rate-priority-high-burst" { + description "Default for junos-cos-shaping-rate-priority-high-burst"; + } + enum "cos-shaping-rate-priority-medium" { + description "Default for junos-cos-shaping-rate-priority-medium"; + } + enum "cos-shaping-rate-priority-medium-burst" { + description "Default for junos-cos-shaping-rate-priority-medium-burst"; + } + enum "cos-shaping-rate-priority-low" { + description "Default for junos-cos-shaping-rate-priority-low"; + } + enum "cos-shaping-rate-priority-low-burst" { + description "Default for junos-cos-shaping-rate-priority-low-burst"; + } + enum "cos-shaping-rate-excess-high" { + description "Default for junos-cos-shaping-rate-excess-high"; + } + enum "cos-shaping-rate-excess-high-burst" { + description "Default for junos-cos-shaping-rate-excess-high-burst"; + } + enum "cos-shaping-rate-excess-low" { + description "Default for junos-cos-shaping-rate-excess-low"; + } + enum "cos-shaping-rate-excess-low-burst" { + description "Default for junos-cos-shaping-rate-excess-low-burst"; + } + enum "cos-guaranteed-rate-burst" { + description "Default for junos-cos-guaranteed-rate-burst"; + } + enum "cos-traffic-control-profile-remaining" { + description "Default for junos-cos-traffic-control-profile-remaining"; + } + enum "routing-instances" { + description "Default for junos-routing-instance"; + } + enum "pim-enable" { + description "Default for junos-pim-enable"; + } + enum "interface-mtu" { + description "Default for junos-interface-mtu"; + } + enum "inner-vlan-tag-protocol-id" { + description "Default for junos-inner-vlan-tag-protocol-id"; + } + } + } + uses apply-advanced; + leaf default-value { + description "Default value for predefined variable"; + type string; + } + } + grouping bridge_filter { + description "Define a BRIDGE firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice port_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + container forwarding-policy { + description "Specify forwarding policy for extended port"; + uses apply-advanced; + leaf uplink-select { + description "Specify port group for uplink selection"; + type string; + } + } + } + } + } + grouping ccc_filter { + description "Define a CCC firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Any counters defined will be interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to the specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping cfm-traceoptions { + description "Trace options for connectivity fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "issu" { + description "Trace ISSU related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping cos_policer { + description "Define a CoS based policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + container premium { + description "Policer to apply to premium traffic"; + presence "enable premium"; + uses ethernet_policer; + } + container aggregate { + description "Policer to apply to aggregate traffic"; + presence "enable aggregate"; + uses ethernet_policer; + } + } + grouping cos_policer_input_priority_map { + description "Input policer priority map"; + uses apply-advanced; + container ieee-802.1p { + description "Use IEEE 802.1p to determine policer priority map"; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Input traffic's IEEE 802.1p value to which premium policer is applied"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + grouping cos_policer_output_priority_map { + description "Output policer priority map"; + uses apply-advanced; + container classifier { + description "Use classifier as policer priority map"; + uses apply-advanced; + container premium { + description "Output traffic classifier to which premium policer is applied"; + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Select a classification for this priority map"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Select a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Select low loss priority as premium policer"; + } + enum "high" { + description "Select high loss priority as premium policer"; + } + } + } + } + } + } + } + } + grouping dcd_rx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "tag" { + description "Tag and count overflow packets"; + } + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping dcd_shaping_config { + description "Traffic-shaping profile"; + uses apply-advanced; + choice useless_shaping_choice { + case case_1 { + container cbr { + presence "enable cbr"; + description "Constant bandwidth utilization"; + leaf cbr-value { + description "Constant bandwidth utilization"; + type string; + } + leaf cdvt { + description "Cell Delay Variation Tolerance"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + } + } + case case_2 { + container vbr { + description "Variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + leaf cdvt { + description "Cell Delay Variation Tolerance"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + } + } + case case_3 { + container rtvbr { + description "ATM2 real-time variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + } + leaf queue-length { + description "Queue length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16383"; + } + } + } + } + grouping dcd_tx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping dhcp-client-type { + description "Dynamic Host Configuration Protocol client configuration"; + uses apply-advanced; + container client-identifier { + description "DHCP server identifies a client by client-identifier value "; + uses apply-advanced; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + container user-id { + description "Add user id to client-id option "; + choice user-id-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + container prefix { + description "Add prefix to client-id option"; + uses apply-advanced; + leaf host-name { + description "Add router host name to client-id option"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to client-id option"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to client-id option"; + type empty; + } + } + leaf use-interface-description { + description "Use the interface description"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Do not install DNS information learned from DHCP server"; + } + leaf lease-time { + description "Lease time in seconds requested in DHCP client protocol packet"; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50000"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf metric { + description "Client initiated default-route metric"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string { + length "1 .. 60"; + } + } + leaf force-discover { + description "Send DHCPDISCOVER after DHCPREQUEST retransmission failure"; + type empty; + } + container options { + description "DHCP options"; + uses apply-advanced; + leaf no-hostname { + description "Do not carry hostname (RFC option code is 12) in packet"; + type empty; + } + } + } + grouping dynamic_ifbw_parms_type { + uses apply-advanced; + leaf capacity { + description "Weight of current (vs. maximum) data rate"; + status deprecated; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf margin { + description "Maximum reduction in bandwidth due to low link quality"; + status deprecated; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf delay { + description "Bandwidth reduction when delay is announced as 1 second"; + status deprecated; + units "bits per second"; + type string; + } + leaf bandwidth { + description "Weight of current (vs. maximum) data rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf resource { + description "Resource weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf latency { + description "Latency weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf quality { + description "Relative Link Quality weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf data-rate { + description "Data rate weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Percentage bandwidth change required for routing updates"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container credit { + presence "enable credit"; + description "Credit-based scheduling parameters"; + uses apply-advanced; + leaf interval { + description "Grant rate interval in 100mS steps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 60"; + } + } + } + } + } + grouping epd_threshold_config { + uses apply-advanced; + leaf epd-threshold-plp0 { + description "Early packet discard threshold value"; + units "cells"; + type string; + } + leaf plp1 { + description "Early packet drop threshold value for PLP 1"; + units "cells"; + type string; + } + } + grouping es_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice l2-encap-type_choice { + case case_1 { + leaf-list l2-encap-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list l2-encap-type-except { + ordered-by user; + type string; + } + } + } + choice vlan_choice { + case case_1 { + } + case case_2 { + } + } + choice dot1q-tag_choice { + case case_1 { + } + case case_2 { + } + } + choice dot1q-user-priority_choice { + case case_1 { + } + case case_2 { + } + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + } + } + choice vlan-ether-type_choice { + case case_1 { + } + case case_2 { + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice arp-type_choice { + case case_1 { + } + } + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection - (Ingress only)"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + leaf vlan { + description "Name of VLAN - (Ingress only)"; + type string; + } + } + } + } + grouping ethernet-switching-type { + description "Ethernet switching family"; + uses apply-advanced; + leaf port-mode { + description "Type of port mode"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "tagged-access" { + description "Interface mode is tagged-access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf interface-mode { + description "Type of interface mode"; + default "access"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + leaf reflective-relay { + description "Reflective-relay mode for this interface"; + type empty; + } + choice vlan_choice_list { + case case_1 { + container vlan { + description "Virtual LAN parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_2 { + container inner-vlan { + description "Trunk mode vlan membership for this interface"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type"; + type enumeration { + enum "svlan" { + description "Bridge domain type SVLAN"; + } + enum "bvlan" { + description "Bridge domain type BVLAN"; + } + } + } + container vlan-rewrite { + description "Specify VLAN translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf native-vlan-id { + description "Untagged packets on a trunk/tagged-access interface belong to this vlan"; + type string { + } + } + choice isid_list { + case case_1 { + } + } + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string; + } + leaf input-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + leaf output-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + grouping ethernet_policer { + description "Define a policer"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + grouping fibre-channel-type { + description "Fibre Channel switching family"; + uses apply-advanced; + leaf port-mode { + description "Port mode"; + type enumeration { + enum "f-port" { + description "Fabric port"; + } + enum "e-port" { + description "Inter-switch port"; + } + enum "np-port" { + description "Proxy node port"; + } + enum "auto" { + description "Interface mode (F/E) is determined at runtime"; + } + } + } + leaf no-npiv { + description "Disable NPIV"; + type empty; + } + container fc-fabric { + description "Virtual fabric parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Virtual Fabric Membership for this interface (name or id)"; + type string; + } + } + leaf native-fabric { + description "FC frames with no virtual fabric header on a interface belong to this fabric"; + type string { + } + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_flexible_match { + description "Define a flexible match"; + leaf name { + description "Flex match template name"; + type string { + } + } + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping firewall_policer { + description "Define a policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + leaf physical-interface-policer { + description "Policer is physical interface policer"; + type empty; + } + choice exceeding { + case case_1 { + container if-exceeding { + presence "enable if-exceeding"; + description "Define rate limits"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Bandwidth limit in percentage"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + } + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf out-of-profile { + description "Discard packets only if both congested and over threshold"; + type empty; + } + } + } + grouping firewall_prefix_list { + leaf name { + description "Prefix list to match"; + type string; + } + leaf except { + description "Match addresses not in this prefix list"; + type empty; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping inet6_dialer_filter { + description "Define an IPv6 dialer filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping firewall_addr6_object { + leaf name { + description "Prefix to match"; + type jt:ipv6prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping inet6_filter { + description "Define an IPv6 firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + leaf service-filter-hit { + description "Match if service-filter-hit is set"; + type empty; + } + choice hop-limit_choice { + case case_1 { + } + case case_2 { + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inet6cnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + } + case case_3 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_4 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_5 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_6 { + } + case case_7 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_8 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_9 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_10 { + } + case case_11 { + } + case case_12 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf no-route { + description "Send ICMPv6 No Route message"; + type empty; + } + } + case case_2 { + leaf administratively-prohibited { + description "Send ICMPv6 Administratively Prohibited message"; + type empty; + } + } + case case_3 { + leaf beyond-scope { + description "Send ICMPv6 Beyond Scope of Source Address message"; + type empty; + } + } + case case_4 { + leaf address-unreachable { + description "Send ICMPv6 Address Unreachable message"; + type empty; + } + } + case case_5 { + leaf port-unreachable { + description "Send ICMPv6 Port Unreachable message"; + type empty; + } + } + case case_6 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + case case_7 { + leaf network-unreachable { + description "Send ICMPv4 Network Unreachable message"; + status deprecated; + type empty; + } + } + case case_8 { + leaf host-unreachable { + description "Send ICMPv4 Host Unreachable message"; + status deprecated; + type empty; + } + } + case case_9 { + leaf protocol-unreachable { + description "Send ICMPv4 Protocol Unreachable message"; + status deprecated; + type empty; + } + } + case case_10 { + leaf source-route-failed { + description "Send ICMPv4 Source Route Failed message"; + status deprecated; + type empty; + } + } + case case_11 { + leaf network-unknown { + description "Send ICMPv4 Network Unknown message"; + status deprecated; + type empty; + } + } + case case_12 { + leaf host-unknown { + description "Send ICMPv4 Host Unknown message"; + status deprecated; + type empty; + } + } + case case_13 { + leaf source-host-isolated { + description "Send ICMPv4 Source Host Isolated message"; + status deprecated; + type empty; + } + } + case case_14 { + leaf network-prohibited { + description "Send ICMPv4 Network Prohibited message"; + status deprecated; + type empty; + } + } + case case_15 { + leaf host-prohibited { + description "Send ICMPv4 Host Prohibited message"; + status deprecated; + type empty; + } + } + case case_16 { + leaf bad-network-tos { + description "Send ICMPv4 Bad Network ToS message"; + status deprecated; + type empty; + } + } + case case_17 { + leaf bad-host-tos { + description "Send ICMPv4 Bad Host ToS message"; + status deprecated; + type empty; + } + } + case case_18 { + leaf precedence-violation { + description "Send ICMPv4 Precedence Violation message"; + status deprecated; + type empty; + } + } + case case_19 { + leaf precedence-cutoff { + description "Send ICMPv4 Precedence Cutoff message"; + status deprecated; + type empty; + } + } + } + } + } + } + } + } + } + grouping inet6_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "next-header" { + description "Include next header protocol in match set"; + } + enum "payload-protocol" { + description "Include payload protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "traffic-class" { + description "Include traffic-class (DSCP) in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr6_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice next-header_choice { + case case_1 { + container next-header { + description "Match next header protocol type"; + uses match_simple_protocol_value; + } + } + } + choice traffic-class_choice { + case case_1 { + container traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping inet6_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_dialer_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping inet_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + leaf service-filter-hit { + description "Match if service-filter-hit is set"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice rat-type_choice { + case case_1 { + leaf-list rat-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list rat-type-except { + ordered-by user; + type string; + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inetcnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + leaf virtual-channel { + description "Set the output interface virtual channel"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + container discard { + presence "enable discard"; + description "Discard the packet"; + uses apply-advanced; + leaf accounting { + description "Named discard collector for packet"; + type string; + } + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_4 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_5 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_6 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_7 { + } + case case_8 { + } + case case_9 { + } + case case_10 { + } + case case_11 { + } + case case_12 { + } + case case_13 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf network-unreachable { + description "Send ICMP Network Unreachable message"; + type empty; + } + } + case case_2 { + leaf host-unreachable { + description "Send ICMP Host Unreachable message"; + type empty; + } + } + case case_3 { + leaf protocol-unreachable { + description "Send ICMP Protocol Unreachable message"; + type empty; + } + } + case case_4 { + leaf port-unreachable { + description "Send ICMP Port Unreachable message"; + type empty; + } + } + case case_5 { + leaf fragmentation-needed { + description "Send ICMP Fragmentation Needed message"; + type empty; + } + } + case case_6 { + leaf source-route-failed { + description "Send ICMP Source Route Failed message"; + type empty; + } + } + case case_7 { + leaf network-unknown { + description "Send ICMP Network Unknown message"; + type empty; + } + } + case case_8 { + leaf host-unknown { + description "Send ICMP Host Unknown message"; + type empty; + } + } + case case_9 { + leaf source-host-isolated { + description "Send ICMP Source Host Isolated message"; + type empty; + } + } + case case_10 { + leaf network-prohibited { + description "Send ICMP Network Prohibited message"; + type empty; + } + } + case case_11 { + leaf host-prohibited { + description "Send ICMP Host Prohibited message"; + type empty; + } + } + case case_12 { + leaf bad-network-tos { + description "Send ICMP Bad Network ToS message"; + type empty; + } + } + case case_13 { + leaf bad-host-tos { + description "Send ICMP Bad Host ToS message"; + type empty; + } + } + case case_14 { + leaf administratively-prohibited { + description "Send ICMP Administratively Prohibited message"; + type empty; + } + } + case case_15 { + leaf precedence-violation { + description "Send ICMP Precedence Violation message"; + type empty; + } + } + case case_16 { + leaf precedence-cutoff { + description "Send ICMP Precedence Cutoff message"; + type empty; + } + } + case case_17 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + } + } + } + case case_14 { + } + } + leaf prefix-action { + description "Police or count packets using named prefix action"; + type string { + } + } + } + } + } + grouping inet_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "protocol" { + description "Include IP protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "dscp" { + description "Include Differentiated Services (DiffServ) code point in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping inet_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_simple_filter { + leaf name { + description "Name of simple filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + status deprecated; + type empty; + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Destination IP address"; + uses firewall_addr_simple_object; + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf discard { + description "Discard the packet"; + type empty; + } + leaf accept { + description "Accept the packet"; + type empty; + } + } + } + } + grouping interface_set_type { + leaf name { + description "Interface set name"; + type string { + } + } + uses apply-advanced; + list interface-list { + key name; + ordered-by user; + description "Interface list"; + leaf name { + description "Interface name"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping interfaces_type { + description "Physical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + leaf promiscuous-mode { + description "Enable promiscuous mode for L3 interface"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + length "1 .. 64"; + } + } + container fabric-options { + description "Fabric interface specific options"; + uses apply-advanced; + list member-interfaces { + key name; + description "Member interface for the fabric interface"; + leaf name { + description "Interface name of member"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + enum "q921" { + description "Trace ISDN Q.921 frames"; + } + enum "q931" { + description "Trace ISDN Q.931 frames"; + } + } + } + } + container file { + presence "enable file"; + description "Trace file information for ISDN decoded frames"; + uses apply-advanced; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + default "128k"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + uses apply-advanced; + leaf interface { + description "Interface that acts as clock source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + uses apply-advanced; + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf media-type { + description "Interface media type (copper or fiber)"; + type enumeration { + enum "copper" { + description "Copper as media"; + } + enum "fiber" { + description "Fiber as media"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf voice-timeslots { + description "Voice timeslots (1..24),for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + leaf alarm-compliance { + description "Enforce standard for alarm reporting"; + type enumeration { + enum "accunet-t1-5-service" { + description "T1.5 interface specification"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + container dce-options { + description "DCE options"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + leaf dtr { + description "Data Transmit Ready signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + leaf dce-loopback-override { + description "DCE loopback override"; + type empty; + } + } + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf mdi-mode { + description "Cable cross-over mode"; + type enumeration { + enum "auto" { + description "Automatic mdi/mdi-x mode"; + } + enum "force" { + description "Enable auto-MDIX always"; + } + enum "mdi" { + description "MDI(straight through) mode"; + } + enum "mdix" { + description "MDI Cross-over mode"; + } + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf mac-mode { + description "Physical layer protocol of MAC's SERDES interface"; + type enumeration { + enum "sgmii" { + description "Serial Gigabit Media Independent Interface (10/100/1000 Mbps)"; + } + enum "mac-mode-1000base-x" { + description "1000Base-X (1000 Mbps)"; + } + } + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description "Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant-ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + leaf speed { + description "Speed mode"; + type enumeration { + enum "1g" { + description "Speed 1g"; + } + enum "10g" { + description "Speed 10g"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container redundant-ether-options { + description "Ethernet redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 128"; + } + } + } + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + leaf link-speed { + description "Link speed of individual interface that joins the RETH"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "10g" { + description "Links are 10G"; + } + } + } + leaf minimum-links { + description "Minimum number of active links"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf sync-reset { + description "On minimum-link failure notify out of sync to peer"; + type enumeration { + enum "disable" { + description "To disable minimum-link failure handling at LACP level"; + } + enum "enable" { + description "To enable minimum-link failure handling at LACP level"; + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-standby" { + description "MC-AE in active-standby mode"; + } + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dsl-options { + description "DSL interface-specific options"; + uses apply-advanced; + leaf operating-mode { + description "DSL operating mode"; + type enumeration { + enum "auto" { + description "Autonegotiate mode"; + } + enum "ansi-dmt" { + description "ANSI T1.413 Issue II mode"; + } + enum "itu-dmt" { + description "ITU G.992.1 mode"; + } + enum "etsi" { + description "ETSI TS 101 388 V1.3.1 mode"; + } + enum "itu-annexb-ur2" { + description "ITU G.992.1 UR-2 mode"; + } + enum "itu-annexb-non-ur2" { + description "ITU G.992.1 Non UR-2 mode"; + } + enum "itu-dmt-bis" { + description "ITU G.992.3 mode"; + } + enum "adsl2plus" { + description "ITU G.992.5 mode"; + } + enum "annexm-itu-dmt-bis" { + description "AnnexM ITU G.992.3 mode"; + } + enum "annexm-adsl2plus" { + description "AnnexM ITU G.992.5 mode"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container data-input { + description "Configuration for drop-insert data input"; + uses apply-advanced; + choice input-choice { + case case_1 { + leaf system { + description "Data sourced from system"; + type empty; + } + } + case case_2 { + leaf interface { + description "Interface that acts as data source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container switch-options { + description "Front end ports configuration"; + uses apply-advanced; + list switch-port { + key name; + leaf name { + description "Front end port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + uses apply-advanced; + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + } + } + leaf vlan-id { + description "VLAN ID for this port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf cascade-port { + description "Port externally connected to another cascade port"; + type empty; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + container policer-overhead { + description "Policer overhead adjustment for this unit"; + uses apply-advanced; + leaf policer-overhead-value { + description "Policer overhead bytes to be accounted in ingress and egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf ingress { + description "Ingress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf egress { + description "Egress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + } + leaf alias { + description "Interface alias"; + type string; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + container radio-router { + description "Parameters for dynamic link cost management"; + presence "enable radio-router"; + uses dynamic_ifbw_parms_type; + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf deep-vlan-qualified-learning { + description "Enable qualified MAC-address learning on the specified vlan tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range 3; + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container compression { + presence "enable compression"; + description "Various packet header compressions"; + uses apply-advanced; + container rtp { + presence "enable rtp"; + description "Compress and decompress RTP"; + uses apply-advanced; + leaf f-max-period { + description "Maximum number of compressed packets between transmission of full headers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list queues { + ordered-by user; + description "Queue holding RTP packets. Default is queue 1"; + type enumeration { + enum "q0" { + description "RTP packets assigned to queue 0"; + } + enum "q1" { + description "RTP packets assigned to queue 1"; + } + enum "q2" { + description "RTP packets assigned to queue 2"; + } + enum "q3" { + description "RTP packets assigned to queue 3"; + } + } + } + container port { + presence "enable port"; + description "UDP destination ports reserved for RTP packets"; + leaf minimum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container maximum-contexts { + description "Maximum number of simultaneous RTP contexts"; + leaf number { + description "Maximum number of simultaneous RTP contexts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 2048"; + } + } + } + } + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + description "Dynamic Host Configuration Protocol client configuration"; + presence "enable dhcp"; + uses dhcp-client-type; + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + container location-pool-address { + presence "enable location-pool-address"; + description "Location-based IP address pool"; + uses apply-advanced; + leaf pool-name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Not propagate DNS to kernel"; + } + container update-router-advertisement { + description "Dhcpv6 client update rpd for prefix delegation"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interfaces on which to delegate prefix"; + max-elements 3; + leaf name { + description "Interfaces-name on which to delegate prefix"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice enable-recursive-dns-server-option-choice { + leaf enable-recursive-dns-server-option { + description "Enables the recursive DNS server option"; + type empty; + } + leaf no-enable-recursive-dns-server-option { + description "Don't enables the recursive DNS server option"; + type empty; + } + } + } + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + leaf pool { + description "Dialer pool"; + type string { + length "1 .. 64"; + } + } + leaf-list dial-string { + ordered-by user; + description "String to dial out"; + type string { + length "1 .. 63"; + } + max-elements 15; + } + container incoming-map { + description "Map incoming call to dialer"; + uses apply-advanced; + choice caller-type { + case case_1 { + list caller { + key name; + ordered-by user; + description "Caller Id to be screened"; + max-elements 300; + leaf name { + description "Caller ID (upto 15 digits)"; + type string { + } + } + } + } + case case_2 { + leaf accept-all { + description "Accept all incoming calls"; + type empty; + } + } + } + } + leaf callback { + description "Call back on any incoming call to the dialer"; + type empty; + } + leaf callback-wait-period { + description "Time to wait before calling back"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf redial-delay { + description "Time to wait before redialing"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf idle-timeout { + description "Delay before taking down the interface"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list watch-list { + key name; + description "Dialer watch list"; + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + leaf load-threshold { + description "Load threshold for adding interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf load-interval { + description "Interval used to calculate average load"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 180"; + } + } + } + leaf activation-delay { + description "Activation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf deactivation-delay { + description "Deactivation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf initial-route-check { + description "Delay to check primary after the router is up"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 300"; + } + } + } + leaf always-on { + description "Always keep on-line"; + type empty; + } + } + container backup-options { + description "Backup interface configuration options"; + uses apply-advanced; + leaf interface { + description "Backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dynamic-call-admission-control { + description "Dynamic call admission control configuration"; + uses apply-advanced; + leaf bearer-bandwidth-limit { + description "Bearer bandwidth limit"; + units "kilobits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 9999"; + } + } + } + leaf activation-priority { + description "Priority assigned to bearer bandwidth limit"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + container modem-options { + description "MODEM interface-specific options"; + uses apply-advanced; + leaf init-command-string { + description "AT command string to initialize modem"; + type string { + length "1 .. 127"; + } + } + leaf dialin { + default "console"; + type enumeration { + enum "console" { + description "Management console access"; + } + enum "routable" { + description "Routable access"; + } + } + } + } + container isdn-options { + description "ISDN interface-specific options"; + uses apply-advanced; + leaf switch-type { + description "ISDN switch type"; + type enumeration { + enum "ni1" { + description "NI1 BRI variant"; + } + enum "etsi" { + description "ETSI variant"; + } + enum "att5e" { + description "ATT5E variant"; + } + enum "ntdms100" { + description "NTDMS100 variant"; + } + enum "ntt" { + description "INS NET (NTT) PRI/BRI variant"; + } + enum "ni2" { + description "NI2 PRI variant"; + } + } + } + leaf media-type { + description "IDSN media type - voice, data or both"; + default "data"; + type enumeration { + enum "data" { + description "Data"; + } + enum "voice" { + description "Voice"; + } + enum "combined" { + description "Combined"; + } + } + } + leaf spid1 { + description "Service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf spid2 { + description "Additional service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf calling-number { + description "Calling number included in outgoing calls"; + type string { + } + } + list incoming-called-number { + key name; + ordered-by user; + description "Incoming called number to be screened"; + max-elements 30; + leaf name { + description "Number called (upto 15 digits)"; + type string { + } + } + leaf reject { + description "Reject the called number"; + type empty; + } + } + leaf tei-option { + description "ISDN terminal endpoint identifier negotiation options"; + type enumeration { + enum "first-call" { + description "Terminal endpoint identifier negotiation during first call"; + } + enum "power-up" { + description "Terminal endpoint identifier negotiation during power-up"; + } + } + } + leaf static-tei-val { + description "Static TEI value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf t310 { + description "Timer T310 value"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + leaf bchannel-allocation { + description "Allocate PRI dialout b-channel in ascending/descending order"; + default "descending"; + type enumeration { + enum "ascending" { + description "Allocate b-channel in ascending order"; + } + enum "descending" { + description "Allocate b-channel in descending order"; + } + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + list pool { + key name; + description "Dialer pool"; + max-elements 30; + leaf name { + description "Dialer pool identifier"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Dialer pool priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container redundant-pseudo-interface-options { + description "Pseudo interface redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + leaf act-sim { + description "Default SIM slot to connect LTE network"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container cellular-options { + presence "enable cellular-options"; + description "Cellular interface specific options"; + uses apply-advanced; + list sim { + key name; + description "SIM slot to connect LTE network"; + leaf name { + description "SIM slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container select-profile { + description "Profile to be applied"; + leaf profile-id { + description "Profile to be used for data calls"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + container radio-access { + description "Select radio access technology"; + choice rat-value { + case case_1 { + leaf automatic { + description "Automatically selects radio access type"; + type empty; + } + } + case case_2 { + leaf umts-3g-only { + description "3G only"; + type empty; + } + } + case case_3 { + leaf umts-3g-preferred { + description "UMTS 3G Preferred"; + type empty; + } + } + case case_4 { + leaf lte-only { + description "Only LTE"; + type empty; + } + } + case case_5 { + leaf lte-preferred { + description "LTE Preferred"; + type empty; + } + } + } + } + leaf encrypted-sim-unlock-code { + description "Encrypted PIN"; + type jt:unreadable; + } + leaf gateway { + description "Set customer gateway for LTE network"; + type jt:ipprefix; + } + } + } + } + grouping juniper-class-of-service-options { + uses apply-advanced; + container forwarding-policy { + description "Class-of-service forwarding policy"; + uses apply-advanced; + list next-hop-map { + key name; + ordered-by user; + description "Class-of-service next-hop map"; + leaf name { + description "Name to identify next-hop map"; + type string { + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class from which to map"; + leaf name { + description "Forwarding class"; + type string { + } + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + container forwarding-class-default { + description "Next Hop For traffic which does not meet any FC in the next-hop-map"; + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + } + list class { + key name; + ordered-by user; + description "Class-of-service description"; + leaf name { + description "Name to identify class of service"; + type string { + } + } + uses apply-advanced; + container classification-override { + description "Define classification overrides"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + } + } + } + container classifiers { + description "Classify incoming packets based on code point value"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + } + container loss-priority-maps { + description "Map loss priority of incoming packets based on code point value"; + uses apply-advanced; + list frame-relay-de { + key name; + ordered-by user; + description "Frame relay discard eligible bit loss priority map"; + leaf name { + description "Loss priority map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Map code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to low loss priority"; + } + enum "high" { + description "Code points to classify to high loss priority"; + } + enum "medium-low" { + description "Code points to classify to medium-low loss priority"; + } + enum "medium-high" { + description "Code points to classify to medium-high loss priority"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of bit strings"; + type string; + } + } + } + } + container code-point-aliases { + description "Mapping of code point aliases to bit strings"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point aliases"; + leaf name { + description "DSCP alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point aliases IPv6"; + leaf name { + description "DSCP IPv6 alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP code point aliases"; + leaf name { + description "EXP alias name"; + type string { + } + } + leaf bits { + description "EXP 3-bit pattern"; + type string { + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 code point aliases"; + leaf name { + description "IEEE-802.1 alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1 3-bit pattern"; + type string { + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence code point aliases"; + leaf name { + description "IPv4 precedence alias name"; + type string { + } + } + leaf bits { + description "IPv4 precedence 3-bit pattern"; + type string { + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) code point aliases"; + leaf name { + description "IEEE-802.1ad (DEI) alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1ad (DEI) 4-bit pattern"; + type string { + } + } + } + } + container translation-table { + description "Translation table"; + uses apply-advanced; + list to-802.1p-from-dscp { + key name; + ordered-by user; + description "DSCP to 802.1 translation table"; + leaf name { + description "Translation table name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list to-code-point { + key name; + ordered-by user; + description "IEEE 802.1 code point"; + leaf name { + description "IEEE 802.1 code point"; + type string { + } + } + leaf-list from-code-points { + ordered-by user; + description "DSCP code point"; + type string; + } + } + } + } + container host-outbound-traffic { + description "Classify and mark host traffic to forwarding engine"; + uses apply-advanced; + leaf forwarding-class { + description "Classification of host traffic to forwarding engine"; + type string { + length "1 .. 64"; + } + } + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + leaf override-firewall { + description "Override firewall filter actions for RE generated traffic"; + type empty; + } + container translation-table { + description "Translation table for host outbound packets"; + leaf to-802.1p-from-dscp { + description "DSCP to 802.1 translation table"; + type string { + length "1 .. 64"; + } + } + } + container tcp { + presence "enable tcp"; + description "Settings for host outbound TCP packets"; + uses apply-advanced; + leaf raise-internet-control-priority { + description "Place packets with IP Precedence set to Internet control into Q3 (network-control)"; + type empty; + } + } + container ieee-802.1 { + presence "enable ieee-802.1"; + description "Mark IEEE 802.1p for host output traffic"; + uses apply-advanced; + leaf rewrite-rules { + description "Mark IEEE 802.1p for host outbound traffic using rewrite-rules"; + type empty; + } + leaf default { + description "Mark IEEE 802.1p for host outbound traffic default value"; + type string { + } + } + } + container protocol { + description "Settings for specific host outbound protocol packets"; + uses apply-advanced; + container isis-over-gre { + description "Settings for ISIS over GRE packets"; + uses apply-advanced; + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + } + } + } + list drop-profiles { + key name; + ordered-by user; + description "Random Early Drop (RED) data point map"; + leaf name { + description "Drop profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list fill-level { + key name; + ordered-by user; + description "Fill-level value of data point"; + leaf name { + description "Percentage the queue is full"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf drop-probability { + description "Probability packet will be dropped"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container interpolate { + description "Data points interpolated"; + uses apply-advanced; + leaf-list fill-level { + ordered-by user; + description "Data points for queue full percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf-list drop-probability { + ordered-by user; + description "Data points for packet drop probability"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list adaptive-shapers { + key name; + ordered-by user; + description "Define the list of trigger types and associated rates"; + leaf name { + description "Adaptive shaper name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list trigger { + key name; + ordered-by user; + description "List of trigger types"; + leaf name { + type enumeration { + enum "becn" { + description "Backward explicit congestion notification"; + } + } + } + container shaping-rate { + description "Shaping rate for the trigger"; + choice rate-choice { + case case_1 { + leaf absolute-rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + } + } + list virtual-channels { + key name; + ordered-by user; + description "Define the list of virtual channels"; + leaf name { + description "Virtual channel name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list virtual-channel-groups { + key name; + ordered-by user; + description "Define list of virtual channel groups"; + leaf name { + description "Virtual channel group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list channel { + key name; + ordered-by user; + description "Configure virtual channel for this group"; + leaf name { + description "Virtual channel group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf scheduler-map { + description "Scheduler map applied to this virtual channel"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + description "Shaping rate for the trigger"; + choice rate-choice { + case case_1 { + leaf absolute-rate { + description "Adaptive shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Adaptive shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + leaf default { + description "Default virtual channel"; + type empty; + } + } + } + leaf tri-color { + description "Enable tricolor marking"; + type empty; + } + leaf non-strict-priority-scheduling { + description "Enable non-strict-priority scheduling"; + type empty; + } + container forwarding-classes { + description "One or more mappings of forwarding class to queue number"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class to map to queue number"; + max-elements 16; + leaf name { + description "Name of forwarding class"; + type string { + length "1 .. 64"; + } + } + leaf queue-num { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Low fabric priority"; + } + enum "high" { + description "High fabric priority"; + } + } + } + leaf spu-priority { + description "SPU priority"; + type enumeration { + enum "low" { + description "Low spu priority"; + } + enum "high" { + description "High spu priority"; + } + enum "medium-low" { + description "Medium-low spu priority"; + } + enum "medium-high" { + description "Medium-high spu priority"; + } + } + } + } + list queue { + key name; + ordered-by user; + description "Queue number to map to forwarding class"; + leaf name { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf class-name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Fabric priority low"; + } + enum "high" { + description "Fabric priority high"; + } + } + } + } + } + list traffic-control-profiles { + key name; + ordered-by user; + description "Traffic shaping and scheduling profiles"; + leaf name { + description "Traffic control profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf scheduler-map { + description "Mapping of forwarding classes to packet schedulers"; + type string { + length "1 .. 64"; + } + } + leaf atm-service { + description "ATM service category"; + type enumeration { + enum "cbr" { + description "Constant bit rate"; + } + enum "rtvbr" { + description "Real-time variable bit rate"; + } + enum "nrtvbr" { + description "Non-real-time variable bit rate"; + } + } + } + leaf peak-rate { + description "ATM Peak Cell Rate (PCR)"; + units "cps"; + type string; + } + leaf sustained-rate { + description "ATM Sustained Cell Rate (SCR)"; + units "cps"; + type string; + } + leaf max-burst-size { + description "ATM Maximum Burst Size (MBS)"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "1 .. 4000"; + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container overhead-accounting { + description "Overhead accounting"; + leaf mode { + type string { + length "1 .. 64"; + } + } + leaf bytes { + description "Byte adjust value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf frame-mode-bytes { + description "Overhead bytes when in frame-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf cell-mode-bytes { + description "Overhead bytes when in cell-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + } + container shaping-rate-priority-strict-high { + description "Shaping rate for strict high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-high { + description "Shaping rate for high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium { + description "Shaping rate for medium priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium-low { + description "Shaping rate for medium low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-low { + description "Shaping rate for low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-high { + description "Shaping rate for excess high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-low { + description "Shaping rate for excess low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-high { + description "Shaping rate for excess medium-high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-low { + description "Shaping rate for excess medium-low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container guaranteed-rate { + description "Guaranteed rate"; + choice guaranteed_rate_choice { + case case_1 { + leaf rate { + description "Guaranteed rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Guaranteed rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate { + description "Excess bandwidth sharing proportion"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-high { + description "Excess bandwidth sharing for excess-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-high { + description "Excess bandwidth sharing for excess-medium-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-low { + description "Excess bandwidth sharing for excess-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-low { + description "Excess bandwidth sharing for excess-medium-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + choice delay_buffer_sizing { + case case_1 { + container delay-buffer-rate { + description "Delay buffer rate"; + choice delay_buffer_rate_choice { + case case_1 { + leaf rate { + description "Delay buffer rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Delay buffer rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_3 { + leaf cps { + description "Delay buffer rate as an absolute cells per second rate"; + units "cells per second"; + type string; + } + } + } + } + } + } + } + container interfaces { + description "Apply class-of-service options to interfaces"; + uses apply-advanced; + list interface-set { + key name; + ordered-by user; + description "Interface set traffic-control-profile attachment"; + leaf name { + description "Name of the interface set"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf internal-node { + description "Internal node"; + type empty; + } + container input-excess-bandwidth-share { + description "Input Excess bandwidth sharing policy"; + choice input_excess_bandwidth_share { + case case_1 { + leaf proportional { + description "Maximum Queue Bandwidth"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf equal { + description "Equal sharing of excess bandwidth"; + type empty; + } + } + } + } + container excess-bandwidth-share { + description "Output Excess bandwidth sharing policy"; + choice output_excess_bandwidth_share { + case case_1 { + leaf proportional { + description "Maximum Queue Bandwidth"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf equal { + description "Equal sharing of excess bandwidth"; + type empty; + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile for the interface set"; + leaf profile-name { + description "Name of the input traffic control profile associated with the interface set"; + type string { + length "1 .. 64"; + } + } + } + container input-traffic-control-profile-remaining { + description "Input traffic control profile for the remaining traffic on an interface set"; + leaf profile-name { + description "Name of the input traffic control profile associated with the remaining traffic for the interface set"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile for the interface set"; + leaf profile-name { + description "Name of the output traffic control profile associated with the interface set"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for the remaining traffic on an interface set"; + leaf profile-name { + description "Name of the output traffic control profile associated with the remaining traffic for the interface set"; + type string { + length "1 .. 64"; + } + } + } + } + list interface { + key name; + uses cos_interfaces_type; + } + } + container rewrite-rules { + description "Write code point value of outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list frame-relay-de { + key name; + ordered-by user; + description "Frame relay discard eligible bit rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + } + container fabric { + description "Define CoS parameters of switch fabric"; + uses apply-advanced; + container scheduler-map { + description "Mapping of fabric traffic to packet schedulers"; + uses apply-advanced; + list priority { + key name; + ordered-by user; + description "Fabric traffic priority"; + leaf name { + type enumeration { + enum "low" { + description "Low priority fabric traffic"; + } + enum "high" { + description "High priority fabric traffic"; + } + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "Mapping of forwarding classes to packet schedulers"; + leaf name { + description "Scheduler map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to scheduler"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + list fragmentation-maps { + key name; + ordered-by user; + description "Mapping of forwarding class to fragmentation options"; + leaf name { + description "Fragmentation map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to fragmentation options"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice fragmentation-control { + case case_1 { + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 9192"; + } + } + } + } + case case_2 { + leaf no-fragmentation { + description "Don't allow fragmentation"; + type empty; + } + } + } + leaf multilink-class { + description "Multilink-Class assigned to the forwarding class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + } + } + list schedulers { + key name; + ordered-by user; + description "Packet schedulers"; + leaf name { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container transmit-rate { + description "Transmit rate"; + uses apply-advanced; + choice transmit_rate_choice { + case case_1 { + leaf rate { + description "Transmit rate as rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Transmit rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + case case_3 { + container remainder { + presence "enable remainder"; + description "Remainder available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + choice rate_limit_choice { + case case_1 { + leaf exact { + description "Enforce exact transmit rate"; + type empty; + } + } + case case_2 { + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container buffer-size { + description "Queue transmission buffer size"; + uses apply-advanced; + choice buffer_size_choice { + case case_1 { + leaf percent { + description "Buffer size as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + case case_2 { + container remainder { + presence "enable remainder"; + description "Remainder of buffer size available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + case case_3 { + } + case case_4 { + leaf temporal { + description "Buffer size as temporal value"; + units "microseconds"; + type string; + } + } + } + choice buffer_limit { + case case_1 { + leaf exact { + description "Enforce exact buffer size"; + type empty; + } + } + } + container buffer-partition { + presence "enable buffer-partition"; + description "Partition buffer size among multicast and unicast"; + uses apply-advanced; + container multicast { + presence "enable multicast"; + description "Specify multicast fraction of reserved buffer"; + uses apply-advanced; + leaf percent { + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + leaf priority { + description "Scheduling priority"; + type string { + length "1 .. 64"; + } + } + leaf excess-priority { + description "Priority in the excess region"; + type string { + length "1 .. 64"; + } + } + list drop-profile-map { + key "loss-priority protocol"; + ordered-by user; + description "Assign drop profile to a loss priority and protocol"; + leaf loss-priority { + description "Loss priority value"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + enum "any" { + description "Ignore loss priority when assigning drop profile"; + } + } + } + leaf protocol { + description "Protocol type"; + type enumeration { + enum "tcp" { + description "TCP protocol only"; + } + enum "non-tcp" { + description "Non-TCP protocols only"; + } + enum "any" { + description "Ignore protocol type when assigning drop profile"; + } + } + } + leaf drop-profile { + description "Name of drop profile to apply"; + type string { + length "1 .. 64"; + } + } + } + } + container traceoptions { + description "Trace options for class-of-service process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace configuration processing"; + } + enum "util" { + description "Trace utilities"; + } + enum "restart" { + description "Trace restart processing"; + } + enum "snmp" { + description "Trace SNMP-related processing"; + } + enum "hardware-database" { + description "Trace chassis hardware database related processing"; + } + enum "asynch" { + description "Trace asynchronous configuration processing"; + } + enum "dynamic" { + description "Trace dynamic CoS functions"; + } + enum "cos-adjustment" { + description "Trace CoS rate adjustments"; + } + enum "performance-monitor" { + description "Trace performance monitor counters"; + } + enum "chassis-scheduler" { + description "Trace chassis stream scheduler processing"; + } + enum "cn-util" { + description "Trace utilities for congestion-notification"; + } + enum "snmp-timeouts" { + description "Trace SNMP COSD kernel timeouts"; + } + enum "all" { + description "Trace everything"; + } + enum "feature-capability" { + description "Trace feature capability"; + } + enum "application" { + description "Trace Junos application programming"; + } + } + } + } + } + container application-traffic-control { + presence "enable application-traffic-control"; + description "Application classifier configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for application classifier"; + uses appqos-traceoptions-type; + } + list rate-limiters { + key name; + ordered-by user; + description "Configure application-traffic-control rate limiters"; + leaf name { + description "Application classifier rate-limiter name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf bandwidth-limit { + description "Bandwidth limit"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 10485760"; + } + } + } + leaf burst-size-limit { + description "Burst size limit (default with bandwidth-limit and no larger than 6400 * bandwidth)"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1342177280"; + } + } + } + } + list rule-sets { + key name; + ordered-by user; + description "Configure application-traffic-control rule-sets"; + leaf name { + description "Application classifier rule-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule"; + uses appqos_rule_type; + } + } + } + } + grouping appqos-traceoptions-type { + description "Trace options for application classifier"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping appqos_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + description "Specify application traffic control rule match-criteria"; + uses apply-advanced; + leaf application-any { + description "Any applications"; + type empty; + } + leaf application-unknown { + description "Uknown applcations"; + status deprecated; + type empty; + } + leaf application-known { + description "Identifiable applications"; + type empty; + } + leaf-list application { + ordered-by user; + description "Specify application name to match"; + type string { + length "1 .. 63"; + } + } + leaf-list application-group { + ordered-by user; + description "Specify application group name to match"; + type string { + length "1 .. 63"; + } + } + } + container then { + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "DSCP code point bitmap or alias"; + type string { + } + } + leaf loss-priority { + description "Packet loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + container rate-limit { + description "Apply rate limiters"; + uses apply-advanced; + leaf client-to-server { + description "Client-to-server rate limiter"; + type string; + } + leaf server-to-client { + description "Server-to-client rate limiter"; + type string; + } + leaf loss-priority-high { + description "Set Rate limiter's action Loss-Priority to high"; + type empty; + } + } + leaf log { + description "Log the action"; + type empty; + } + } + } + grouping cos_interfaces_type { + description "Physical interface"; + leaf name { + description "Interface name (or wildcard)"; + type union { + type jt:interface-device-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + description "Output shaping rate"; + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + leaf overhead { + description "Shaping overhead bytes to be accounted in egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-62 .. 192"; + } + } + } + } + container input-excess-bandwidth-share { + description "Input Excess bandwidth sharing policy"; + choice input_excess_bandwidth_share { + case case_1 { + leaf proportional { + description "Maximum Queue Bandwidth"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf equal { + description "Equal sharing of excess bandwidth"; + type empty; + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container input-traffic-control-profile-remaining { + description "Input traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container member-link-scheduler { + description "Scheduler parameter model for member link"; + choice model { + case case_1 { + leaf scale { + description "Scale scheduler parameters on aggregate interface"; + type empty; + } + } + case case_2 { + leaf replicate { + description "Copy scheduler parameters from aggregate interface"; + type empty; + } + } + } + } + container exclude-queue-overhead-bytes { + presence "enable exclude-queue-overhead-bytes"; + description "Exclude the overhead bytes from the queue statistics"; + uses apply-advanced; + leaf include-hierarchy { + description "Perform overhead adjustment on IFD and all children"; + type empty; + } + } + container logical-interface-aggregate-statistics { + presence "enable logical-interface-aggregate-statistics"; + description "Logical interface aggregate queue statistics"; + } + list unit { + key name; + description "Logical interface unit (or wildcard)"; + leaf name { + description "Logical unit number"; + type union { + type string { + pattern "\*"; + } + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + } + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class assigned to incoming packets"; + type string { + length "1 .. 64"; + } + } + leaf virtual-channel-group { + description "Virtual channel group applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + leaf vc-shared-scheduler { + description "Virtual channel group shared scheduler indicator"; + type empty; + } + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf fragmentation-map { + description "Fragmentation map applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + leaf adaptive-shaper { + description "Adaptive shaper applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + presence "enable shaping-rate"; + description "Output shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifl"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + } + } + } + container report-ingress-shaping-rate { + description "Report ingress shaping rate"; + choice report_ingress_shaping_rate_choice { + case case_1 { + leaf rate { + description "Ingress shaping rate as an absolute value"; + units "bits per second"; + type string; + } + } + } + } + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP classifier"; + type string; + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP Ipv6 classifier"; + type string; + } + } + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container loss-priority-maps { + description "Loss priority maps applied to incoming packets"; + uses apply-advanced; + container frame-relay-de { + description "Frame Relay discard eligible bit loss priority map"; + leaf lpmap-name { + description "Name of loss priority map to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container rewrite-rules { + description "Rewrite rules applied to outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv6 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + } + } + } + list exp { + key name; + ordered-by user; + description "EXP rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls-any" { + description "Apply to MPLS packets, write MPLS header only"; + } + enum "mpls-inet-both" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header"; + } + enum "mpls-inet-both-non-vpn" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header for only non VPN traffic"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + container frame-relay-de { + description "Frame relay discard eligible bit rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) rewrite rule"; + uses apply-advanced; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + } + } + } + grouping juniper-dynamic-profile-varset-object { + leaf name { + description "Profile varset associated with the profile"; + type string { + length "1 .. 80"; + } + } + uses apply-advanced; + leaf junos-mep-id { + description "Dynamic variable to substitute 'mep' value in the profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8191"; + } + } + } + leaf junos-md-level { + description "Dynamic variable to substitute 'level' value in the profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf junos-remote-mep-id { + description "Dynamic variable to substitute 'remote-mep' value in the profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8191"; + } + } + } + leaf junos-md-name { + description "Dynamic variable to substitute 'maintenance-domain' in profile"; + type string; + } + leaf junos-ma-name { + description "Dynamic variable to substitute 'maintenance-association' in profile"; + type string { + length "1 .. 32"; + } + } + leaf junos-loss-threshold { + description "Dynamic variable to substitute 'loss-threshold' in profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf junos-md-name-format { + description "Dynamic variable to substitute 'name-format' in profile"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf junos-ma-name-format { + description "Dynamic variable to substitute 'short-name-format' in profile"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf junos-ccm-interval { + description "Dynamic variable to substitute 'interval' in profile"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf junos-action-profile { + description "Dynamic variable to substitute 'action-profile' in profile"; + type string; + } + leaf junos-layer2-output-policer { + description "Dynamic variable to substitute 'layer2 output-policer'"; + type string; + } + } + grouping juniper-dynamic-variable-object { + leaf name { + description "Name of variable"; + type string { + } + } + uses apply-advanced; + leaf equals { + description "Computable expression of dynamic profile variables"; + type string; + } + leaf default-value { + description "Default value for variable"; + type string; + } + leaf mandatory { + description "Variable must be supplied by external server"; + type empty; + } + leaf uid-reference { + description "Variable that refers to the uid variable"; + type empty; + } + leaf uid { + description "Compute unique Id value for the variable"; + type empty; + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping keepalives_type { + uses apply-advanced; + leaf interval { + description "Keepalive period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf up-count { + description "Keepalive received to bring link up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Keepalive missed to bring link down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping mac_list { + description "MAC address"; + leaf name { + type jt:mac-addr; + } + uses apply-advanced; + container policer { + description "MAC policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping match_interface_object { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_object_oam { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_set_object { + leaf name { + description "Interface set to match"; + type string; + } + } + grouping match_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping mpls_dialer_filter { + description "Define an MPLS DIALER filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping mpls_filter { + description "Define an MPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice mplscnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping mpls_ifd_options { + uses apply-advanced; + container pop-all-labels { + presence "enable pop-all-labels"; + description "Pop all MPLS labels off incoming packets"; + uses apply-advanced; + leaf-list required-depth { + ordered-by user; + description "Required label depth of packet to pop all labels"; + type enumeration { + enum "all" { + description "Takes effect only in Stoli based FPCs, in all other FPCs equivalent to '[1 2]'"; + } + enum "1" { + description "Required label depth of packet to pop labels"; + } + enum "2" { + description "Required label depth of packet to pop labels"; + } + } + } + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping otn_options_type { + uses apply-advanced; + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + choice line-loopback-choice { + leaf line-loopback { + description "Enable line loopback"; + type empty; + } + leaf no-line-loopback { + description "Don't enable line loopback"; + type empty; + } + } + choice local-loopback-choice { + leaf local-loopback { + description "Enable local host loopback"; + type empty; + } + leaf no-local-loopback { + description "Don't enable local host loopback"; + type empty; + } + } + choice prbs-choice { + leaf prbs { + description "Enable otn payload prbs"; + type empty; + } + leaf no-prbs { + description "Don't enable otn payload prbs"; + type empty; + } + } + choice odu-ttim-action-enable-choice { + leaf odu-ttim-action-enable { + description "Enable consequent action for ODU TTIM"; + type empty; + } + leaf no-odu-ttim-action-enable { + description "Don't enable consequent action for ODU TTIM"; + type empty; + } + } + choice otu-ttim-action-enable-choice { + leaf otu-ttim-action-enable { + description "Enable consequent action for OTU TTIM"; + type empty; + } + leaf no-otu-ttim-action-enable { + description "Don't enable consequent action for OTU TTIM"; + type empty; + } + } + choice transport-monitoring-choice { + leaf transport-monitoring { + description "Enable transport monitoring"; + type empty; + } + leaf no-transport-monitoring { + description "Don't enable transport monitoring"; + type empty; + } + } + container odu-delay-management { + description "Set odu delay management"; + uses apply-advanced; + choice monitor-end-point-choice { + leaf monitor-end-point { + description "Originate connection monitor end point"; + type empty; + } + leaf no-monitor-end-point { + description "Don't originate connection monitor end point"; + type empty; + } + } + choice start-measurement-choice { + leaf start-measurement { + description "Enable to start a dm measurement"; + type empty; + } + leaf no-start-measurement { + description "Don't enable to start a dm measurement"; + type empty; + } + } + choice bypass-choice { + leaf bypass { + description "Act as tandem passing dm value through node"; + type empty; + } + leaf no-bypass { + description "Don't act as tandem passing dm value through node"; + type empty; + } + } + leaf number-of-frames { + description "Number of consequent frames to declare dm done"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice remote-loop-enable-choice { + leaf remote-loop-enable { + description "Enable remote DM loop on remote end"; + type empty; + } + leaf no-remote-loop-enable { + description "Don't enable remote DM loop on remote end"; + type empty; + } + } + } + container signal-degrade { + description "Signal degrade thresholds"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber threshold for signal degrade clear (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber threshold for signal-degrade (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf q-threshold-signal-degrade-clear { + description "Q threshold for signal-degrade clear (e.g. 14.26)"; + units "dB"; + type string; + } + leaf q-threshold-signal-degrade { + description "Q threshold for signal-degrade (e.g. 9.26)"; + units "dB"; + type string; + } + } + container odu-signal-degrade { + description "Signal degrade thresholds for ODU"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber th for sd clear (format: xe-n, example: 4.5e-3)"; + default "1.0e-9"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber th for sd (format: xe-n, example: 4.5e-3)"; + default "1.0e-6"; + type string { + } + } + } + container preemptive-fast-reroute { + description "Preemptive fast reroute"; + uses apply-advanced; + choice odu-signal-degrade-monitor-enable-choice { + leaf odu-signal-degrade-monitor-enable { + description "Enable ODU signal degrade monitoring"; + type empty; + } + leaf no-odu-signal-degrade-monitor-enable { + description "Don't enable ODU signal degrade monitoring"; + type empty; + } + } + choice odu-backward-frr-enable-choice { + leaf odu-backward-frr-enable { + description "Enable ODU backward frr insertion"; + type empty; + } + leaf no-odu-backward-frr-enable { + description "Don't enable ODU backward frr insertion"; + type empty; + } + } + choice signal-degrade-monitor-enable-choice { + leaf signal-degrade-monitor-enable { + description "Enable signal degrade monitoring"; + type empty; + } + leaf no-signal-degrade-monitor-enable { + description "Don't enable signal degrade monitoring"; + type empty; + } + } + choice backward-frr-enable-choice { + leaf backward-frr-enable { + description "Enable backward frr insertion"; + type empty; + } + leaf no-backward-frr-enable { + description "Don't enable backward frr insertion"; + type empty; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "GFEC all 0's"; + } + enum "gfec" { + description "GFEC-Generic Forward Error Correction"; + } + enum "efec" { + description "EFEC-Enhanced Forward Error Correction"; + } + enum "gfec-sdfec" { + description "Both gfec and sdfec"; + } + enum "ufec" { + description "UFEC-Ultra Forward Error Correction"; + } + enum "sdfec" { + description "SDFEC-Soft Decision Forward Error Correction"; + } + enum "hgfec" { + description "HGFEC-High Gain Forward Error Correction"; + } + } + } + choice insert-odu-oci-choice { + leaf insert-odu-oci { + description "Force odu open connection indication"; + type empty; + } + leaf no-insert-odu-oci { + description "Don't force odu open connection indication"; + type empty; + } + } + choice insert-odu-lck-choice { + leaf insert-odu-lck { + description "Force odu locked maintenance signal"; + type empty; + } + leaf no-insert-odu-lck { + description "Don't force odu locked maintenance signal"; + type empty; + } + } + leaf rate { + description "Optical Transmission Network mode"; + type enumeration { + enum "pass-thru" { + description "Pass through mode - No OTN framing"; + } + enum "fixed-stuff-bytes" { + description "Fixed Stuff Bytes 11.0957Gbps"; + } + enum "no-fixed-stuff-bytes" { + description "No Fixed Stuff Bytes 11.0491Gbps"; + } + enum "oc192" { + description "OTU2 for OC192 10.7Gbps"; + } + enum "otu3" { + description "OTU3 for 40Gbps"; + } + enum "otu4" { + description "OTU4/OTU4v for 100Gbps-127Gbps"; + } + } + } + container bytes { + description "Set OTN header bytes"; + uses apply-advanced; + leaf transmit-payload-type { + description "Transmit payload type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container tti { + description "Trace Identifier"; + uses apply-advanced; + leaf otu-dapi { + description "OTU Destination Access Point Identifier"; + type string; + } + leaf otu-sapi { + description "OTU Source Access Point Identifier"; + type string; + } + leaf otu-expected-receive-dapi { + description "OTU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf otu-expected-receive-sapi { + description "OTU Expected Receive Source Access Point Identifier"; + type string; + } + leaf odu-dapi { + description "ODU Destination Access Point Identifier"; + type string; + } + leaf odu-sapi { + description "ODU Source Access Point Identifier"; + type string; + } + leaf odu-expected-receive-dapi { + description "ODU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf odu-expected-receive-sapi { + description "ODU Expected Receive Source Access Point Identifier"; + type string; + } + choice otu-dapi-first-byte-nul-choice { + leaf otu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-sapi-first-byte-nul-choice { + leaf otu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-dapi-first-byte-nul-choice { + leaf otu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-sapi-first-byte-nul-choice { + leaf otu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-dapi-first-byte-nul-choice { + leaf odu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-sapi-first-byte-nul-choice { + leaf odu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-dapi-first-byte-nul-choice { + leaf odu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-sapi-first-byte-nul-choice { + leaf odu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + } + container trigger { + description "Defect triggers"; + uses apply-advanced; + container oc-los { + description "OC Loss Of Signal defect trigger"; + choice oc_los_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lof { + description "OC Loss Of Frame defect trigger"; + choice oc_lof_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lom { + description "OC Loss Of Multiframe defect trigger"; + choice oc_lom_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-wavelength-lock { + description "OC Wavelength Lock defect trigger"; + choice oc_wavelength_lock_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-tsf { + description "Oc tsf defect trigger"; + choice oc-tsf-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ais { + description "OTU Alarm Indication Signal defect trigger"; + choice otu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-bdi { + description "OTU Backward Defect Indication defect trigger"; + choice otu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-iae { + description "OTU Incoming Alignment defect trigger"; + choice otu_iae_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ttim { + description "OTU Trail Trace Identifier Mismatch defect trigger"; + choice otu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-sd { + description "OTU Signal Degrade defect trigger"; + choice otu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-deg { + description "OTU FEC Degrade defect trigger"; + choice otu_fec_deg_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-exe { + description "OTU FEC Excessive Error defect trigger"; + choice otu_fec_exe_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ais { + description "ODU Alarm Indication Signal defect trigger"; + choice odu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bdi { + description "ODU Backward Defect Indication defect trigger"; + choice odu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-iae { + description "Odu iae defect trigger"; + choice odu-iae-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bei { + description "Odu backward error indication defect trigger"; + choice odu_bei_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-oci { + description "ODU Open Connection Indication defect trigger"; + choice odu_oci_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-lck { + description "ODU Locked defect trigger"; + choice odu_lck_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ttim { + description "ODU Trail Trace Identifier Mismatch defect trigger"; + choice odu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-sd { + description "ODU Signal Degrade defect trigger"; + choice odu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container opu-ptim { + description "Payload Type Mismatch defect trigger"; + choice opu_ptm_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + } + container tca { + description "TCA - threshold crossing alerts"; + uses apply-advanced; + container otu-tca-es { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses { + description "OTU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas { + description "OTU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe { + description "OTU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU BBE in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-es-fe { + description "OTU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses-fe { + description "OTU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas-fe { + description "OTU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe-fe { + description "OTU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end BBE (BEI) in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es { + description "ODU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses { + description "ODU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas { + description "ODU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe { + description "ODU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es-fe { + description "ODU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses-fe { + description "ODU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas-fe { + description "ODU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe-fe { + description "ODU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-fec-ber { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + } + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping ppp_options_type { + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile name"; + type string; + } + container chap { + presence "enable chap"; + description "Challenge Handshake Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-chap-secret { + description "Default CHAP secret to be used when no matching access profile exists"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in CHAP-Challenge and CHAP-Response"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf passive { + description "Handle incoming CHAP requests only"; + type empty; + } + } + container pap { + presence "enable pap"; + description "Password Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-password { + description "Default PAP password used in the absence of matching profile"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in PAP request packet"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf local-password { + description "Password sent in PAP request packet"; + type jt:unreadable; + } + leaf passive { + description "Do not handle PAP authentication requests"; + type empty; + } + } + container compression { + description "Set compression options"; + leaf acfc { + description "Negotiate Address/Control field compression"; + type empty; + } + leaf pfc { + description "Negotiate Protocol field compression"; + type empty; + } + } + leaf lcp-restart-timer { + description "LCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "20 .. 10000"; + } + } + } + leaf ncp-restart-timer { + description "NCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "500 .. 10000"; + } + } + } + leaf no-termination-request { + description "Don't send PPP termination requests"; + type empty; + } + leaf loopback-clear-timer { + description "Loopback clear timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf lcp-max-conf-req { + description "Maximum LCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ncp-max-conf-req { + description "Maximum NCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf on-demand-ip-address { + description "Enable On-Demand IPv4 address allocation and de-allocation"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to dynamic-profile"; + type string { + length "1 .. 63"; + } + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf mtu { + description "The Maximum Transfer Unit size in bytes"; + type string; + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + container local-authentication { + description "Local Authentication Protocol options"; + uses local_auth_type; + } + } + grouping local_auth_type { + description "Local authentication"; + uses apply-advanced; + leaf password { + description "Username password"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf circuit-id { + description "Include circuit-id "; + type empty; + } + leaf remote-id { + description "Include remote-id "; + type empty; + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf delimiter { + description "Delimiter/separator character"; + type string { + length 1; + } + } + } + } + grouping pppoe_options_type { + uses apply-advanced; + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + leaf idle-timeout { + description "Time for which session can be idle (0 = forever)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf access-concentrator { + description "Name of the access concentrator (PPPoE server)"; + type string; + } + leaf service-name { + description "Service to be requested (from PPPoE server)"; + type string; + } + leaf auto-reconnect { + description "Time to reconnect after session terminates (0 = never)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice pppoe-mode { + case case_1 { + leaf server { + description "PPPoE operates in server mode"; + type empty; + } + } + case case_2 { + leaf client { + description "PPPoE operates in client mode"; + type empty; + } + } + } + leaf ppp-max-payload { + description "Specify the value of ppp-max-payload tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1492 .. 9192"; + } + } + } + } + grouping prefix_action { + leaf name { + description "Prefix action name"; + type string { + } + } + uses apply-advanced; + leaf policer { + description "Police the packet using a set of named policer"; + type string { + } + } + leaf count { + description "Enable counters"; + type empty; + } + leaf filter-specific { + description "Filter specific, else term specific"; + type empty; + } + leaf subnet-prefix-length { + description "Prefix length for the total address range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + choice source_or_dest { + case case_1 { + leaf source-prefix-length { + description "Source prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + case case_2 { + leaf destination-prefix-length { + description "Destination prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + } + grouping prefix_list_items { + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping service_set_syslog_object { + uses apply-advanced; + list host { + key name; + ordered-by user; + max-elements 10; + leaf name { + description "Name of host to notify"; + type string { + } + } + uses apply-advanced; + list contents { + key name; + leaf name { + description "Facility type"; + type enumeration { + enum "services" { + description "Adaptive Services PIC"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf log-prefix { + description "Prefix for all logging to this host"; + type string { + } + } + leaf port { + description "UDP port for syslogd on the host"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container class { + description "Syslog messages classes"; + uses apply-advanced; + container session-logs { + presence "enable session-logs"; + description "Allow syslog messages for session events"; + uses apply-advanced; + container open { + presence "enable open"; + description "Allow syslog messages for session open events"; + } + container close { + presence "enable close"; + description "Allow syslog messages for session close events"; + } + } + container packet-logs { + presence "enable packet-logs"; + description "Allow syslog messages for packet related events"; + } + container stateful-firewall-logs { + presence "enable stateful-firewall-logs"; + description "Allow syslog messages for stateful firewall events"; + } + container alg-logs { + presence "enable alg-logs"; + description "Allow syslog messages for ALG events"; + } + container nat-logs { + presence "enable nat-logs"; + description "Allow syslog messages for NAT events"; + uses apply-advanced; + container deterministic-nat-configuration-log { + presence "enable deterministic-nat-configuration-log"; + description "Allow syslog messages for Determinisitic NAT config events"; + } + } + container ids-logs { + presence "enable ids-logs"; + description "Allow syslog messages for IDS events"; + } + container pcp-logs { + presence "enable pcp-logs"; + description "PCP logs"; + container map { + presence "enable map"; + description "Allow syslog messages for PCP"; + } + container debug { + presence "enable debug"; + description "Allow PCP debug syslogs"; + } + } + container ha-logs { + description "Stateful high availability logs"; + uses apply-advanced; + container open-synchronized { + presence "enable open-synchronized"; + description "Allow syslog message for session open events"; + } + container close-synchronized { + presence "enable close-synchronized"; + description "Allow syslog message for session close events"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipv4addr; + } + } + leaf message-rate-limit { + description "Maximum syslog messages per second allowed from this interface. Applies per member if set at aggregate level"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + } + grouping three-color-policer-type { + description "Three-color policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Three color policer is filter-specific"; + type empty; + } + leaf physical-interface-policer { + description "Policer is physical interface policer"; + type empty; + } + container action { + description "Action for three-color policer"; + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Loss priority for packet"; + uses three-color-policer-action; + } + } + choice rate-type-choice { + case case_1 { + container single-rate { + description "Single-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic"; + units "bytes"; + type string; + } + leaf excess-burst-size { + description "Burst size allowed for excess traffic"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + case case_3 { + container two-rate { + presence "enable two-rate"; + description "Two-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic "; + units "bytes"; + type string; + } + leaf peak-information-rate { + description "Bandwidth allowed for peak traffic"; + units "bits per second"; + type string; + } + leaf peak-burst-size { + description "Burst size allowed for peak traffic "; + units "bytes"; + type string; + } + container aggregate-policing { + presence "enable aggregate-policing"; + description "Configure Aggregate Policer"; + uses apply-advanced; + list policer { + key name; + ordered-by user; + description "Two-color policer to be used as aggregate"; + max-elements 1; + leaf name { + description "Name of two-color policer to use to aggregate police"; + type string; + } + uses apply-advanced; + leaf aggregate-sharing-mode { + description "Hierarchical Metering model"; + type enumeration { + enum "hybrid" { + description "Child policer CIR rates are guaranteed rates and PIR rate are peak rates for member flow"; + } + } + } + } + } + } + } + case case_4 { + } + } + } + grouping three-color-policer-action { + description "Action for three-color policer"; + leaf name { + description "Loss priority for packet"; + type enumeration { + enum "high" { + description "High loss priority"; + } + } + } + uses apply-advanced; + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunnel_end_point { + description "Define a tunnel end point"; + leaf name { + description "Tunnel end-point identifier (ASCII string)"; + type string { + } + } + uses apply-advanced; + choice l3-protocol { + case case_1 { + container ipv6 { + presence "enable ipv6"; + description "Enter an IPv6 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv6addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv6prefix; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Enter an IPv4 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv4addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv4prefix; + } + } + } + } + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "Tunnel is GRE"; + uses apply-advanced; + leaf key { + description "Key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + container gre-in-udp { + presence "enable gre-in-udp"; + description "Tunnel is GRE-in-UDP"; + uses apply-advanced; + leaf source-port { + description "UDP source port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "UDP destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf key { + description "GRE key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + grouping vlan_map { + description "IEEE 802.1q Virtual LAN (VLAN) Tag mapping"; + uses apply-advanced; + choice operation_choices { + case case_1 { + leaf push { + description "Push a VLAN tag"; + type empty; + } + } + case case_2 { + leaf swap { + description "Swap a VLAN tag"; + type empty; + } + } + case case_3 { + leaf pop { + description "Pop a VLAN tag"; + type empty; + } + } + case case_4 { + leaf push-push { + description "Push two VLAN tags"; + type empty; + } + } + case case_5 { + leaf swap-push { + description "Swap VLAN tag and push a new VLAN tag"; + type empty; + } + } + case case_6 { + leaf swap-swap { + description "Swap both outer and inner VLAN tags"; + type empty; + } + } + case case_7 { + leaf pop-swap { + description "Pop outer VLAN tag and swap inner VLAN tag"; + type empty; + } + } + case case_8 { + leaf pop-pop { + description "Pop both outer and inner VLAN tags"; + type empty; + } + } + } + leaf tag-protocol-id { + description "IEEE 802.1q Tag Protocol Identifier to rewrite"; + type string { + } + } + leaf inner-tag-protocol-id { + description "IEEE 802.1q Tag Protocol ID to rewrite for inner tag"; + type string; + } + leaf vlan-id { + description "VLAN ID to rewrite"; + type string; + } + leaf inner-vlan-id { + description "VLAN ID to rewrite for inner tag"; + type string; + } + } + grouping vpls_filter { + description "Define an VPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice port_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + } + } + } + grouping vrrp-group { + description "Virtual Router Redundancy Protocol group"; + leaf name { + description "Identifier for VRRP group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + choice address { + case case_1 { + leaf-list virtual-address { + ordered-by user; + description "One or more virtual IPv4 addresses"; + type jt:ipv4addr; + } + } + case case_2 { + leaf-list virtual-inet6-address { + ordered-by user; + description "One or more virtual inet6 addresses"; + type jt:ipv6addr; + } + } + } + leaf virtual-link-local-address { + description "Virtual link-local addresses"; + type jt:ipv6addr; + } + leaf priority { + description "Virtual router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf preferred { + description "Preferred group on subnet"; + type empty; + } + choice advertisement_type { + case case_1 { + leaf advertise-interval { + description "Advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + case case_2 { + leaf fast-interval { + description "Fast advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 40950"; + } + } + } + } + case case_3 { + leaf inet6-advertise-interval { + description "Inet6 advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 40000"; + } + } + } + } + } + choice preempt_type { + case case_1 { + container preempt { + presence "enable preempt"; + description "Allow preemption"; + uses apply-advanced; + leaf hold-time { + description "Preemption hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + } + case case_2 { + leaf no-preempt { + description "Don't allow preemption"; + type empty; + } + } + } + choice accept_type { + case case_1 { + leaf accept-data { + description "Accept packets destined for virtual IP address"; + type empty; + } + } + case case_2 { + leaf no-accept-data { + description "Don't accept packets destined for virtual IP address"; + type empty; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "HMAC-MD5-96"; + } + enum "simple" { + description "Simple password"; + } + } + } + leaf authentication-key { + description "Authentication key"; + type jt:unreadable; + } + container track { + description "Interfaces to track for VRRP group"; + uses apply-advanced; + leaf priority-hold-time { + description "Priority hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface to track in VRRP group"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list bandwidth-threshold { + key name; + description "Track bandwidth of interface"; + leaf name { + description "Interface speed below which priority cost is incurred"; + units "bits per second"; + type string; + } + leaf priority-cost { + description "Value subtracted from priority when bandwidth is below threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + leaf priority-cost { + description "Value to subtract from priority when interface is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + list route { + key "route_address routing-instance"; + ordered-by user; + description "Route to track in VRRP group"; + leaf route_address { + description "Route address"; + type jt:ipprefix-mandatory; + } + leaf routing-instance { + description "Routing instance to which route belongs, or 'default'"; + type string { + } + } + leaf priority-cost { + description "Value to subtract from priority when route is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + } + container vrrp-inherit-from { + description "VRRP group to follow for this VRRP group"; + uses apply-advanced; + leaf active-interface { + description "Interface name of VRRP active group"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf active-group { + description "Identifier for VRRP active group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-event-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-event-options@2019-01-01.yang new file mode 100644 index 00000000..a1dec82b --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-event-options@2019-01-01.yang @@ -0,0 +1,1046 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-event-options { + namespace "http://yang.juniper.net/junos-es/conf/event-options"; + + prefix jc-event-options; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos event-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses event-options-group; + } + augment /jc:configuration/jc:groups { + uses event-options-group; + } + grouping event-options-group { + container event-options { + description "Event processing configuration"; + uses apply-advanced; + leaf max-policies { + description "Number of policies that can be executed simultaneously"; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + list generate-event { + key name; + ordered-by user; + description "Generate an internal event"; + max-elements 10; + leaf name { + description "Name of the event to be generated"; + type string { + length "1 .. 63"; + } + } + choice time_choice { + case case_1 { + leaf time-of-day { + description "Time of day at which to generate event (hh:mm:ss)"; + type jt:time-of-day; + } + } + case case_2 { + leaf time-interval { + description "Frequency for generating the event"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2592000"; + } + } + } + } + } + leaf no-drift { + description "Avoid event generation delay propagating to next event"; + type empty; + } + } + list policy { + key name; + ordered-by user; + description "Event policy for event policy manager"; + leaf name { + description "Name of policy"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list events { + ordered-by user; + description "List of events that trigger this policy"; + type string; + } + list within { + key name; + ordered-by user; + description "List of events correlated with trigering events"; + leaf name { + description "Time within which correlated events must occur (or not)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + uses apply-advanced; + container trigger { + description "Correlate events based on the number of occurrences"; + choice when { + case case_1 { + leaf until { + description "Trigger when occurrences of triggering event < 'count'"; + type empty; + } + } + case case_2 { + leaf on { + description "Trigger when occurrences of triggering event = 'count'"; + type empty; + } + } + case case_3 { + leaf after { + description "Trigger when occurrences of triggering event > 'count'"; + type empty; + } + } + } + leaf count { + description "Number of occurrences of triggering event"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list events { + ordered-by user; + description "List of events that must occur within time interval"; + type string; + } + container not { + description "Events must not occur within time interval"; + leaf-list events { + ordered-by user; + description "List of events that must not occur within time interval"; + type string; + } + } + } + list attributes-match { + key "from-event-attribute condition to-event-attribute-value"; + ordered-by user; + description "List of attributes to compare for two events"; + leaf from-event-attribute { + description "First attribute to compare"; + type string { + } + } + leaf condition { + description "Relationship that must hold between attributes"; + type enumeration { + enum "equals" { + description "Attributes match"; + } + enum "starts-with" { + description "Second attribute starts with first attribute value"; + } + enum "matches" { + description "Regular expression matching the first attribute value"; + } + } + } + leaf to-event-attribute-value { + description "Second attribute or value to compare"; + type string; + } + } + container then { + description "List of actions to perform when policy matches"; + uses apply-advanced; + leaf ignore { + description "Do not log event or perform any other action"; + type empty; + } + container priority-override { + description "Change syslog priority value"; + uses apply-advanced; + leaf facility { + description "Facility type"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "ntp" { + description "NTP process"; + } + enum "security" { + description "Security related"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "dfc" { + description "Dynamic flow capture"; + } + enum "external" { + description "Local external applications"; + } + enum "firewall" { + description "Firewall filtering system"; + } + enum "pfe" { + description "Packet Forwarding Engine"; + } + enum "conflict-log" { + description "Configuration conflict log"; + } + enum "change-log" { + description "Configuration change log"; + } + enum "interactive-commands" { + description "Commands executed by the UI"; + } + } + } + leaf severity { + description "Severity type"; + type enumeration { + enum "emergency" { + description "Panic conditions"; + } + enum "alert" { + description "Conditions that should be corrected immediately"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "Error conditions"; + } + enum "warning" { + description "Warning messages"; + } + enum "notice" { + description "Conditions that should be handled specially"; + } + enum "info" { + description "Informational messages"; + } + } + } + } + list upload { + key "filename destination"; + ordered-by user; + description "Upload file to specified destination"; + leaf filename { + description "Name of file to upload"; + type string; + } + leaf destination { + description "Location to which to output file"; + type string; + } + uses apply-advanced; + leaf user-name { + description "User under whose privileges upload action will execute"; + type string; + } + leaf transfer-delay { + description "Delay before uploading file to the destination"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container retry-count { + description "Upload output-filename retry attempt count"; + leaf retry { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf retry-interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container change-configuration { + description "Change configuration"; + uses apply-advanced; + container retry { + description "Change configuration retry attempt count"; + leaf count { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list commands { + key name; + ordered-by user; + description "List of configuration commands"; + leaf name { + description "Configuration command to issue"; + type string; + } + uses apply-advanced; + } + leaf user-name { + description "User under whose privileges configuration should be changed"; + type string; + } + container commit-options { + description "List of commit options"; + uses apply-advanced; + container check { + presence "enable check"; + description "Check correctness of syntax; do not apply changes"; + uses apply-advanced; + leaf synchronize { + description "Synchronize commit on both Routing Engines"; + type empty; + } + } + leaf synchronize { + description "Synchronize commit on both Routing Engines"; + type empty; + } + leaf force { + description "Force commit on other Routing Engine (ignore warnings)"; + type empty; + } + leaf log { + description "Message to write to commit log"; + type string { + length "1 .. 512"; + } + } + } + } + container execute-commands { + description "Issue one or more CLI commands"; + uses apply-advanced; + list commands { + key name; + ordered-by user; + description "List of CLI commands to issue"; + leaf name { + description "CLI command to issue"; + type string; + } + uses apply-advanced; + } + leaf user-name { + description "User under whose privileges command will execute"; + type string; + } + leaf output-filename { + description "Name of file in which to write command output"; + type string { + } + } + list destination { + key name; + ordered-by user; + description "Location to which to upload command output"; + max-elements 1; + leaf name { + description "Location to which to upload command output"; + type string; + } + uses apply-advanced; + leaf transfer-delay { + description "Delay before uploading file to the destination"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container retry-count { + description "Upload output-filename retry attempt count"; + leaf retry { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf retry-interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf output-format { + description "Format of output from CLI commands"; + default "xml"; + type enumeration { + enum "text" { + description "Formatted ASCII text"; + } + enum "xml" { + description "JUNOS XML tags"; + } + } + } + } + list event-script { + key name; + ordered-by user; + description "Invoke event scripts"; + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + list arguments { + key name; + ordered-by user; + description "Command line argument to the script"; + leaf name { + description "Name of the argument"; + type string { + length "1 .. 254"; + } + } + leaf value { + description "Value of the argument"; + type string; + } + } + leaf user-name { + description "User under whose privileges event script will execute"; + type string; + } + leaf output-filename { + description "Name of file in which to write event script output"; + type string { + } + } + list destination { + key name; + ordered-by user; + description "Location to which to upload event script output"; + max-elements 1; + leaf name { + description "Location to which to upload event script output"; + type string; + } + uses apply-advanced; + leaf transfer-delay { + description "Delay before uploading files"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container retry-count { + description "Upload output-filename retry attempt count"; + leaf retry { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf retry-interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf output-format { + description "Format of output from event-script"; + type enumeration { + enum "text" { + description "Formatted ASCII text"; + } + enum "xml" { + description "JUNOS XML tags"; + } + } + } + } + leaf raise-trap { + description "Raise SNMP trap"; + type empty; + } + } + } + container event-script { + description "Configure event-scripts"; + uses apply-advanced; + leaf optional { + description "Allow commit to succeed if the script is missing"; + type empty; + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + container dampen { + presence "enable dampen"; + description "Run event scripts in dampen mode"; + uses apply-advanced; + container dampen-options { + description "Dampen options for event scripts"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container traceoptions { + description "Trace options for event scripts"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace important events"; + } + enum "input" { + description "Trace script input data"; + } + enum "offline" { + description "Generate data for offline development"; + } + enum "output" { + description "Trace script output data"; + } + enum "rpc" { + description "Trace script RPCs"; + } + enum "xslt" { + description "Trace the XSLT library"; + } + enum "all" { + description "Trace all operations"; + } + } + } + } + } + list file { + key name; + ordered-by user; + description "File name for event script"; + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf python-script-user { + description "Run the python event script with privileges of user"; + type string; + } + container dampen { + presence "enable dampen"; + description "Run script in dampen mode"; + uses apply-advanced; + container dampen-options { + description "Dampen options for the script"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + list remote-execution { + key name; + ordered-by user; + description "Remote login username and password details for script"; + leaf name { + description "Remote hostname"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf username { + description "SSH username for login into the remote host"; + type string { + } + } + leaf passphrase { + description "SSH passphrase for login into the remote host"; + type jt:unreadable; + } + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + } + list destinations { + key name; + ordered-by user; + description "List of destinations referred to in 'then' clause"; + leaf name { + description "Destination name"; + type string; + } + uses apply-advanced; + leaf transfer-delay { + description "Delay before transferring files"; + default "0"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list archive-sites { + key name; + ordered-by user; + description "List of archive destinations"; + leaf name { + description "URL of destination for file"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + } + } + container traceoptions { + description "Trace options for the event processing daemon"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "List of event types to include in trace"; + leaf name { + type enumeration { + enum "server" { + description "Communication with processes that are generating events"; + } + enum "configuration" { + description "Reading of configuration"; + } + enum "events" { + description "Event processing"; + } + enum "timer-events" { + description "Internally generated events"; + } + enum "database" { + description "Events involving storage and retrieval in events database"; + } + enum "policy" { + description "Policy processing"; + } + enum "registration" { + description "Event registration"; + } + enum "syslogd" { + description "Syslog related traces"; + } + enum "all" { + description "Everything"; + } + } + } + } + } + list redundancy-event { + key name; + ordered-by user; + description "Events for policies to take action on"; + uses srd-events-object; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping srd-events-object { + description "Events for policies to take action on"; + leaf name { + description "Redundancy event name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container monitor { + description "Interfaces to be tracked"; + uses apply-advanced; + list link-down { + key name; + description "Interfaces to be monitored for link-down events"; + leaf name { + description "Name of the interface for monitoring link-down events"; + type string; + } + uses apply-advanced; + } + container process { + description "Processes related events"; + uses apply-advanced; + container routing { + description "Routing process related events"; + uses apply-advanced; + leaf restart { + description "Routing protocol restart event"; + type empty; + } + leaf abort { + description "Routing protocol abort event"; + type empty; + } + } + } + container peer { + description "Events from remote peers"; + uses apply-advanced; + leaf event { + description "Peer Events"; + type enumeration { + enum "mastership-release" { + description "Received mastership-release message from peer"; + } + enum "mastership-acquire" { + description "Received mastership-acquire message from peer"; + } + } + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-fabric@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-fabric@2019-01-01.yang new file mode 100644 index 00000000..86e2fd93 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-fabric@2019-01-01.yang @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-fabric { + namespace "http://yang.juniper.net/junos-es/conf/fabric"; + + prefix jc-fabric; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos fabric configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses fabric-group; + } + augment /jc:configuration/jc:groups { + uses fabric-group; + } + grouping fabric-group { + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-firewall@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-firewall@2019-01-01.yang new file mode 100644 index 00000000..fd30f554 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-firewall@2019-01-01.yang @@ -0,0 +1,6334 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-firewall { + namespace "http://yang.juniper.net/junos-es/conf/firewall"; + + prefix jc-firewall; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos firewall configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses firewall-group; + } + augment /jc:configuration/jc:groups { + uses firewall-group; + } + grouping firewall-group { + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "Protocol family IPv4 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv4 dialer filter"; + uses inet_dialer_filter; + } + list prefix-action { + key name; + ordered-by user; + description "Define a prefix action"; + uses prefix_action; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + list simple-filter { + key name; + ordered-by user; + description "Define an IPv4 firewall simple filter"; + uses inet_simple_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv4 service filters"; + uses inet_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet_fuf; + } + } + container inet6 { + description "Protocol family IPv6 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv6 dialer filter"; + uses inet6_dialer_filter; + } + list filter { + key name; + ordered-by user; + description "Define an IPv6 firewall filter"; + uses inet6_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv6 service filters"; + uses inet6_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet6_fuf; + } + } + container mpls { + description "Protocol family MPLS for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an mpls dialer filter"; + uses mpls_dialer_filter; + } + list filter { + key name; + ordered-by user; + uses mpls_filter; + } + } + container vpls { + description "Protocol family VPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container evpn { + description "Protocol family EVPN for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses bridge_filter; + } + } + container ccc { + description "Protocol family CCC for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses ccc_filter; + } + } + container any { + description "Protocol-independent filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define a protocol independent filter"; + uses any_filter; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses es_filter; + } + } + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses firewall_policer; + } + list flexible-match { + key name; + ordered-by user; + description "Flexible packet match template definition"; + uses firewall_flexible_match; + } + list tunnel-end-point { + key name; + ordered-by user; + description "Tunnel end-point template definition"; + uses tunnel_end_point; + } + list interface-set { + key name; + ordered-by user; + description "Interface set definition"; + uses interface_set_type; + } + list three-color-policer { + key name; + ordered-by user; + description "Three-color policer"; + uses three-color-policer-type; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + } + } + grouping any_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object_oam; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping bridge_filter { + description "Define a BRIDGE firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice port_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + container forwarding-policy { + description "Specify forwarding policy for extended port"; + uses apply-advanced; + leaf uplink-select { + description "Specify port group for uplink selection"; + type string; + } + } + } + } + } + grouping ccc_filter { + description "Define a CCC firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Any counters defined will be interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to the specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping es_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice l2-encap-type_choice { + case case_1 { + leaf-list l2-encap-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list l2-encap-type-except { + ordered-by user; + type string; + } + } + } + choice vlan_choice { + case case_1 { + } + case case_2 { + } + } + choice dot1q-tag_choice { + case case_1 { + } + case case_2 { + } + } + choice dot1q-user-priority_choice { + case case_1 { + } + case case_2 { + } + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + } + } + choice vlan-ether-type_choice { + case case_1 { + } + case case_2 { + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice arp-type_choice { + case case_1 { + } + } + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection - (Ingress only)"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + leaf vlan { + description "Name of VLAN - (Ingress only)"; + type string; + } + } + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_flexible_match { + description "Define a flexible match"; + leaf name { + description "Flex match template name"; + type string { + } + } + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping firewall_policer { + description "Define a policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + leaf physical-interface-policer { + description "Policer is physical interface policer"; + type empty; + } + choice exceeding { + case case_1 { + container if-exceeding { + presence "enable if-exceeding"; + description "Define rate limits"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Bandwidth limit in percentage"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + } + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf out-of-profile { + description "Discard packets only if both congested and over threshold"; + type empty; + } + } + } + grouping firewall_prefix_list { + leaf name { + description "Prefix list to match"; + type string; + } + leaf except { + description "Match addresses not in this prefix list"; + type empty; + } + } + grouping inet6_dialer_filter { + description "Define an IPv6 dialer filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping firewall_addr6_object { + leaf name { + description "Prefix to match"; + type jt:ipv6prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping inet6_filter { + description "Define an IPv6 firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + leaf service-filter-hit { + description "Match if service-filter-hit is set"; + type empty; + } + choice hop-limit_choice { + case case_1 { + } + case case_2 { + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inet6cnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + } + case case_3 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_4 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_5 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_6 { + } + case case_7 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_8 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_9 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_10 { + } + case case_11 { + } + case case_12 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf no-route { + description "Send ICMPv6 No Route message"; + type empty; + } + } + case case_2 { + leaf administratively-prohibited { + description "Send ICMPv6 Administratively Prohibited message"; + type empty; + } + } + case case_3 { + leaf beyond-scope { + description "Send ICMPv6 Beyond Scope of Source Address message"; + type empty; + } + } + case case_4 { + leaf address-unreachable { + description "Send ICMPv6 Address Unreachable message"; + type empty; + } + } + case case_5 { + leaf port-unreachable { + description "Send ICMPv6 Port Unreachable message"; + type empty; + } + } + case case_6 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + case case_7 { + leaf network-unreachable { + description "Send ICMPv4 Network Unreachable message"; + status deprecated; + type empty; + } + } + case case_8 { + leaf host-unreachable { + description "Send ICMPv4 Host Unreachable message"; + status deprecated; + type empty; + } + } + case case_9 { + leaf protocol-unreachable { + description "Send ICMPv4 Protocol Unreachable message"; + status deprecated; + type empty; + } + } + case case_10 { + leaf source-route-failed { + description "Send ICMPv4 Source Route Failed message"; + status deprecated; + type empty; + } + } + case case_11 { + leaf network-unknown { + description "Send ICMPv4 Network Unknown message"; + status deprecated; + type empty; + } + } + case case_12 { + leaf host-unknown { + description "Send ICMPv4 Host Unknown message"; + status deprecated; + type empty; + } + } + case case_13 { + leaf source-host-isolated { + description "Send ICMPv4 Source Host Isolated message"; + status deprecated; + type empty; + } + } + case case_14 { + leaf network-prohibited { + description "Send ICMPv4 Network Prohibited message"; + status deprecated; + type empty; + } + } + case case_15 { + leaf host-prohibited { + description "Send ICMPv4 Host Prohibited message"; + status deprecated; + type empty; + } + } + case case_16 { + leaf bad-network-tos { + description "Send ICMPv4 Bad Network ToS message"; + status deprecated; + type empty; + } + } + case case_17 { + leaf bad-host-tos { + description "Send ICMPv4 Bad Host ToS message"; + status deprecated; + type empty; + } + } + case case_18 { + leaf precedence-violation { + description "Send ICMPv4 Precedence Violation message"; + status deprecated; + type empty; + } + } + case case_19 { + leaf precedence-cutoff { + description "Send ICMPv4 Precedence Cutoff message"; + status deprecated; + type empty; + } + } + } + } + } + } + } + } + } + grouping inet6_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "next-header" { + description "Include next header protocol in match set"; + } + enum "payload-protocol" { + description "Include payload protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "traffic-class" { + description "Include traffic-class (DSCP) in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr6_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice next-header_choice { + case case_1 { + container next-header { + description "Match next header protocol type"; + uses match_simple_protocol_value; + } + } + } + choice traffic-class_choice { + case case_1 { + container traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping inet6_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_dialer_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping inet_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + leaf service-filter-hit { + description "Match if service-filter-hit is set"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice rat-type_choice { + case case_1 { + leaf-list rat-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list rat-type-except { + ordered-by user; + type string; + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inetcnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + leaf virtual-channel { + description "Set the output interface virtual channel"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + container discard { + presence "enable discard"; + description "Discard the packet"; + uses apply-advanced; + leaf accounting { + description "Named discard collector for packet"; + type string; + } + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_4 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_5 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_6 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_7 { + } + case case_8 { + } + case case_9 { + } + case case_10 { + } + case case_11 { + } + case case_12 { + } + case case_13 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf network-unreachable { + description "Send ICMP Network Unreachable message"; + type empty; + } + } + case case_2 { + leaf host-unreachable { + description "Send ICMP Host Unreachable message"; + type empty; + } + } + case case_3 { + leaf protocol-unreachable { + description "Send ICMP Protocol Unreachable message"; + type empty; + } + } + case case_4 { + leaf port-unreachable { + description "Send ICMP Port Unreachable message"; + type empty; + } + } + case case_5 { + leaf fragmentation-needed { + description "Send ICMP Fragmentation Needed message"; + type empty; + } + } + case case_6 { + leaf source-route-failed { + description "Send ICMP Source Route Failed message"; + type empty; + } + } + case case_7 { + leaf network-unknown { + description "Send ICMP Network Unknown message"; + type empty; + } + } + case case_8 { + leaf host-unknown { + description "Send ICMP Host Unknown message"; + type empty; + } + } + case case_9 { + leaf source-host-isolated { + description "Send ICMP Source Host Isolated message"; + type empty; + } + } + case case_10 { + leaf network-prohibited { + description "Send ICMP Network Prohibited message"; + type empty; + } + } + case case_11 { + leaf host-prohibited { + description "Send ICMP Host Prohibited message"; + type empty; + } + } + case case_12 { + leaf bad-network-tos { + description "Send ICMP Bad Network ToS message"; + type empty; + } + } + case case_13 { + leaf bad-host-tos { + description "Send ICMP Bad Host ToS message"; + type empty; + } + } + case case_14 { + leaf administratively-prohibited { + description "Send ICMP Administratively Prohibited message"; + type empty; + } + } + case case_15 { + leaf precedence-violation { + description "Send ICMP Precedence Violation message"; + type empty; + } + } + case case_16 { + leaf precedence-cutoff { + description "Send ICMP Precedence Cutoff message"; + type empty; + } + } + case case_17 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + } + } + } + case case_14 { + } + } + leaf prefix-action { + description "Police or count packets using named prefix action"; + type string { + } + } + } + } + } + grouping inet_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "protocol" { + description "Include IP protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "dscp" { + description "Include Differentiated Services (DiffServ) code point in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping inet_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_simple_filter { + leaf name { + description "Name of simple filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + status deprecated; + type empty; + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Destination IP address"; + uses firewall_addr_simple_object; + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf discard { + description "Discard the packet"; + type empty; + } + leaf accept { + description "Accept the packet"; + type empty; + } + } + } + } + grouping interface_set_type { + leaf name { + description "Interface set name"; + type string { + } + } + uses apply-advanced; + list interface-list { + key name; + ordered-by user; + description "Interface list"; + leaf name { + description "Interface name"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping match_interface_object { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_object_oam { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_set_object { + leaf name { + description "Interface set to match"; + type string; + } + } + grouping match_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping mpls_dialer_filter { + description "Define an MPLS DIALER filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping mpls_filter { + description "Define an MPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice mplscnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping prefix_action { + leaf name { + description "Prefix action name"; + type string { + } + } + uses apply-advanced; + leaf policer { + description "Police the packet using a set of named policer"; + type string { + } + } + leaf count { + description "Enable counters"; + type empty; + } + leaf filter-specific { + description "Filter specific, else term specific"; + type empty; + } + leaf subnet-prefix-length { + description "Prefix length for the total address range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + choice source_or_dest { + case case_1 { + leaf source-prefix-length { + description "Source prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + case case_2 { + leaf destination-prefix-length { + description "Destination prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + } + grouping three-color-policer-type { + description "Three-color policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Three color policer is filter-specific"; + type empty; + } + leaf physical-interface-policer { + description "Policer is physical interface policer"; + type empty; + } + container action { + description "Action for three-color policer"; + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Loss priority for packet"; + uses three-color-policer-action; + } + } + choice rate-type-choice { + case case_1 { + container single-rate { + description "Single-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic"; + units "bytes"; + type string; + } + leaf excess-burst-size { + description "Burst size allowed for excess traffic"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + case case_3 { + container two-rate { + presence "enable two-rate"; + description "Two-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic "; + units "bytes"; + type string; + } + leaf peak-information-rate { + description "Bandwidth allowed for peak traffic"; + units "bits per second"; + type string; + } + leaf peak-burst-size { + description "Burst size allowed for peak traffic "; + units "bytes"; + type string; + } + container aggregate-policing { + presence "enable aggregate-policing"; + description "Configure Aggregate Policer"; + uses apply-advanced; + list policer { + key name; + ordered-by user; + description "Two-color policer to be used as aggregate"; + max-elements 1; + leaf name { + description "Name of two-color policer to use to aggregate police"; + type string; + } + uses apply-advanced; + leaf aggregate-sharing-mode { + description "Hierarchical Metering model"; + type enumeration { + enum "hybrid" { + description "Child policer CIR rates are guaranteed rates and PIR rate are peak rates for member flow"; + } + } + } + } + } + } + } + case case_4 { + } + } + } + grouping three-color-policer-action { + description "Action for three-color policer"; + leaf name { + description "Loss priority for packet"; + type enumeration { + enum "high" { + description "High loss priority"; + } + } + } + uses apply-advanced; + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + } + } + grouping tunnel_end_point { + description "Define a tunnel end point"; + leaf name { + description "Tunnel end-point identifier (ASCII string)"; + type string { + } + } + uses apply-advanced; + choice l3-protocol { + case case_1 { + container ipv6 { + presence "enable ipv6"; + description "Enter an IPv6 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv6addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv6prefix; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Enter an IPv4 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv4addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv4prefix; + } + } + } + } + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "Tunnel is GRE"; + uses apply-advanced; + leaf key { + description "Key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + container gre-in-udp { + presence "enable gre-in-udp"; + description "Tunnel is GRE-in-UDP"; + uses apply-advanced; + leaf source-port { + description "UDP source port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "UDP destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf key { + description "GRE key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + grouping vpls_filter { + description "Define an VPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice port_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-forwarding-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-forwarding-options@2019-01-01.yang new file mode 100644 index 00000000..bb5d2f10 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-forwarding-options@2019-01-01.yang @@ -0,0 +1,7522 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-forwarding-options { + namespace "http://yang.juniper.net/junos-es/conf/forwarding-options"; + + prefix jc-forwarding-options; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos forwarding-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses forwarding-options-group; + } + augment /jc:configuration/jc:groups { + uses forwarding-options-group; + } + grouping forwarding-options-group { + container forwarding-options { + description "Configure options to control packet forwarding"; + uses juniper-forwarding-options; + } + } + grouping juniper-forwarding-options { + uses apply-advanced; + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + choice sampling-or-packet-capture { + case case_1 { + container sampling { + description "Statistical traffic sampling options"; + uses juniper-sampling-options; + } + } + case case_2 { + container packet-capture { + description "Packet capture options"; + uses juniper-packet-capture-options; + } + } + } + list accounting { + key name; + description "Configure accounting of traffic"; + uses juniper-packet-accounting-options; + } + container port-mirroring { + description "Configure port mirroring of traffic"; + uses juniper-port-mirror-options; + } + container load-balance { + description "Configure load-balancing attributes on the forwarding path"; + uses apply-advanced; + container indexed-load-balance { + presence "enable indexed-load-balance"; + description "Use indexed permuted next hop lists for unilist and aggregate next hops"; + uses apply-advanced; + } + container per-flow { + uses apply-advanced; + } + container per-prefix { + presence "enable per-prefix"; + uses apply-advanced; + leaf hash-seed { + description "Specifies per-router input value for per-prefix load-balancing hash function"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + } + } + container hash-key { + description "Select data used in the hash key"; + uses junos_hash_key; + } + container enhanced-hash-key { + description "Select data used in the hash key for Enhanced IP Forwarding Engines"; + uses apply-advanced; + container hash-seed { + presence "enable hash-seed"; + description "Hash seed"; + uses apply-advanced; + } + container services-loadbalancing { + description "Select key to load balance across service PICs"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf src-prefix-len { + description "Enhanced hash key inet6 source prefix length"; + default "127"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "56 .. 127"; + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf type-of-service { + description "Include TOS byte in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf l2tp-tunnel-session-identifier { + description "Include TID SID in the hash key for L2TP packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class byte in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + leaf label-1-exp { + description "Include EXP of first MPLS label from the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + choice pseudowire_option { + case case_1 { + leaf no-ether-pseudowire { + description "Omit IP payload over ethernet PW from the hash-key"; + type empty; + } + } + case case_2 { + } + } + leaf no-payload { + description "Omit MPLS payload data from the hash key"; + type empty; + } + } + container multiservice { + description "Multiservice protocol (bridged/CCC/VPLS) family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in hash key"; + type empty; + } + leaf outer-priority { + description "Include Outer 802.1 Priority bits in the hash key"; + type empty; + } + leaf no-payload { + description "Omit payload data from the hash key"; + type empty; + } + leaf no-mac-addresses { + description "Omit source and destination MAC addresses from the hash key"; + type empty; + } + } + } + } + container next-hop { + description "Next hop throttle"; + uses apply-advanced; + leaf arp-throttle { + description "Change the arp throttling time(seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 100"; + } + } + } + leaf arp-detect { + description "Change the arp throttling detect time(milliseconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100000"; + } + } + } + } + container multicast { + description "Multicast resolve and mismatch rate"; + uses apply-advanced; + leaf resolve-rate { + description "Multicast resolve rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf mismatch-rate { + description "Multicast interface mismatch rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + } + container explicit-null-cos { + presence "enable explicit-null-cos"; + description "Configure to use MPLS explicit null exp for COS classification"; + uses apply-advanced; + leaf inet { + description "Include family inet"; + type empty; + } + leaf inet6 { + description "Include family inet6"; + type empty; + } + } + container helpers { + description "Port forwarding configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of UDP forwarding helper process on which to enable debugging output"; + leaf name { + type enumeration { + enum "trace" { + description "Trace tracing code"; + } + enum "address" { + description "Trace address management code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "util" { + description "Trace miscellaneous utility code"; + } + enum "gencfg" { + description "Trace fud gencfg message"; + } + enum "domain" { + description "Trace DNS service-specific code"; + } + enum "tftp" { + description "Trace TFTP service-specific code"; + } + enum "bootp" { + description "Trace BOOTP/DHCP service-specific code"; + } + enum "port" { + description "Trace arbitrary protocol code"; + } + enum "if-rtsdb" { + description "Trace interface hierarchy rtsdb"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + container rtsdb-client-traceoptions { + presence "enable rtsdb-client-traceoptions"; + description "SHM rtsock database client library trace options"; + status deprecated; + uses apply-advanced; + container if-rtsdb { + presence "enable if-rtsdb"; + description "Trace interface hierarchy rtsdb"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "map" { + description "Trace shared memory mapping"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container domain { + description "Incoming DNS request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming DNS request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container tftp { + description "Incoming TFTP request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming TFTP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container bootp { + description "Incoming BOOTP/DHCP request forwarding configuration"; + uses apply-advanced; + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vpn { + description "Enable vpn encryption "; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on all interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Incoming BOOTP/DHCP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vpn { + description "Enable vpn encryption "; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on this interface"; + type empty; + } + } + } + list port { + key name; + ordered-by user; + description "Incoming arbitrary protocol request forwarding configuration"; + leaf name { + description "Port number of the protocol to listen"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container inet6 { + description "IPv6 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + leaf source-checking { + description "Discard IPv6 packet when source address type is unspecified, loopback, multicast or link-local "; + type empty; + } + } + container mpls { + description "MPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container vpls { + description "VPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for VPLS DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for VPLS flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for VPLS flood packets"; + type string; + } + } + } + container evpn { + description "EVPN parameters"; + uses apply-advanced; + container filter { + description "Filtering for EVPN DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for EVPN flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for EVPN flood packets"; + type string; + } + } + } + } + list next-hop-group { + key name; + description "Next hop group forwarding option"; + uses juniper-next-hop-group-options; + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + choice load-balance-label-capability-choice { + leaf load-balance-label-capability { + description "Load balance label capability"; + type empty; + } + leaf no-load-balance-label-capability { + description "Don't load balance label capability"; + type empty; + } + } + list ip-options-protocol-queue { + key name; + ordered-by user; + description "IP Options protocol logical queue parameters"; + leaf name { + description "Protocol name"; + type string; + } + uses apply-advanced; + leaf protocol-id { + description "Protocol Identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + leaf queue-depth { + description "Size of the protocol logical options queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 807"; + } + } + } + } + container access-security { + description "Access security configuration"; + uses jdhcp-access-security-type; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping jdhcp-access-security-type { + description "Access security configuration"; + uses apply-advanced; + container router-advertisement-guard { + presence "enable router-advertisement-guard"; + description "Router Advertisement Guard Configuration"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Router Advertisement Guard policy"; + leaf name { + description "Router Advertisement Guard policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container discard { + description "Discard parameters"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + } + container accept { + description "Accept parameters"; + uses apply-advanced; + container match-list { + description "List of parameters to check"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + leaf match-criteria { + description "Match Criteria"; + type enumeration { + enum "match-all" { + description "A match from every list"; + } + enum "match-any" { + description "A match from any list"; + } + } + } + } + container match-options { + presence "enable match-options"; + description "List of Options to check"; + uses apply-advanced; + container hop-limit { + description "Hop limit"; + uses apply-advanced; + leaf maximum { + description "Maximum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf minimum { + description "Minimum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container route-preference { + description "Accept route preference"; + uses apply-advanced; + leaf maximum { + description "Maximum route preference"; + type enumeration { + enum "low" { + description "Route preference low"; + } + enum "medium" { + description "Route preference medium"; + } + enum "high" { + description "Route preference high"; + } + } + } + } + leaf managed-config-flag { + description "Check Managed config flag"; + type empty; + } + leaf other-config-flag { + description "Check Other config flag"; + type empty; + } + } + } + } + container interface { + description "RA Guard config on Interface"; + uses apply-advanced; + list intf-config { + key name; + description "Interface Configuration"; + uses interface-policy; + } + } + container vlans { + description "RA Guard config on Vlan"; + uses apply-advanced; + list vlan-config { + key name; + description "Virtual LAN Configuration"; + uses vlan-policy; + } + } + } + } + grouping interface-policy { + description "Interface Name"; + leaf name { + description "Interface Name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + container mark-interface { + description "Mark interface"; + uses apply-advanced; + choice mark-intf-type { + case case_1 { + leaf trusted { + description "Mark interface trusted"; + type empty; + } + } + case case_2 { + leaf block { + description "Block router-advertisement"; + type empty; + } + } + } + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-next-hop-group-options { + leaf name { + description "Next hop group name"; + type string; + } + uses apply-advanced; + leaf group-type { + description "Next hop group type"; + default "inet"; + type enumeration { + enum "inet" { + description "Group of family inet next-hops"; + } + enum "layer-2" { + description "Layer-2 next-hop group"; + } + enum "inet6" { + description "Group of family inet6 next-hops"; + } + } + } + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses next_hop_group_intf_type; + } + list next-hop-subgroup { + key name; + description "Group of interfaces through which to send sampled traffic"; + uses juniper-next-hop-subgroup-options; + } + } + grouping juniper-next-hop-subgroup-options { + leaf name { + description "Next-hop sub-group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "Interface through which to send the sampled traffic"; + max-elements 16; + uses next_hop_subgroup_intf_type; + } + } + grouping juniper-packet-accounting-options { + leaf name { + description "Name for accounting group"; + type string; + } + uses apply-advanced; + container output { + description "Accounting data disposition"; + uses packet_accounting_output_type; + } + } + grouping juniper-packet-capture-options { + description "Packet capture options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable packet-capture"; + type empty; + } + } + } + container file { + description "Parameters for file that contains captured packets"; + leaf filename { + description "Name of file"; + type string { + length "1 .. 900"; + } + } + leaf files { + description "Maximum number of files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read packet-capture files"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read packet-capture files"; + type empty; + } + } + } + leaf maximum-capture-size { + description "Maximum packet size to capture"; + default "68"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "68 .. 1520"; + } + } + } + } + grouping juniper-port-mirror-options { + uses apply-advanced; + container traceoptions { + description "Port-mirroring trace options"; + uses sampling_traceoptions_type; + } + leaf disable { + description "Disable the global port-mirroring instance"; + type empty; + } + leaf disable-all-instances { + description "Disable the all port-mirroring instances"; + type empty; + } + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container any { + description "Mirror any packets"; + uses apply-advanced; + container output { + description "One or more next hops for port-mirrored packets"; + uses any_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of port-mirroring parameters"; + leaf name { + description "Name for port-mirroring instance"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf disable { + description "Disable the this port-mirroring instance"; + type empty; + } + choice input_params_or_instance { + case case_1 { + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + } + case case_2 { + leaf input-parameters-instance { + description "Name of port-mirroring instance to use for input parameters"; + type string; + } + } + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container any { + description "Mirror any packets"; + uses apply-advanced; + container output { + description "One or more next hops for port-mirrored packets"; + uses any_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + } + } + grouping any_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses any_pm_intf_type; + } + } + case case_2 { + } + } + container hosted-service { + description "Configure Hosted Service"; + uses apply-advanced; + leaf server-profile { + description "Server profile name"; + type string { + length "3 .. 32"; + } + } + } + } + grouping any_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping inet_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv4addr; + } + uses apply-advanced; + } + grouping inet_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + grouping inet_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping juniper-sampling-options { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable global sampling instance"; + type empty; + } + } + } + container traceoptions { + description "Traffic sampling trace options"; + uses sampling_traceoptions_type; + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_input_type; + } + container output { + description "Traffic sampling data disposition"; + status deprecated; + uses sampling_output_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_global_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet6"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_family_inet6_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_instance_input_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet6"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family mpls"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_mpls_output_type; + } + } + container vpls { + description "Sample vpls packets"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family vpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_vpls_output_type; + } + } + container bridge { + description "Sample bridge packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family bridge"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_bridge_output_type; + } + } + } + } + container jflow-service { + description "Jflow service configuration"; + uses apply-advanced; + container traceoptions { + description "Jflow service trace options"; + uses jflow_service_traceoptions; + } + } + container route-record { + description "Sampling route record configuration"; + uses apply-advanced; + container traceoptions { + description "Sampling route record trace options"; + uses route_record_traceoptions; + } + } + } + grouping jflow_service_traceoptions { + description "Traceoptions for jflow-service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of jflow-service to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "sm" { + description "Trace State machine code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping junos_hash_key { + description "Select data used in the hash key"; + uses apply-advanced; + container family { + description "Protocol family"; + container fcoe { + description "FCoE protocol family"; + uses apply-advanced; + container ethernet-interfaces { + description "FCoE hash-key configuration on ethernet interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container fabric-interfaces { + description "FCoE hash-key configuration on fabric interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + } + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + } + leaf session-id { + description "Include session ID in the hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf next-header { + description "Include IP Next Header field in the hash key"; + type empty; + } + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class field in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + leaf destination-port { + description "Include IP destination port in the hash key"; + type empty; + } + leaf source-port { + description "Include IP source port in the hash key"; + type empty; + } + } + leaf session-id { + description "Include session ID in the hash key"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + choice label { + case case_1 { + leaf label-1 { + description "Include the first MPLS label in the hash key"; + type empty; + } + } + case case_2 { + leaf all-labels { + description "Include all MPLS labels in hash key"; + type empty; + } + } + case case_3 { + leaf no-labels { + description "Exclude all MPLS labels from hash key"; + type empty; + } + } + case case_4 { + leaf bottom-label-1 { + description "Include the first MPLS label from bottom-of-stack in the hash key"; + type empty; + } + } + } + leaf label-2 { + description "Include the second MPLS label in the hash key"; + type empty; + } + leaf label-3 { + description "Include the third MPLS label in the hash key"; + type empty; + } + container payload { + description "Include payload data in the hash key"; + uses apply-advanced; + container ip { + presence "enable ip"; + description "Include IPv4 or IPv6 payload data in the hash key"; + uses apply-advanced; + choice layer-4-select { + case case_1 { + choice ip-payload { + case case_1 { + leaf layer-3-only { + description "Include only layer-3 IP information"; + type empty; + } + } + case case_2 { + leaf enable { + description "Include layer3/4 IP payload in the hash key"; + type empty; + } + } + case case_3 { + leaf disable { + description "Exclude layer3/4 IP payload in the hash key"; + type empty; + } + } + } + } + case case_2 { + container port-data { + presence "enable port-data"; + uses apply-advanced; + leaf source-msb { + description "Include the most significant byte of the source port"; + type empty; + } + leaf source-lsb { + description "Include the least significant byte of the source port"; + type empty; + } + leaf destination-msb { + description "Include the most significant byte of the destination port"; + type empty; + } + leaf destination-lsb { + description "Include the least significant byte of the destination port"; + type empty; + } + } + } + } + } + } + } + container multiservice { + description "Multiservice protocol family"; + uses apply-advanced; + leaf source-mac { + description "Include source MAC address in hash key"; + type empty; + } + leaf destination-mac { + description "Include destination MAC address in hash key"; + type empty; + } + } + } + } + grouping layer2_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + leaf interface { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_3 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses layer2_pm_output-routing-instance-type; + } + } + case case_4 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_5 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping layer2_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mpls_pm_family_output_type { + uses apply-advanced; + } + grouping next_hop_group_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_subgroup_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping packet_accounting_output_type { + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list cflowd { + key name; + description "Cflowd collector where flow records are sent"; + uses cflowd_packet_accounting_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + uses packet_export_intf_type; + } + } + grouping cflowd_packet_accounting_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + } + grouping aggregation_type { + uses apply-advanced; + leaf autonomous-system { + description "Aggregate by autonomous system number"; + type empty; + } + leaf protocol-port { + description "Aggregate by protocol and port number"; + type empty; + } + leaf source-prefix { + description "Aggregate by source prefix"; + type empty; + } + leaf destination-prefix { + description "Aggregate by destination prefix"; + type empty; + } + container source-destination-prefix { + presence "enable source-destination-prefix"; + description "Aggregate by source and destination prefix"; + uses apply-advanced; + leaf caida-compliant { + description "Compatible with Caida record format for prefix aggregation (v8)"; + type empty; + } + } + } + grouping packet_export_intf_type { + leaf name { + description "Interfaces used to send monitored information"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf engine-id { + description "Identity (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf engine-type { + description "Type (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + } + grouping pm-rspan-vlan { + description "RSPAN vlan for pm"; + leaf name { + description "VLAN name or VLAN id"; + type string { + } + } + uses apply-advanced; + leaf no-tag { + description "Removes extra RSPAN tag from mirrored packets"; + type empty; + } + } + grouping pm_family_input_type { + description "Input options for port mirroring"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping route_record_traceoptions { + description "Traceoptions for sampling route record"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of route-record to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping sampling_family_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet6_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_family_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + container family { + presence "enable family"; + description "Protocol family"; + status deprecated; + container inet { + description "Sampling parameters for IPv4"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + container mpls { + description "Sampling parameters for MPLS"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + } + } + grouping sampling_instance_bridge_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_bridge_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_bridge_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline_instance { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_instance_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet6_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_inet_global_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_instance_inet_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + } + grouping sampling_instance_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_instance_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_mpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_vpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_vpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_vpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_traceoptions_type { + description "Configure packet sampling traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping vlan-policy { + description "Virtual LAN"; + leaf name { + description "VLAN id"; + type string; + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-interfaces@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-interfaces@2019-01-01.yang new file mode 100644 index 00000000..a220ad70 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-interfaces@2019-01-01.yang @@ -0,0 +1,29954 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-interfaces { + namespace "http://yang.juniper.net/junos-es/conf/interfaces"; + + prefix jc-interfaces; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos interfaces configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses interfaces-group; + } + augment /jc:configuration/jc:groups { + uses interfaces-group; + } + grouping interfaces-group { + container interfaces { + description "Interface configuration"; + uses apply-advanced; + list pic-set { + key name; + ordered-by user; + description "NP bundling configuration"; + leaf name { + description "Pic set name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "One or more interfaces that use this picset"; + leaf name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + } + list fpc { + key name; + ordered-by user; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + list pic { + key name; + ordered-by user; + description "Physical Interface Card number"; + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + } + } + list interface-set { + key name; + ordered-by user; + description "Logical interface set configuration"; + leaf name { + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "One or more interfaces that belong to interface set"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list unit { + key name; + description "One or more logical interface unit numbers"; + leaf name { + description "Unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + uses apply-advanced; + } + list vlan-tags-outer { + key name; + description "One or more outer VLAN tags"; + leaf name { + description "VLAN tag ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + } + container traceoptions { + description "Interface trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Enable all configuration logging"; + } + enum "kernel" { + description "Log configuration IPC messages to kernel"; + } + enum "change-events" { + description "Log changes that produce configuration events"; + } + enum "kernel-detail" { + description "Log details of configuration messages to kernel"; + } + enum "config-states" { + description "Log the configuration state machine changes"; + } + enum "resource-usage" { + description "Log the resource usage for different states"; + } + enum "gres-events" { + description "Log the events related to GRES "; + } + enum "select-events" { + description "Log the events on select state machine "; + } + enum "bfd-events" { + description "Log BFD related events"; + } + enum "lib-events" { + description "Log DCD library related events"; + } + enum "reserved" { + description "Reserved DCD logs"; + } + enum "emergency" { + description "Log DCD emergency events"; + } + enum "alert" { + description "Log DCD alert events"; + } + enum "critical" { + description "Log DCD critical events"; + } + enum "error" { + description "Log DCD error events"; + } + enum "warning" { + description "Log DCD warning events"; + } + enum "notice" { + description "Log DCD notification events"; + } + enum "informational" { + description "Log DCD informations"; + } + enum "debugging" { + description "Log DCD debug events"; + } + enum "verbose" { + description "Log DCD debug all events"; + } + enum "japi" { + description "Log DCD JAPI events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list interface-range { + key name; + ordered-by user; + description "Interface ranges configuration"; + leaf name { + description "Interface-range name"; + type string { + length "1 .. 128"; + } + } + list member { + key name; + ordered-by user; + description "Interfaces belonging to the interface range"; + leaf name { + description "Member interface name"; + type union { + type jt:interface-range-wild; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list member-range { + key name; + ordered-by user; + description "Interfaces range in to format"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf end-range { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + leaf promiscuous-mode { + description "Enable promiscuous mode for L3 interface"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + length "1 .. 64"; + } + } + container fabric-options { + description "Fabric interface specific options"; + uses apply-advanced; + list member-interfaces { + key name; + description "Member interface for the fabric interface"; + leaf name { + description "Interface name of member"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + enum "q921" { + description "Trace ISDN Q.921 frames"; + } + enum "q931" { + description "Trace ISDN Q.931 frames"; + } + } + } + } + container file { + presence "enable file"; + description "Trace file information for ISDN decoded frames"; + uses apply-advanced; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + default "128k"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + uses apply-advanced; + leaf interface { + description "Interface that acts as clock source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + uses apply-advanced; + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf media-type { + description "Interface media type (copper or fiber)"; + type enumeration { + enum "copper" { + description "Copper as media"; + } + enum "fiber" { + description "Fiber as media"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf voice-timeslots { + description "Voice timeslots (1..24),for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + leaf alarm-compliance { + description "Enforce standard for alarm reporting"; + type enumeration { + enum "accunet-t1-5-service" { + description "T1.5 interface specification"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + container dce-options { + description "DCE options"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + leaf dtr { + description "Data Transmit Ready signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + leaf dce-loopback-override { + description "DCE loopback override"; + type empty; + } + } + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf mdi-mode { + description "Cable cross-over mode"; + type enumeration { + enum "auto" { + description "Automatic mdi/mdi-x mode"; + } + enum "force" { + description "Enable auto-MDIX always"; + } + enum "mdi" { + description "MDI(straight through) mode"; + } + enum "mdix" { + description "MDI Cross-over mode"; + } + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf mac-mode { + description "Physical layer protocol of MAC's SERDES interface"; + type enumeration { + enum "sgmii" { + description "Serial Gigabit Media Independent Interface (10/100/1000 Mbps)"; + } + enum "mac-mode-1000base-x" { + description "1000Base-X (1000 Mbps)"; + } + } + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description "Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant-ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + leaf speed { + description "Speed mode"; + type enumeration { + enum "1g" { + description "Speed 1g"; + } + enum "10g" { + description "Speed 10g"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container redundant-ether-options { + description "Ethernet redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 128"; + } + } + } + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + leaf link-speed { + description "Link speed of individual interface that joins the RETH"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "10g" { + description "Links are 10G"; + } + } + } + leaf minimum-links { + description "Minimum number of active links"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf sync-reset { + description "On minimum-link failure notify out of sync to peer"; + type enumeration { + enum "disable" { + description "To disable minimum-link failure handling at LACP level"; + } + enum "enable" { + description "To enable minimum-link failure handling at LACP level"; + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-standby" { + description "MC-AE in active-standby mode"; + } + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dsl-options { + description "DSL interface-specific options"; + uses apply-advanced; + leaf operating-mode { + description "DSL operating mode"; + type enumeration { + enum "auto" { + description "Autonegotiate mode"; + } + enum "ansi-dmt" { + description "ANSI T1.413 Issue II mode"; + } + enum "itu-dmt" { + description "ITU G.992.1 mode"; + } + enum "etsi" { + description "ETSI TS 101 388 V1.3.1 mode"; + } + enum "itu-annexb-ur2" { + description "ITU G.992.1 UR-2 mode"; + } + enum "itu-annexb-non-ur2" { + description "ITU G.992.1 Non UR-2 mode"; + } + enum "itu-dmt-bis" { + description "ITU G.992.3 mode"; + } + enum "adsl2plus" { + description "ITU G.992.5 mode"; + } + enum "annexm-itu-dmt-bis" { + description "AnnexM ITU G.992.3 mode"; + } + enum "annexm-adsl2plus" { + description "AnnexM ITU G.992.5 mode"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container data-input { + description "Configuration for drop-insert data input"; + uses apply-advanced; + choice input-choice { + case case_1 { + leaf system { + description "Data sourced from system"; + type empty; + } + } + case case_2 { + leaf interface { + description "Interface that acts as data source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container switch-options { + description "Front end ports configuration"; + uses apply-advanced; + list switch-port { + key name; + leaf name { + description "Front end port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + uses apply-advanced; + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + } + } + leaf vlan-id { + description "VLAN ID for this port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf cascade-port { + description "Port externally connected to another cascade port"; + type empty; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + container policer-overhead { + description "Policer overhead adjustment for this unit"; + uses apply-advanced; + leaf policer-overhead-value { + description "Policer overhead bytes to be accounted in ingress and egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf ingress { + description "Ingress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf egress { + description "Egress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + } + leaf alias { + description "Interface alias"; + type string; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + container radio-router { + description "Parameters for dynamic link cost management"; + presence "enable radio-router"; + uses dynamic_ifbw_parms_type; + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf deep-vlan-qualified-learning { + description "Enable qualified MAC-address learning on the specified vlan tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range 3; + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container compression { + presence "enable compression"; + description "Various packet header compressions"; + uses apply-advanced; + container rtp { + presence "enable rtp"; + description "Compress and decompress RTP"; + uses apply-advanced; + leaf f-max-period { + description "Maximum number of compressed packets between transmission of full headers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list queues { + ordered-by user; + description "Queue holding RTP packets. Default is queue 1"; + type enumeration { + enum "q0" { + description "RTP packets assigned to queue 0"; + } + enum "q1" { + description "RTP packets assigned to queue 1"; + } + enum "q2" { + description "RTP packets assigned to queue 2"; + } + enum "q3" { + description "RTP packets assigned to queue 3"; + } + } + } + container port { + presence "enable port"; + description "UDP destination ports reserved for RTP packets"; + leaf minimum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container maximum-contexts { + description "Maximum number of simultaneous RTP contexts"; + leaf number { + description "Maximum number of simultaneous RTP contexts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 2048"; + } + } + } + } + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + description "Dynamic Host Configuration Protocol client configuration"; + presence "enable dhcp"; + uses dhcp-client-type; + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + container location-pool-address { + presence "enable location-pool-address"; + description "Location-based IP address pool"; + uses apply-advanced; + leaf pool-name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Not propagate DNS to kernel"; + } + container update-router-advertisement { + description "Dhcpv6 client update rpd for prefix delegation"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interfaces on which to delegate prefix"; + max-elements 3; + leaf name { + description "Interfaces-name on which to delegate prefix"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice enable-recursive-dns-server-option-choice { + leaf enable-recursive-dns-server-option { + description "Enables the recursive DNS server option"; + type empty; + } + leaf no-enable-recursive-dns-server-option { + description "Don't enables the recursive DNS server option"; + type empty; + } + } + } + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + leaf pool { + description "Dialer pool"; + type string { + length "1 .. 64"; + } + } + leaf-list dial-string { + ordered-by user; + description "String to dial out"; + type string { + length "1 .. 63"; + } + max-elements 15; + } + container incoming-map { + description "Map incoming call to dialer"; + uses apply-advanced; + choice caller-type { + case case_1 { + list caller { + key name; + ordered-by user; + description "Caller Id to be screened"; + max-elements 300; + leaf name { + description "Caller ID (upto 15 digits)"; + type string { + } + } + } + } + case case_2 { + leaf accept-all { + description "Accept all incoming calls"; + type empty; + } + } + } + } + leaf callback { + description "Call back on any incoming call to the dialer"; + type empty; + } + leaf callback-wait-period { + description "Time to wait before calling back"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf redial-delay { + description "Time to wait before redialing"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf idle-timeout { + description "Delay before taking down the interface"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list watch-list { + key name; + description "Dialer watch list"; + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + leaf load-threshold { + description "Load threshold for adding interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf load-interval { + description "Interval used to calculate average load"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 180"; + } + } + } + leaf activation-delay { + description "Activation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf deactivation-delay { + description "Deactivation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf initial-route-check { + description "Delay to check primary after the router is up"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 300"; + } + } + } + leaf always-on { + description "Always keep on-line"; + type empty; + } + } + container backup-options { + description "Backup interface configuration options"; + uses apply-advanced; + leaf interface { + description "Backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dynamic-call-admission-control { + description "Dynamic call admission control configuration"; + uses apply-advanced; + leaf bearer-bandwidth-limit { + description "Bearer bandwidth limit"; + units "kilobits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 9999"; + } + } + } + leaf activation-priority { + description "Priority assigned to bearer bandwidth limit"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + container modem-options { + description "MODEM interface-specific options"; + uses apply-advanced; + leaf init-command-string { + description "AT command string to initialize modem"; + type string { + length "1 .. 127"; + } + } + leaf dialin { + default "console"; + type enumeration { + enum "console" { + description "Management console access"; + } + enum "routable" { + description "Routable access"; + } + } + } + } + container isdn-options { + description "ISDN interface-specific options"; + uses apply-advanced; + leaf switch-type { + description "ISDN switch type"; + type enumeration { + enum "ni1" { + description "NI1 BRI variant"; + } + enum "etsi" { + description "ETSI variant"; + } + enum "att5e" { + description "ATT5E variant"; + } + enum "ntdms100" { + description "NTDMS100 variant"; + } + enum "ntt" { + description "INS NET (NTT) PRI/BRI variant"; + } + enum "ni2" { + description "NI2 PRI variant"; + } + } + } + leaf media-type { + description "IDSN media type - voice, data or both"; + default "data"; + type enumeration { + enum "data" { + description "Data"; + } + enum "voice" { + description "Voice"; + } + enum "combined" { + description "Combined"; + } + } + } + leaf spid1 { + description "Service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf spid2 { + description "Additional service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf calling-number { + description "Calling number included in outgoing calls"; + type string { + } + } + list incoming-called-number { + key name; + ordered-by user; + description "Incoming called number to be screened"; + max-elements 30; + leaf name { + description "Number called (upto 15 digits)"; + type string { + } + } + leaf reject { + description "Reject the called number"; + type empty; + } + } + leaf tei-option { + description "ISDN terminal endpoint identifier negotiation options"; + type enumeration { + enum "first-call" { + description "Terminal endpoint identifier negotiation during first call"; + } + enum "power-up" { + description "Terminal endpoint identifier negotiation during power-up"; + } + } + } + leaf static-tei-val { + description "Static TEI value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf t310 { + description "Timer T310 value"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + leaf bchannel-allocation { + description "Allocate PRI dialout b-channel in ascending/descending order"; + default "descending"; + type enumeration { + enum "ascending" { + description "Allocate b-channel in ascending order"; + } + enum "descending" { + description "Allocate b-channel in descending order"; + } + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + list pool { + key name; + description "Dialer pool"; + max-elements 30; + leaf name { + description "Dialer pool identifier"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Dialer pool priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container redundant-pseudo-interface-options { + description "Pseudo interface redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + leaf act-sim { + description "Default SIM slot to connect LTE network"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container cellular-options { + presence "enable cellular-options"; + description "Cellular interface specific options"; + uses apply-advanced; + list sim { + key name; + description "SIM slot to connect LTE network"; + leaf name { + description "SIM slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container select-profile { + description "Profile to be applied"; + leaf profile-id { + description "Profile to be used for data calls"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + container radio-access { + description "Select radio access technology"; + choice rat-value { + case case_1 { + leaf automatic { + description "Automatically selects radio access type"; + type empty; + } + } + case case_2 { + leaf umts-3g-only { + description "3G only"; + type empty; + } + } + case case_3 { + leaf umts-3g-preferred { + description "UMTS 3G Preferred"; + type empty; + } + } + case case_4 { + leaf lte-only { + description "Only LTE"; + type empty; + } + } + case case_5 { + leaf lte-preferred { + description "LTE Preferred"; + type empty; + } + } + } + } + leaf encrypted-sim-unlock-code { + description "Encrypted PIN"; + type jt:unreadable; + } + leaf gateway { + description "Set customer gateway for LTE network"; + type jt:ipprefix; + } + } + } + } + list interface { + key name; + uses interfaces_type; + } + } + } + grouping aggregate-load-balance { + description "Load balancing parameters"; + uses apply-advanced; + choice adaptive_option { + case case_1 { + } + case case_2 { + } + case case_3 { + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping aps_type { + uses apply-advanced; + choice aps_mode { + case case_1 { + leaf working-circuit { + description "Working circuit group name"; + type string; + } + } + case case_2 { + leaf protect-circuit { + description "Protect circuit group name"; + type string; + } + } + } + leaf annex-b { + description "Annex-b mode"; + type empty; + } + leaf wait-to-restore-time { + description "Circuit wait-to-restore time for annex-b"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf preserve-interface { + description "Preserve interface state for fast failover"; + type empty; + } + leaf neighbor { + description "Neighbor address"; + type jt:ipv4addr; + } + leaf paired-group { + description "Name of paired APS group"; + type string; + } + container authentication-key { + presence "enable authentication-key"; + description "Authentication parameters"; + leaf auth_key { + description "Authentication key"; + type jt:unreadable; + } + } + leaf switching-mode { + description "APS switching mode"; + type enumeration { + enum "bidirectional" { + description "Bidirectional"; + } + enum "unidirectional" { + description "Unidirectional"; + } + } + } + leaf advertise-interval { + description "Advertise interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf hold-time { + description "Hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf revert-time { + description "Circuit revert time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + choice break-before-make-choice { + leaf break-before-make { + description "Ensure only one interface is active at a time"; + type empty; + } + leaf no-break-before-make { + description "Don't ensure only one interface is active at a time"; + type empty; + } + } + choice manual_mode { + case case_1 { + leaf request { + description "Request circuit state"; + type enumeration { + enum "protect" { + description "Request protect circuit"; + } + enum "working" { + description "Request working circuit"; + } + } + } + } + case case_2 { + leaf force { + description "Force circuit state"; + type enumeration { + enum "protect" { + description "Force protect circuit"; + } + enum "working" { + description "Force working circuit"; + } + } + } + } + case case_3 { + leaf lockout { + description "Lockout protection"; + type empty; + } + } + } + leaf fast-aps-switch { + description "Fast aps switch"; + type empty; + } + } + grouping cos_policer { + description "Define a CoS based policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + container premium { + description "Policer to apply to premium traffic"; + presence "enable premium"; + uses ethernet_policer; + } + container aggregate { + description "Policer to apply to aggregate traffic"; + presence "enable aggregate"; + uses ethernet_policer; + } + } + grouping cos_policer_input_priority_map { + description "Input policer priority map"; + uses apply-advanced; + container ieee-802.1p { + description "Use IEEE 802.1p to determine policer priority map"; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Input traffic's IEEE 802.1p value to which premium policer is applied"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + grouping cos_policer_output_priority_map { + description "Output policer priority map"; + uses apply-advanced; + container classifier { + description "Use classifier as policer priority map"; + uses apply-advanced; + container premium { + description "Output traffic classifier to which premium policer is applied"; + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Select a classification for this priority map"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Select a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Select low loss priority as premium policer"; + } + enum "high" { + description "Select high loss priority as premium policer"; + } + } + } + } + } + } + } + } + grouping dcd_rx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "tag" { + description "Tag and count overflow packets"; + } + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping dcd_shaping_config { + description "Traffic-shaping profile"; + uses apply-advanced; + choice useless_shaping_choice { + case case_1 { + container cbr { + presence "enable cbr"; + description "Constant bandwidth utilization"; + leaf cbr-value { + description "Constant bandwidth utilization"; + type string; + } + leaf cdvt { + description "Cell Delay Variation Tolerance"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + } + } + case case_2 { + container vbr { + description "Variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + leaf cdvt { + description "Cell Delay Variation Tolerance"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + } + } + case case_3 { + container rtvbr { + description "ATM2 real-time variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + } + leaf queue-length { + description "Queue length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16383"; + } + } + } + } + grouping dcd_tx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping dhcp-client-type { + description "Dynamic Host Configuration Protocol client configuration"; + uses apply-advanced; + container client-identifier { + description "DHCP server identifies a client by client-identifier value "; + uses apply-advanced; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + container user-id { + description "Add user id to client-id option "; + choice user-id-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + container prefix { + description "Add prefix to client-id option"; + uses apply-advanced; + leaf host-name { + description "Add router host name to client-id option"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to client-id option"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to client-id option"; + type empty; + } + } + leaf use-interface-description { + description "Use the interface description"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Do not install DNS information learned from DHCP server"; + } + leaf lease-time { + description "Lease time in seconds requested in DHCP client protocol packet"; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50000"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf metric { + description "Client initiated default-route metric"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string { + length "1 .. 60"; + } + } + leaf force-discover { + description "Send DHCPDISCOVER after DHCPREQUEST retransmission failure"; + type empty; + } + container options { + description "DHCP options"; + uses apply-advanced; + leaf no-hostname { + description "Do not carry hostname (RFC option code is 12) in packet"; + type empty; + } + } + } + grouping dynamic_ifbw_parms_type { + uses apply-advanced; + leaf capacity { + description "Weight of current (vs. maximum) data rate"; + status deprecated; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf margin { + description "Maximum reduction in bandwidth due to low link quality"; + status deprecated; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf delay { + description "Bandwidth reduction when delay is announced as 1 second"; + status deprecated; + units "bits per second"; + type string; + } + leaf bandwidth { + description "Weight of current (vs. maximum) data rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf resource { + description "Resource weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf latency { + description "Latency weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf quality { + description "Relative Link Quality weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf data-rate { + description "Data rate weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Percentage bandwidth change required for routing updates"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container credit { + presence "enable credit"; + description "Credit-based scheduling parameters"; + uses apply-advanced; + leaf interval { + description "Grant rate interval in 100mS steps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 60"; + } + } + } + } + } + grouping epd_threshold_config { + uses apply-advanced; + leaf epd-threshold-plp0 { + description "Early packet discard threshold value"; + units "cells"; + type string; + } + leaf plp1 { + description "Early packet drop threshold value for PLP 1"; + units "cells"; + type string; + } + } + grouping ethernet-switching-type { + description "Ethernet switching family"; + uses apply-advanced; + leaf port-mode { + description "Type of port mode"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "tagged-access" { + description "Interface mode is tagged-access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf interface-mode { + description "Type of interface mode"; + default "access"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + leaf reflective-relay { + description "Reflective-relay mode for this interface"; + type empty; + } + choice vlan_choice_list { + case case_1 { + container vlan { + description "Virtual LAN parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_2 { + container inner-vlan { + description "Trunk mode vlan membership for this interface"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type"; + type enumeration { + enum "svlan" { + description "Bridge domain type SVLAN"; + } + enum "bvlan" { + description "Bridge domain type BVLAN"; + } + } + } + container vlan-rewrite { + description "Specify VLAN translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf native-vlan-id { + description "Untagged packets on a trunk/tagged-access interface belong to this vlan"; + type string { + } + } + choice isid_list { + case case_1 { + } + } + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string; + } + leaf input-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + leaf output-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + grouping ethernet_policer { + description "Define a policer"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + grouping fibre-channel-type { + description "Fibre Channel switching family"; + uses apply-advanced; + leaf port-mode { + description "Port mode"; + type enumeration { + enum "f-port" { + description "Fabric port"; + } + enum "e-port" { + description "Inter-switch port"; + } + enum "np-port" { + description "Proxy node port"; + } + enum "auto" { + description "Interface mode (F/E) is determined at runtime"; + } + } + } + leaf no-npiv { + description "Disable NPIV"; + type empty; + } + container fc-fabric { + description "Virtual fabric parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Virtual Fabric Membership for this interface (name or id)"; + type string; + } + } + leaf native-fabric { + description "FC frames with no virtual fabric header on a interface belong to this fabric"; + type string { + } + } + } + grouping interfaces_type { + description "Physical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + leaf promiscuous-mode { + description "Enable promiscuous mode for L3 interface"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + length "1 .. 64"; + } + } + container fabric-options { + description "Fabric interface specific options"; + uses apply-advanced; + list member-interfaces { + key name; + description "Member interface for the fabric interface"; + leaf name { + description "Interface name of member"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + enum "q921" { + description "Trace ISDN Q.921 frames"; + } + enum "q931" { + description "Trace ISDN Q.931 frames"; + } + } + } + } + container file { + presence "enable file"; + description "Trace file information for ISDN decoded frames"; + uses apply-advanced; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + default "128k"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + uses apply-advanced; + leaf interface { + description "Interface that acts as clock source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + uses apply-advanced; + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf media-type { + description "Interface media type (copper or fiber)"; + type enumeration { + enum "copper" { + description "Copper as media"; + } + enum "fiber" { + description "Fiber as media"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf voice-timeslots { + description "Voice timeslots (1..24),for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + leaf alarm-compliance { + description "Enforce standard for alarm reporting"; + type enumeration { + enum "accunet-t1-5-service" { + description "T1.5 interface specification"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + container dce-options { + description "DCE options"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + leaf dtr { + description "Data Transmit Ready signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "require" { + description "Require Data Carrier Detect (DCD) signal"; + } + enum "ignore" { + description "Ignore Data Carrier Detect (DCD) signal"; + } + enum "normal" { + description "Normal Data Carrier Detect (DCD) signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert Request To Send (RTS) signal"; + } + enum "de-assert" { + description "Deassert Request To Send (RTS) signal"; + } + enum "normal" { + description "Normal Request To Send (RTS) signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + leaf dce-loopback-override { + description "DCE loopback override"; + type empty; + } + } + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf mdi-mode { + description "Cable cross-over mode"; + type enumeration { + enum "auto" { + description "Automatic mdi/mdi-x mode"; + } + enum "force" { + description "Enable auto-MDIX always"; + } + enum "mdi" { + description "MDI(straight through) mode"; + } + enum "mdix" { + description "MDI Cross-over mode"; + } + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf mac-mode { + description "Physical layer protocol of MAC's SERDES interface"; + type enumeration { + enum "sgmii" { + description "Serial Gigabit Media Independent Interface (10/100/1000 Mbps)"; + } + enum "mac-mode-1000base-x" { + description "1000Base-X (1000 Mbps)"; + } + } + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description "Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant-ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + leaf speed { + description "Speed mode"; + type enumeration { + enum "1g" { + description "Speed 1g"; + } + enum "10g" { + description "Speed 10g"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container redundant-parent { + description " Parent of this interface"; + uses apply-advanced; + leaf parent { + description "Join a redundant ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container redundant-ether-options { + description "Ethernet redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 128"; + } + } + } + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + leaf link-speed { + description "Link speed of individual interface that joins the RETH"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "10g" { + description "Links are 10G"; + } + } + } + leaf minimum-links { + description "Minimum number of active links"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf sync-reset { + description "On minimum-link failure notify out of sync to peer"; + type enumeration { + enum "disable" { + description "To disable minimum-link failure handling at LACP level"; + } + enum "enable" { + description "To enable minimum-link failure handling at LACP level"; + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + max-elements 1; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-standby" { + description "MC-AE in active-standby mode"; + } + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dsl-options { + description "DSL interface-specific options"; + uses apply-advanced; + leaf operating-mode { + description "DSL operating mode"; + type enumeration { + enum "auto" { + description "Autonegotiate mode"; + } + enum "ansi-dmt" { + description "ANSI T1.413 Issue II mode"; + } + enum "itu-dmt" { + description "ITU G.992.1 mode"; + } + enum "etsi" { + description "ETSI TS 101 388 V1.3.1 mode"; + } + enum "itu-annexb-ur2" { + description "ITU G.992.1 UR-2 mode"; + } + enum "itu-annexb-non-ur2" { + description "ITU G.992.1 Non UR-2 mode"; + } + enum "itu-dmt-bis" { + description "ITU G.992.3 mode"; + } + enum "adsl2plus" { + description "ITU G.992.5 mode"; + } + enum "annexm-itu-dmt-bis" { + description "AnnexM ITU G.992.3 mode"; + } + enum "annexm-adsl2plus" { + description "AnnexM ITU G.992.5 mode"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container data-input { + description "Configuration for drop-insert data input"; + uses apply-advanced; + choice input-choice { + case case_1 { + leaf system { + description "Data sourced from system"; + type empty; + } + } + case case_2 { + leaf interface { + description "Interface that acts as data source"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container switch-options { + description "Front end ports configuration"; + uses apply-advanced; + list switch-port { + key name; + leaf name { + description "Front end port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + uses apply-advanced; + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + } + } + leaf vlan-id { + description "VLAN ID for this port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf cascade-port { + description "Port externally connected to another cascade port"; + type empty; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + container policer-overhead { + description "Policer overhead adjustment for this unit"; + uses apply-advanced; + leaf policer-overhead-value { + description "Policer overhead bytes to be accounted in ingress and egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf ingress { + description "Ingress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf egress { + description "Egress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + } + leaf alias { + description "Interface alias"; + type string; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + container radio-router { + description "Parameters for dynamic link cost management"; + presence "enable radio-router"; + uses dynamic_ifbw_parms_type; + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf deep-vlan-qualified-learning { + description "Enable qualified MAC-address learning on the specified vlan tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range 3; + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container compression { + presence "enable compression"; + description "Various packet header compressions"; + uses apply-advanced; + container rtp { + presence "enable rtp"; + description "Compress and decompress RTP"; + uses apply-advanced; + leaf f-max-period { + description "Maximum number of compressed packets between transmission of full headers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list queues { + ordered-by user; + description "Queue holding RTP packets. Default is queue 1"; + type enumeration { + enum "q0" { + description "RTP packets assigned to queue 0"; + } + enum "q1" { + description "RTP packets assigned to queue 1"; + } + enum "q2" { + description "RTP packets assigned to queue 2"; + } + enum "q3" { + description "RTP packets assigned to queue 3"; + } + } + } + container port { + presence "enable port"; + description "UDP destination ports reserved for RTP packets"; + leaf minimum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container maximum-contexts { + description "Maximum number of simultaneous RTP contexts"; + leaf number { + description "Maximum number of simultaneous RTP contexts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 2048"; + } + } + } + } + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + description "Dynamic Host Configuration Protocol client configuration"; + presence "enable dhcp"; + uses dhcp-client-type; + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + container location-pool-address { + presence "enable location-pool-address"; + description "Location-based IP address pool"; + uses apply-advanced; + leaf pool-name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Not propagate DNS to kernel"; + } + container update-router-advertisement { + description "Dhcpv6 client update rpd for prefix delegation"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interfaces on which to delegate prefix"; + max-elements 3; + leaf name { + description "Interfaces-name on which to delegate prefix"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice enable-recursive-dns-server-option-choice { + leaf enable-recursive-dns-server-option { + description "Enables the recursive DNS server option"; + type empty; + } + leaf no-enable-recursive-dns-server-option { + description "Don't enables the recursive DNS server option"; + type empty; + } + } + } + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + leaf pool { + description "Dialer pool"; + type string { + length "1 .. 64"; + } + } + leaf-list dial-string { + ordered-by user; + description "String to dial out"; + type string { + length "1 .. 63"; + } + max-elements 15; + } + container incoming-map { + description "Map incoming call to dialer"; + uses apply-advanced; + choice caller-type { + case case_1 { + list caller { + key name; + ordered-by user; + description "Caller Id to be screened"; + max-elements 300; + leaf name { + description "Caller ID (upto 15 digits)"; + type string { + } + } + } + } + case case_2 { + leaf accept-all { + description "Accept all incoming calls"; + type empty; + } + } + } + } + leaf callback { + description "Call back on any incoming call to the dialer"; + type empty; + } + leaf callback-wait-period { + description "Time to wait before calling back"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf redial-delay { + description "Time to wait before redialing"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf idle-timeout { + description "Delay before taking down the interface"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list watch-list { + key name; + description "Dialer watch list"; + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + leaf load-threshold { + description "Load threshold for adding interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf load-interval { + description "Interval used to calculate average load"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 180"; + } + } + } + leaf activation-delay { + description "Activation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf deactivation-delay { + description "Deactivation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf initial-route-check { + description "Delay to check primary after the router is up"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 300"; + } + } + } + leaf always-on { + description "Always keep on-line"; + type empty; + } + } + container backup-options { + description "Backup interface configuration options"; + uses apply-advanced; + leaf interface { + description "Backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dynamic-call-admission-control { + description "Dynamic call admission control configuration"; + uses apply-advanced; + leaf bearer-bandwidth-limit { + description "Bearer bandwidth limit"; + units "kilobits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 9999"; + } + } + } + leaf activation-priority { + description "Priority assigned to bearer bandwidth limit"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + container modem-options { + description "MODEM interface-specific options"; + uses apply-advanced; + leaf init-command-string { + description "AT command string to initialize modem"; + type string { + length "1 .. 127"; + } + } + leaf dialin { + default "console"; + type enumeration { + enum "console" { + description "Management console access"; + } + enum "routable" { + description "Routable access"; + } + } + } + } + container isdn-options { + description "ISDN interface-specific options"; + uses apply-advanced; + leaf switch-type { + description "ISDN switch type"; + type enumeration { + enum "ni1" { + description "NI1 BRI variant"; + } + enum "etsi" { + description "ETSI variant"; + } + enum "att5e" { + description "ATT5E variant"; + } + enum "ntdms100" { + description "NTDMS100 variant"; + } + enum "ntt" { + description "INS NET (NTT) PRI/BRI variant"; + } + enum "ni2" { + description "NI2 PRI variant"; + } + } + } + leaf media-type { + description "IDSN media type - voice, data or both"; + default "data"; + type enumeration { + enum "data" { + description "Data"; + } + enum "voice" { + description "Voice"; + } + enum "combined" { + description "Combined"; + } + } + } + leaf spid1 { + description "Service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf spid2 { + description "Additional service profile identifier"; + type string { + length "1 .. 20"; + } + } + leaf calling-number { + description "Calling number included in outgoing calls"; + type string { + } + } + list incoming-called-number { + key name; + ordered-by user; + description "Incoming called number to be screened"; + max-elements 30; + leaf name { + description "Number called (upto 15 digits)"; + type string { + } + } + leaf reject { + description "Reject the called number"; + type empty; + } + } + leaf tei-option { + description "ISDN terminal endpoint identifier negotiation options"; + type enumeration { + enum "first-call" { + description "Terminal endpoint identifier negotiation during first call"; + } + enum "power-up" { + description "Terminal endpoint identifier negotiation during power-up"; + } + } + } + leaf static-tei-val { + description "Static TEI value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf t310 { + description "Timer T310 value"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + leaf bchannel-allocation { + description "Allocate PRI dialout b-channel in ascending/descending order"; + default "descending"; + type enumeration { + enum "ascending" { + description "Allocate b-channel in ascending order"; + } + enum "descending" { + description "Allocate b-channel in descending order"; + } + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + list pool { + key name; + description "Dialer pool"; + max-elements 30; + leaf name { + description "Dialer pool identifier"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Dialer pool priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container redundant-pseudo-interface-options { + description "Pseudo interface redundancy options"; + uses apply-advanced; + leaf redundancy-group { + description "Redundancy group of this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + leaf act-sim { + description "Default SIM slot to connect LTE network"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container cellular-options { + presence "enable cellular-options"; + description "Cellular interface specific options"; + uses apply-advanced; + list sim { + key name; + description "SIM slot to connect LTE network"; + leaf name { + description "SIM slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container select-profile { + description "Profile to be applied"; + leaf profile-id { + description "Profile to be used for data calls"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + container radio-access { + description "Select radio access technology"; + choice rat-value { + case case_1 { + leaf automatic { + description "Automatically selects radio access type"; + type empty; + } + } + case case_2 { + leaf umts-3g-only { + description "3G only"; + type empty; + } + } + case case_3 { + leaf umts-3g-preferred { + description "UMTS 3G Preferred"; + type empty; + } + } + case case_4 { + leaf lte-only { + description "Only LTE"; + type empty; + } + } + case case_5 { + leaf lte-preferred { + description "LTE Preferred"; + type empty; + } + } + } + } + leaf encrypted-sim-unlock-code { + description "Encrypted PIN"; + type jt:unreadable; + } + leaf gateway { + description "Set customer gateway for LTE network"; + type jt:ipprefix; + } + } + } + } + grouping keepalives_type { + uses apply-advanced; + leaf interval { + description "Keepalive period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf up-count { + description "Keepalive received to bring link up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Keepalive missed to bring link down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + } + grouping mac_list { + description "MAC address"; + leaf name { + type jt:mac-addr; + } + uses apply-advanced; + container policer { + description "MAC policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mpls_ifd_options { + uses apply-advanced; + container pop-all-labels { + presence "enable pop-all-labels"; + description "Pop all MPLS labels off incoming packets"; + uses apply-advanced; + leaf-list required-depth { + ordered-by user; + description "Required label depth of packet to pop all labels"; + type enumeration { + enum "all" { + description "Takes effect only in Stoli based FPCs, in all other FPCs equivalent to '[1 2]'"; + } + enum "1" { + description "Required label depth of packet to pop labels"; + } + enum "2" { + description "Required label depth of packet to pop labels"; + } + } + } + } + } + grouping otn_options_type { + uses apply-advanced; + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + choice line-loopback-choice { + leaf line-loopback { + description "Enable line loopback"; + type empty; + } + leaf no-line-loopback { + description "Don't enable line loopback"; + type empty; + } + } + choice local-loopback-choice { + leaf local-loopback { + description "Enable local host loopback"; + type empty; + } + leaf no-local-loopback { + description "Don't enable local host loopback"; + type empty; + } + } + choice prbs-choice { + leaf prbs { + description "Enable otn payload prbs"; + type empty; + } + leaf no-prbs { + description "Don't enable otn payload prbs"; + type empty; + } + } + choice odu-ttim-action-enable-choice { + leaf odu-ttim-action-enable { + description "Enable consequent action for ODU TTIM"; + type empty; + } + leaf no-odu-ttim-action-enable { + description "Don't enable consequent action for ODU TTIM"; + type empty; + } + } + choice otu-ttim-action-enable-choice { + leaf otu-ttim-action-enable { + description "Enable consequent action for OTU TTIM"; + type empty; + } + leaf no-otu-ttim-action-enable { + description "Don't enable consequent action for OTU TTIM"; + type empty; + } + } + choice transport-monitoring-choice { + leaf transport-monitoring { + description "Enable transport monitoring"; + type empty; + } + leaf no-transport-monitoring { + description "Don't enable transport monitoring"; + type empty; + } + } + container odu-delay-management { + description "Set odu delay management"; + uses apply-advanced; + choice monitor-end-point-choice { + leaf monitor-end-point { + description "Originate connection monitor end point"; + type empty; + } + leaf no-monitor-end-point { + description "Don't originate connection monitor end point"; + type empty; + } + } + choice start-measurement-choice { + leaf start-measurement { + description "Enable to start a dm measurement"; + type empty; + } + leaf no-start-measurement { + description "Don't enable to start a dm measurement"; + type empty; + } + } + choice bypass-choice { + leaf bypass { + description "Act as tandem passing dm value through node"; + type empty; + } + leaf no-bypass { + description "Don't act as tandem passing dm value through node"; + type empty; + } + } + leaf number-of-frames { + description "Number of consequent frames to declare dm done"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice remote-loop-enable-choice { + leaf remote-loop-enable { + description "Enable remote DM loop on remote end"; + type empty; + } + leaf no-remote-loop-enable { + description "Don't enable remote DM loop on remote end"; + type empty; + } + } + } + container signal-degrade { + description "Signal degrade thresholds"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber threshold for signal degrade clear (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber threshold for signal-degrade (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf q-threshold-signal-degrade-clear { + description "Q threshold for signal-degrade clear (e.g. 14.26)"; + units "dB"; + type string; + } + leaf q-threshold-signal-degrade { + description "Q threshold for signal-degrade (e.g. 9.26)"; + units "dB"; + type string; + } + } + container odu-signal-degrade { + description "Signal degrade thresholds for ODU"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber th for sd clear (format: xe-n, example: 4.5e-3)"; + default "1.0e-9"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber th for sd (format: xe-n, example: 4.5e-3)"; + default "1.0e-6"; + type string { + } + } + } + container preemptive-fast-reroute { + description "Preemptive fast reroute"; + uses apply-advanced; + choice odu-signal-degrade-monitor-enable-choice { + leaf odu-signal-degrade-monitor-enable { + description "Enable ODU signal degrade monitoring"; + type empty; + } + leaf no-odu-signal-degrade-monitor-enable { + description "Don't enable ODU signal degrade monitoring"; + type empty; + } + } + choice odu-backward-frr-enable-choice { + leaf odu-backward-frr-enable { + description "Enable ODU backward frr insertion"; + type empty; + } + leaf no-odu-backward-frr-enable { + description "Don't enable ODU backward frr insertion"; + type empty; + } + } + choice signal-degrade-monitor-enable-choice { + leaf signal-degrade-monitor-enable { + description "Enable signal degrade monitoring"; + type empty; + } + leaf no-signal-degrade-monitor-enable { + description "Don't enable signal degrade monitoring"; + type empty; + } + } + choice backward-frr-enable-choice { + leaf backward-frr-enable { + description "Enable backward frr insertion"; + type empty; + } + leaf no-backward-frr-enable { + description "Don't enable backward frr insertion"; + type empty; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "GFEC all 0's"; + } + enum "gfec" { + description "GFEC-Generic Forward Error Correction"; + } + enum "efec" { + description "EFEC-Enhanced Forward Error Correction"; + } + enum "gfec-sdfec" { + description "Both gfec and sdfec"; + } + enum "ufec" { + description "UFEC-Ultra Forward Error Correction"; + } + enum "sdfec" { + description "SDFEC-Soft Decision Forward Error Correction"; + } + enum "hgfec" { + description "HGFEC-High Gain Forward Error Correction"; + } + } + } + choice insert-odu-oci-choice { + leaf insert-odu-oci { + description "Force odu open connection indication"; + type empty; + } + leaf no-insert-odu-oci { + description "Don't force odu open connection indication"; + type empty; + } + } + choice insert-odu-lck-choice { + leaf insert-odu-lck { + description "Force odu locked maintenance signal"; + type empty; + } + leaf no-insert-odu-lck { + description "Don't force odu locked maintenance signal"; + type empty; + } + } + leaf rate { + description "Optical Transmission Network mode"; + type enumeration { + enum "pass-thru" { + description "Pass through mode - No OTN framing"; + } + enum "fixed-stuff-bytes" { + description "Fixed Stuff Bytes 11.0957Gbps"; + } + enum "no-fixed-stuff-bytes" { + description "No Fixed Stuff Bytes 11.0491Gbps"; + } + enum "oc192" { + description "OTU2 for OC192 10.7Gbps"; + } + enum "otu3" { + description "OTU3 for 40Gbps"; + } + enum "otu4" { + description "OTU4/OTU4v for 100Gbps-127Gbps"; + } + } + } + container bytes { + description "Set OTN header bytes"; + uses apply-advanced; + leaf transmit-payload-type { + description "Transmit payload type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container tti { + description "Trace Identifier"; + uses apply-advanced; + leaf otu-dapi { + description "OTU Destination Access Point Identifier"; + type string; + } + leaf otu-sapi { + description "OTU Source Access Point Identifier"; + type string; + } + leaf otu-expected-receive-dapi { + description "OTU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf otu-expected-receive-sapi { + description "OTU Expected Receive Source Access Point Identifier"; + type string; + } + leaf odu-dapi { + description "ODU Destination Access Point Identifier"; + type string; + } + leaf odu-sapi { + description "ODU Source Access Point Identifier"; + type string; + } + leaf odu-expected-receive-dapi { + description "ODU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf odu-expected-receive-sapi { + description "ODU Expected Receive Source Access Point Identifier"; + type string; + } + choice otu-dapi-first-byte-nul-choice { + leaf otu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-sapi-first-byte-nul-choice { + leaf otu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-dapi-first-byte-nul-choice { + leaf otu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-sapi-first-byte-nul-choice { + leaf otu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-dapi-first-byte-nul-choice { + leaf odu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-sapi-first-byte-nul-choice { + leaf odu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-dapi-first-byte-nul-choice { + leaf odu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-sapi-first-byte-nul-choice { + leaf odu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + } + container trigger { + description "Defect triggers"; + uses apply-advanced; + container oc-los { + description "OC Loss Of Signal defect trigger"; + choice oc_los_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lof { + description "OC Loss Of Frame defect trigger"; + choice oc_lof_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lom { + description "OC Loss Of Multiframe defect trigger"; + choice oc_lom_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-wavelength-lock { + description "OC Wavelength Lock defect trigger"; + choice oc_wavelength_lock_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-tsf { + description "Oc tsf defect trigger"; + choice oc-tsf-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ais { + description "OTU Alarm Indication Signal defect trigger"; + choice otu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-bdi { + description "OTU Backward Defect Indication defect trigger"; + choice otu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-iae { + description "OTU Incoming Alignment defect trigger"; + choice otu_iae_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ttim { + description "OTU Trail Trace Identifier Mismatch defect trigger"; + choice otu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-sd { + description "OTU Signal Degrade defect trigger"; + choice otu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-deg { + description "OTU FEC Degrade defect trigger"; + choice otu_fec_deg_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-exe { + description "OTU FEC Excessive Error defect trigger"; + choice otu_fec_exe_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ais { + description "ODU Alarm Indication Signal defect trigger"; + choice odu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bdi { + description "ODU Backward Defect Indication defect trigger"; + choice odu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-iae { + description "Odu iae defect trigger"; + choice odu-iae-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bei { + description "Odu backward error indication defect trigger"; + choice odu_bei_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-oci { + description "ODU Open Connection Indication defect trigger"; + choice odu_oci_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-lck { + description "ODU Locked defect trigger"; + choice odu_lck_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ttim { + description "ODU Trail Trace Identifier Mismatch defect trigger"; + choice odu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-sd { + description "ODU Signal Degrade defect trigger"; + choice odu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container opu-ptim { + description "Payload Type Mismatch defect trigger"; + choice opu_ptm_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + } + container tca { + description "TCA - threshold crossing alerts"; + uses apply-advanced; + container otu-tca-es { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses { + description "OTU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas { + description "OTU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe { + description "OTU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU BBE in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-es-fe { + description "OTU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses-fe { + description "OTU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas-fe { + description "OTU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe-fe { + description "OTU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end BBE (BEI) in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es { + description "ODU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses { + description "ODU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas { + description "ODU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe { + description "ODU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es-fe { + description "ODU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses-fe { + description "ODU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas-fe { + description "ODU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe-fe { + description "ODU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-fec-ber { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + } + } + grouping ppp_options_type { + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile name"; + type string; + } + container chap { + presence "enable chap"; + description "Challenge Handshake Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-chap-secret { + description "Default CHAP secret to be used when no matching access profile exists"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in CHAP-Challenge and CHAP-Response"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf passive { + description "Handle incoming CHAP requests only"; + type empty; + } + } + container pap { + presence "enable pap"; + description "Password Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-password { + description "Default PAP password used in the absence of matching profile"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in PAP request packet"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf local-password { + description "Password sent in PAP request packet"; + type jt:unreadable; + } + leaf passive { + description "Do not handle PAP authentication requests"; + type empty; + } + } + container compression { + description "Set compression options"; + leaf acfc { + description "Negotiate Address/Control field compression"; + type empty; + } + leaf pfc { + description "Negotiate Protocol field compression"; + type empty; + } + } + leaf lcp-restart-timer { + description "LCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "20 .. 10000"; + } + } + } + leaf ncp-restart-timer { + description "NCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "500 .. 10000"; + } + } + } + leaf no-termination-request { + description "Don't send PPP termination requests"; + type empty; + } + leaf loopback-clear-timer { + description "Loopback clear timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf lcp-max-conf-req { + description "Maximum LCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ncp-max-conf-req { + description "Maximum NCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf on-demand-ip-address { + description "Enable On-Demand IPv4 address allocation and de-allocation"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to dynamic-profile"; + type string { + length "1 .. 63"; + } + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf mtu { + description "The Maximum Transfer Unit size in bytes"; + type string; + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + container local-authentication { + description "Local Authentication Protocol options"; + uses local_auth_type; + } + } + grouping local_auth_type { + description "Local authentication"; + uses apply-advanced; + leaf password { + description "Username password"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf circuit-id { + description "Include circuit-id "; + type empty; + } + leaf remote-id { + description "Include remote-id "; + type empty; + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf delimiter { + description "Delimiter/separator character"; + type string { + length 1; + } + } + } + } + grouping pppoe_options_type { + uses apply-advanced; + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + leaf idle-timeout { + description "Time for which session can be idle (0 = forever)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf access-concentrator { + description "Name of the access concentrator (PPPoE server)"; + type string; + } + leaf service-name { + description "Service to be requested (from PPPoE server)"; + type string; + } + leaf auto-reconnect { + description "Time to reconnect after session terminates (0 = never)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice pppoe-mode { + case case_1 { + leaf server { + description "PPPoE operates in server mode"; + type empty; + } + } + case case_2 { + leaf client { + description "PPPoE operates in client mode"; + type empty; + } + } + } + leaf ppp-max-payload { + description "Specify the value of ppp-max-payload tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1492 .. 9192"; + } + } + } + } + grouping service_set_syslog_object { + uses apply-advanced; + list host { + key name; + ordered-by user; + max-elements 10; + leaf name { + description "Name of host to notify"; + type string { + } + } + uses apply-advanced; + list contents { + key name; + leaf name { + description "Facility type"; + type enumeration { + enum "services" { + description "Adaptive Services PIC"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf log-prefix { + description "Prefix for all logging to this host"; + type string { + } + } + leaf port { + description "UDP port for syslogd on the host"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container class { + description "Syslog messages classes"; + uses apply-advanced; + container session-logs { + presence "enable session-logs"; + description "Allow syslog messages for session events"; + uses apply-advanced; + container open { + presence "enable open"; + description "Allow syslog messages for session open events"; + } + container close { + presence "enable close"; + description "Allow syslog messages for session close events"; + } + } + container packet-logs { + presence "enable packet-logs"; + description "Allow syslog messages for packet related events"; + } + container stateful-firewall-logs { + presence "enable stateful-firewall-logs"; + description "Allow syslog messages for stateful firewall events"; + } + container alg-logs { + presence "enable alg-logs"; + description "Allow syslog messages for ALG events"; + } + container nat-logs { + presence "enable nat-logs"; + description "Allow syslog messages for NAT events"; + uses apply-advanced; + container deterministic-nat-configuration-log { + presence "enable deterministic-nat-configuration-log"; + description "Allow syslog messages for Determinisitic NAT config events"; + } + } + container ids-logs { + presence "enable ids-logs"; + description "Allow syslog messages for IDS events"; + } + container pcp-logs { + presence "enable pcp-logs"; + description "PCP logs"; + container map { + presence "enable map"; + description "Allow syslog messages for PCP"; + } + container debug { + presence "enable debug"; + description "Allow PCP debug syslogs"; + } + } + container ha-logs { + description "Stateful high availability logs"; + uses apply-advanced; + container open-synchronized { + presence "enable open-synchronized"; + description "Allow syslog message for session open events"; + } + container close-synchronized { + presence "enable close-synchronized"; + description "Allow syslog message for session close events"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipv4addr; + } + } + leaf message-rate-limit { + description "Maximum syslog messages per second allowed from this interface. Applies per member if set at aggregate level"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + } + grouping vlan_map { + description "IEEE 802.1q Virtual LAN (VLAN) Tag mapping"; + uses apply-advanced; + choice operation_choices { + case case_1 { + leaf push { + description "Push a VLAN tag"; + type empty; + } + } + case case_2 { + leaf swap { + description "Swap a VLAN tag"; + type empty; + } + } + case case_3 { + leaf pop { + description "Pop a VLAN tag"; + type empty; + } + } + case case_4 { + leaf push-push { + description "Push two VLAN tags"; + type empty; + } + } + case case_5 { + leaf swap-push { + description "Swap VLAN tag and push a new VLAN tag"; + type empty; + } + } + case case_6 { + leaf swap-swap { + description "Swap both outer and inner VLAN tags"; + type empty; + } + } + case case_7 { + leaf pop-swap { + description "Pop outer VLAN tag and swap inner VLAN tag"; + type empty; + } + } + case case_8 { + leaf pop-pop { + description "Pop both outer and inner VLAN tags"; + type empty; + } + } + } + leaf tag-protocol-id { + description "IEEE 802.1q Tag Protocol Identifier to rewrite"; + type string { + } + } + leaf inner-tag-protocol-id { + description "IEEE 802.1q Tag Protocol ID to rewrite for inner tag"; + type string; + } + leaf vlan-id { + description "VLAN ID to rewrite"; + type string; + } + leaf inner-vlan-id { + description "VLAN ID to rewrite for inner tag"; + type string; + } + } + grouping vrrp-group { + description "Virtual Router Redundancy Protocol group"; + leaf name { + description "Identifier for VRRP group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + choice address { + case case_1 { + leaf-list virtual-address { + ordered-by user; + description "One or more virtual IPv4 addresses"; + type jt:ipv4addr; + } + } + case case_2 { + leaf-list virtual-inet6-address { + ordered-by user; + description "One or more virtual inet6 addresses"; + type jt:ipv6addr; + } + } + } + leaf virtual-link-local-address { + description "Virtual link-local addresses"; + type jt:ipv6addr; + } + leaf priority { + description "Virtual router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf preferred { + description "Preferred group on subnet"; + type empty; + } + choice advertisement_type { + case case_1 { + leaf advertise-interval { + description "Advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + case case_2 { + leaf fast-interval { + description "Fast advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 40950"; + } + } + } + } + case case_3 { + leaf inet6-advertise-interval { + description "Inet6 advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 40000"; + } + } + } + } + } + choice preempt_type { + case case_1 { + container preempt { + presence "enable preempt"; + description "Allow preemption"; + uses apply-advanced; + leaf hold-time { + description "Preemption hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + } + case case_2 { + leaf no-preempt { + description "Don't allow preemption"; + type empty; + } + } + } + choice accept_type { + case case_1 { + leaf accept-data { + description "Accept packets destined for virtual IP address"; + type empty; + } + } + case case_2 { + leaf no-accept-data { + description "Don't accept packets destined for virtual IP address"; + type empty; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "HMAC-MD5-96"; + } + enum "simple" { + description "Simple password"; + } + } + } + leaf authentication-key { + description "Authentication key"; + type jt:unreadable; + } + container track { + description "Interfaces to track for VRRP group"; + uses apply-advanced; + leaf priority-hold-time { + description "Priority hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface to track in VRRP group"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list bandwidth-threshold { + key name; + description "Track bandwidth of interface"; + leaf name { + description "Interface speed below which priority cost is incurred"; + units "bits per second"; + type string; + } + leaf priority-cost { + description "Value subtracted from priority when bandwidth is below threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + leaf priority-cost { + description "Value to subtract from priority when interface is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + list route { + key "route_address routing-instance"; + ordered-by user; + description "Route to track in VRRP group"; + leaf route_address { + description "Route address"; + type jt:ipprefix-mandatory; + } + leaf routing-instance { + description "Routing instance to which route belongs, or 'default'"; + type string { + } + } + leaf priority-cost { + description "Value to subtract from priority when route is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + } + container vrrp-inherit-from { + description "VRRP group to follow for this VRRP group"; + uses apply-advanced; + leaf active-interface { + description "Interface name of VRRP active group"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf active-group { + description "Identifier for VRRP active group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-isdn@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-isdn@2019-01-01.yang new file mode 100644 index 00000000..22921217 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-isdn@2019-01-01.yang @@ -0,0 +1,146 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-isdn { + namespace "http://yang.juniper.net/junos-es/conf/isdn"; + + prefix jc-isdn; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos isdn configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses isdn-group; + } + augment /jc:configuration/jc:groups { + uses isdn-group; + } + grouping isdn-group { + container isdn { + description "ISDN process configuration"; + status deprecated; + uses apply-advanced; + container traceoptions { + description "Trace options for ISDN signaling process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "One or more event types to include in trace"; + leaf name { + type enumeration { + enum "daemon" { + description "ISDN process events"; + } + enum "stack" { + description "ISDN stack events"; + } + enum "all" { + description "All events"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-logical-systems@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-logical-systems@2019-01-01.yang new file mode 100644 index 00000000..6433f7be --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-logical-systems@2019-01-01.yang @@ -0,0 +1,114489 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-logical-systems { + namespace "http://yang.juniper.net/junos-es/conf/logical-systems"; + + prefix jc-logical-systems; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos logical-systems configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses logical-systems-group; + } + augment /jc:configuration/jc:groups { + uses logical-systems-group; + } + grouping logical-systems-group { + list logical-systems { + key name; + description "Logical systems"; + uses juniper-logical-system; + } + } + grouping juniper-logical-system { + description "Logical system configuration"; + leaf name { + description "Logical system name"; + type string { + } + } + uses apply-advanced; + container interfaces { + description "Interface configuration"; + uses apply-advanced; + list interface { + key name; + uses lr_interfaces_type; + } + } + container protocols { + description "Routing protocol configuration"; + uses juniper-protocols; + } + container policy-options { + description "Policy option configuration"; + uses juniper-policy-options; + } + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + uses juniper-routing-instance; + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + container forwarding-options { + description "Configure options to control packet forwarding"; + uses apply-advanced; + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + container sampling { + presence "enable sampling"; + uses apply-advanced; + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_lr_type; + } + } + } + container mpls { + description "Sample MPLS packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_mpls_lr_type; + } + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_lr_inst_type; + } + } + } + container mpls { + description "Sample MPLS packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_mpls_lr_inst_type; + } + } + } + } + } + } + } + container system { + description "System parameters"; + uses apply-advanced; + container arp { + description "ARP settings"; + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 240"; + } + } + } + container interfaces { + description "Logical interface on which to specify ARP aging timer"; + uses apply-advanced; + list arp-interface { + key name; + uses arp-interface-type; + } + } + leaf passive-learning { + description "ARP passive learning"; + type empty; + } + leaf purging { + description "ARP purging when link goes down"; + type empty; + } + leaf gratuitous-arp-on-ifup { + description "Gratuitous ARP announcement on interface up"; + type empty; + } + leaf gratuitous-arp-delay { + description "Delay gratuitous ARP request"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf non-subscriber-no-reply { + description "Do not reply to ARP requests from non-subscribers"; + type empty; + } + } + container services { + description "System services"; + uses apply-advanced; + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + } + container processes { + description "Process control"; + uses apply-advanced; + container routing { + presence "enable routing"; + description "Routing process"; + uses apply-advanced; + choice mode { + case case_1 { + leaf force-32-bit { + description "Always use 32-bit mode"; + type empty; + } + } + case case_2 { + leaf force-64-bit { + description "Always use 64-bit mode"; + type empty; + } + } + case case_3 { + leaf auto-64-bit { + description "Ignored; same as force-32-bit"; + type empty; + } + } + } + } + } + } + container access { + description "Network access configuration"; + uses apply-advanced; + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + container firewall-authentication { + description "Type of firewall authentication"; + uses apply-advanced; + container pass-through { + description "Pass-through firewall authentication settings"; + uses apply-advanced; + leaf default-profile { + description "Name of profile to use if not specified in policy"; + type string { + length "1 .. 250"; + } + } + container ftp { + description "FTP banners"; + uses banner-object; + } + container telnet { + description "Telnet banners"; + uses banner-object; + } + container http { + description "HTTP banners"; + uses banner-object; + } + } + container web-authentication { + description "Web-authentication settings"; + uses apply-advanced; + leaf default-profile { + description "Name of profile to use for web-authentication"; + type string { + length "1 .. 250"; + } + } + container banner { + uses apply-advanced; + leaf success { + description "The message that will be displayed on successful login"; + type string { + length "1 .. 250"; + } + } + } + leaf timeout { + description "Web-authentication timeout value in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "5 .. 60"; + } + } + } + } + container traceoptions { + description "Firewall authentication tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "setup" { + description "Trace setup of firewall authentication service"; + } + enum "authentication" { + description "Trace authentication events"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + } + } + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "Protocol family IPv4 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv4 dialer filter"; + uses inet_dialer_filter; + } + list prefix-action { + key name; + ordered-by user; + description "Define a prefix action"; + uses prefix_action; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + list simple-filter { + key name; + ordered-by user; + description "Define an IPv4 firewall simple filter"; + uses inet_simple_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv4 service filters"; + uses inet_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet_fuf; + } + } + container inet6 { + description "Protocol family IPv6 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv6 dialer filter"; + uses inet6_dialer_filter; + } + list filter { + key name; + ordered-by user; + description "Define an IPv6 firewall filter"; + uses inet6_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv6 service filters"; + uses inet6_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet6_fuf; + } + } + container mpls { + description "Protocol family MPLS for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an mpls dialer filter"; + uses mpls_dialer_filter; + } + list filter { + key name; + ordered-by user; + uses mpls_filter; + } + } + container vpls { + description "Protocol family VPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container evpn { + description "Protocol family EVPN for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses bridge_filter; + } + } + container ccc { + description "Protocol family CCC for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses ccc_filter; + } + } + container any { + description "Protocol-independent filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define a protocol independent filter"; + uses any_filter; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses es_filter; + } + } + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses firewall_policer; + } + list flexible-match { + key name; + ordered-by user; + description "Flexible packet match template definition"; + uses firewall_flexible_match; + } + list tunnel-end-point { + key name; + ordered-by user; + description "Tunnel end-point template definition"; + uses tunnel_end_point; + } + list interface-set { + key name; + ordered-by user; + description "Interface set definition"; + uses interface_set_type; + } + list three-color-policer { + key name; + ordered-by user; + description "Three-color policer"; + uses three-color-policer-type; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container services { + description "Service PIC daemon configuration"; + uses apply-advanced; + container flow-monitoring { + presence "enable flow-monitoring"; + description "Configure flow monitoring under logical-systems"; + uses apply-advanced; + container version9 { + description "Version 9 configuration"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "One or more version 9 templates"; + max-elements 10; + uses version9-template; + } + } + } + } + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + container switch-options { + description "Options for default routing-instance of type virtual-switch"; + uses juniper-def-rtb-switch-options; + } + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + container security { + description "Security configuration"; + uses apply-advanced; + container alarms { + description "Configure security alarms"; + uses apply-advanced; + container audible { + presence "enable audible"; + description "Beep when new security alarms arrive"; + uses apply-advanced; + leaf continuous { + description "Keep beeping until all security alarms have been cleared"; + type empty; + } + } + container potential-violation { + description "Configure potential security violations"; + uses apply-advanced; + leaf authentication { + description "Raise alarm for specified number of authentication failures"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf cryptographic-self-test { + description "Raise alarm for cryptographic self test failures"; + type empty; + } + container decryption-failures { + presence "enable decryption-failures"; + description "No. of decryption failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 1000]"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + container encryption-failures { + presence "enable encryption-failures"; + description "No. of encryption failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 1000]"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + container ike-phase1-failures { + presence "enable ike-phase1-failures"; + description "No. of IKE Phase-1 failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 20]"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + container ike-phase2-failures { + presence "enable ike-phase2-failures"; + description "No. of IKE Phase-2 failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 20]"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + leaf key-generation-self-test { + description "Raise alarm for key generation self test failures"; + type empty; + } + leaf non-cryptographic-self-test { + description "Raise alarm for non-cryptographic self test failures"; + type empty; + } + container policy { + description "Raise alarm for flow policy violations"; + uses apply-advanced; + container source-ip { + presence "enable source-ip"; + description "Configure source address type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of source IP address matches to raise alarm"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total source IP address number that can be done policy violation check concurrently"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container destination-ip { + presence "enable destination-ip"; + description "Configure destination address type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of destination IP address matches to raise alarm"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total destination IP address number that can be done policy violation check concurrently"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container application { + presence "enable application"; + description "Configure application type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of application matches to raise alarm"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total application number that can be done policy violation check concurrently"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container policy-match { + presence "enable policy-match"; + description "Configure policy type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of policy matches to raise alarm"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total concurrent number of policy check violations"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + } + container replay-attacks { + presence "enable replay-attacks"; + description "No. of Replay attacks before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Replay threshold value"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + leaf security-log-percent-full { + description "Raise alarm when security log exceeds this percent capacity"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 100"; + } + } + } + leaf idp { + description "Raise alarm for idp attack"; + type empty; + } + } + } + container log { + description "Configure security log"; + uses apply-advanced; + list exclude { + key name; + ordered-by user; + description "List of security log criteria to exclude from the audit log"; + status deprecated; + leaf name { + description "Exclude criteria name"; + type string; + } + uses apply-advanced; + leaf destination-address { + description "Destination address"; + type jt:ipaddr; + } + leaf destination-port { + description "Destination port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf event-id { + description "Event ID filter"; + type string; + } + leaf failure { + description "Event was a failure"; + type empty; + } + leaf interface-name { + description "Name of interface"; + type string; + } + leaf policy-name { + description "Policy name filter"; + type string; + } + leaf process { + description "Process that generated the event"; + type string; + } + leaf protocol { + description "Protocol filter"; + type string; + } + leaf source-address { + description "Source address"; + type jt:ipaddr; + } + leaf source-port { + description "Source port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf success { + description "Event was successful"; + type empty; + } + leaf username { + description "Username filter"; + type string; + } + } + leaf limit { + description "Limit number of security log entries to keep in memory"; + status deprecated; + default "10000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container cache { + presence "enable cache"; + description "Cache security log events in the audit log buffer"; + uses apply-advanced; + list exclude { + key name; + ordered-by user; + description "List of security log criteria to exclude from the audit log"; + leaf name { + description "Exclude criteria name"; + type string; + } + uses apply-advanced; + leaf destination-address { + description "Destination address"; + type jt:ipaddr; + } + leaf destination-port { + description "Destination port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf event-id { + description "Event ID filter"; + type string; + } + leaf failure { + description "Event was a failure"; + type empty; + } + leaf interface-name { + description "Name of interface"; + type string; + } + leaf policy-name { + description "Policy name filter"; + type string; + } + leaf process { + description "Process that generated the event"; + type string; + } + leaf protocol { + description "Protocol filter"; + type string; + } + leaf source-address { + description "Source address"; + type jt:ipaddr; + } + leaf source-port { + description "Source port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf success { + description "Event was successful"; + type empty; + } + leaf username { + description "Username filter"; + type string; + } + } + leaf limit { + description "Limit number of security log entries to keep in memory"; + default "10000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf disable { + description "Disable security logging for the device"; + type empty; + } + leaf utc-timestamp { + description "Use UTC time for security log timestamps"; + type empty; + } + leaf mode { + description "Controls how security logs are processed and exported"; + type enumeration { + enum "stream" { + description "Process security logs directly in the forwarding plane"; + } + enum "event" { + description "Process security logs in the control plane"; + } + } + } + leaf event-rate { + description "Control plane event rate"; + units "logs per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1500"; + } + } + } + leaf format { + description "Set security log format for the device"; + type enumeration { + enum "syslog" { + description "Traditional syslog"; + } + enum "sd-syslog" { + description "Structured syslog"; + } + enum "binary" { + description "Binary log"; + } + } + } + leaf rate-cap { + description "Data plane event rate"; + units "logs per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5000"; + } + } + } + leaf max-database-record { + description "Maximum records in database"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container report { + presence "enable report"; + description "Set security log report settings"; + } + choice source { + case case_1 { + leaf source-address { + description "Source ip address used when exporting security logs"; + type jt:ipaddr; + } + } + case case_2 { + leaf source-interface { + description "Source interface used when exporting security logs"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container transport { + presence "enable transport"; + description "Set security log transport settings"; + uses apply-advanced; + leaf tcp-connections { + description "Set tcp connection number per-stream"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf protocol { + description "Set security log transport protocol for the device"; + type enumeration { + enum "udp" { + description "UDP transfer for log"; + } + enum "tcp" { + description "TCP transfer for log"; + } + enum "tls" { + description "TLS transfer for log"; + } + } + } + leaf tls-profile { + description "TLS profile"; + type string; + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + list stream { + key name; + ordered-by user; + description "Set security log stream settings"; + max-elements 8; + leaf name { + description "Name of security log stream"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf severity { + description "Severity threshold for security logs"; + type enumeration { + enum "emergency" { + description "Conditions that cause security functions to stop"; + } + enum "alert" { + description "Conditions that require immediate attention"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "General error conditions"; + } + enum "warning" { + description "General warning conditions"; + } + enum "notice" { + description "Non-error conditions that are of interest"; + } + enum "info" { + description "Information about normal security operations"; + } + enum "debug" { + description "Information normally used in debugging"; + } + } + } + leaf format { + description "Specify the log stream format"; + type enumeration { + enum "syslog" { + description "Traditional syslog"; + } + enum "sd-syslog" { + description "Structured syslog"; + } + enum "welf" { + description "Web Trends Extended Log Format"; + } + enum "binary" { + description "Binary log"; + } + } + } + list category { + key name; + ordered-by user; + description "Selects the type of events that may be logged"; + leaf name { + type enumeration { + enum "all" { + description "All events are logged"; + } + enum "content-security" { + description "Content security events are logged"; + } + enum "fw-auth" { + description "Fw-auth events are logged"; + } + enum "screen" { + description "Screen events are logged"; + } + enum "alg" { + description "Alg events are logged"; + } + enum "nat" { + description "Nat events are logged"; + } + enum "flow" { + description "Flow events are logged"; + } + enum "sctp" { + description "Sctp events are logged"; + } + enum "gtp" { + description "Gtp events are logged"; + } + enum "ipsec" { + description "Ipsec events are logged"; + } + enum "idp" { + description "Idp events are logged"; + } + enum "rtlog" { + description "Rtlog events are logged"; + } + enum "pst-ds-lite" { + description "Pst-ds-lite events are logged"; + } + enum "appqos" { + description "Appqos events are logged"; + } + enum "secintel" { + description "Secintel events are logged"; + } + enum "aamw" { + description "AAMW events are logged"; + } + } + } + uses apply-advanced; + } + list filter { + key name; + ordered-by user; + description "Selects the filter to filter the logs to be logged"; + leaf name { + type enumeration { + enum "threat-attack" { + description "Threat-attack security events are logged"; + } + } + } + uses apply-advanced; + } + container host { + description "Destination to send security logs to"; + uses host-object; + } + container rate-limit { + description "Rate-limit for security logs"; + uses apply-advanced; + leaf rate { + description "Log rate"; + units "logs per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container file { + description "Security log file options for logs in local file"; + uses apply-advanced; + leaf localfilename { + description "Name of local log file"; + type string { + length "1 .. 256"; + } + } + leaf size { + description "Maximum size of local log file in megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf rotation { + description "Maximum number of rotate files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 19"; + } + } + } + leaf allow-duplicates { + description "To disable log consolidation"; + type empty; + } + } + } + container file { + description "Security log file options for logs in binary format"; + uses apply-advanced; + leaf filename { + description "Name of binary log file"; + type string { + length "1 .. 256"; + } + } + leaf size { + description "Maximum size of binary log file in megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf path { + description "Path to binary log files"; + type string { + length "1 .. 256"; + } + } + leaf files { + description "Maximum number of binary log files"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + } + container traceoptions { + description "Security log daemon trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "List of things to include in trace"; + leaf name { + type enumeration { + enum "source" { + description "Communication with security log forwarder"; + } + enum "configuration" { + description "Reading of configuration"; + } + enum "all" { + description "Everything"; + } + enum "report" { + description "Trace report"; + } + enum "hpl" { + description "Trace HPL logging"; + } + } + } + } + } + } + container certificates { + description "X.509 certificate configuration"; + uses apply-advanced; + list local { + key name; + ordered-by user; + description "Local X.509 certificate configuration"; + uses certificate-object; + } + leaf path-length { + description "Maximum certificate path length"; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf maximum-certificates { + description "Maximum number of certificates to cache"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4294967295"; + } + } + } + leaf cache-size { + description "Maximum size of certificate cache"; + units "bytes"; + type string; + } + leaf cache-timeout-negative { + description "Time in seconds to cache negative responses"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 4294967295"; + } + } + } + leaf enrollment-retry { + description "Number of retry attempts for an enrollment request"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1080"; + } + } + } + list certification-authority { + key name; + ordered-by user; + description "CA X.509 certificate configuration"; + leaf name { + description "CA profile name"; + type string { + } + } + uses apply-advanced; + leaf ca-name { + description "CA name"; + type string; + } + leaf file { + description "File to read certificate from"; + type string; + } + leaf crl { + description "File to read crl from"; + type string; + } + leaf enrollment-url { + description "URL"; + type string; + } + leaf ldap-url { + description "URL"; + type string; + } + leaf encoding { + description "Encoding to use for certificate or CRL on disk"; + default "binary"; + type enumeration { + enum "binary" { + description "DER encoding"; + } + enum "pem" { + description "Privacy-enhanced-mail encoding, base64"; + } + } + } + } + } + container authentication-key-chains { + description "Authentication key chain configuration"; + uses security-authentication-key-chains; + } + container ssh-known-hosts { + description "SSH known host list"; + uses apply-advanced; + list host { + key name; + ordered-by user; + description "SSH known host entry"; + leaf name { + description "Host name"; + type string; + } + uses apply-advanced; + leaf rsa1-key { + description "Base64 encoded RSA key (protocol version 1)"; + type string; + } + leaf rsa-key { + description "Base64 encoded RSA key"; + type string; + } + leaf dsa-key { + description "Base64 encoded DSA key"; + type string; + } + leaf ecdsa-key { + description "Base64 encoded ECDSA key"; + status deprecated; + type string; + } + leaf ecdsa-sha2-nistp256-key { + description "Base64 encoded ECDSA-SHA2-NIST256 key"; + type string; + } + leaf ecdsa-sha2-nistp384-key { + description "Base64 encoded ECDSA-SHA2-NIST384 key"; + type string; + } + leaf ecdsa-sha2-nistp521-key { + description "Base64 encoded ECDSA-SHA2-NIST521 key"; + type string; + } + leaf ed25519-key { + description "Base64 encoded ED25519 key"; + type string; + } + } + } + leaf key-protection { + description "Common-Criteria key-protection configuration"; + type empty; + } + container pki { + description "PKI service configuration"; + presence "enable pki"; + uses security-pki; + } + container ike { + description "IKE configuration"; + uses security-ike; + } + container ipsec { + description "IPSec configuration"; + uses security-ipsec-vpn; + } + container group-vpn { + description "Group VPN configuration"; + uses security-group-vpn; + } + container ipsec-policy { + description "IPSec policy configuration"; + uses security-ipsec-policies; + } + container idp { + description "Configure IDP"; + list idp-policy { + key name; + ordered-by user; + description "Configure IDP policy"; + uses idp-policy-type; + } + leaf active-policy { + description "Set active policy"; + status deprecated; + type string; + } + list custom-attack { + key name; + ordered-by user; + description "Configure custom attacks"; + uses custom-attack-type; + } + list custom-attack-group { + key name; + ordered-by user; + description "Configure custom attack groups"; + uses custom-attack-group-type; + } + list dynamic-attack-group { + key name; + ordered-by user; + description "Configure dynamic attack groups"; + uses dynamic-attack-group-type; + } + container traceoptions { + description "Trace options for idp services"; + uses idpd-traceoptions-type; + } + container security-package { + description "Security package options"; + uses apply-advanced; + leaf url { + description "URL of Security package download"; + type string; + } + leaf source-address { + description "Source address to be used for sending download request"; + type jt:ipv4addr; + } + container install { + presence "enable install"; + description "Configure install command"; + uses apply-advanced; + leaf ignore-version-check { + description "Skip version check when attack database gets installed"; + type empty; + } + } + container automatic { + presence "enable automatic"; + description "Scheduled download and update"; + uses apply-advanced; + leaf start-time { + description "Start time (YYYY-MM-DD.HH:MM:SS)"; + type jt:time; + } + leaf interval { + description "Interval"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "24 .. 336"; + } + } + } + leaf download-timeout { + description "Maximum time for download to complete"; + status deprecated; + default "1"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable"; + type empty; + } + } + } + } + } + container sensor-configuration { + description "IDP Sensor Configuration"; + container log { + description "IDP Log Configuration"; + uses apply-advanced; + leaf cache-size { + description "Log cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container suppression { + presence "enable suppression"; + description "Log suppression"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable log suppression"; + type empty; + } + } + } + choice include-destination-address-choice { + leaf include-destination-address { + description "Include destination address while performing a log suppression"; + type empty; + } + leaf no-include-destination-address { + description "Don't include destination address while performing a log suppression"; + type empty; + } + } + leaf start-log { + description "Suppression start log"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-logs-operate { + description "Maximum logs can be operate on"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-time-report { + description "Time after suppressed logs will be reported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + container packet-log { + description "IDP Packetlog Configuration"; + uses apply-advanced; + leaf total-memory { + description "Total memory unit(%)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-sessions { + description "Max num of sessions in unit(%)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf threshold-logging-interval { + description "Interval of logs for max limit session/memory reached in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf source-address { + description "Source IP address used to transport packetlog to a host"; + type jt:ipv4addr; + } + container host { + description "Destination host to send packetlog to"; + uses apply-advanced; + leaf ipaddr { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "UDP port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container application-identification { + presence "enable application-identification"; + description "Application identification"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable application identification"; + type empty; + } + } + } + choice application-system-cache-choice { + leaf application-system-cache { + description "Application system cache"; + type empty; + } + leaf no-application-system-cache { + description "Don't application system cache"; + type empty; + } + } + leaf max-tcp-session-packet-memory { + description "Max TCP session memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-udp-session-packet-memory { + description "Max UDP session memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-sessions { + description "Max sessions that can run AI at the same time"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-memory { + description "Max packet memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-memory-ratio { + description "Max packet memory ratio"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-reass-packet-memory-ratio { + description "Max reass packet memory ratio"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf application-system-cache-timeout { + description "Application system cache timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container flow { + description "Flow configuration"; + uses apply-advanced; + choice log-errors-choice { + leaf log-errors { + description "Flow log errors"; + type empty; + } + leaf no-log-errors { + description "Don't flow log errors"; + type empty; + } + } + choice reset-on-policy-choice { + leaf reset-on-policy { + description "Flow reset-on-policy"; + type empty; + } + leaf no-reset-on-policy { + description "Don't flow reset-on-policy"; + type empty; + } + } + choice allow-icmp-without-flow-choice { + leaf allow-icmp-without-flow { + description "Allow icmp without flow"; + type empty; + } + leaf no-allow-icmp-without-flow { + description "Don't allow icmp without flow"; + type empty; + } + } + leaf hash-table-size { + description "Flow hash table size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reject-timeout { + description "Flow reject timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-timers-poll-ticks { + description "Maximum timers poll ticks"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf fifo-max-size { + description "Maximum fifo size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf udp-anticipated-timeout { + description "Maximum udp anticipated timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf drop-on-limit { + description "Drop connections on exceeding resource limits"; + type empty; + } + leaf drop-on-failover { + description "Drop traffic on HA failover sessions"; + type empty; + } + leaf drop-if-no-policy-loaded { + description "Drop all traffic till IDP policy gets loaded"; + type empty; + } + leaf max-sessions-offset { + description "Maximum session offset limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf min-objcache-limit-lt { + description "Memory lower threshold limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf min-objcache-limit-ut { + description "Memory upper threshold limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-steering { + description "Session steering for session anticipation"; + type empty; + } + leaf idp-bypass-cpu-usg-overload { + description "Enable IDP bypass of sessions/packets on CPU usage overload"; + type empty; + } + leaf idp-bypass-cpu-threshold { + description "Threshold of CPU usage in percentage for IDP bypass"; + default "85"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf idp-bypass-cpu-tolerance { + description "Tolerance of CPU usage in percentage for IDP bypass"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container re-assembler { + description "Re-assembler configuration"; + uses apply-advanced; + choice drop-on-syn-in-window-choice { + leaf drop-on-syn-in-window { + description "Drop session when SYN is seen in the window"; + type empty; + } + leaf no-drop-on-syn-in-window { + description "Don't drop session when SYN is seen in the window"; + type empty; + } + } + choice ignore-memory-overflow-choice { + leaf ignore-memory-overflow { + description "Ignore memory overflow"; + type empty; + } + leaf no-ignore-memory-overflow { + description "Don't ignore memory overflow"; + type empty; + } + } + choice ignore-reassembly-memory-overflow-choice { + leaf ignore-reassembly-memory-overflow { + description "Ignore packet reassembly memory overflow"; + type empty; + } + leaf no-ignore-reassembly-memory-overflow { + description "Don't ignore packet reassembly memory overflow"; + type empty; + } + } + leaf ignore-reassembly-overflow { + description "Ignore global reassembly overflow"; + type empty; + } + leaf max-packet-mem { + description "Maximum packet memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-flow-mem { + description "Maximum flow memory"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-mem-ratio { + description "Maximum packet memory ratio"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf action-on-reassembly-failure { + description "Select the action on reassembly failures"; + default "drop"; + type enumeration { + enum "ignore" { + description "No action is taken."; + } + enum "drop" { + description "Drop the packet."; + } + enum "drop-session" { + description "Drop the session."; + } + } + } + choice tcp-error-logging-choice { + leaf tcp-error-logging { + description "Enable logging on tcp errors"; + type empty; + } + leaf no-tcp-error-logging { + description "Don't enable logging on tcp errors"; + type empty; + } + } + leaf max-synacks-queued { + description "Maximum syn-acks queued with different SEQ numbers "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice force-tcp-window-checks-choice { + leaf force-tcp-window-checks { + description "Force TCP window checks if uni-directional policy is configured"; + type empty; + } + leaf no-force-tcp-window-checks { + description "Don't force TCP window checks if uni-directional policy is configured"; + type empty; + } + } + } + container ips { + description "Ips configuration"; + uses apply-advanced; + choice process-override-choice { + leaf process-override { + description "Process override"; + type empty; + } + leaf no-process-override { + description "Don't process override"; + type empty; + } + } + choice detect-shellcode-choice { + leaf detect-shellcode { + description "Detect shellcode"; + type empty; + } + leaf no-detect-shellcode { + description "Don't detect shellcode"; + type empty; + } + } + choice process-ignore-s2c-choice { + leaf process-ignore-s2c { + description "Process ignore s2c"; + type empty; + } + leaf no-process-ignore-s2c { + description "Don't process ignore s2c"; + type empty; + } + } + choice ignore-regular-expression-choice { + leaf ignore-regular-expression { + description "Ignore regular expression"; + type empty; + } + leaf no-ignore-regular-expression { + description "Don't ignore regular expression"; + type empty; + } + } + leaf process-port { + description "Process port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf fifo-max-size { + description "Maximum fifo size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf log-supercede-min { + description "Minimum log supercede"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf content-decompression-max-memory-kb { + description "Maximum memory usage in kilo bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf content-decompression-max-ratio { + description "Maximum decompression ratio supported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-pkt-depth { + description "Session pkt scanning depth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container global { + description "Global configuration"; + uses apply-advanced; + choice enable-packet-pool-choice { + leaf enable-packet-pool { + description "Enable packet pool"; + type empty; + } + leaf no-enable-packet-pool { + description "Don't enable packet pool"; + type empty; + } + } + choice enable-all-qmodules-choice { + leaf enable-all-qmodules { + description "Enable all qmodules"; + type empty; + } + leaf no-enable-all-qmodules { + description "Don't enable all qmodules"; + type empty; + } + } + choice policy-lookup-cache-choice { + leaf policy-lookup-cache { + description "Policy lookup cache"; + type empty; + } + leaf no-policy-lookup-cache { + description "Don't policy lookup cache"; + type empty; + } + } + leaf memory-limit-percent { + description "Memory limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container detector { + description "Detector Configuration"; + uses apply-advanced; + list protocol-name { + key name; + ordered-by user; + description "Apropriate help string"; + uses proto-object; + } + } + container ssl-inspection { + description "SSL inspection"; + uses apply-advanced; + leaf sessions { + description "Number of SSL sessions to inspect"; + default "10000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-id-cache-timeout { + description "Timeout value for SSL session ID cache"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf maximum-cache-size { + description "Maximum SSL session ID cache size"; + default "100000"; + units "sessions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf cache-prune-chunk-size { + description "Number of cache entries to delete when pruning SSL session ID cache"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf key-protection { + description "Enable SSL key protection"; + type empty; + } + } + leaf disable-low-memory-handling { + description "Do not abort IDP operations under low memory condition"; + type empty; + } + container high-availability { + description "High availability configuration"; + uses apply-advanced; + leaf no-policy-cold-synchronization { + description "Disable policy cold synchronization"; + type empty; + } + } + container security-configuration { + description "IDP security configuration"; + uses apply-advanced; + leaf protection-mode { + description "Enable security protection mode"; + type enumeration { + enum "datacenter" { + description "Security protection mode for datacenter"; + } + enum "datacenter-full" { + description "Full security protection mode for datacenter"; + } + enum "perimeter" { + description "Security protection mode for perimeter"; + } + enum "perimeter-full" { + description "Full security protection mode for perimeter"; + } + } + } + } + } + uses apply-advanced; + container processes { + description "Configure IDP Processes"; + uses apply-advanced; + } + } + list address-book { + key name; + ordered-by user; + description "Security address book"; + max-elements 4096; + uses named-address-book-type; + } + container alg { + description "Configure ALG security options"; + uses alg-object; + } + container application-firewall { + presence "enable application-firewall"; + description "Configure application-firewall rule-sets"; + status deprecated; + uses apply-advanced; + container traceoptions { + description "Rule-sets Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "lookup" { + description "Trace lookup events"; + } + enum "compilation" { + description "Rule-sets compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list profile { + key name; + ordered-by user; + description "Configure application-firewall profile"; + leaf name { + description "Surf control integrated profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container block-message { + description "Block message settings"; + uses apply-advanced; + container type { + description "Type of block message desired"; + uses apply-advanced; + choice type-choice { + case case_1 { + container custom-text { + description "Custom defined block message"; + uses apply-advanced; + leaf content { + description "Content of custom-text"; + type string { + length "1 .. 511"; + } + } + } + } + case case_2 { + container custom-redirect-url { + description "Custom redirect URL server"; + uses apply-advanced; + leaf content { + description "URL of block message"; + type string { + length "1 .. 1023"; + } + } + } + } + } + } + } + } + list rule-sets { + key name; + ordered-by user; + description "Configure application-firewall rule-sets"; + leaf name { + description "Application firewall rule-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule"; + uses appfw_rule_type; + } + container default-rule { + presence "enable default-rule"; + description "Specify default rule for a rule-set"; + uses apply-advanced; + choice action { + case case_1 { + leaf permit { + description "Permit packets"; + type empty; + } + } + case case_2 { + container deny { + presence "enable deny"; + description "Deny packets"; + uses apply-advanced; + leaf block-message { + description "Block message"; + type empty; + } + } + } + case case_3 { + container reject { + presence "enable reject"; + description "Reject packets"; + uses apply-advanced; + leaf block-message { + description "Block message"; + type empty; + } + } + } + } + } + leaf profile { + description "Profile for block message"; + type string; + } + } + container nested-application { + presence "enable nested-application"; + description "Configure nested application dynamic lookup"; + status deprecated; + uses apply-advanced; + container dynamic-lookup { + presence "enable dynamic-lookup"; + description "Configure dynamic lookup"; + uses apply-advanced; + leaf enable { + description "Enable dynamic lookup"; + type empty; + } + } + } + } + container application-tracking { + presence "enable application-tracking"; + description "Application tracking configuration"; + uses apply-advanced; + leaf disable { + description "Disable Application tracking"; + type empty; + } + choice update-interval { + case case_1 { + leaf first-update-interval { + description "Interval when the first update message is sent"; + units "minutes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf first-update { + description "Generate Application tracking initial message when a session is created"; + type empty; + } + } + } + leaf session-update-interval { + description "Frequency in which Application tracking update messages are generated"; + units "minutes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container utm { + description "Content security service configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for utm"; + uses utm-traceoptions; + } + container application-proxy { + description "Application proxy settings"; + uses apply-advanced; + container traceoptions { + description "Trace options for application proxy"; + uses utm-apppxy-traceoptions; + } + } + container ipc { + description "IPC settings"; + uses apply-advanced; + container traceoptions { + description "Trace options for IPC"; + uses utm-ipc-traceoptions; + } + } + container custom-objects { + description "Custom-objects settings"; + uses apply-advanced; + container category-package { + description "Category package download and install options"; + uses apply-advanced; + leaf url { + description "HTTPS URL of category package download"; + type string; + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + container automatic { + description "Scheduled download and install"; + uses apply-advanced; + leaf start-time { + description "Start time (YYYY-MM-DD.HH:MM:SS)"; + type jt:time; + } + leaf interval { + description "Interval in hours"; + default "168"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 336"; + } + } + } + leaf enable { + description "Enable automatic download and install"; + type empty; + } + } + } + list mime-pattern { + key name; + ordered-by user; + description "Configure mime-list object"; + uses mime-list-type; + } + list filename-extension { + key name; + ordered-by user; + description "Configure extension-list object"; + uses extension-list-type; + } + list url-pattern { + key name; + ordered-by user; + description "Configure url-list object"; + uses url-list-type; + } + list custom-url-category { + key name; + ordered-by user; + description "Configure category-list object"; + uses category-list-type; + } + list protocol-command { + key name; + ordered-by user; + description "Configure command-list object"; + uses command-list-type; + } + list custom-message { + key name; + ordered-by user; + description "Configure custom-message object"; + uses custom-message-type; + } + } + container default-configuration { + description "Global default UTM configurations"; + uses apply-advanced; + container anti-virus { + description "Configure anti-virus feature"; + uses default-anti-virus-feature; + } + container web-filtering { + description "Configure web-filtering feature"; + uses default-webfilter-feature; + } + container anti-spam { + description "Configure anti-spam feature"; + uses default-anti-spam-feature; + } + container content-filtering { + description "Configure content filtering feature"; + uses default-content-filtering-feature; + } + } + container feature-profile { + description "Feature-profile settings"; + uses apply-advanced; + container anti-virus { + description "Configure anti-virus feature"; + uses anti-virus-feature; + } + container web-filtering { + description "Configure web-filtering feature"; + uses webfilter-feature; + } + container anti-spam { + description "Configure anti-spam feature"; + uses anti-spam-feature; + } + container content-filtering { + description "Configure content filtering feature"; + uses content-filtering-feature; + } + } + list utm-policy { + key name; + ordered-by user; + description "Configure profile "; + uses profile-setting; + } + } + container dynamic-address { + presence "enable dynamic-address"; + description "Configure security dynamic address"; + uses apply-advanced; + container traceoptions { + description "Security dynamic address tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration details"; + } + enum "control" { + description "Daemon control message"; + } + enum "ipc" { + description "IPC message sending and receiving"; + } + enum "ip-entry" { + description "IP entry management"; + } + enum "file-retrieval" { + description "File retrieval"; + } + enum "lookup" { + description "Lookup detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list feed-server { + key name; + ordered-by user; + description "Security dynamic address feed-server"; + max-elements 2; + leaf name { + description "Security dynamic address feed-server name"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + leaf description { + description "Text description of feed-server"; + type string { + length "1 .. 900"; + } + } + leaf hostname { + description "Hostname or IP address of feed-server"; + type string { + length "1 .. 256"; + } + } + leaf update-interval { + description "Interval to retrieve update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf hold-interval { + description "Time to keep IP entry when update failed"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list feed-name { + key name; + ordered-by user; + description "Feed name in feed-server"; + leaf name { + description "Security dynamic address feed name in feed-server"; + type string { + length "1 .. 240"; + } + } + uses apply-advanced; + leaf description { + description "Text description of feed in feed-server"; + type string { + length "1 .. 900"; + } + } + leaf path { + description "Path of feed, appended to feed-server to form a complete URL"; + type string { + length "1 .. 1024"; + } + } + leaf update-interval { + description "Interval to retrieve update"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf hold-interval { + description "Time to keep IP entry when update failed"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + } + list address-name { + key name; + ordered-by user; + description "Security dynamic address name"; + leaf name { + description "Security dynamic address name"; + type string { + length "1 .. 240"; + } + } + uses apply-advanced; + leaf description { + description "Text description of dynamic address"; + type string { + length "1 .. 900"; + } + } + container profile { + presence "enable profile"; + description "Information to categorize feed data into this dynamic address"; + uses apply-advanced; + list feed-name { + key name; + ordered-by user; + description "Name of feed in feed-server for this dynamic address"; + max-elements 1; + leaf name { + description "Name of feed in feed-server which is mapped to this dynamic address"; + type string { + length "1 .. 240"; + } + } + uses apply-advanced; + } + list category { + key name; + ordered-by user; + description "Name of category"; + max-elements 1; + leaf name { + description "Name of category"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf feed { + description "Name of feed under category"; + type string { + length "1 .. 32"; + } + } + list property { + key name; + ordered-by user; + description "Property to match"; + max-elements 3; + leaf name { + description "Name of property"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + choice property-value { + case case_1 { + list string { + key name; + ordered-by user; + description "Value type is strings"; + max-elements 256; + leaf name { + description "String value"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + } + } + } + } + } + container dynamic-vpn { + description "Configure dynamic VPN"; + uses apply-advanced; + container traceoptions { + description "Dynamic-vpn trace options"; + uses httpd_dvpn_traceoptions_type; + } + leaf force-upgrade { + description "Force Upgrade"; + type empty; + } + leaf access-profile { + description "Configure access"; + type string; + } + leaf-list interface { + ordered-by user; + description "Interfaces that accept Dynamic-VPN client access"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list clients { + key name; + ordered-by user; + description "Configure for remote access client"; + uses clients-object; + } + leaf config-check { + description "Perform extra configuration validation"; + type empty; + } + } + container dynamic-application { + presence "enable dynamic-application"; + description "Configure dynamic-application"; + uses apply-advanced; + container traceoptions { + description "Dynamic application tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "lookup" { + description "Trace lookup events"; + } + enum "compilation" { + description "Rule-sets compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list profile { + key name; + ordered-by user; + description "Configure application-firewall profile"; + leaf name { + description "Surf control integrated profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container redirect-message { + description "Redirect message settings"; + uses apply-advanced; + container type { + description "Type of redirect message desired"; + uses apply-advanced; + choice type-choice { + case case_1 { + container custom-text { + description "Custom defined text block message"; + uses apply-advanced; + leaf content { + description "Content of custom-text"; + type string { + length "1 .. 511"; + } + } + } + } + case case_2 { + container redirect-url { + description "Custom redirect URL server"; + uses apply-advanced; + leaf content { + description "URL of block message"; + type string { + length "1 .. 1023"; + } + } + } + } + } + } + } + } + } + container softwires { + description "Configure softwire feature"; + uses apply-advanced; + list softwire-name { + key name; + description "Configure softwire object"; + uses softwire-option-type; + } + container traceoptions { + description "Trace options for Network Security DS-Lite"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container forwarding-options { + description "Security-forwarding-options configuration"; + uses apply-advanced; + container family { + description "Security forwarding-options for family"; + uses apply-advanced; + container inet6 { + description "Family IPv6"; + uses apply-advanced; + leaf mode { + description "Forwarding mode"; + type enumeration { + enum "packet-based" { + description "Enable packet-based forwarding"; + } + enum "flow-based" { + description "Enable flow-based forwarding"; + } + enum "drop" { + description "Disable forwarding"; + } + } + } + } + container mpls { + description "Family MPLS"; + uses apply-advanced; + leaf mode { + description "Forwarding mode"; + type enumeration { + enum "packet-based" { + description "Enable packet-based forwarding"; + } + } + } + } + container iso { + description "Family ISO"; + uses apply-advanced; + leaf mode { + description "Forwarding mode"; + type enumeration { + enum "packet-based" { + description "Enable packet-based forwarding"; + } + } + } + } + } + list mirror-filter { + key name; + ordered-by user; + description "Security mirror filters"; + max-elements 15; + uses mirror-filter-type; + } + list secure-wire { + key name; + description "Secure-wire cross connections"; + uses secure-wire-type; + } + } + container advanced-services { + description "Advanced services configuration"; + uses apply-advanced; + container data-plane { + description "Data plane configuration"; + uses apply-advanced; + container memory { + description "Data plane memory configuration"; + uses apply-advanced; + leaf low { + description "Reduce data plane memory"; + type empty; + } + } + } + } + container flow { + description "FLOW configuration"; + uses apply-advanced; + leaf enhanced-routing-mode { + description "Enable enhanced route scaling"; + type empty; + } + container traceoptions { + description "Trace options for flow services"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + type enumeration { + enum "all" { + description "All events"; + } + enum "basic-datapath" { + description "Basic packet flow"; + } + enum "high-availability" { + description "Flow high-availability information"; + } + enum "host-traffic" { + description "Flow host-traffic information"; + } + enum "fragmentation" { + description "Ip fragmentation and reassembly events"; + } + enum "multicast" { + description "Multicast flow information"; + } + enum "route" { + description "Route lookup information"; + } + enum "session" { + description "Session creation and deletion events"; + } + enum "session-scan" { + description "Session scan information"; + } + enum "tcp-basic" { + description "TCP packet flow"; + } + enum "tunnel" { + description "Tunnel information"; + } + } + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list packet-filter { + key name; + ordered-by user; + description "Flow packet debug filters"; + max-elements 64; + uses flow-filter-type; + } + container trace-level { + description "FLow trace level"; + uses apply-advanced; + choice level { + case case_1 { + leaf error { + description "Error messages"; + type empty; + } + } + case case_2 { + leaf brief { + description "Brief messages"; + type empty; + } + } + case case_3 { + leaf detail { + description "Detail messages"; + type empty; + } + } + } + } + } + leaf pending-sess-queue-length { + description "Maximum queued length per pending session"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal number of sessions queued"; + } + enum "moderate" { + description "Allow more queued sessions than normal"; + } + enum "high" { + description "Maximum number of queued sessions"; + } + } + } + leaf allow-dns-reply { + description "Allow unmatched incoming DNS reply packet"; + type empty; + } + leaf route-change-timeout { + description "Timeout value for route change to nonexistent route"; + default "6"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 1800"; + } + } + } + leaf syn-flood-protection-mode { + description "TCP SYN flood protection mode"; + default "syn-cookie"; + type enumeration { + enum "syn-cookie" { + description "Enable SYN cookie protection"; + } + enum "syn-proxy" { + description "Enable SYN proxy protection"; + } + } + } + leaf allow-embedded-icmp { + description "Allow embedded ICMP packets not matching a session to pass through"; + type empty; + } + leaf mcast-buffer-enhance { + description "Allow to hold more packets during multicast session creation"; + type empty; + } + leaf allow-reverse-ecmp { + description "Allow reverse ECMP route lookup"; + type empty; + } + leaf sync-icmp-session { + description "Allow icmp sessions to sync to peer node"; + type empty; + } + leaf ipsec-performance-acceleration { + description "Accelerate the IPSec traffic performance"; + type empty; + } + container aging { + description "Aging configuration"; + uses apply-advanced; + leaf early-ageout { + description "Delay before device declares session invalid"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf low-watermark { + description "Percentage of session-table capacity at which aggressive aging-out ends"; + default "100"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-watermark { + description "Percentage of session-table capacity at which aggressive aging-out starts"; + default "100"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container ethernet-switching { + description "Ethernet-switching configuration for flow"; + uses apply-advanced; + leaf block-non-ip-all { + description "Block all non-IP and non-ARP traffic including broadcast/multicast"; + type empty; + } + leaf bypass-non-ip-unicast { + description "Allow all non-IP (including unicast) traffic"; + type empty; + } + container no-packet-flooding { + presence "enable no-packet-flooding"; + description "Stop IP flooding, send ARP/ICMP to trigger MAC learning"; + uses apply-advanced; + leaf no-trace-route { + description "Don't send ICMP to trigger MAC learning"; + type empty; + } + } + leaf bpdu-vlan-flooding { + description "Set 802.1D BPDU flooding based on VLAN"; + type empty; + } + } + container tcp-mss { + description "TCP maximum segment size configuration"; + uses apply-advanced; + container all-tcp { + description "Enable MSS override for all packets"; + uses apply-advanced; + leaf mss { + description "MSS value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + container ipsec-vpn { + presence "enable ipsec-vpn"; + description "Enable MSS override for all packets entering IPSec tunnel"; + uses apply-advanced; + leaf mss { + description "MSS value"; + default "1320"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + container gre-in { + presence "enable gre-in"; + description "Enable MSS override for all GRE packets coming out of an IPSec tunnel"; + uses apply-advanced; + leaf mss { + description "MSS value"; + default "1320"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + container gre-out { + presence "enable gre-out"; + description "Enable MSS override for all GRE packets entering an IPsec tunnel"; + uses apply-advanced; + leaf mss { + description "MSS value"; + default "1320"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + } + container tcp-session { + description "Transmission Control Protocol session configuration"; + uses apply-advanced; + leaf rst-invalidate-session { + description "Immediately end session on receipt of reset (RST) segment"; + type empty; + } + leaf fin-invalidate-session { + description "Immediately end session on receipt of fin (FIN) segment"; + type empty; + } + leaf rst-sequence-check { + description "Check sequence number in reset (RST) segment"; + type empty; + } + leaf no-syn-check { + description "Disable creation-time SYN-flag check"; + type empty; + } + leaf strict-syn-check { + description "Enable strict syn check"; + type empty; + } + leaf no-syn-check-in-tunnel { + description "Disable creation-time SYN-flag check for tunnel packets"; + type empty; + } + leaf no-sequence-check { + description "Disable sequence-number checking"; + type empty; + } + leaf tcp-initial-timeout { + description "Timeout for TCP session when initialization fails"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf maximum-window { + description "Maximum TCP proxy scaled receive window, default 256K bytes"; + default "256K"; + type enumeration { + enum "64K" { + description "64K bytes receive window"; + } + enum "128K" { + description "128K bytes receive window"; + } + enum "256K" { + description "256K bytes receive window"; + } + enum "512K" { + description "512K bytes receive window"; + } + enum "1M" { + description "1M bytes receive window"; + } + } + } + container time-wait-state { + presence "enable time-wait-state"; + description "Session timeout value in time-wait state, default 150 seconds"; + uses apply-advanced; + choice session-age-option { + case case_1 { + leaf session-ageout { + description "Allow session to ageout using service based timeout values"; + type empty; + } + } + case case_2 { + leaf session-timeout { + description "Configure session timeout value for time-wait state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 600"; + } + } + } + } + } + leaf apply-to-half-close-state { + description "Apply time-wait-state timeout to half-close state"; + type empty; + } + } + } + leaf force-ip-reassembly { + description "Force to reassemble ip fragments"; + type empty; + } + leaf preserve-incoming-fragment-size { + description "Preserve incoming fragment size for egress MTU"; + type empty; + } + container log { + description "Enable log"; + uses apply-advanced; + leaf dropped-icmp-packet { + description "Log dropped ICMPv4 packet"; + type empty; + } + leaf dropped-illegal-packet { + description "Log dropped illegal packet"; + type empty; + } + } + container advanced-options { + description "Flow config advanced options"; + uses apply-advanced; + leaf drop-matching-reserved-ip-address { + description "Drop matching reserved source IP address"; + type empty; + } + leaf drop-matching-link-local-address { + description "Drop matching link local address"; + type empty; + } + leaf reverse-route-packet-mode-vr { + description "Allow reverse route lookup with packet mode vr"; + type empty; + } + } + container load-distribution { + description "Flow config SPU load distribution"; + uses apply-advanced; + container session-affinity { + description "SPU load distribution based on the service anchor SPU"; + uses apply-advanced; + leaf ipsec { + description "IPsec service"; + type empty; + } + } + } + container packet-log { + description "Configure flow packet log"; + uses apply-advanced; + leaf enable { + description "Enable log for dropped packet"; + type empty; + } + leaf throttle-interval { + description "Interval should be configured as a power of two"; + default "1024"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32768"; + } + } + } + list packet-filter { + key name; + ordered-by user; + description "Configure packet log filter"; + max-elements 64; + uses flow-filter-type; + } + } + leaf power-mode-ipsec { + description "Enable power mode ipsec processing"; + type empty; + } + } + container firewall-authentication { + description "Firewall authentication parameters"; + uses apply-advanced; + container traceoptions { + description "Data-plane firewall authentication tracing options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Events to include in trace output"; + leaf name { + type enumeration { + enum "authentication" { + description "Data-plane firewall authentication events"; + } + enum "proxy" { + description "Data-plane firewall authentication proxy events"; + } + enum "all" { + description "All events"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Include terse amount of output in trace"; + type empty; + } + } + case case_2 { + leaf detail { + description "Include detailed amount of output in trace"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Include extensive amount of output in trace"; + type empty; + } + } + } + } + } + } + container screen { + description "Configure screen feature"; + uses apply-advanced; + container trap { + presence "enable trap"; + description "Configure trap interval"; + leaf interval { + description "Trap interval"; + default "2"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + list ids-option { + key name; + description "Configure ids-option"; + uses ids-option-type; + } + container traceoptions { + description "Trace options for Network Security Screen"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list white-list { + key name; + description "Set of IP addresses for white list"; + max-elements 32; + uses ids-wlist-type; + } + } + container nat { + description "Configure Network Address Translation"; + uses nat-object; + } + container forwarding-process { + description "Configure security forwarding-process options"; + uses apply-advanced; + leaf enhanced-services-mode { + description "Enable enhanced application services mode"; + type empty; + } + container application-services { + description "Configure application service options"; + uses apply-advanced; + leaf maximize-alg-sessions { + description "Maximize ALG session capacity"; + type empty; + } + leaf maximize-persistent-nat-capacity { + description "Increase persistent NAT capacity by reducing maximum flow sessions"; + type empty; + } + container maximize-cp-sessions { + presence "enable maximize-cp-sessions"; + description "Maximize CP session capacity"; + status deprecated; + uses apply-advanced; + } + leaf session-distribution-mode { + description "Session distribution mode"; + status deprecated; + type enumeration { + enum "normal" { + description "Normal mode"; + status deprecated; + } + enum "hash-based" { + description "Hash mode"; + status deprecated; + } + } + } + leaf enable-gtpu-distribution { + description "Enable GTP-U distribution"; + type empty; + } + leaf packet-ordering-mode { + description "Packet ordering mode"; + type enumeration { + enum "hardware" { + description "Hardware mode"; + } + enum "software" { + description "Software mode"; + } + } + } + container maximize-idp-sessions { + presence "enable maximize-idp-sessions"; + description "Run security services in dedicated processes to maximize IDP session capacity"; + uses apply-advanced; + container weight { + description "Adjust the weighting of the resources available for idp"; + uses apply-advanced; + choice weight { + case case_1 { + leaf equal { + description "Equal resources to IDP and firewall"; + status deprecated; + type empty; + } + } + case case_2 { + container idp { + presence "enable idp"; + description "IDP has more resources than firewall"; + uses apply-advanced; + } + } + case case_3 { + leaf firewall { + description "Firewall has more resources than IDP"; + type empty; + } + } + } + } + leaf inline-tap { + description "Configure IDP in inline tap mode"; + type empty; + } + } + } + } + container policies { + description "Configure Network Security Policies"; + presence "enable policies"; + uses policy-object-type; + } + container tcp-encap { + presence "enable tcp-encap"; + description "Configure TCP Encapsulation."; + uses apply-advanced; + container traceoptions { + description "Trace options for TCP encapsulation service"; + uses ragw-traceoptions; + } + list profile { + key name; + ordered-by user; + description "Configure profile."; + leaf name { + description "Profile name identifier."; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf ssl-profile { + description "SSL Termination profile"; + type string; + } + leaf log { + description "Enable logging for remote-access"; + type empty; + } + } + container global-options { + description "Global settings for TCP encapsulation"; + leaf enable-tunnel-tracking { + description "Track ESP tunnels"; + type empty; + } + } + } + container resource-manager { + description "Configure resource manager security options"; + uses apply-advanced; + container traceoptions { + description "Traceoptions for resource manager"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Resource manager objects and events to include in trace"; + leaf name { + type enumeration { + enum "client" { + description "Trace resource manager client"; + } + enum "group" { + description "Trace resource manager group"; + } + enum "resource" { + description "Trace resource manager resource"; + } + enum "gate" { + description "Trace resource manager created gates"; + } + enum "session" { + description "Trace resource manager created session"; + } + enum "chassis cluster" { + description "Trace resource manager's chassis cluster events"; + } + enum "messaging" { + description "Trace resource manager messaging"; + } + enum "service pinhole" { + description "Trace resource manager created service pinholes"; + } + enum "error" { + description "Trace all resource manager errors"; + } + enum "all" { + description "Trace all resource manager objects and events"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Set trace verbosity level to terse"; + type empty; + } + } + case case_2 { + leaf detail { + description "Set trace verbosity level to detail"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container analysis { + description "Configure security analysis"; + uses apply-advanced; + leaf no-report { + description "Stops security analysis reporting"; + type empty; + } + } + container traceoptions { + description "Network security daemon tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "compilation" { + description "Trace compilation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container datapath-debug { + description "Datapath debug options"; + uses apply-advanced; + container traceoptions { + description "End to end debug trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + container capture-file { + description "Packet capture options"; + leaf filename { + description "Capture file name"; + type string; + } + leaf format { + description "Capture file format"; + type enumeration { + enum "pcap" { + description "PCAP capture format"; + } + } + } + leaf size { + description "Maximum file size"; + type string; + } + leaf files { + description "Maximum number of files"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read packet-capture files"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read packet-capture files"; + type empty; + } + } + } + leaf maximum-capture-size { + description "Max packet capture length"; + default "68"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "68 .. 10000"; + } + } + } + list action-profile { + key name; + ordered-by user; + description "Action profile definitions"; + uses e2e-action-profile; + } + list packet-filter { + key name; + ordered-by user; + description "Packet filter configuration"; + max-elements 4; + uses end-to-end-debug-filter; + } + } + container user-identification { + description "Configure user-identification"; + uses apply-advanced; + container traceoptions { + description "User-identification Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + } + } + list authentication-source { + key name; + description "Configure user-identification authentication-source"; + uses authentication-source-type; + } + } + container zones { + description "Zone configuration"; + uses apply-advanced; + container functional-zone { + presence "enable functional-zone"; + description "Functional zone"; + container management { + presence "enable management"; + description "Host for out of band management interfaces"; + uses apply-advanced; + list interfaces { + key name; + ordered-by user; + description "Interfaces that are part of this zone"; + uses zone-interface-list-type; + } + leaf screen { + description "Name of ids option object applied to the zone"; + type string { + length "1 .. 64"; + } + } + container host-inbound-traffic { + description "Allowed system services & protocols"; + uses zone_host_inbound_traffic_t; + } + leaf description { + description "Text description of zone"; + type string { + length "1 .. 900"; + } + } + } + } + list security-zone { + key name; + ordered-by user; + description "Security zones"; + uses security-zone-type; + } + } + container advance-policy-based-routing { + presence "enable advance-policy-based-routing"; + description "Configure Network Security APBR Policies"; + uses apply-advanced; + container traceoptions { + description "Advance policy based routing tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "lookup" { + description "Trace lookup events"; + } + enum "compilation" { + description "Rule-sets compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container tunables { + description "Configure advance policy based routing tunables"; + uses apply-advanced; + leaf max-route-change { + description "Maximum route change"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + leaf drop-on-zone-mismatch { + description "Drop session if zone mismatches"; + type empty; + } + leaf enable-logging { + description "Enable AppTrack logging"; + type empty; + } + } + list profile { + key name; + ordered-by user; + description "Configure advance-policy-based-routing profile"; + leaf name { + description "Advance policy based routing profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Specify an advance policy based routing rule"; + uses apbr_rule_type; + } + } + list active-probe-params { + key name; + ordered-by user; + description "Active probe's settings"; + max-elements 32; + leaf name { + description "Active probe setting name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container settings { + description "Settings"; + uses appqoe-probe-params; + } + } + list metrics-profile { + key name; + ordered-by user; + description "Configure metric profiles"; + max-elements 32; + leaf name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container sla-threshold { + description "Configure SLA metric threshold"; + uses appqoe_sla_metric_profile; + } + } + list overlay-path { + key name; + ordered-by user; + description "List of overlay paths"; + max-elements 100; + leaf name { + description "Create a single instance of overlay path"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container tunnel-path { + description "Tunnel start & end ip addresses"; + presence "enable tunnel-path"; + uses appqoe-probe-path; + } + container probe-path { + description "Probe start & end ip addresses"; + presence "enable probe-path"; + uses appqoe-probe-path; + } + } + list destination-path-group { + key name; + ordered-by user; + description "Group of tunnels to a particular destination"; + max-elements 50; + leaf name { + description "Destination group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container probe-routing-instance { + presence "enable probe-routing-instance"; + description "Set routing instance for the probe-path"; + uses apply-advanced; + leaf routing-instance-name { + description "Name of routing instance"; + type string; + } + } + list overlay-path { + key name; + ordered-by user; + description "List of paths"; + max-elements 20; + leaf name { + description "Name of Overlay Path"; + type string; + } + uses apply-advanced; + } + } + container sla-options { + presence "enable sla-options"; + description "Global SLA options"; + uses apply-advanced; + container local-route-switch { + presence "enable local-route-switch"; + description "Enable/disable Automatic local route switching"; + uses apply-advanced; + leaf switch-type { + type enumeration { + enum "enabled" { + description "Enable"; + } + enum "disabled" { + description "Disable"; + } + } + } + } + container log-type { + presence "enable log-type"; + description "Choose the logging mechanism"; + uses apply-advanced; + leaf log { + type enumeration { + enum "syslog" { + description "Choose syslog"; + } + } + } + } + container max-passive-probe-limit { + presence "enable max-passive-probe-limit"; + description "Set max passive probe limits"; + uses apply-advanced; + container number-of-probes { + presence "enable number-of-probes"; + description "Number of passive probes to be sent"; + uses apply-advanced; + leaf probes { + description "Number of probes"; + default "5000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 5000"; + } + } + } + } + container interval { + presence "enable interval"; + description "Interval within which to send"; + uses apply-advanced; + leaf refresh-interval { + description "Interval in milli seconds"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 1000"; + } + } + } + } + } + } + list sla-rule { + key name; + ordered-by user; + description "Create SLA rule"; + max-elements 640; + leaf name { + description "Set rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container switch-idle-time { + presence "enable switch-idle-time"; + description "Idle timeout period where no SLA violation will be detected once path switch has happened"; + uses apply-advanced; + leaf timeout { + description "Idle timeout period (in seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container metrics-profile { + presence "enable metrics-profile"; + description "Set metrics profile for the SLA"; + uses apply-advanced; + leaf metrics-profile-name { + description "Metrics Profile name"; + type string; + } + } + container active-probe-params { + presence "enable active-probe-params"; + description "Set Probe params for the overlay-path"; + uses apply-advanced; + leaf probe-params-name { + description "Probe parameter's name"; + type string; + } + } + container passive-probe-params { + presence "enable passive-probe-params"; + description "Passive probe settings"; + uses apply-advanced; + container sampling-percentage { + presence "enable sampling-percentage"; + description "Mininmum percentage of Sessions to be evaluated for the application"; + uses apply-advanced; + leaf percentage { + description "Percentage"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container violation-count { + presence "enable violation-count"; + description "Number of SLA violations within sampling period to be considered as a violation."; + uses apply-advanced; + leaf count { + description "Count"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + container sampling-period { + presence "enable sampling-period"; + description "Time period in which the sampling is done"; + uses apply-advanced; + leaf period { + description "Period (in milli-sec)"; + default "5000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 60000"; + } + } + } + } + container sla-export-factor { + presence "enable sla-export-factor"; + description "Enabled sampling window based SLA exporting"; + uses apply-advanced; + leaf factor { + description "No of sampling windows after which to report"; + default "25"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 200"; + } + } + } + } + container type { + presence "enable type"; + description "Choose type of SLA measurement"; + uses apply-advanced; + leaf type-val { + type enumeration { + enum "book-ended" { + description "Choose custom method of probing within WAN link"; + } + } + } + } + container sampling-frequency { + presence "enable sampling-frequency"; + description "Sampling frequency settings"; + uses apply-advanced; + container interval { + presence "enable interval"; + description "Time based sampling interval"; + uses apply-advanced; + leaf sampling-interval { + description "Interval in milli seconds"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 500"; + } + } + } + } + container ratio { + presence "enable ratio"; + description "1:N based sampling ratio"; + uses apply-advanced; + leaf sampling-ratio { + description "Value of N"; + default "200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + } + } + } + } + list policy { + key name; + ordered-by user; + description "Define a policy context from this zone"; + leaf name { + description "Source zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Define security policy in specified zone-to-zone direction"; + uses sla_policy_type; + } + } + } + container gprs { + presence "enable gprs"; + description "GPRS configuration"; + uses apply-advanced; + container gtp { + description "GPRS tunneling protocol configuration"; + uses apply-advanced; + list profile { + key name; + description "Configure GTP Profile"; + leaf name { + description "GTP profile name"; + type string { + length "1 .. 24"; + } + } + uses apply-advanced; + leaf min-message-length { + description "Minimum message length, from 0 to 65535 "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf max-message-length { + description "Maximum message length, from 1 to 65535"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf timeout { + description "Tunnel idle timeout"; + units "hour"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf rate-limit { + description "Limit messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 80000"; + } + } + } + container log { + presence "enable log"; + description "GPRS tunneling protocol logs"; + uses apply-advanced; + leaf forwarded { + description "Log passed good packets"; + type enumeration { + enum "basic" { + description "Basic logs"; + } + enum "detail" { + description "Detailed logs"; + } + } + } + leaf state-invalid { + description "Dropped by state-inspection or sanity failure"; + type enumeration { + enum "basic" { + description "Basic logs"; + } + enum "detail" { + description "Detailed logs"; + } + } + } + leaf prohibited { + description "Dropped for type/length/version filtering"; + type enumeration { + enum "basic" { + description "Basic logs"; + } + enum "detail" { + description "Detailed logs"; + } + } + } + list gtp-u { + key name; + description "Logs for gtp-u"; + leaf name { + description "Logs for gtp-u"; + type enumeration { + enum "all" { + description "All gtp-u logs"; + } + enum "dropped" { + description "Dropped gtp-u logs"; + } + } + } + uses apply-advanced; + } + container rate-limited { + presence "enable rate-limited"; + description "Dropped for rate-limit"; + uses apply-advanced; + choice rate-limited-attr { + case case_1 { + leaf basic { + description "Basic logs"; + type empty; + } + } + case case_2 { + leaf detail { + description "Detailed logs"; + type empty; + } + } + } + leaf frequency-number { + description "Logging frequency over threshold, set by rate-limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 500"; + } + } + } + } + } + container remove-ie { + presence "enable remove-ie"; + description "Remove information elements"; + uses apply-advanced; + list version { + key name; + description "GTP version"; + leaf name { + description "Version name"; + type enumeration { + enum "v1" { + description "GTP v1"; + } + } + } + uses apply-advanced; + list release { + key name; + description "Remove information elements by release"; + leaf name { + description "Release name"; + type enumeration { + enum "R6" { + description "Release 6"; + } + enum "R7" { + description "Release 7"; + } + enum "R8" { + description "Release 8"; + } + enum "R9" { + description "Release 9"; + } + } + } + uses apply-advanced; + } + list number { + key name; + description "Remove information elements by number"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + } + } + } + container path-rate-limit { + description "Limit control messages based on IP pairs"; + uses apply-advanced; + list message-type { + key name; + description "Specific group of control messages"; + leaf name { + description "Specific group of control messages"; + type enumeration { + enum "create-req" { + description "Limit packet-per-second of GTP create request"; + } + enum "delete-req" { + description "Limit packet-per-second of GTP delete request"; + } + enum "echo-req" { + description "Limit packet-per-minute of GTP echo request"; + } + enum "other" { + description "Limit packet-per-second of all other GTP control messages"; + } + } + } + uses apply-advanced; + container drop-threshold { + description "Set drop threshold for path rate limiting"; + uses apply-advanced; + leaf forward { + description "Limit messages of forward direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf reverse { + description "Limit messages of reverse direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + container alarm-threshold { + description "Set alarm threshold for path rate limiting"; + uses apply-advanced; + leaf forward { + description "Limit messages of forward direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf reverse { + description "Limit messages of reverse direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + container drop { + description "Drop certain type of messages"; + uses apply-advanced; + list aa-create-pdp { + key name; + ordered-by user; + description "Create AA pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + } + } + uses apply-advanced; + } + list aa-delete-pdp { + key name; + ordered-by user; + description "Delete AA pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + } + } + uses apply-advanced; + } + list bearer-resource { + key name; + ordered-by user; + description "Bearer resource command/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list change-notification { + key name; + ordered-by user; + description "Change notification request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list config-transfer { + key name; + ordered-by user; + description "Configuration transfer message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list context { + key name; + ordered-by user; + description "Context request/response/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-bearer { + key name; + ordered-by user; + description "Create bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-data-forwarding { + key name; + ordered-by user; + description "Create indirect data forwarding tunnel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-pdp { + key name; + ordered-by user; + description "Create pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list create-session { + key name; + ordered-by user; + description "Create session request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-tnl-forwarding { + key name; + ordered-by user; + description "Create forwarding tunnel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list cs-paging { + key name; + ordered-by user; + description "CS paging indication message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list data-record { + key name; + ordered-by user; + description "Data record request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list delete-bearer { + key name; + ordered-by user; + description "Delete bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-command { + key name; + ordered-by user; + description "Delete bearer command/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-data-forwarding { + key name; + ordered-by user; + description "Delete indirect data forwarding tunnel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-pdn { + key name; + ordered-by user; + description "Delete PDN connection set request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-pdp { + key name; + ordered-by user; + description "Delete pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list delete-session { + key name; + ordered-by user; + description "Delete session request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list detach { + key name; + ordered-by user; + description "Detach notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list downlink-notification { + key name; + ordered-by user; + description "Downlink data notification/ack/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list echo { + key name; + ordered-by user; + description "Echo request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list error-indication { + key name; + ordered-by user; + description "Error indication message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list failure-report { + key name; + ordered-by user; + description "Failure report request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list fwd-access { + key name; + ordered-by user; + description "Forward access context notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list fwd-relocation { + key name; + ordered-by user; + description "Forward relocation request/response/comp/comp-ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list fwd-srns-context { + key name; + ordered-by user; + description "Forward SRNS context/context-ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + } + } + uses apply-advanced; + } + list g-pdu { + key name; + ordered-by user; + description "G-PDU (user PDU) message/T-PDU"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list identification { + key name; + ordered-by user; + description "Identification request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list mbms-session-start { + key name; + ordered-by user; + description "MBMS session start request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list mbms-session-stop { + key name; + ordered-by user; + description "MBMS session stop request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list mbms-session-update { + key name; + ordered-by user; + description "MBMS session update request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list modify-bearer { + key name; + ordered-by user; + description "Modify bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list modify-command { + key name; + ordered-by user; + description "Modify bearer command/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list node-alive { + key name; + ordered-by user; + description "Node alive request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list note-ms-present { + key name; + ordered-by user; + description "Note MS GPRS present request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list pdu-notification { + key name; + ordered-by user; + description "PDU notification requst/response/reject/reject-response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list ran-info { + key name; + ordered-by user; + description "RAN info relay message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list redirection { + key name; + ordered-by user; + description "Redirection request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list release-access { + key name; + ordered-by user; + description "Release access-bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list relocation-cancel { + key name; + ordered-by user; + description "Relocation cancel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list resume { + key name; + ordered-by user; + description "Resume notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list send-route { + key name; + ordered-by user; + description "Send route info request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list sgsn-context { + key name; + ordered-by user; + description "SGSN context request/response/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list stop-paging { + key name; + ordered-by user; + description "Stop paging indication message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list supported-extension { + key name; + ordered-by user; + description "Supported extension headers notification message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + } + } + uses apply-advanced; + } + list suspend { + key name; + ordered-by user; + description "Suspend notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list trace-session { + key name; + ordered-by user; + description "Trace session activation/deactivation message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list update-bearer { + key name; + ordered-by user; + description "Update bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list update-pdn { + key name; + ordered-by user; + description "Update PDN connection set request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list update-pdp { + key name; + ordered-by user; + description "Update pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list ver-not-supported { + key name; + ordered-by user; + description "Version not supported message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + } + list apn { + key name; + description "GTP Access Point Name (APN) filter"; + leaf name { + description "Specific APN pattern string"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list imsi-prefix { + key name; + description "Specific filter prefix digits for International Mobile Subscriber Identification(IMSI)"; + leaf name { + description "IMSI prefix should be * or 5-15 digits"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + container action { + description "Configure GTP profile APN action"; + uses apply-advanced; + choice action-c { + case case_1 { + leaf pass { + description "Pass all selection modes for this APN"; + type empty; + } + } + case case_2 { + leaf drop { + description "Drop all selection modes for this APN"; + type empty; + } + } + case case_3 { + container selection { + presence "enable selection"; + description "Allowed selection modes for this APN"; + uses apply-advanced; + leaf ms { + description "Mobile Station selection mode"; + type empty; + } + leaf net { + description "Network selection mode"; + type empty; + } + leaf vrf { + description "Subscriber verified mode"; + type empty; + } + } + } + } + } + } + } + leaf restart-path { + description "Restart GTP paths"; + type enumeration { + enum "echo" { + description "Restart GTP paths by detecting restart number stored in the Echo messages"; + } + enum "create" { + description "Restart GTP paths by detecting restart number stored in the Create messages"; + } + enum "all" { + description "Restart GTP paths by detecting restart number stored in the Echo or Create messages"; + } + } + } + leaf seq-number-validated { + description "Validate G-PDU sequence number"; + type empty; + } + leaf gtp-in-gtp-denied { + description "Deny nested GTP"; + type empty; + } + leaf u-tunnel-validated { + description "Validate GTP-u tunnel"; + type empty; + } + leaf end-user-address-validated { + description "Validate end user address"; + type empty; + } + leaf req-timeout { + description "Request message timeout, default timeout value 5 seconds"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 30"; + } + } + } + leaf handover-on-roaming-intf { + description "Enable tunnel setup by Handover messages on roaming interface"; + type empty; + } + container handover-group { + description "SGSN handover group configuration"; + uses apply-advanced; + leaf group-name { + description "SGSN handover group name"; + type string { + length "1 .. 24"; + } + } + } + } + container traceoptions { + description "Trace options for GPRS tunneling protocol"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "parser" { + description "Trace parser events"; + } + enum "chassis-cluster" { + description "Trace chassis cluster events"; + } + enum "gsn" { + description "Trace gsn events"; + } + enum "jmpi" { + description "Trace jmpi events"; + } + enum "tnl" { + description "Trace tnl events"; + } + enum "req" { + description "Trace req events"; + } + enum "path" { + description "Trace path events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container trace-level { + description "GTP trace level"; + uses apply-advanced; + choice level { + case case_1 { + leaf error { + description "Match error conditions"; + type empty; + } + } + case case_2 { + leaf warning { + description "Match warning messages"; + type empty; + } + } + case case_3 { + leaf notice { + description "Match conditions that should be handled specially"; + type empty; + } + } + case case_4 { + leaf info { + description "Match informational messages"; + type empty; + } + } + case case_5 { + leaf verbose { + description "Match verbose messages"; + type empty; + } + } + } + } + } + list handover-group { + key name; + description "Set handover group"; + leaf name { + description "Set handover group name"; + type string { + length "1 .. 24"; + } + } + uses apply-advanced; + list address-book { + key name; + description "Set addreess book"; + leaf name { + description "Set address book name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container address-set { + description "Set address set"; + uses apply-advanced; + leaf set-name { + description "Set address set name"; + type string { + length "1 .. 63"; + } + } + } + } + } + container handover-default { + description "Set handover default deny"; + uses apply-advanced; + leaf deny { + description "Handover default deny"; + type empty; + } + } + } + container sctp { + presence "enable sctp"; + description "GPRS stream control transmission protocol configuration"; + uses apply-advanced; + list profile { + key name; + description "Configure stream transmission protocol"; + leaf name { + description "SCTP configuration name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf nat-only { + description "Only do payload IPs translation for SCTP packet"; + type empty; + } + leaf association-timeout { + description "SCTP association timeout length, in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf handshake-timeout { + description "SCTP handshake timeout, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 30"; + } + } + } + container drop { + description "Disallowed SCTP payload message"; + uses apply-advanced; + list m3ua-service { + key name; + ordered-by user; + description "MTP level 3 (MTP3) user adaptation layer service"; + leaf name { + type enumeration { + enum "sccp" { + description "Signaling connection control part"; + } + enum "tup" { + description "Telephone user part"; + } + enum "isup" { + description "ISDN user part"; + } + } + } + } + list payload-protocol { + key name; + ordered-by user; + description "SCTP payload protocol identifier"; + leaf name { + type string; + } + } + } + container permit { + description "Permit SCTP payload message"; + uses apply-advanced; + list payload-protocol { + key name; + ordered-by user; + description "SCTP payload protocol identifier"; + leaf name { + type string; + } + } + } + container limit { + description "Packet limits"; + uses apply-advanced; + list payload-protocol { + key name; + ordered-by user; + description "Payload Rate limit"; + leaf name { + type string; + } + leaf rate { + description "Rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "Rate limit for a list of IP addresses"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + list payload-protocol { + key name; + ordered-by user; + description "Payload Rate limit"; + leaf name { + type string; + } + leaf rate { + description "Rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + } + } + container rate { + description "Rate limit"; + uses apply-advanced; + leaf sccp { + description "Global SCCP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf ssp { + description "Global SSP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf sst { + description "Global SST messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + list address { + key name; + ordered-by user; + description "Rate limit for a list of IP addresses"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf sccp { + description "SCCP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf ssp { + description "SSP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf sst { + description "SST messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + } + } + } + } + container multichunk-inspection { + description "Configure for SCTP multi chunks inspection"; + uses apply-advanced; + choice multichunk-flag { + case case_1 { + leaf disable { + description "Set multichunk inspection flag to disable"; + type empty; + } + } + } + } + container nullpdu { + description "Configure for SCTP NULLPDU protocol value"; + uses apply-advanced; + container protocol { + description "SCTP NULLPDU payload protocol identifier"; + uses apply-advanced; + choice nullpdu-protocol { + case case_1 { + leaf ID-0x0000 { + description "Set 0x0000 to be NULLPDU ID value"; + type empty; + } + } + case case_2 { + leaf ID-0xFFFF { + description "Set 0xFFFF to be NULLPDU ID value"; + type empty; + } + } + } + } + } + list log { + key name; + ordered-by user; + description "GPRS stream control transmission protocol logs"; + leaf name { + type enumeration { + enum "configuration" { + description "Log CLI configuration"; + } + enum "rate-limit" { + description "Log exceeding rate limits"; + } + enum "association" { + description "Log association event"; + } + enum "data-message-drop" { + description "Log the drop of SCTP data message"; + } + enum "control-message-drop" { + description "Log the drop of SCTP control message"; + } + enum "control-message-all" { + description "Log SCTP control message both drop and pass"; + } + } + } + } + container traceoptions { + description "Trace options for GPRS stream control transmission protocol"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "detail" { + description "Trace detail events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "parser" { + description "Trace parser events"; + } + enum "chassis-cluster" { + description "Trace chassis cluster events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + container ngfw { + description "Next generation unified L4/L7 firewall"; + uses apply-advanced; + container default-profile { + description "Unified L4/L7 firewall default profile configuration"; + uses apply-advanced; + container ssl-proxy { + presence "enable ssl-proxy"; + description "SSL proxy services"; + uses apply-advanced; + leaf profile-name { + description "Specify SSL proxy service profile name"; + type string; + } + } + container application-traffic-control { + description "Application traffic control services"; + uses jsf_application_traffic_control_rule_set_type; + } + } + } + container macsec { + description "MAC Security configuration"; + uses security-macsec; + } + } + container applications { + description "Define applications by protocol characteristics"; + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Define an application"; + uses application_object; + } + list application-set { + key name; + ordered-by user; + description "Define an application set"; + uses application_set_object; + } + } + container schedulers { + description "Security scheduler"; + uses apply-advanced; + list scheduler { + key name; + ordered-by user; + description "Scheduler configuration"; + uses scheduler_object_type; + } + } + } + grouping address-assignment-type { + description "Address assignment configuration"; + uses apply-advanced; + container neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this instance"; + leaf ndra-name { + description "Designated NDRA pool name"; + type string { + length "1 .. 63"; + } + } + } + leaf high-utilization { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + leaf high-utilization-v6 { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization-v6 { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + list dynamic-pool { + key name; + ordered-by user; + description "Dynamic address pool"; + leaf name { + description "Dynamic address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Address family"; + uses apply-advanced; + container inet6 { + description "IPv6"; + uses apply-advanced; + leaf delegated-prefix-length { + description "Delegated IPv6 network prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + leaf from-interface { + description "Get prefix from interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf masked-low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf masked-high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dynamic-dhcp-attribute-type; + } + } + } + } + list pool { + key name; + ordered-by user; + description "Address pool"; + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf active-drain { + description "Notify client of pool active drain mode"; + type empty; + } + leaf hold-down { + description "Place pool in passive drain mode"; + type empty; + } + leaf link { + description "Address pool link name"; + type string { + length "1 .. 63"; + } + } + container family { + presence "enable family"; + description "Address family"; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4"; + uses apply-advanced; + leaf network { + description "Network address"; + type jt:ipv4prefix; + } + list range { + key name; + ordered-by user; + description "Address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + container xauth-attributes { + description "Configure xauth attributes"; + uses apply-advanced; + leaf primary-dns { + description "Specify the primary-dns IP address"; + type jt:ipv4prefix; + } + leaf secondary-dns { + description "Specify the secondary-dns IP address"; + type jt:ipv4prefix; + } + leaf primary-wins { + description "Specify the primary-wins IP address"; + type jt:ipv4prefix; + } + leaf secondary-wins { + description "Specify the secondary-wins IP address"; + type jt:ipv4prefix; + } + } + list host { + key name; + ordered-by user; + description "Hostname for static reservations"; + leaf name { + description "Hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf hardware-address { + description "Hardware address"; + type jt:mac-addr; + } + leaf ip-address { + description "Reserved address"; + type jt:ipv4addr; + } + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv4addr; + } + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6"; + uses apply-advanced; + leaf prefix { + description "IPv6 network prefix"; + type jt:ipv6prefix-mandatory; + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv6addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv6addr; + } + } + } + } + } + } + } + list location-pool { + key name; + ordered-by user; + description "Location-based IP address pool"; + max-elements 10; + leaf name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Address family"; + container inet { + description "IPv4 location pool"; + uses apply-advanced; + list location { + key name; + description "Relative location of router"; + max-elements 32; + leaf name { + description "Location number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + uses apply-advanced; + leaf address { + description "IP address/destination prefix"; + type jt:ipv4prefix; + } + } + } + } + } + } + grouping alg-object { + uses apply-advanced; + container traceoptions { + description "ALG trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Set level of tracing output"; + default "brief"; + type enumeration { + enum "brief" { + description "Brief messages"; + } + enum "detail" { + description "Detail messages"; + } + enum "extensive" { + description "Extensive messages"; + } + enum "verbose" { + description "Verbose messages"; + } + } + } + } + container alg-manager { + description "Configure ALG-MANAGER"; + container traceoptions { + description "ALG-MANAGER trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "ALG-MANAGER trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container alg-support-lib { + description "Configure ALG-SUPPORT-LIB"; + container traceoptions { + description "ALG-SUPPORT-LIB trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "ALG-SUPPORT-LIB trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container dns { + description "Configure DNS ALG"; + uses apply-advanced; + leaf disable { + description "Disable DNS ALG"; + type empty; + } + leaf maximum-message-length { + description "Set maximum message length"; + default "512"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 8192"; + } + } + } + leaf oversize-message-drop { + description "Drop oversized DNS packets"; + type empty; + } + container doctoring { + description "Configure DNS ALG doctoring"; + uses apply-advanced; + choice type { + case case_1 { + leaf none { + description "Disable all DNS ALG Doctoring"; + type empty; + } + } + case case_2 { + leaf sanity-check { + description "Perform only DNS ALG sanity checks"; + type empty; + } + } + } + } + container traceoptions { + description "DNS ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "DNS ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container ftp { + description "Configure FTP ALG"; + leaf disable { + description "Disable FTP ALG"; + type empty; + } + leaf ftps-extension { + description "Enable secure FTP and FTP-ssl protocols"; + type empty; + } + leaf line-break-extension { + description "Enable CR+LF line termination"; + type empty; + } + leaf allow-mismatch-ip-address { + description "Pass FTP packets with mismatched ip address headers and payload"; + type empty; + } + container traceoptions { + description "FTP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "FTP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container h323 { + presence "enable h323"; + description "Configure H.323 ALG"; + uses apply-advanced; + leaf disable { + description "Disable H.323 ALG"; + type empty; + } + leaf endpoint-registration-timeout { + description "Timeout for endpoints"; + default "64800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + leaf media-source-port-any { + description "Permit media from any source port on the endpoint"; + type empty; + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container message-flood { + description "Configure Message flood ALG options"; + uses apply-advanced; + container gatekeeper { + description "Set options for gatekeeper messages"; + leaf threshold { + description "Message flood gatekeeper threshold"; + default "1000"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "H.323 ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "H.323 ALG trace flags"; + leaf name { + type enumeration { + enum "q931" { + description "Enable tracing for Q.931 processing"; + } + enum "h245" { + description "Enable tracing for H.245 processing"; + } + enum "ras" { + description "Enable tracing for RAS processing"; + } + enum "h225-asn1" { + description "Enable tracing for H.225 ASN.1 processing"; + } + enum "h245-asn1" { + description "Enable tracing for H.245 ASN.1 processing"; + } + enum "ras-asn1" { + description "Enable tracing for RAS ASN.1 processing"; + } + enum "chassis-cluster" { + description "Enable tracing for H.323 chassis cluster functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Set trace verbosity level to terse"; + type empty; + } + } + case case_2 { + leaf detail { + description "Set trace verbosity level to detail"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container mgcp { + presence "enable mgcp"; + description "Configure MGCP ALG"; + uses apply-advanced; + leaf disable { + description "Disable MGCP ALG"; + type empty; + } + leaf inactive-media-timeout { + description "Set inactive media timeout"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2550"; + } + } + } + leaf transaction-timeout { + description "Set transaction timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 50"; + } + } + } + leaf maximum-call-duration { + description "Set maximum call duration"; + default "720"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 720"; + } + } + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container message-flood { + description "Set message flood ALG options"; + leaf threshold { + description "Message flood threshold"; + default "100"; + units "messages per second per MG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 50000"; + } + } + } + } + container connection-flood { + description "Set connection flood options"; + leaf threshold { + description "Connection flood threshold"; + default "10"; + units "connection requests per second per MG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "MGCP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "MGCP ALG trace flags"; + leaf name { + type enumeration { + enum "call" { + description "Enable tracing for MGCP call processing"; + } + enum "decode" { + description "Enable tracing for MGCP decoder operations"; + } + enum "error" { + description "Enable tracing for MGCP processing errors"; + } + enum "chassis-cluster" { + description "Enable tracing for MGCP chassis cluster functions"; + } + enum "nat" { + description "Enable tracing for MGCP Network Address Translation (NAT) processing"; + } + enum "packet" { + description "Enable tracing for MGCP protocol packet processing"; + } + enum "rm" { + description "Enable tracing MGCP Resource Management (Resmgr) functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container msrpc { + description "Configure MSRPC ALG"; + leaf disable { + description "Disable MSRPC ALG"; + type empty; + } + leaf group-max-usage { + description "Set maximum group usage percentage, default 80"; + default "80"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 100"; + } + } + } + leaf map-entry-timeout { + description "Set entry timeout, default 8hour"; + default "480"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4320"; + } + } + } + container traceoptions { + description "MSRPC ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "MSRPC ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sunrpc { + description "Configure SUNRPC ALG"; + leaf disable { + description "Disable SUNRPC ALG"; + type empty; + } + leaf group-max-usage { + description "Set maximum group usage percentage, default 80"; + default "80"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 100"; + } + } + } + leaf map-entry-timeout { + description "Set entry timeout, default 8hour"; + default "480"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4320"; + } + } + } + container traceoptions { + description "SUNRPC ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SUNRPC ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container rsh { + presence "enable rsh"; + description "Configure RSH ALG"; + uses apply-advanced; + leaf disable { + description "Disable RSH ALG"; + type empty; + } + container traceoptions { + description "RSH ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "RSH ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container rtsp { + presence "enable rtsp"; + description "Configure RTSP ALG"; + leaf disable { + description "Disable RTSP ALG"; + type empty; + } + container traceoptions { + description "RTSP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "RTSP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sccp { + presence "enable sccp"; + description "Configure SCCP ALG"; + uses apply-advanced; + leaf disable { + description "Disable SCCP ALG"; + type empty; + } + leaf inactive-media-timeout { + description "Set inactive media timeout"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container call-flood { + description "Configure call flood thresholds"; + leaf threshold { + description "Calls per second per client"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "SCCP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SCCP ALG trace flags"; + leaf name { + type enumeration { + enum "call" { + description "Enable tracing SCCP call processing"; + } + enum "cli" { + description "Enable tracing SCCP cli processing"; + } + enum "decode" { + description "Enable tracing for SCCP decoder operations"; + } + enum "error" { + description "Enable tracing for SCCP processing errors"; + } + enum "chassis-cluster" { + description "Enable tracing for SCCP chassis cluster functions"; + } + enum "init" { + description "Enable tracing for SCCP initialization errors"; + } + enum "nat" { + description "Enable tracing for SCCP Network Address Translation (NAT) processing"; + } + enum "rm" { + description "Enable tracing SCCP Resource Management (Resmgr) functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sip { + presence "enable sip"; + description "Configure SIP ALG"; + uses apply-advanced; + leaf disable { + description "Disable SIP ALG"; + type empty; + } + leaf inactive-media-timeout { + description "Set inactive media timeout"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2550"; + } + } + } + leaf maximum-call-duration { + description "Set maximum call duration"; + default "720"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 720"; + } + } + } + leaf t1-interval { + description "Set T1 interval"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 5000"; + } + } + } + leaf t4-interval { + description "Set T4 interval"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 10"; + } + } + } + leaf c-timeout { + description "Set C timeout"; + default "3"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 10"; + } + } + } + leaf disable-call-id-hiding { + description "Disable translation of host IP in Call-ID header"; + status deprecated; + type empty; + } + leaf retain-hold-resource { + description "Retain SDP resources during call hold"; + type empty; + } + container hide-via-headers { + description "Hide via headers options"; + uses apply-advanced; + leaf disable { + description "Disable hide via headers function"; + type empty; + } + } + list distribution-ip { + key name; + ordered-by user; + description "Configure SIP distribute server IPV6 or IPV4 ip"; + leaf name { + description "Distribution IP address"; + type jt:ipaddr; + } + uses apply-advanced; + container distribute-to { + description "Distribute sip packet"; + uses apply-advanced; + container fpc { + description "FPC card number"; + uses apply-advanced; + leaf slot { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container pic { + description "PIC card number"; + uses apply-advanced; + leaf slot { + description "Physical Interface Card number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + } + } + } + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container protect { + description "Configure Protect options"; + uses apply-advanced; + container deny { + presence "enable deny"; + description "Protect deny options"; + uses apply-advanced; + choice deny-choice { + case case_1 { + list destination-ip { + key name; + ordered-by user; + description "List of protected destination server IP"; + leaf name { + description "Protected destination server IPv4 or IPv6 entry"; + type jt:ipprefix; + } + uses apply-advanced; + } + } + case case_2 { + leaf all { + description "Enable attack protection for all servers"; + type empty; + } + } + } + leaf timeout { + description "Timeout value for SIP INVITE attack table entry"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "SIP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SIP ALG trace flags"; + leaf name { + type enumeration { + enum "call" { + description "Enable tracing for SIP call processing"; + } + enum "chassis-cluster" { + description "Enable tracing for SIP chassis cluster functions"; + } + enum "nat" { + description "Enable tracing for SIP Network Address Translation (NAT) processing"; + } + enum "parser" { + description "Enable tracing for SIP parser operations"; + } + enum "rm" { + description "Enable tracing SIP Resource Management (Resmgr) functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Set trace verbosity level to terse"; + type empty; + } + } + case case_2 { + leaf detail { + description "Set trace verbosity level to detail"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sql { + presence "enable sql"; + description "Configure SQL ALG"; + leaf disable { + description "Disable SQL ALG"; + type empty; + } + container traceoptions { + description "SQL ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SQL ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container talk { + description "Configure Talk ALG"; + leaf disable { + description "Disable Talk ALG"; + type empty; + } + container traceoptions { + description "TALK ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "TALK ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container tftp { + description "Configure TFTP ALG"; + leaf disable { + description "Disable TFTP ALG"; + type empty; + } + container traceoptions { + description "TFTP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "TFTP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container pptp { + description "Configure PPTP ALG"; + leaf disable { + description "Disable PPTP ALG"; + type empty; + } + container traceoptions { + description "PPTP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "PPTP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container ike-esp-nat { + description "Configure IKE-ESP ALG with NAT"; + uses apply-advanced; + leaf enable { + description "Enable IKE-ESP ALG"; + type empty; + } + leaf esp-gate-timeout { + description "Set ESP gate timeout"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 30"; + } + } + } + leaf esp-session-timeout { + description "Set ESP session timeout"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2400"; + } + } + } + leaf state-timeout { + description "Set ALG state timeout"; + default "14400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + container traceoptions { + description "IKE-ESP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "IKE-ESP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container twamp { + presence "enable twamp"; + description "Configure TWAMP ALG"; + uses apply-advanced; + container traceoptions { + description "TWAMP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "TWAMP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + } + grouping anti-spam-feature { + description "Anti-spam feature"; + uses apply-advanced; + container sbl { + description "SBL settings"; + presence "enable sbl"; + uses sbl-type; + } + } + grouping anti-virus-feature { + description "Anti-virus feature"; + uses apply-advanced; + container sophos-engine { + description "Anti-virus sophos-engine"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Anti-virus sophos-engine profile"; + leaf name { + description "Anti-virus sophos-engine profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + container fallback-options { + description "Anti-virus sophos-engine fallback options"; + presence "enable fallback-options"; + uses sophos-fallback-settings; + } + container scan-options { + description "Anti-virus sophos-engine scan options"; + presence "enable scan-options"; + uses sophos-scan-options; + } + container trickling { + description "Anti-virus trickling"; + presence "enable trickling"; + uses anti-virus-trickling; + } + container notification-options { + description "Anti-virus notification options"; + presence "enable notification-options"; + uses anti-virus-notification-options; + } + } + } + } + grouping anti-virus-notification-options { + description "Anti-virus notification options"; + uses apply-advanced; + container virus-detection { + presence "enable virus-detection"; + description "Virus detection notification"; + uses apply-advanced; + leaf type { + description "Virus detection notification type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level only"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notify mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notify mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + container fallback-block { + presence "enable fallback-block"; + description "Fallback block notification"; + uses apply-advanced; + leaf type { + description "Fallback block notification type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level only"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notify mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notify mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + container fallback-non-block { + presence "enable fallback-non-block"; + description "Fallback non block notification"; + uses apply-advanced; + choice notify-mail-recipient-choice { + leaf notify-mail-recipient { + description "Notify mail recipient"; + type empty; + } + leaf no-notify-mail-recipient { + description "Don't notify mail recipient"; + type empty; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + } + grouping anti-virus-trickling { + description "Anti-virus trickling"; + leaf timeout { + description "Trickling timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + } + grouping any_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object_oam; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping apbr_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + presence "enable match"; + description "Specify security rule match-criteria"; + uses apply-advanced; + leaf-list dynamic-application { + ordered-by user; + type string; + } + leaf-list dynamic-application-group { + ordered-by user; + description "Specify dynamic application group name to match"; + type string; + } + } + container then { + presence "enable then"; + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + container sla-rule { + presence "enable sla-rule"; + description "SLA Rule"; + uses apply-advanced; + leaf sla-rule-name { + description "SLA rule name"; + type string; + } + } + } + } + grouping appfw_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + presence "enable match"; + description "Specify security rule match-criteria"; + uses apply-advanced; + leaf-list dynamic-application { + ordered-by user; + type string; + } + leaf-list dynamic-application-group { + ordered-by user; + description "Specify dynamic application group name to match"; + type string; + } + leaf ssl-encryption { + description "Select SSL encryption rules"; + type enumeration { + enum "any" { + description "Encrypted and non-encrypted rule"; + } + enum "yes" { + description "Encrypted rule"; + } + enum "no" { + description "Non-encrypted rule"; + } + } + } + } + container then { + presence "enable then"; + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + choice action { + case case_1 { + leaf permit { + description "Permit packets"; + type empty; + } + } + case case_2 { + container deny { + presence "enable deny"; + description "Deny packets"; + uses apply-advanced; + leaf block-message { + description "Redirect sessions"; + type empty; + } + } + } + case case_3 { + container reject { + presence "enable reject"; + description "Reject packets"; + uses apply-advanced; + leaf block-message { + description "Redirect sessions"; + type empty; + } + } + } + } + } + } + grouping application_object { + leaf name { + description "Application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of application"; + type string { + length "1 .. 900"; + } + } + list term { + key name; + ordered-by user; + description "Define individual application protocols"; + max-elements 8; + uses term_object; + } + leaf application-protocol { + description "Application protocol type"; + type enumeration { + enum "bootp" { + description "Bootstrap protocol"; + } + enum "dce-rpc" { + description "DCE RPC"; + } + enum "dce-rpc-portmap" { + description "DCE RPC portmap"; + } + enum "dns" { + description "Domain Name Service"; + } + enum "exec" { + description "Remote Execution Protocol"; + } + enum "ftp" { + description "File Transfer Protocol"; + } + enum "ftp-data" { + description "File Transfer Protocol Data Session"; + } + enum "gprs-gtp-c" { + description "GPRS Tunneling Control Plane"; + } + enum "gprs-gtp-u" { + description "GPRS Tunneling User Plane"; + } + enum "gprs-gtp-v0" { + description "GPRS Tunneling Version 0"; + } + enum "gprs-sctp" { + description "GPRS Stream Control Protocol"; + } + enum "h323" { + description "H.323"; + } + enum "icmp" { + description "ICMP"; + } + enum "icmpv6" { + description "ICMPv6"; + } + enum "ignore" { + description "Ignore application type"; + } + enum "iiop" { + description "Internet Inter-ORB Protocol"; + } + enum "ike-esp-nat" { + description "IKE/ESP with NAT"; + } + enum "ip" { + description "IP"; + } + enum "login" { + description "Login"; + } + enum "mgcp-ca" { + description "MGCP-CA"; + } + enum "mgcp-ua" { + description "MGCP-UA"; + } + enum "ms-rpc" { + description "Microsoft RPC"; + } + enum "netbios" { + description "NetBIOS"; + } + enum "netshow" { + description "NetShow"; + } + enum "none" { + description "None"; + } + enum "pptp" { + description "Point-to-Point Tunneling Protocol"; + } + enum "q931" { + description "Q.931"; + } + enum "ras" { + description "RAS"; + } + enum "realaudio" { + description "RealAudio"; + } + enum "rpc" { + description "RPC"; + } + enum "rpc-portmap" { + description "RPC portmap"; + } + enum "rsh" { + description "Remote Shell"; + } + enum "rtsp" { + description "Real Time Streaming Protocol"; + } + enum "sccp" { + description "Skinny Client Control Protocol"; + } + enum "sip" { + description "Session Initiation Protocol"; + } + enum "shell" { + description "Shell"; + } + enum "snmp" { + description "SNMP"; + } + enum "sqlnet" { + description "SQLNet"; + } + enum "sqlnet-v2" { + description "Oracle SQL*Net Version 2"; + } + enum "sun-rpc" { + description "Sun Microsystems RPC"; + } + enum "talk" { + description "Talk Program"; + } + enum "tftp" { + description "Trivial File Transfer Protocol"; + } + enum "traceroute" { + description "Traceroute"; + } + enum "http" { + description "Hypertext Transfer Protocol"; + } + enum "winframe" { + description "WinFrame"; + } + enum "https" { + description "Hypertext Transfer Protocol"; + } + enum "imap" { + description "Internet Mail Access Protocol"; + } + enum "smtp" { + description "Simple Mail Transfer Protocol"; + } + enum "ssh" { + description "Secure Shell Protocol"; + } + enum "telnet" { + description "Telnet Protocol"; + } + enum "twamp" { + description "Two Way Active Meaurement Protocol"; + } + } + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf ether-type { + description "Match ether type"; + type string { + } + } + leaf icmp-type { + description "Match ICMP message type"; + type string; + } + leaf icmp6-type { + description "Match ICMP6 message type"; + type string; + } + leaf icmp-code { + description "Match ICMP message code"; + type string; + } + leaf icmp6-code { + description "Match ICMP6 message code"; + type string; + } + leaf rpc-program-number { + description "Match range of RPC program numbers"; + type string { + } + } + leaf uuid { + description "Match universal unique identifier for DCE RPC objects"; + type string { + } + } + leaf inactivity-timeout { + description "Application-specific inactivity timeout"; + units "seconds"; + type string; + } + choice dns-choice { + case case_1 { + leaf do-not-translate-AAAA-query-to-A-query { + description "Knob to control the translation of AAAA query to A query"; + type empty; + } + } + case case_2 { + leaf do-not-translate-A-query-to-AAAA-query { + description "Knob to control the translation of A query to AAAA query"; + type empty; + } + } + } + } + grouping application_set_object { + leaf name { + description "Application set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of application set"; + type string { + length "1 .. 900"; + } + } + list application { + key name; + ordered-by user; + description "Application to be included in the set"; + leaf name { + description "Application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list application-set { + key name; + ordered-by user; + description "Define an application-set"; + leaf name { + description "Define an application-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping appqoe-probe-params { + description "Active probe parameters"; + uses apply-advanced; + container data-fill { + description "Probe Data Payload content"; + uses apply-advanced; + leaf fill { + description "Repetitive payload string "; + type string { + length "1 .. 63"; + } + } + } + container data-size { + presence "enable data-size"; + description "Probe data size"; + uses apply-advanced; + leaf size { + description "Data Payload size of probe packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 256"; + } + } + } + } + container probe-interval { + presence "enable probe-interval"; + description "Time interval between 2 consecutive probes"; + uses apply-advanced; + leaf interval { + description "Interval value in sec"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + container probe-count { + presence "enable probe-count"; + description "Minimum number of samples to be collected to evaluate SLA measurement"; + uses apply-advanced; + leaf count { + description "Sample count"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container burst-size { + presence "enable burst-size"; + description "Number of probes out of probe count to be sent as a burst"; + uses apply-advanced; + leaf size { + description "Burst size"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container sla-export-interval { + description "Enabled time based SLA exporting"; + uses apply-advanced; + leaf interval { + description "Interval (sec)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 600"; + } + } + } + } + container dscp-code-points { + description "Mapping of code point aliases to bit strings"; + uses apply-advanced; + leaf dscp { + description "DSCP"; + type string; + } + } + } + grouping appqoe-probe-path { + description "Set probe path details"; + uses apply-advanced; + container local { + description "Local node's info"; + presence "enable local"; + uses appqoe-node; + } + container remote { + description "Remote node's info"; + presence "enable remote"; + uses appqoe-node; + } + } + grouping appqoe-node { + description "Set node info"; + uses apply-advanced; + container ip-address { + presence "enable ip-address"; + description "Set IP address"; + uses apply-advanced; + leaf ip_address { + description "IP address"; + type jt:ipv4addr; + } + } + } + grouping appqoe_sla_metric_profile { + description "Metric Name"; + uses apply-advanced; + container delay-round-trip { + presence "enable delay-round-trip"; + description "Maximum acceptable delay"; + uses apply-advanced; + leaf delay-val { + description "Delay value(micor-sec)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + container jitter { + presence "enable jitter"; + description "Maximum acceptable jitter"; + uses apply-advanced; + leaf jitter-val { + description "Jitter value(micro-sec)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + container jitter-type { + presence "enable jitter-type"; + description "Type of Jitter"; + uses apply-advanced; + leaf type { + description "Jitter Type"; + type enumeration { + enum "two-way-jitter" { + description "Two-way-jitter-type"; + } + enum "egress-jitter" { + description "Egress-jitter-type"; + } + enum "ingress-jitter" { + description "Ingress-jitter-type"; + } + } + } + } + container packet-loss { + presence "enable packet-loss"; + description "Maximum acceptable packet-loss"; + uses apply-advanced; + leaf loss { + description "Packet loss percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container match { + presence "enable match"; + description "Type of SLA match"; + uses apply-advanced; + leaf sla_match { + type enumeration { + enum "any-one" { + description "Match any one strings"; + } + enum "all" { + description "Match all metrics"; + } + } + } + } + } + grouping arp-interface-type { + description "Logical interface on which to configure ARP aging timer"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600000"; + } + } + } + } + grouping authentication-source-type { + description "Configure user-identification authentication-source"; + leaf name { + description "User-identification authentication-source name"; + type enumeration { + enum "local-authentication-table" { + description "Local-authentication-table, default priority is 100."; + } + enum "unified-access-control" { + description "Unified-access-control, default priority is 200."; + } + enum "firewall-authentication" { + description "Firewall-authentication, default priority is 150."; + } + enum "active-directory-authentication-table" { + description "Active-directory-authentication-table, default priority is 125."; + } + enum "aruba-clearpass" { + description "ClearPass-authentication-table, default priority is 110."; + } + } + } + uses apply-advanced; + choice authentication-source-option { + case case_1 { + leaf priority { + description "Larger number means lower priority, 0 for disable"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + } + } + } + grouping banner-object { + uses apply-advanced; + container banner { + description "Banners that are prompted during authentication"; + uses apply-advanced; + leaf login { + description "The message that will be displayed before login"; + type string { + length "1 .. 250"; + } + } + leaf success { + description "The message that will be displayed on successful login"; + type string { + length "1 .. 250"; + } + } + leaf fail { + description "The message that will be displayed after failed user login"; + type string { + length "1 .. 250"; + } + } + } + } + grouping bridge_filter { + description "Define a BRIDGE firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice port_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + container forwarding-policy { + description "Specify forwarding policy for extended port"; + uses apply-advanced; + leaf uplink-select { + description "Specify port group for uplink selection"; + type string; + } + } + } + } + } + grouping category-list-type { + description "Configure category-list object"; + leaf name { + description "Configure name of category-list object"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of category-list object"; + type string; + } + } + grouping ccc_filter { + description "Define a CCC firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Any counters defined will be interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to the specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping certificate-object { + leaf name { + description "Simple name to identify this certificate"; + type string; + } + uses apply-advanced; + leaf certificate { + description "Certificate and private key string"; + type string; + } + } + grouping cflowd_sampling_inet_lr_inst_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping aggregation_type { + uses apply-advanced; + leaf autonomous-system { + description "Aggregate by autonomous system number"; + type empty; + } + leaf protocol-port { + description "Aggregate by protocol and port number"; + type empty; + } + leaf source-prefix { + description "Aggregate by source prefix"; + type empty; + } + leaf destination-prefix { + description "Aggregate by destination prefix"; + type empty; + } + container source-destination-prefix { + presence "enable source-destination-prefix"; + description "Aggregate by source and destination prefix"; + uses apply-advanced; + leaf caida-compliant { + description "Compatible with Caida record format for prefix aggregation (v8)"; + type empty; + } + } + } + grouping cflowd_sampling_inet_lr_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping cflowd_sampling_mpls_lr_inst_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping cflowd_sampling_mpls_lr_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping clients-object { + leaf name { + description "Client config name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + list remote-protected-resources { + key name; + ordered-by user; + description "IP/mask of remote protected resources"; + leaf name { + description "IP/mask of remote protected resources"; + type jt:ipv4prefix-mandatory; + } + } + list remote-exceptions { + key name; + ordered-by user; + description "Ip/mask of exceptions being passthru"; + leaf name { + description "Ip/mask of exceptions being passthru"; + type jt:ipv4prefix-mandatory; + } + } + leaf ipsec-vpn { + description "IPSec VPN assigned to remote access client"; + type string; + } + list user { + key name; + description "Remote IPSec VPN users"; + leaf name { + description "User name"; + type string; + } + uses apply-advanced; + } + list user-groups { + key name; + description "Remote IPSec VPN usergroups"; + leaf name { + description "Usergroup name"; + type string; + } + uses apply-advanced; + } + } + grouping command-list-type { + description "Configure command-list object"; + leaf name { + description "Configure name of command-list object"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of command-list object"; + type string { + length "1 .. 64"; + } + } + } + grouping content-filtering-feature { + description "Content-filtering feature"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Content filtering profile"; + leaf name { + description "Content-filtering feature profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf permit-command { + description "Permit command list"; + type string; + } + leaf block-command { + description "Block command list"; + type string; + } + leaf block-extension { + description "Block extension list"; + type string; + } + container block-mime { + presence "enable block-mime"; + description "Content-filtering feature block MIME"; + uses apply-advanced; + leaf list { + description "Block MIME list"; + type string; + } + leaf exception { + description "Exception of block MIME list"; + type string; + } + } + container block-content-type { + description "Content-filtering feature block content type"; + uses apply-advanced; + leaf activex { + description "Block activex"; + type empty; + } + leaf java-applet { + description "Block Java-applet"; + type empty; + } + leaf exe { + description "Block Windows/dos exe file"; + type empty; + } + leaf zip { + description "Block zip file"; + type empty; + } + leaf http-cookie { + description "Block HTTP cookie"; + type empty; + } + } + container notification-options { + presence "enable notification-options"; + description "Notification options"; + uses apply-advanced; + leaf type { + description "Notification options type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notifiy mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notifiy mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom notification message"; + type string { + length "1 .. 512"; + } + } + } + } + } + grouping custom-attack-group-type { + description "Define custom attack group"; + leaf name { + description "Custom attack group name"; + type string; + } + uses apply-advanced; + leaf attack-group-description { + description "Attack group description in xml format"; + status deprecated; + type string; + } + leaf-list group-members { + ordered-by user; + description "List of attacks/attack groups belonging to this group"; + type string; + } + } + grouping custom-attack-type { + description "Define custom attack"; + leaf name { + description "Custom attack name"; + type string { + } + } + uses apply-advanced; + leaf attack-description { + description "Attack description in xml format"; + status deprecated; + type string; + } + leaf recommended-action { + description "Recommended Action"; + type enumeration { + enum "none" { + description "No action"; + } + enum "ignore" { + description "No further inspection on the flow"; + } + enum "drop-packet" { + description "Drop the packet"; + } + enum "drop" { + description "Drop the packet and subsequent packets of the flow"; + } + enum "close-client" { + description "Reset the client side"; + } + enum "close-server" { + description "Reset the server side"; + } + enum "close" { + description "Reset both client and server"; + } + } + } + leaf severity { + description "Select the severity that matches the lethality of this attack on your network"; + type enumeration { + enum "info" { + description "Provide information of attack when it matches."; + } + enum "warning" { + description "Issue a warning when attack matches."; + } + enum "minor" { + description "The attack is a minor one."; + } + enum "major" { + description "The attack is a major one."; + } + enum "critical" { + description "The attack is a critical one."; + } + } + } + container time-binding { + description "Time binding params"; + leaf count { + description "Number of times this attack is to be triggered"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf scope { + description "Scope within which the count occurs"; + type enumeration { + enum "peer" { + description "If the attack is between a single source and single destination"; + } + enum "source" { + description "If the attack is from one source and multiple destination"; + } + enum "destination" { + description "If the attack is from multiple sources to one destination"; + } + } + } + } + container attack-type { + description "Type of attack"; + uses apply-advanced; + container signature { + description "Signature based attack"; + uses apply-advanced; + container protocol-binding { + description "Protocol binding over which attack will be detected"; + uses apply-advanced; + choice protocol { + case case_1 { + container tcp { + presence "enable tcp"; + description "Attack is for TCP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Multiple sets of (single port/port ranges) can be specified"; + uses port-range; + } + } + } + case case_2 { + container udp { + presence "enable udp"; + description "Attack is for UDP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Either single port or port ranges can be specified"; + uses port-range; + } + } + } + case case_3 { + container rpc { + presence "enable rpc"; + description "Attack is for RPC packets only"; + uses apply-advanced; + leaf program-number { + description "RPC Program Number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_4 { + leaf icmp { + description "Attack is for ICMP packets only"; + type empty; + } + } + case case_5 { + leaf icmpv6 { + description "Attack is for ICMPv6 packets only"; + type empty; + } + } + case case_6 { + container ip { + presence "enable ip"; + description "Attack is for all IP based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_7 { + container ipv6 { + presence "enable ipv6"; + description "Attack is for all IPv6 based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_8 { + leaf application { + description "Application name"; + type string; + } + } + case case_9 { + leaf nested-application { + description "Nested application name"; + status deprecated; + type string; + } + } + } + } + leaf context { + description "Context"; + type string; + } + leaf pattern { + description "Pattern is the signature of the attack you want to detect"; + type string { + length "0 .. 511"; + } + } + leaf pattern-pcre { + description "Attack signature pattern in PCRE format"; + type string { + length "0 .. 511"; + } + } + leaf regexp { + description "Regular expression used for matching repetition of patterns"; + type string { + length "0 .. 511"; + } + } + leaf negate { + description "Trigger the attack if condition is not met"; + type empty; + } + leaf direction { + description "Connection direction of the attack"; + type enumeration { + enum "client-to-server" { + description "Client to Server"; + } + enum "server-to-client" { + description "Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + container protocol { + description "Protocol header matches"; + uses apply-advanced; + container ipv4 { + description "IPv4 protocol parameters"; + uses apply-advanced; + container tos { + presence "enable tos"; + description "Type of Service"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container ihl { + presence "enable ihl"; + description "Header length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container total-length { + presence "enable total-length"; + description "Total Length of IP datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container identification { + presence "enable identification"; + description "Fragment Identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container ip-flags { + presence "enable ip-flags"; + description "IP Flag bits"; + choice rb-choice { + leaf rb { + description "Reserved bit"; + type empty; + } + leaf no-rb { + description "Don't reserved bit"; + type empty; + } + } + choice mf-choice { + leaf mf { + description "More Fragment bit"; + type empty; + } + leaf no-mf { + description "Don't more Fragment bit"; + type empty; + } + } + choice df-choice { + leaf df { + description "Don't Fragment bit"; + type empty; + } + leaf no-df { + description "Don't don't Fragment bit"; + type empty; + } + } + } + container ttl { + presence "enable ttl"; + description "Time to live"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container protocol { + presence "enable protocol"; + description "Transport layer protocol"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container ipv6 { + description "IPv6 protocol parameters"; + uses apply-advanced; + container traffic-class { + presence "enable traffic-class"; + description "Traffic class. Similar to TOS in IPv4"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container payload-length { + presence "enable payload-length"; + description "Length of the payload in the IPv6 datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container flow-label { + presence "enable flow-label"; + description "Flow label identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + container hop-limit { + presence "enable hop-limit"; + description "Hop limit"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container next-header { + presence "enable next-header"; + description "The header following the basic IPv6 header"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container extension-header { + description "IPv6 Extension headers"; + uses apply-advanced; + container routing-header { + presence "enable routing-header"; + description "IPv6 Routing extension header"; + uses apply-advanced; + container header-type { + description "Routing header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + container destination-option { + description "IPv6 Destination option extension header"; + uses apply-advanced; + container option-type { + description "Destination option header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container home-address { + description "IPv6 Home address of the mobile node"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + } + } + } + container tcp { + description "TCP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container ack-number { + presence "enable ack-number"; + description "Acknowledgement Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container header-length { + presence "enable header-length"; + description "Header Length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container reserved { + presence "enable reserved"; + description "Three reserved bits"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container window-size { + presence "enable window-size"; + description "Window Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container urgent-pointer { + presence "enable urgent-pointer"; + description "Urgent Pointer"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container tcp-flags { + presence "enable tcp-flags"; + description "TCP header flags"; + choice r1-choice { + leaf r1 { + description "Set Reserverd bit 1"; + type empty; + } + leaf no-r1 { + description "Don't set Reserverd bit 1"; + type empty; + } + } + choice r2-choice { + leaf r2 { + description "Set Reserved bit 2"; + type empty; + } + leaf no-r2 { + description "Don't set Reserved bit 2"; + type empty; + } + } + choice urg-choice { + leaf urg { + description "Set Urgent bit"; + type empty; + } + leaf no-urg { + description "Don't set Urgent bit"; + type empty; + } + } + choice ack-choice { + leaf ack { + description "Set Acknowledge bit"; + type empty; + } + leaf no-ack { + description "Don't set Acknowledge bit"; + type empty; + } + } + choice psh-choice { + leaf psh { + description "Set Push bit"; + type empty; + } + leaf no-psh { + description "Don't set Push bit"; + type empty; + } + } + choice rst-choice { + leaf rst { + description "Set Reset bit"; + type empty; + } + leaf no-rst { + description "Don't set Reset bit"; + type empty; + } + } + choice syn-choice { + leaf syn { + description "Set SYN bit"; + type empty; + } + leaf no-syn { + description "Don't set SYN bit"; + type empty; + } + } + choice fin-choice { + leaf fin { + description "Set FINish bit"; + type empty; + } + leaf no-fin { + description "Don't set FINish bit"; + type empty; + } + } + } + container option { + presence "enable option"; + description "Kind"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by TCP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + } + container window-scale { + presence "enable window-scale"; + description "Window scale"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container mss { + presence "enable mss"; + description "Maximum Segment Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container udp { + description "UDP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by UDP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmp { + description "ICMP protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by ICMP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmpv6 { + description "ICMPv6 protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IPv6 datagram subtracted by ICMPv6 header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + } + } + container anomaly { + description "Protocol anomaly"; + uses apply-advanced; + leaf service { + description "Service name"; + type string; + } + leaf test { + description "Protocol anomaly condition to be checked"; + type string; + } + leaf direction { + description "Direction"; + type enumeration { + enum "client-to-server" { + description "From Client to Server"; + } + enum "server-to-client" { + description "From Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + } + container chain { + description "Chain attack"; + uses apply-advanced; + container protocol-binding { + description "Protocol binding over which attack will be detected"; + uses apply-advanced; + choice protocol { + case case_1 { + container tcp { + presence "enable tcp"; + description "Attack is for TCP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Multiple sets of (single port/port ranges) can be specified"; + uses port-range; + } + } + } + case case_2 { + container udp { + presence "enable udp"; + description "Attack is for UDP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Either single port or port ranges can be specified"; + uses port-range; + } + } + } + case case_3 { + container rpc { + presence "enable rpc"; + description "Attack is for RPC packets only"; + uses apply-advanced; + leaf program-number { + description "RPC Program Number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_4 { + leaf icmp { + description "Attack is for ICMP packets only"; + type empty; + } + } + case case_5 { + leaf icmpv6 { + description "Attack is for ICMPv6 packets only"; + type empty; + } + } + case case_6 { + container ip { + presence "enable ip"; + description "Attack is for all IP based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_7 { + container ipv6 { + presence "enable ipv6"; + description "Attack is for all IPv6 based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_8 { + leaf application { + description "Application name"; + type string; + } + } + case case_9 { + leaf nested-application { + description "Nested application name"; + status deprecated; + type string; + } + } + } + } + leaf scope { + description "Scope of the attack"; + type enumeration { + enum "session" { + description "Allow matches across transactions within the same session"; + } + enum "transaction" { + description "Allow matches in single transactions within the same session"; + } + } + } + leaf order { + description "Attacks should match in the order in which they are defined"; + type empty; + } + leaf reset { + description "Repeat match should generate a new alert"; + type empty; + } + leaf expression { + description "Boolean Expression"; + type string; + } + list member { + key name; + ordered-by user; + description "List of member attacks."; + uses chain-member-type; + } + } + } + } + grouping chain-member-type { + description "Chain member"; + leaf name { + description "Custom attack name"; + type string; + } + uses apply-advanced; + container attack-type { + presence "enable attack-type"; + description "Type of attack"; + uses apply-advanced; + container signature { + description "Signature based attack"; + uses apply-advanced; + leaf context { + description "Context"; + type string; + } + leaf pattern { + description "Pattern is the signature of the attack you want to detect"; + type string { + length "0 .. 511"; + } + } + leaf pattern-pcre { + description "Attack signature pattern in PCRE format"; + type string { + length "0 .. 511"; + } + } + leaf regexp { + description "Regular expression used for matching repetition of patterns"; + type string { + length "0 .. 511"; + } + } + leaf negate { + description "Trigger the attack if condition is not met"; + type empty; + } + leaf direction { + description "Connection direction of the attack"; + type enumeration { + enum "client-to-server" { + description "Client to Server"; + } + enum "server-to-client" { + description "Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + container protocol { + description "Protocol header matches"; + uses apply-advanced; + container ipv4 { + description "IPv4 protocol parameters"; + uses apply-advanced; + container tos { + presence "enable tos"; + description "Type of Service"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container ihl { + presence "enable ihl"; + description "Header length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container total-length { + presence "enable total-length"; + description "Total Length of IP datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container identification { + presence "enable identification"; + description "Fragment Identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container ip-flags { + presence "enable ip-flags"; + description "IP Flag bits"; + choice rb-choice { + leaf rb { + description "Reserved bit"; + type empty; + } + leaf no-rb { + description "Don't reserved bit"; + type empty; + } + } + choice mf-choice { + leaf mf { + description "More Fragment bit"; + type empty; + } + leaf no-mf { + description "Don't more Fragment bit"; + type empty; + } + } + choice df-choice { + leaf df { + description "Don't Fragment bit"; + type empty; + } + leaf no-df { + description "Don't don't Fragment bit"; + type empty; + } + } + } + container ttl { + presence "enable ttl"; + description "Time to live"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container protocol { + presence "enable protocol"; + description "Transport layer protocol"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container ipv6 { + description "IPv6 protocol parameters"; + uses apply-advanced; + container traffic-class { + presence "enable traffic-class"; + description "Traffic class. Similar to TOS in IPv4"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container payload-length { + presence "enable payload-length"; + description "Length of the payload in the IPv6 datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container flow-label { + presence "enable flow-label"; + description "Flow label identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + container hop-limit { + presence "enable hop-limit"; + description "Hop limit"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container next-header { + presence "enable next-header"; + description "The header following the basic IPv6 header"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container extension-header { + description "IPv6 Extension headers"; + uses apply-advanced; + container routing-header { + presence "enable routing-header"; + description "IPv6 Routing extension header"; + uses apply-advanced; + container header-type { + description "Routing header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + container destination-option { + description "IPv6 Destination option extension header"; + uses apply-advanced; + container option-type { + description "Destination option header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container home-address { + description "IPv6 Home address of the mobile node"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + } + } + } + container tcp { + description "TCP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container ack-number { + presence "enable ack-number"; + description "Acknowledgement Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container header-length { + presence "enable header-length"; + description "Header Length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container reserved { + presence "enable reserved"; + description "Three reserved bits"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container window-size { + presence "enable window-size"; + description "Window Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container urgent-pointer { + presence "enable urgent-pointer"; + description "Urgent Pointer"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container tcp-flags { + presence "enable tcp-flags"; + description "TCP header flags"; + choice r1-choice { + leaf r1 { + description "Set Reserverd bit 1"; + type empty; + } + leaf no-r1 { + description "Don't set Reserverd bit 1"; + type empty; + } + } + choice r2-choice { + leaf r2 { + description "Set Reserved bit 2"; + type empty; + } + leaf no-r2 { + description "Don't set Reserved bit 2"; + type empty; + } + } + choice urg-choice { + leaf urg { + description "Set Urgent bit"; + type empty; + } + leaf no-urg { + description "Don't set Urgent bit"; + type empty; + } + } + choice ack-choice { + leaf ack { + description "Set Acknowledge bit"; + type empty; + } + leaf no-ack { + description "Don't set Acknowledge bit"; + type empty; + } + } + choice psh-choice { + leaf psh { + description "Set Push bit"; + type empty; + } + leaf no-psh { + description "Don't set Push bit"; + type empty; + } + } + choice rst-choice { + leaf rst { + description "Set Reset bit"; + type empty; + } + leaf no-rst { + description "Don't set Reset bit"; + type empty; + } + } + choice syn-choice { + leaf syn { + description "Set SYN bit"; + type empty; + } + leaf no-syn { + description "Don't set SYN bit"; + type empty; + } + } + choice fin-choice { + leaf fin { + description "Set FINish bit"; + type empty; + } + leaf no-fin { + description "Don't set FINish bit"; + type empty; + } + } + } + container option { + presence "enable option"; + description "Kind"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by TCP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + } + container window-scale { + presence "enable window-scale"; + description "Window scale"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container mss { + presence "enable mss"; + description "Maximum Segment Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container udp { + description "UDP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by UDP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmp { + description "ICMP protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by ICMP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmpv6 { + description "ICMPv6 protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IPv6 datagram subtracted by ICMPv6 header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + } + } + container anomaly { + description "Protocol anomaly"; + uses apply-advanced; + leaf test { + description "Protocol anomaly condition to be checked"; + type string; + } + leaf direction { + description "Direction"; + type enumeration { + enum "client-to-server" { + description "From Client to Server"; + } + enum "server-to-client" { + description "From Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + } + } + } + grouping custom-message-type { + description "Configure custom-message object"; + leaf name { + description "Configure name of custom-message object"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf type { + description "Type of custom message"; + type enumeration { + enum "redirect-url" { + description "Redirect URL"; + } + enum "user-message" { + description "User message"; + } + } + } + leaf content { + description "Content of custom message"; + type string { + length "1 .. 1024"; + } + } + } + grouping default-anti-spam-feature { + description "Anti-spam feature"; + uses apply-advanced; + leaf type { + description "Anti-spam type"; + type enumeration { + enum "sbl" { + description "Anti-spam sophos sbl"; + } + enum "anti-spam-none" { + } + } + } + leaf address-whitelist { + description "Anti-spam whitelist"; + type string; + } + leaf address-blacklist { + description "Anti-spam blacklist"; + type string; + } + container traceoptions { + description "Trace options for anti-spam feature"; + uses anti-spam-traceoptions; + } + container sbl { + description "SBL settings"; + presence "enable sbl"; + uses default-sbl-type; + } + } + grouping anti-spam-traceoptions { + description "Trace options for anti-spam feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for anti-spam feature flag"; + leaf name { + description "Trace options for anti-spam feature flag name"; + type enumeration { + enum "manager" { + description "Trace anti-spam manager information"; + } + enum "sbl" { + description "Trace SBL server information"; + } + enum "all" { + description "Enable trace all anti-spam trace options"; + } + } + } + } + } + grouping default-anti-virus-feature { + description "Anti-virus feature"; + uses apply-advanced; + container mime-whitelist { + description "Anti-virus MIME whitelist"; + uses apply-advanced; + leaf list { + description "MIME list"; + type string; + } + leaf exception { + description "Exception settings for MIME white list"; + type string; + } + } + leaf url-whitelist { + description "Anti-virus URL white list"; + type string; + } + leaf type { + description "Anti-virus engine type"; + default "anti-virus-none"; + type enumeration { + enum "sophos-engine" { + description "Anti-virus sophos-engine"; + } + enum "anti-virus-none" { + } + } + } + container traceoptions { + description "Trace options for anti-virus feature"; + uses anti-virus-traceoptions; + } + container sophos-engine { + description "Anti-virus sophos-engine"; + uses apply-advanced; + container server { + description "SAV and Anti-Spam first hop DNS server"; + uses apply-advanced; + leaf ip { + description "SAV and Anti-Spam first hop DNS server ip"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + leaf sxl-timeout { + description "Sxl sophos anti-virus engine timeout"; + default "2"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf sxl-retry { + description "Sxl sophos anti-virus engine query retry (number of times)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + container pattern-update { + description "Anti-virus sophos-engine pattern update"; + presence "enable pattern-update"; + uses anti-virus-pattern-update; + } + container fallback-options { + description "Anti-virus sophos-engine fallback options"; + presence "enable fallback-options"; + uses sophos-fallback-settings; + } + container scan-options { + description "Anti-virus sophos-engine scan options"; + presence "enable scan-options"; + uses default-sophos-scan-options; + } + container trickling { + description "Anti-virus trickling"; + presence "enable trickling"; + uses anti-virus-trickling; + } + container notification-options { + description "Anti-virus notification options"; + presence "enable notification-options"; + uses anti-virus-notification-options; + } + } + } + grouping anti-virus-pattern-update { + description "Anti-virus pattern update"; + uses apply-advanced; + container email-notify { + presence "enable email-notify"; + description "Virus pattern file updated notification"; + uses apply-advanced; + leaf admin-email { + description "Admin emails to be notified about pattern file update"; + type string { + length "1 .. 255"; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + container proxy { + presence "enable proxy"; + description "Pattern update proxy server."; + uses apply-advanced; + leaf server { + description "URL or IP address of the proxy server host"; + type string { + length "1 .. 256"; + } + } + leaf port { + description "Proxy server port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf username { + description "Username for proxy server"; + type string { + length "1 .. 256"; + } + } + leaf password { + description "Proxy server password"; + type jt:unreadable; + } + } + leaf url { + description "Server URL"; + type string { + length "1 .. 256"; + } + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + leaf interval { + description "Interval to check the update"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 10080"; + } + } + } + leaf no-autoupdate { + description "Don't automatically update anti-virus pattern"; + type empty; + } + } + grouping anti-virus-traceoptions { + description "Trace options for anti-virus feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for anti-virus feature flag"; + leaf name { + description "Trace options for anti-virus feature flag name"; + type enumeration { + enum "basic" { + description "Trace anti-virus module generic basic information"; + } + enum "detail" { + description "Trace anti-virus module generic detail information"; + } + enum "engine" { + description "Trace scan engine information"; + } + enum "pattern" { + description "Trace detail information of pattern loading"; + } + enum "updater" { + description "Trace pattern updater process activities"; + } + enum "manager" { + description "Trace anti-virus manager process activities"; + } + enum "worker" { + description "Trace anti-virus worker process activities"; + } + enum "sendmail" { + description "Trace mail notifier process activities"; + } + enum "ipc" { + description "Trace communication events with PFE"; + } + enum "event" { + description "Trace communication events between RE side processes"; + } + enum "statistics" { + description "Trace statistics information"; + } + enum "all" { + description "Enable trace all anti-virus trace options"; + } + } + } + } + } + grouping default-content-filtering-feature { + description "Content-filtering feature"; + uses apply-advanced; + leaf type { + description "Content-filtering type"; + default "local"; + type enumeration { + enum "local" { + description "Content-filtering local"; + } + enum "content-filtering-none" { + } + } + } + container traceoptions { + description "Trace options for content-filtering feature"; + uses content-filtering-traceoptions; + } + leaf permit-command { + description "Permit command list"; + type string; + } + leaf block-command { + description "Block command list"; + type string; + } + leaf block-extension { + description "Block extension list"; + type string; + } + container block-mime { + presence "enable block-mime"; + description "Content-filtering feature block MIME"; + uses apply-advanced; + leaf list { + description "Block MIME list"; + type string; + } + leaf exception { + description "Exception of block MIME list"; + type string; + } + } + container block-content-type { + description "Content-filtering feature block content type"; + uses apply-advanced; + leaf activex { + description "Block activex"; + type empty; + } + leaf java-applet { + description "Block Java-applet"; + type empty; + } + leaf exe { + description "Block Windows/dos exe file"; + type empty; + } + leaf zip { + description "Block zip file"; + type empty; + } + leaf http-cookie { + description "Block HTTP cookie"; + type empty; + } + } + container notification-options { + presence "enable notification-options"; + description "Notification options"; + uses apply-advanced; + leaf type { + description "Notification options type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notifiy mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notifiy mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom notification message"; + type string { + length "1 .. 512"; + } + } + } + } + grouping content-filtering-traceoptions { + description "Trace options for content-filtering feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for content-filtering feature flag"; + leaf name { + description "Trace options for content-filtering feature flag name"; + type enumeration { + enum "basic" { + description "Trace content-filtering basic information"; + } + enum "detail" { + description "Trace content-filtering detail information"; + } + enum "all" { + description "Enable trace all content-filtering trace options"; + } + } + } + } + } + grouping default-sbl-type { + description "SBL type"; + uses apply-advanced; + choice sbl-default-server-choice { + leaf sbl-default-server { + description "Default SBL server"; + type empty; + } + leaf no-sbl-default-server { + description "Don't default SBL server"; + type empty; + } + } + leaf spam-action { + description "Anti-spam actions"; + default "tag-subject"; + type enumeration { + enum "block" { + description "Block e-mail"; + } + enum "tag-header" { + description "Tag header of e-mail"; + } + enum "tag-subject" { + description "Tag subject of e-mail"; + } + } + } + leaf custom-tag-string { + description "Custom tag string"; + type string { + length "1 .. 512"; + } + } + } + grouping default-sophos-scan-options { + description "Anti-virus scan options"; + uses apply-advanced; + choice uri-check-choice { + leaf uri-check { + description "Anti-virus uri-check"; + type empty; + } + leaf no-uri-check { + description "Don't anti-virus uri-check"; + type empty; + } + } + leaf content-size-limit { + description "Content size limit"; + default "10000"; + type string; + } + leaf timeout { + description "Scan engine timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + grouping default-webfilter-feature { + description "Web-filtering feature settings"; + uses apply-advanced; + leaf url-whitelist { + description "Configure custom URL for whitelist category"; + type string; + } + leaf url-blacklist { + description "Configure custom URL for blacklist category"; + type string; + } + leaf http-reassemble { + description "Reassemble HTTP request segments"; + type empty; + } + leaf http-persist { + description "Check all HTTP request in a connection"; + type empty; + } + leaf type { + description "Configure web-filtering engine type"; + default "web-filtering-none"; + type enumeration { + enum "websense-redirect" { + } + enum "juniper-local" { + } + enum "juniper-enhanced" { + } + enum "web-filtering-none" { + } + } + } + container traceoptions { + description "Trace options for web-filtering feature"; + uses web-filtering-traceoptions; + } + container websense-redirect { + description "Configure web-filtering websense redirect engine"; + uses default-websense-type; + } + container juniper-local { + description "Configure web-filtering juniper local engine"; + uses default-juniper-local-type; + } + container juniper-enhanced { + description "Configure web-filtering juniper enhanced engine"; + uses default-juniper-enhanced-type; + } + } + grouping default-juniper-enhanced-type { + description "Juniper Enhanced"; + uses apply-advanced; + container cache { + presence "enable cache"; + uses apply-advanced; + leaf timeout { + description "Juniper enhanced cache timeout"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf size { + description "Juniper enhanced cache size"; + default "1024"; + units "kilobytes"; + type string; + } + } + container server { + description "Juniper enhanced server"; + presence "enable server"; + uses juniper-enhanced-server; + } + container reputation { + presence "enable reputation"; + description "Customize reputation level"; + uses apply-advanced; + leaf reputation-very-safe { + description "Base-reputation-value"; + default "90"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reputation-moderately-safe { + description "Base-reputation-value"; + default "80"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reputation-fairly-safe { + description "Base-reputation-value"; + default "70"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reputation-suspicious { + description "Base-reputation-value"; + default "60"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf query-type { + description "Juniper enhanced query type"; + type enumeration { + enum "url-ip" { + description "Query category by URL and IP address"; + } + enum "url" { + description "Query category by URL only"; + } + } + } + leaf base-filter { + description "Juniper base filter"; + type string; + } + list category { + key name; + ordered-by user; + description "Juniper enhanced category"; + uses juniper-enhanced-category-type; + } + container site-reputation-action { + description "Juniper enhanced site reputation action"; + presence "enable site-reputation-action"; + uses juniper-enhanced-site-reputation-setting; + } + leaf default { + description "Juniper enhanced profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + enum "quarantine" { + description "Quarantine action"; + } + } + } + leaf custom-block-message { + description "Juniper enhanced custom block message sent to HTTP client"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper enhanced quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container fallback-settings { + description "Juniper enhanced fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper enhanced timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-safe-search { + description "Do not perform safe-search for Juniper enhanced protocol"; + type empty; + } + container block-message { + description "Juniper enhanced block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper enhanced quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + } + grouping default-juniper-local-type { + description "Juniper local"; + uses apply-advanced; + leaf default { + description "Juniper local profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Juniper local custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper local quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Juniper local block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper local quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Juniper local fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper local timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + grouping custom-category-type { + description "Custom category type"; + leaf name { + description "Name of custom category"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf action { + description "Action to perform when web traffic matches category"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf custom-message { + description "Custom message"; + type string; + } + } + grouping default-websense-type { + description "Websense redirect"; + uses apply-advanced; + container server { + description "Websense redirect server"; + presence "enable server"; + uses server; + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Websense redirect custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Websense redirect quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Websense redirect block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Websense redirect quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Websense redirect fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Websense redirect timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf sockets { + description "Websense redirect sockets number"; + default "32"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf account { + description "Websense redirect account"; + type string { + length "1 .. 28"; + } + } + } + grouping dhcp-attribute-type { + uses apply-advanced; + container option-match { + description "Match"; + uses apply-advanced; + container option-82 { + uses apply-advanced; + list circuit-id { + key name; + ordered-by user; + description "Circuit ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + list remote-id { + key name; + ordered-by user; + description "Remote ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + } + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "Server Identifier - IP address value"; + type jt:ipv4addr; + } + leaf grace-period { + description "Grace period for leases"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "WINS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf tftp-server { + description "TFTP server IP address advertised to clients"; + type jt:ipv4addr; + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "SIP server domain name available to clients"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list ip-address { + key name; + ordered-by user; + description "SIP servers list of IPv4 addresses available to the client"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + leaf netbios-node-type { + description "Type of NETBIOS node advertised to clients"; + type enumeration { + enum "b-node" { + description "Broadcast node"; + } + enum "p-node" { + description "Peer-to-peer node"; + } + enum "m-node" { + description "Mixed Node"; + } + enum "h-node" { + description "Hybrid node"; + } + } + } + leaf sip-server-domain-name { + description "SIP server domain name available to clients"; + type string { + } + } + list sip-server-address { + key name; + ordered-by user; + description "SIP Servers list of IPv6 addresses available to the client"; + leaf name { + description "SIP Server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP Settings to pool"; + type string; + } + leaf-list propagate-ppp-settings { + ordered-by user; + description "PPP interface name for propagating DNS/WINS settings"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf hex-string { + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_10 { + leaf ipv6-address { + description "IPV6 address value"; + type jt:ipv6addr; + } + } + case case_11 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list hex-string { + ordered-by user; + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + case case_10 { + leaf-list ipv6-address { + ordered-by user; + description "Array of IPv6 address values"; + type jt:ipv6addr; + } + } + } + } + } + } + } + leaf valid-lifetime { + description "Valid lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf exclude-prefix-len { + description "Length of IPv6 prefix to be excluded from delegated prefix"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + leaf t1-renewal-time { + description "T1 renewal time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf t2-rebinding-time { + description "T2 rebinding time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping dynamic-attack-group-type { + description "Define dynamic attack group"; + leaf name { + description "Name of the dynamic attack group"; + type string; + } + uses apply-advanced; + leaf attack-group-description { + description "Filter name/value in xml format"; + status deprecated; + type string; + } + container filters { + description "Configure filters"; + uses apply-advanced; + container direction { + presence "enable direction"; + description "Direction of attack"; + uses apply-advanced; + leaf expression { + description "Boolean AND/OR to be used for values"; + default "or"; + type enumeration { + enum "and" { + description "AND values together (recommended if 'exclude-*' values are set)"; + } + enum "or" { + description "OR values together"; + } + } + } + leaf-list values { + ordered-by user; + description "Values for direction field"; + type enumeration { + enum "client-to-server" { + description "Select attacks from client to server"; + } + enum "server-to-client" { + description "Select attacks from server to client"; + } + enum "any" { + description "Select attacks which are in any direction"; + } + enum "exclude-client-to-server" { + description "Filter out attacks from client to server"; + } + enum "exclude-server-to-client" { + description "Filter out attacks from server to client"; + } + enum "exclude-any" { + description "Filter out attacks which are in any direction"; + } + } + } + } + container severity { + presence "enable severity"; + description "Severity of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for severity field"; + type enumeration { + enum "info" { + description "Provide information of attack when it matches."; + } + enum "warning" { + description "Issue a warning when attack matches."; + } + enum "minor" { + description "The attack is a minor one."; + } + enum "major" { + description "The attack is a major one."; + } + enum "critical" { + description "The attack is a critical one."; + } + } + } + } + container type { + presence "enable type"; + description "Type of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for type field"; + type enumeration { + enum "signature" { + description "Signature based attacks"; + } + enum "anomaly" { + description "Protocol anomalies"; + } + } + } + } + choice recommended-choice { + leaf recommended { + description "Recommended flag"; + type empty; + } + leaf no-recommended { + description "Don't recommended flag"; + type empty; + } + } + container performance { + presence "enable performance"; + description "Performance of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for performance field"; + type enumeration { + enum "unknown" { + description "Performance level unknown"; + } + enum "fast" { + description "Fast performance"; + } + enum "normal" { + description "Normal performance"; + } + enum "slow" { + description "Slow performance"; + } + } + } + } + container category { + presence "enable category"; + description "Category of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for category field"; + type string; + } + } + container service { + presence "enable service"; + description "Service/Application of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for service field"; + type string; + } + } + container false-positives { + presence "enable false-positives"; + description "False positive field in attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for false-positives field"; + type enumeration { + enum "unknown" { + description "Unknown information"; + } + enum "rarely" { + description "Rare false positives occurrence"; + } + enum "occasionally" { + description "Ocassional false positives occurrence"; + } + enum "frequently" { + description "Frequent false positives occurrence"; + } + } + } + } + list vendor { + key name; + ordered-by user; + description "Vendor/Product the attack belongs to"; + uses vendor-object; + } + container file-type { + presence "enable file-type"; + description "File type the attack is valid for"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for file-type field"; + type string; + } + } + container vulnerability-type { + presence "enable vulnerability-type"; + description "Vulnariability type of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for vulnariability-type field"; + type string; + } + } + list cvss-score { + key name; + ordered-by user; + description "CVSS score of Attack "; + leaf name { + description "Match condition of CVSS score"; + type enumeration { + enum "greater-than" { + description "Match when cvss score is greater"; + } + enum "less-than" { + description "Match when cvss score is less"; + } + } + } + uses apply-advanced; + leaf value { + description "Match value"; + type decimal64 { + fraction-digits 2; + range "0 .. 10"; + } + } + } + list age-of-attack { + key name; + ordered-by user; + description "Age of an Attack "; + leaf name { + description "Match condition of Age of Attack"; + type enumeration { + enum "greater-than" { + description "Match when Age of Attack is greater"; + } + enum "less-than" { + description "Match when Age of Attack is less"; + } + } + } + uses apply-advanced; + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + grouping dynamic-dhcp-attribute-type { + uses apply-advanced; + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf valid-lifetime { + description "Preferred lifetime"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime"; + units "seconds"; + type string; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime advertised to clients"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime advertised to clients"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + grouping e2e-action-profile { + leaf name { + description "Name of the action profile"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf preserve-trace-order { + description "Preserve trace order (has performance overhead)"; + type empty; + } + leaf record-pic-history { + description "Record the PIC(s) in which the packet has been processed"; + type empty; + } + list event { + key name; + ordered-by user; + uses e2e-event; + } + list module { + key name; + ordered-by user; + uses e2e-module; + } + } + grouping e2e-event { + leaf name { + description "Name of the event"; + type enumeration { + enum "np-ingress" { + description "NP ingress"; + } + enum "np-egress" { + description "NP egress"; + } + enum "mac-ingress" { + description "SRX1K/3K IOC Mac ingress"; + } + enum "mac-egress" { + description "SRX1K/3K IOC Mac egress"; + } + enum "lbt" { + description "Load-Balance-Thread"; + } + enum "pot" { + description "Packet-Order-Thread"; + } + enum "jexec" { + description "JExec"; + } + enum "lt-enter" { + description "LT(Logical Tunnel) enter"; + } + enum "lt-leave" { + description "LT(Logical Tunnel) leave"; + } + } + } + uses apply-advanced; + leaf trace { + description "Trace action"; + type empty; + } + leaf count { + description "Count action"; + type empty; + } + leaf packet-summary { + description "Packet summary action"; + type empty; + } + leaf packet-dump { + description "Packet dump action"; + type empty; + } + } + grouping e2e-module { + leaf name { + description "Name of the module"; + type enumeration { + enum "flow" { + description "Flow module"; + } + } + } + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + type enumeration { + enum "all" { + description "All flow trace"; + } + } + } + } + } + grouping end-to-end-debug-filter { + description "End to end debug packer filter settings"; + leaf name { + description "Name of the filter"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf action-profile { + description "Actions to take with this filter"; + type string; + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-prefix { + description "Source IPv4/IPv6 address prefix"; + type jt:ipprefix; + } + leaf destination-prefix { + description "Destination IPv4/IPv6 address prefix"; + type jt:ipprefix; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf interface { + description "Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping es_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice l2-encap-type_choice { + case case_1 { + leaf-list l2-encap-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list l2-encap-type-except { + ordered-by user; + type string; + } + } + } + choice vlan_choice { + case case_1 { + } + case case_2 { + } + } + choice dot1q-tag_choice { + case case_1 { + } + case case_2 { + } + } + choice dot1q-user-priority_choice { + case case_1 { + } + case case_2 { + } + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + } + } + choice vlan-ether-type_choice { + case case_1 { + } + case case_2 { + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice arp-type_choice { + case case_1 { + } + } + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection - (Ingress only)"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + leaf vlan { + description "Name of VLAN - (Ingress only)"; + type string; + } + } + } + } + grouping extension-list-type { + description "Configure extension-list object"; + leaf name { + description "Configure name of extension-list object"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of extension-list object"; + type string { + length "1 .. 29"; + } + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_flexible_match { + description "Define a flexible match"; + leaf name { + description "Flex match template name"; + type string { + } + } + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping firewall_policer { + description "Define a policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + leaf physical-interface-policer { + description "Policer is physical interface policer"; + type empty; + } + choice exceeding { + case case_1 { + container if-exceeding { + presence "enable if-exceeding"; + description "Define rate limits"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Bandwidth limit in percentage"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + } + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf out-of-profile { + description "Discard packets only if both congested and over threshold"; + type empty; + } + } + } + grouping firewall_prefix_list { + leaf name { + description "Prefix list to match"; + type string; + } + leaf except { + description "Match addresses not in this prefix list"; + type empty; + } + } + grouping flow-filter-type { + description "Flow filter settings"; + leaf name { + description "Name of the filter"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-prefix { + description "Source IP address prefix"; + type jt:ipprefix; + } + leaf destination-prefix { + description "Destination IP address prefix"; + type jt:ipprefix; + } + leaf conn-tag { + description "Session connection tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf logical-system { + description "Logical system"; + type string { + length "1 .. 63"; + } + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf interface { + description "Source logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping host-object { + uses apply-advanced; + leaf ipaddr { + description "IP address"; + type jt:ipaddr; + } + leaf port { + description "Host port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping httpd_dvpn_traceoptions_type { + description "Trace options for dynamic-vpn process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of HTTPD process to enable debugging output"; + leaf name { + type enumeration { + enum "all" { + description "Trace all areas"; + } + } + } + } + } + grouping idp-policy-type { + leaf name { + description "IDP policy name"; + type string; + } + container rulebase-ips { + description "IPS rulebase"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Configure IPS rule"; + leaf name { + description "Rule name"; + type string; + } + uses apply-advanced; + leaf description { + description "Rule description"; + type string; + } + container match { + description "Rule match criteria"; + uses apply-advanced; + leaf from-zone { + description "Match from zone"; + default "any"; + type string; + } + choice source { + case case_1 { + leaf-list source-address { + ordered-by user; + description "Match source address"; + type string; + } + } + case case_2 { + leaf-list source-except { + ordered-by user; + description "Don't match source address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf to-zone { + description "Match to zone"; + default "any"; + type string; + } + choice destination { + case case_1 { + leaf-list destination-address { + ordered-by user; + description "Match destination address"; + type string; + } + } + case case_2 { + leaf-list destination-except { + ordered-by user; + description "Don't match destination address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf application { + description "Specify application or application-set name to match"; + type string; + } + container attacks { + description "Match attack objects"; + uses apply-advanced; + leaf-list custom-attacks { + ordered-by user; + description "Custom attacks"; + type string; + } + leaf-list custom-attack-groups { + ordered-by user; + description "Custom attack groups"; + type string; + } + leaf-list dynamic-attack-groups { + ordered-by user; + description "Dynamic attack groups"; + type string; + } + leaf-list predefined-attacks { + ordered-by user; + description "Predefined attacks"; + type string; + } + leaf-list predefined-attack-groups { + ordered-by user; + description "Predefined attack groups"; + type string; + } + } + } + container then { + uses apply-advanced; + container action { + choice action { + case case_1 { + leaf no-action { + description "No action"; + type empty; + } + } + case case_2 { + leaf ignore-connection { + description "Ignore"; + type empty; + } + } + case case_3 { + container mark-diffserv { + description "Mark differentiated services codepoint (DSCP)"; + uses apply-advanced; + leaf codepoint { + description "Codepoint value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + } + } + case case_4 { + container class-of-service { + description "Classification of traffic based on class-of-service"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "Differentiated services code point value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + } + } + case case_5 { + leaf drop-packet { + description "Drop packet"; + type empty; + } + } + case case_6 { + leaf drop-connection { + description "Drop connection"; + type empty; + } + } + case case_7 { + leaf close-client { + description "Close client"; + type empty; + } + } + case case_8 { + leaf close-server { + description "Close server"; + type empty; + } + } + case case_9 { + leaf close-client-and-server { + description "Close client and server"; + type empty; + } + } + case case_10 { + leaf recommended { + description "Recommended"; + type empty; + } + } + } + } + container ip-action { + uses apply-advanced; + choice ip-action { + case case_1 { + leaf ip-notify { + description "Notify about future traffic"; + type empty; + } + } + case case_2 { + leaf ip-close { + description "Close future connections"; + type empty; + } + } + case case_3 { + leaf ip-block { + description "Block future connections"; + type empty; + } + } + } + leaf target { + type enumeration { + enum "service" { + description "Match source, destination, dst-port and protocol"; + } + enum "source-zone-address" { + description "Match source-zone and source-address"; + } + enum "source-address" { + description "Match source"; + } + enum "destination-address" { + description "Match destination"; + } + enum "zone-service" { + description "Match source-zone, destination, dst-port, protocol"; + } + enum "source-zone" { + description "Match source-zone"; + } + } + } + leaf log { + description "Log IP action taken"; + type empty; + } + leaf log-create { + description "Log IP action creation"; + type empty; + } + leaf timeout { + description "Number of seconds IP action should remain effective"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64800"; + } + } + } + leaf refresh-timeout { + description "Refresh timeout when future connections match installed ip-action filter"; + type empty; + } + } + container notification { + presence "enable notification"; + description "Configure notification/logging options"; + uses apply-advanced; + container log-attacks { + presence "enable log-attacks"; + description "Enable attack logging"; + uses apply-advanced; + leaf alert { + description "Set alert flag in attack log"; + type empty; + } + } + container packet-log { + presence "enable packet-log"; + uses apply-advanced; + leaf pre-attack { + description "No of packets to capture before attack"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf post-attack { + description "No of packets to capture after attack"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf post-attack-timeout { + description "Timeout (seconds) after attack before stopping packet capture"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1800"; + } + } + } + } + } + leaf severity { + description "Set rule severity level"; + type enumeration { + enum "info" { + } + enum "warning" { + } + enum "minor" { + } + enum "major" { + } + enum "critical" { + } + } + } + } + leaf terminal { + description "Set/Unset terminal flag"; + type empty; + } + } + } + container rulebase-exempt { + description "Exempt rulebase"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Configure exempt rule"; + leaf name { + description "Rule name"; + type string; + } + uses apply-advanced; + leaf description { + description "Rule description"; + type string; + } + container match { + description "Rule match criteria"; + uses apply-advanced; + leaf from-zone { + description "Match from zone"; + default "any"; + type string; + } + choice source { + case case_1 { + leaf-list source-address { + ordered-by user; + description "Match source address"; + type string; + } + } + case case_2 { + leaf-list source-except { + ordered-by user; + description "Don't match source address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf to-zone { + description "Match to zone"; + default "any"; + type string; + } + choice destination { + case case_1 { + leaf-list destination-address { + ordered-by user; + description "Match destination address"; + type string; + } + } + case case_2 { + leaf-list destination-except { + ordered-by user; + description "Don't match destination address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + container attacks { + description "Match attack objects"; + uses apply-advanced; + leaf-list custom-attacks { + ordered-by user; + description "Custom attacks"; + type string; + } + leaf-list custom-attack-groups { + ordered-by user; + description "Custom attack groups"; + type string; + } + leaf-list dynamic-attack-groups { + ordered-by user; + description "Dynamic attack groups"; + type string; + } + leaf-list predefined-attacks { + ordered-by user; + description "Predefined attacks"; + type string; + } + leaf-list predefined-attack-groups { + ordered-by user; + description "Predefined attack groups"; + type string; + } + } + } + } + } + } + grouping idpd-traceoptions-type { + description "Trace options for idpd"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping ids-option-type { + description "Configure screen object"; + leaf name { + description "Screen object name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of screen"; + type string { + length "1 .. 900"; + } + } + leaf alarm-without-drop { + description "Do not drop packet, only generate alarm"; + type empty; + } + container icmp { + description "Configure ICMP ids options"; + uses apply-advanced; + container ip-sweep { + presence "enable ip-sweep"; + description "Configure ip sweep ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 ICMP packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + leaf fragment { + description "Enable ICMP fragment ids option"; + type empty; + } + leaf large { + description "Enable large ICMP packet (size > 1024) ids option"; + type empty; + } + container flood { + presence "enable flood"; + description "Configure icmp flood ids option"; + leaf threshold { + description "Threshold"; + default "1000"; + units "ICMP packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf ping-death { + description "Enable ping of death ids option"; + type empty; + } + leaf icmpv6-malformed { + description "Enable icmpv6 malformed ids option"; + type empty; + } + } + container ip { + description "Configure IP layer ids options"; + uses apply-advanced; + leaf bad-option { + description "Enable ip with bad option ids option"; + type empty; + } + leaf record-route-option { + description "Enable ip with record route option ids option"; + type empty; + } + leaf timestamp-option { + description "Enable ip with timestamp option ids option"; + type empty; + } + leaf security-option { + description "Enable ip with security option ids option"; + type empty; + } + leaf stream-option { + description "Enable ip with stream option ids option"; + type empty; + } + leaf spoofing { + description "Enable IP address spoofing ids option"; + type empty; + } + leaf source-route-option { + description "Enable ip source route ids option"; + type empty; + } + leaf loose-source-route-option { + description "Enable ip with loose source route ids option"; + type empty; + } + leaf strict-source-route-option { + description "Enable ip with strict source route ids option"; + type empty; + } + leaf unknown-protocol { + description "Enable ip unknown protocol ids option"; + type empty; + } + leaf block-frag { + description "Enable ip fragment blocking ids option"; + type empty; + } + leaf tear-drop { + description "Enable tear drop ids option"; + type empty; + } + container ipv6-extension-header { + description "Configure ipv6 extension header ids option"; + uses apply-advanced; + container hop-by-hop-header { + presence "enable hop-by-hop-header"; + description "Enable ipv6 hop by hop option header ids option"; + uses apply-advanced; + leaf jumbo-payload-option { + description "Enable jumbo payload option ids option"; + type empty; + } + leaf router-alert-option { + description "Enable router alert option ids option"; + type empty; + } + leaf quick-start-option { + description "Enable quick start option ids option"; + type empty; + } + leaf CALIPSO-option { + description "Enable Common Architecture Label ipv6 Security Option ids option"; + type empty; + } + leaf SMF-DPD-option { + description "Enable Simplified Multicast Forwarding ipv6 Duplicate Packet Detection option ids option"; + type empty; + } + leaf RPL-option { + description "Enable Routing Protocol for Low-power and Lossy networks option ids option"; + type empty; + } + list user-defined-option-type { + key name; + ordered-by user; + description "User-defined option type range"; + max-elements 256; + leaf name { + description "User-defined option type low value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container to { + description "Upper limit of option type range"; + uses apply-advanced; + leaf type-high { + description "User-defined option type high value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + } + leaf routing-header { + description "Enable ipv6 routing header ids option"; + type empty; + } + leaf fragment-header { + description "Enable ipv6 fragment header ids option"; + type empty; + } + leaf ESP-header { + description "Enable ipv6 Encapsulating Security Payload header ids option"; + type empty; + } + leaf AH-header { + description "Enable ipv6 Authentication Header ids option"; + type empty; + } + leaf no-next-header { + description "Enable ipv6 no next header ids option"; + type empty; + } + container destination-header { + presence "enable destination-header"; + description "Enable ipv6 destination option header ids option"; + uses apply-advanced; + leaf tunnel-encapsulation-limit-option { + description "Enable tunnel encapsulation limit option ids option"; + type empty; + } + leaf home-address-option { + description "Enable home address option ids option"; + type empty; + } + leaf ILNP-nonce-option { + description "Enable Identifier-Locator Network Protocol Nonce option ids option"; + type empty; + } + leaf line-identification-option { + description "Enable line identification option ids option"; + type empty; + } + list user-defined-option-type { + key name; + ordered-by user; + description "User-defined option type range"; + max-elements 256; + leaf name { + description "User-defined option type low value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container to { + description "Upper limit of option type range"; + uses apply-advanced; + leaf type-high { + description "User-defined option type high value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + } + leaf shim6-header { + description "Enable ipv6 shim header ids option"; + type empty; + } + leaf mobility-header { + description "Enable ipv6 mobility header ids option"; + type empty; + } + leaf HIP-header { + description "Enable ipv6 Host Identify Protocol header ids option"; + type empty; + } + list user-defined-header-type { + key name; + ordered-by user; + description "User-defined header type range"; + max-elements 256; + leaf name { + description "User-defined header type low value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container to { + description "Upper limit of header type range"; + uses apply-advanced; + leaf type-high { + description "User-defined header type high value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf ipv6-extension-header-limit { + description "Enable ipv6 extension header limit ids option"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf ipv6-malformed-header { + description "Enable ipv6 malformed header ids option"; + type empty; + } + container tunnel { + description "Configure IP tunnel ids options"; + uses apply-advanced; + leaf bad-inner-header { + description "Enable IP tunnel bad inner header ids option"; + type empty; + } + container gre { + description "Configure IP tunnel GRE ids option"; + uses apply-advanced; + leaf gre-6in4 { + description "Enable IP tunnel GRE 6in4 ids option"; + type empty; + } + leaf gre-4in6 { + description "Enable IP tunnel GRE 4in6 ids option"; + type empty; + } + leaf gre-6in6 { + description "Enable IP tunnel GRE 6in6 ids option"; + type empty; + } + leaf gre-4in4 { + description "Enable IP tunnel GRE 4in4 ids option"; + type empty; + } + } + container ip-in-udp { + description "Configure IP tunnel IPinUDP ids option"; + uses apply-advanced; + leaf teredo { + description "Enable IP tunnel IPinUDP Teredo ids option"; + type empty; + } + } + container ipip { + description "Configure IP tunnel IPIP ids option"; + uses apply-advanced; + leaf ipip-6to4relay { + description "Enable IP tunnel IPIP 6to4 Relay ids option"; + type empty; + } + leaf ipip-6in4 { + description "Enable IP tunnel IPIP 6in4 ids option"; + type empty; + } + leaf ipip-4in6 { + description "Enable IP tunnel IPIP 4in6 ids option"; + type empty; + } + leaf ipip-4in4 { + description "Enable IP tunnel IPIP 4in4 ids option"; + type empty; + } + leaf ipip-6in6 { + description "Enable IP tunnel IPIP 6in6 ids option"; + type empty; + } + leaf ipip-6over4 { + description "Enable IP tunnel IPIP 6over4 ids option"; + type empty; + } + leaf isatap { + description "Enable IP tunnel IPIP ISATAP ids option"; + type empty; + } + leaf dslite { + description "Enable IP tunnel IPIP DS-Lite ids option"; + type empty; + } + } + } + } + container tcp { + description "Configure TCP Layer ids options"; + uses apply-advanced; + leaf syn-fin { + description "Enable SYN and FIN bits set attack ids option"; + type empty; + } + leaf fin-no-ack { + description "Enable Fin bit with no ACK bit ids option"; + type empty; + } + leaf tcp-no-flag { + description "Enable TCP packet without flag ids option"; + type empty; + } + leaf syn-frag { + description "Enable SYN fragment ids option"; + type empty; + } + container port-scan { + presence "enable port-scan"; + description "Configure TCP port scan ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 attack packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + container syn-ack-ack-proxy { + presence "enable syn-ack-ack-proxy"; + description "Configure syn-ack-ack proxy ids option"; + leaf threshold { + description "Threshold"; + default "512"; + units "un-authenticated connections"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250000"; + } + } + } + } + container syn-flood { + presence "enable syn-flood"; + description "Configure SYN flood ids option"; + uses apply-advanced; + leaf alarm-threshold { + description "Alarm threshold"; + default "512"; + units "requests per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf attack-threshold { + description "Attack threshold"; + default "200"; + units "proxied requests per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf source-threshold { + description "Source threshold"; + default "4000"; + units "SYN pps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf destination-threshold { + description "Destination threshold"; + default "4000"; + units "SYN pps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf queue-size { + description "Queue size"; + status deprecated; + default "1024"; + units "proxied requests in queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "200 .. 20000"; + } + } + } + leaf timeout { + description "SYN flood ager timeout"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50"; + } + } + } + list white-list { + key name; + description "Set of IP addresses that will not trigger a screen"; + max-elements 2; + leaf name { + description "White-list name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 32; + } + leaf-list destination-address { + ordered-by user; + description "Destination address"; + type jt:ipprefix; + max-elements 32; + } + } + } + leaf land { + description "Enable land attack ids option"; + type empty; + } + leaf winnuke { + description "Enable winnuke attack ids option"; + type empty; + } + container tcp-sweep { + presence "enable tcp-sweep"; + description "Configure TCP sweep ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 TCP packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + } + container udp { + description "Configure UDP layer ids options"; + uses apply-advanced; + container flood { + presence "enable flood"; + description "Configure UDP flood ids option"; + uses apply-advanced; + leaf threshold { + description "Threshold"; + default "1000"; + units "UDP packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf-list white-list { + ordered-by user; + description "Configure UDP flood white list group name"; + type string; + max-elements 2; + } + } + container udp-sweep { + presence "enable udp-sweep"; + description "Configure UDP sweep ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 UDP packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + container port-scan { + presence "enable port-scan"; + description "Configure UDP port scan ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 attack packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + } + container limit-session { + description "Limit sessions"; + uses apply-advanced; + leaf source-ip-based { + description "Limit sessions from the same source IP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf destination-ip-based { + description "Limit sessions to the same destination IP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping ids-wlist-type { + leaf name { + description "White-list name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf-list address { + ordered-by user; + description "Address"; + type jt:ipprefix; + max-elements 32; + } + } + grouping inet6_dialer_filter { + description "Define an IPv6 dialer filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping firewall_addr6_object { + leaf name { + description "Prefix to match"; + type jt:ipv6prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping inet6_filter { + description "Define an IPv6 firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + leaf service-filter-hit { + description "Match if service-filter-hit is set"; + type empty; + } + choice hop-limit_choice { + case case_1 { + } + case case_2 { + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inet6cnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + } + case case_3 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_4 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_5 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_6 { + } + case case_7 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_8 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_9 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_10 { + } + case case_11 { + } + case case_12 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf no-route { + description "Send ICMPv6 No Route message"; + type empty; + } + } + case case_2 { + leaf administratively-prohibited { + description "Send ICMPv6 Administratively Prohibited message"; + type empty; + } + } + case case_3 { + leaf beyond-scope { + description "Send ICMPv6 Beyond Scope of Source Address message"; + type empty; + } + } + case case_4 { + leaf address-unreachable { + description "Send ICMPv6 Address Unreachable message"; + type empty; + } + } + case case_5 { + leaf port-unreachable { + description "Send ICMPv6 Port Unreachable message"; + type empty; + } + } + case case_6 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + case case_7 { + leaf network-unreachable { + description "Send ICMPv4 Network Unreachable message"; + status deprecated; + type empty; + } + } + case case_8 { + leaf host-unreachable { + description "Send ICMPv4 Host Unreachable message"; + status deprecated; + type empty; + } + } + case case_9 { + leaf protocol-unreachable { + description "Send ICMPv4 Protocol Unreachable message"; + status deprecated; + type empty; + } + } + case case_10 { + leaf source-route-failed { + description "Send ICMPv4 Source Route Failed message"; + status deprecated; + type empty; + } + } + case case_11 { + leaf network-unknown { + description "Send ICMPv4 Network Unknown message"; + status deprecated; + type empty; + } + } + case case_12 { + leaf host-unknown { + description "Send ICMPv4 Host Unknown message"; + status deprecated; + type empty; + } + } + case case_13 { + leaf source-host-isolated { + description "Send ICMPv4 Source Host Isolated message"; + status deprecated; + type empty; + } + } + case case_14 { + leaf network-prohibited { + description "Send ICMPv4 Network Prohibited message"; + status deprecated; + type empty; + } + } + case case_15 { + leaf host-prohibited { + description "Send ICMPv4 Host Prohibited message"; + status deprecated; + type empty; + } + } + case case_16 { + leaf bad-network-tos { + description "Send ICMPv4 Bad Network ToS message"; + status deprecated; + type empty; + } + } + case case_17 { + leaf bad-host-tos { + description "Send ICMPv4 Bad Host ToS message"; + status deprecated; + type empty; + } + } + case case_18 { + leaf precedence-violation { + description "Send ICMPv4 Precedence Violation message"; + status deprecated; + type empty; + } + } + case case_19 { + leaf precedence-cutoff { + description "Send ICMPv4 Precedence Cutoff message"; + status deprecated; + type empty; + } + } + } + } + } + } + } + } + } + grouping inet6_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "next-header" { + description "Include next header protocol in match set"; + } + enum "payload-protocol" { + description "Include payload protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "traffic-class" { + description "Include traffic-class (DSCP) in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr6_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice next-header_choice { + case case_1 { + container next-header { + description "Match next header protocol type"; + uses match_simple_protocol_value; + } + } + } + choice traffic-class_choice { + case case_1 { + container traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping inet6_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_dialer_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping inet_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + leaf service-filter-hit { + description "Match if service-filter-hit is set"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice rat-type_choice { + case case_1 { + leaf-list rat-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list rat-type-except { + ordered-by user; + type string; + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inetcnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + leaf virtual-channel { + description "Set the output interface virtual channel"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + container discard { + presence "enable discard"; + description "Discard the packet"; + uses apply-advanced; + leaf accounting { + description "Named discard collector for packet"; + type string; + } + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_4 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_5 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_6 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_7 { + } + case case_8 { + } + case case_9 { + } + case case_10 { + } + case case_11 { + } + case case_12 { + } + case case_13 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf network-unreachable { + description "Send ICMP Network Unreachable message"; + type empty; + } + } + case case_2 { + leaf host-unreachable { + description "Send ICMP Host Unreachable message"; + type empty; + } + } + case case_3 { + leaf protocol-unreachable { + description "Send ICMP Protocol Unreachable message"; + type empty; + } + } + case case_4 { + leaf port-unreachable { + description "Send ICMP Port Unreachable message"; + type empty; + } + } + case case_5 { + leaf fragmentation-needed { + description "Send ICMP Fragmentation Needed message"; + type empty; + } + } + case case_6 { + leaf source-route-failed { + description "Send ICMP Source Route Failed message"; + type empty; + } + } + case case_7 { + leaf network-unknown { + description "Send ICMP Network Unknown message"; + type empty; + } + } + case case_8 { + leaf host-unknown { + description "Send ICMP Host Unknown message"; + type empty; + } + } + case case_9 { + leaf source-host-isolated { + description "Send ICMP Source Host Isolated message"; + type empty; + } + } + case case_10 { + leaf network-prohibited { + description "Send ICMP Network Prohibited message"; + type empty; + } + } + case case_11 { + leaf host-prohibited { + description "Send ICMP Host Prohibited message"; + type empty; + } + } + case case_12 { + leaf bad-network-tos { + description "Send ICMP Bad Network ToS message"; + type empty; + } + } + case case_13 { + leaf bad-host-tos { + description "Send ICMP Bad Host ToS message"; + type empty; + } + } + case case_14 { + leaf administratively-prohibited { + description "Send ICMP Administratively Prohibited message"; + type empty; + } + } + case case_15 { + leaf precedence-violation { + description "Send ICMP Precedence Violation message"; + type empty; + } + } + case case_16 { + leaf precedence-cutoff { + description "Send ICMP Precedence Cutoff message"; + type empty; + } + } + case case_17 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + } + } + } + case case_14 { + } + } + leaf prefix-action { + description "Police or count packets using named prefix action"; + type string { + } + } + } + } + } + grouping inet_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "protocol" { + description "Include IP protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "dscp" { + description "Include Differentiated Services (DiffServ) code point in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping inet_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_simple_filter { + leaf name { + description "Name of simple filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + status deprecated; + type empty; + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Destination IP address"; + uses firewall_addr_simple_object; + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf discard { + description "Discard the packet"; + type empty; + } + leaf accept { + description "Accept the packet"; + type empty; + } + } + } + } + grouping interface_set_type { + leaf name { + description "Interface set name"; + type string { + } + } + uses apply-advanced; + list interface-list { + key name; + ordered-by user; + description "Interface list"; + leaf name { + description "Interface name"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping jdhcp-local-server-type { + uses apply-advanced; + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-local-server-type; + } + list pool-match-order { + key name; + ordered-by user; + description "Define order of attribute matching for pool selection"; + leaf name { + description "Match type"; + type enumeration { + enum "external-authority" { + description "External authority handles address selection"; + } + enum "ip-address-first" { + description "IP address used first to select a pool"; + } + enum "option-82" { + description "Option 82 used in matching of pool"; + } + enum "option-82-strict" { + description "Option 82 used in strict matching of pool"; + } + } + } + uses apply-advanced; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP local server group"; + uses dhcp-local-server-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-local-server-dual-stack-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and giaddr for passive clients"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + container allow-leasequery { + description "Allow DHCP leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-bulk-leasequery { + description "Allow DHCP bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + } + grouping dhcp-local-server-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf on-demand-address-allocation { + description "Allocate addresses on demand"; + type empty; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcpv6-local-server-type { + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 local server group"; + uses dhcpv6-local-server-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and link-address for passive clients"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container server-duid-type { + description "Define the DUID type to be used as the Server ID. Type supported is DUID-LL"; + uses duid-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCPv6 leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container allow-bulk-leasequery { + description "Allow DHCPv6 bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + container dynamic-server { + description "DHCPv6 dynamic server configuration"; + uses dhcpv6-dynamic-server-type; + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-dynamic-server-type { + uses apply-advanced; + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-dynamic-server-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 dynamic server group"; + uses dhcpv6-dynamic-server-group; + } + } + grouping dhcpv6-dynamic-server-group { + description "DHCP dynamic server groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this group"; + type string { + length "1 .. 64"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-dynamic-server-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-dynamic-server-type; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcpv6-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcpv6-override-dynamic-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf ia-na-pool { + description "IA_NA pool name for inet6"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + container delay-advertise { + description "Filter options for dhcp-server"; + presence "enable delay-advertise"; + uses dhcpv6-filter-option; + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf multi-address-embedded-option-response { + description "If the client requests multiple addresses place the options in each address"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf top-level-status-code { + description "A top level status code option rather than encapsulated in IA for NoAddrsAvail in Advertise PDUs"; + type empty; + } + leaf always-add-option-dns-server { + description "Add option-23, DNS recursive name server in Advertise and Reply"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv6 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-filter-option { + description "Generic DHCPv6 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between solicit and advertise"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-18 { + presence "enable option-18"; + description "Option 18"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-37 { + presence "enable option-37"; + description "Option 37"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-15 { + presence "enable option-15"; + description "Option 15"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-16 { + presence "enable option-16"; + description "Option 16"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping dhcpv6-reconfigure-type { + description "DHCPv6 reconfigure processing"; + uses apply-advanced; + leaf strict { + description "Only allow packets containing Reconfigure Accept Option"; + type empty; + } + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping duid-type { + uses apply-advanced; + leaf duid_ll { + description "Link Layer Address based DUID "; + type empty; + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping jsf_application_traffic_control_rule_set_type { + description "Define service application traffic rule-set reference"; + uses apply-advanced; + leaf rule-set { + description "Service rule-set name"; + type string { + length "1 .. 64"; + } + } + } + grouping jsscd-static-subscribers-type { + uses apply-advanced; + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list group { + key name; + ordered-by user; + description "Static Subscriber Client group configuration"; + uses jsscd-group-type; + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + leaf baseline-stats { + description "Baseline the statistics for static subscribers"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container subscriber-ip-address { + description "Assigned IP address to report externally"; + uses apply-advanced; + leaf address { + description "IPv4 address"; + type jt:ipv4addr; + } + } + container subscriber-ipv6-address { + description "Assigned IPv6 address to report externally"; + uses apply-advanced; + leaf address { + description "IPv6 Address or Prefix"; + type jt:ipv6prefix; + } + } + } + } + grouping jsscd-access-profile-type { + description "Access profile for static subscribers"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + grouping jsscd-authentication-type { + description "Static Subscriber Client authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type jt:unreadable; + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf interface { + description "Include interface name"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + } + } + grouping jsscd-dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile-name { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + grouping jsscd-group-type { + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf upto { + description "Interface up to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + } + grouping jsscd-service-profile-type { + description "Service profile for static subscribers"; + uses apply-advanced; + leaf service-profile-name { + description "Service profile name"; + type string { + length "1 .. 80"; + } + } + } + grouping juniper-bridge-domains { + description "Bridge domains"; + leaf name { + description "Bridge domain name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of bridge domain"; + type string { + } + } + leaf domain-type { + description "Type of bridge domain"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + case case_3 { + leaf-list vlan-id-list { + description "Create bridge-domain for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Create bridge-domain for isid (Valid isid:256..16777214)"; + type string; + } + leaf vlan-id-scope-local { + description "Enable the scope of vlan-id local to avoid transmitting vlan tagged packets"; + type empty; + } + leaf service-id { + description "Service id required if bridge-domain is of type MC-AE and vlan-id all or vlan-id none or vlan-tags"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf domain-id { + description "Domain-id for auto derived Route Target"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this bridge domain"; + type empty; + } + leaf mcae-mac-flush { + description "Enable MCAE MAC flush in a/s mode for a bridge domain on MCAE link up"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + leaf enable-mac-move-action { + description "Enable blocking action due to mac-move in this Bridge Domain"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface name for this bridge domain"; + leaf name { + type string; + } + uses apply-advanced; + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this bridge-domain"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-bridge-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container bridge-options { + description "Bridge domain configuration"; + uses juniper-protocols-bd; + } + container protocols { + presence "enable protocols"; + uses apply-advanced; + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-bd-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-bd-protocols-mld-snooping; + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf isolated-vlan { + description "Isolated VLAN ID for private vlan bridge domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list community-vlans { + description "List of Community VLANs for private vlan bridge domain"; + type jt:vlan-range; + } + } + grouping juniper-bd-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bd-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bridge-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for bridge forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for bridge flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for bridge flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "Dynamic ARP Inspection configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping juniper-def-rtb-switch-options { + description "Bridge option configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + container auto { + description "Auto derive import and export target community from BGP AS & L2"; + presence "enable auto"; + uses juniper-def-rtb-auto-import-as; + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface for configuring bridge-options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf no-mac-notification { + description "Disable mac notification on this interface"; + type empty; + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf interface-shutdown-action { + description "Interface shutdown mode for Storm-Control/Mac-Limit/Mac-Move-limit scenario"; + type enumeration { + enum "soft-shutdown" { + description "Soft-shutdown restricts data-packets while control-packets are still received"; + } + enum "hard-shutdown" { + description "Hard-shutdown restricts all packets, port will not be operational"; + } + } + } + leaf-list remote-vtep-v6-list { + description "Configurate static IPv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + container redundant-trunk-group { + description "Redundant trunk group"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name of Redundant trunk group"; + leaf name { + description "RTG name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf preempt-cutover-timer { + description "Hold timer for primary interface before preempting secondary interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 600"; + } + } + } + leaf description { + description "Text description of the RTG"; + type string { + length "1 .. 127"; + } + } + list interface { + key name; + description "Interfaces that are part of this redundant trunk group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf primary { + description "Set Primary Redundant Trunk Group interface"; + type empty; + } + } + } + } + } + grouping juniper-def-rtb-auto-import-as { + uses apply-advanced; + list import-as { + key name; + description "AS to auto import for a list of VNI ids"; + leaf name { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + uses apply-advanced; + leaf-list vni-list { + description "List of VNI identifiers or all"; + type string; + } + } + } + grouping juniper-enhanced-category-type { + description "Juniper enhanced category type"; + leaf name { + description "Name of Juniper enhanced category"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf action { + description "Action to perform when web traffic matches category"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf custom-message { + description "Custom message"; + type string; + } + } + grouping juniper-enhanced-server { + description "Server handling categorization requests"; + uses apply-advanced; + leaf host { + description "Server host IP address or string host name"; + type string; + } + leaf port { + description "Server port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + grouping juniper-enhanced-site-reputation-setting { + description "Juniper enhanced site reputation settings"; + uses apply-advanced; + leaf very-safe { + description "Action when site reputation is very safe"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf moderately-safe { + description "Action when site reputation is moderately safe"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf fairly-safe { + description "Action when site reputation is fairly safe"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf suspicious { + description "Action when site reputation is suspicious"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf harmful { + description "Action when site reputation is harmful"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container host-outbound-traffic { + description "Host generated protocol packets"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + leaf dot1p { + description "Dot1p bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + leaf ignore-stp-topology-change { + description "Don't process stp topology change"; + type empty; + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-policy-options { + description "Define a redundancy policy"; + uses apply-advanced; + container satellite-policies { + description "Satellite Policy configuration"; + uses satellite-policy-options; + } + list prefix-list { + key name; + ordered-by user; + description "Define a named set of address prefixes"; + leaf name { + description "Prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list-item { + key name; + uses prefix_list_items; + } + leaf apply-path { + description "Apply IP prefixes from a configuration statement"; + type string; + } + } + list route-filter-list { + key name; + ordered-by user; + description "Define a named set of route-filter address prefixes"; + leaf name { + description "Route filter list name"; + type string; + } + uses apply-advanced; + list rf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses route_filter_list_items; + } + } + list source-address-filter-list { + key name; + ordered-by user; + description "Define a named set of source address filter address prefixes"; + leaf name { + description "Source address filter list name"; + type string; + } + uses apply-advanced; + list saf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses source_address_filter_list_items; + } + } + list mac-list { + key name; + ordered-by user; + description "Define a named set of mac addresses"; + leaf name { + description "MAc Address list name"; + type string; + } + uses apply-advanced; + list mac-addr-list-item { + key name; + uses mac_addr_list_items; + } + } + list vsi-policy { + key name; + ordered-by user; + description "Define a named set of VSI policies"; + leaf name { + description "VSI policy name"; + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the VSI policy"; + uses apply-advanced; + list vsi-manager { + key "vsi-manager-id vsi-type vsi-version vsi-instance"; + ordered-by user; + description "VSI manager"; + leaf vsi-manager-id { + description "VSI manager ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-type { + description "VSI type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777216"; + } + } + } + leaf vsi-version { + description "VSI version"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-instance { + description "VSI instance"; + type string; + } + uses apply-advanced; + } + } + container then { + description "Actions to take if 'from' conditions match"; + uses apply-advanced; + leaf filter { + description "Filter name"; + type string; + } + } + } + list policy-statement { + key name; + description "Routing policy"; + leaf name { + description "Name to identify a policy filter"; + type string; + } + uses apply-advanced; + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + choice scope-choice { + case case_1 { + leaf no-walkup { + description "Route filter walk up disable"; + type empty; + } + } + case case_2 { + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + list community { + key name; + description "BGP community information"; + leaf name { + description "Name to identify BGP community"; + type string; + } + uses apply-advanced; + leaf invert-match { + description "Invert the result of the community expression matching"; + type empty; + } + leaf-list members { + ordered-by user; + description "Community members"; + type string; + } + } + list route-distinguisher { + key name; + description "Route-distinguisher information"; + leaf name { + description "Name to identify route-distinguisher"; + type string; + } + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Route distinguisher string in ( *:X ) or ( Y:* ) or (X:Y) format"; + type string; + } + } + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + uses apply-advanced; + leaf path { + description "AS path regular expression"; + type string { + } + } + } + list as-path-group { + key name; + ordered-by user; + description "Group a set of AS paths"; + leaf name { + description "Name to identify AS path group"; + type string; + } + uses apply-advanced; + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + leaf path { + description "AS path regular expression"; + type string { + } + } + } + } + list damping { + key name; + ordered-by user; + description "BGP route flap damping properties"; + leaf name { + description "Name to identify route flap damping parameters"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable damping"; + type empty; + } + } + } + leaf half-life { + description "Decay half-life"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 45"; + } + } + } + leaf reuse { + description "Reuse threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf suppress { + description "Cutoff threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf max-suppress { + description "Maximum hold-down time"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list condition { + key name; + description "Define a route advertisement condition"; + leaf name { + description "Name to identify Condition"; + type string; + } + uses apply-advanced; + choice condition_type { + case case_1 { + leaf route-active-on { + description "Route is active on a specific node"; + type enumeration { + enum "node0" { + description "Route active on node 0"; + } + enum "node1" { + description "Route active on node 1"; + } + } + } + } + case case_2 { + container if-route-exists { + presence "enable if-route-exists"; + description "Route exists in a specific routing table"; + uses apply-advanced; + container address-family { + presence "enable address-family"; + description "Indicates the address family of the route to match on"; + uses apply-advanced; + choice address-family { + case case_1 { + container inet { + presence "enable inet"; + description "Route to match corresponds to an inet/inet6 prefix"; + uses apply-advanced; + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + case case_2 { + container ccc { + presence "enable ccc"; + description "Route to match corresponds to a ccc prefix"; + uses apply-advanced; + leaf address { + description "Logical interface used to establish ccc route"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + leaf standby { + description "Indicates if route must be in standby state to be considered a match"; + type empty; + } + leaf peer-unit { + description "Associated LT ifl's peer-unit. Required for LT-based routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + } + } + } + } + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + } + } + list rtf-prefix-list { + key name; + ordered-by user; + description "Define a named set of family route target prefixes"; + leaf name { + description "RTF prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list { + key name; + uses rtf_prefix_list_items; + } + } + list application-maps { + key name; + ordered-by user; + description "Define application maps"; + uses application_map_object; + } + list redundancy-policy { + key name; + leaf name { + description "Redundancy policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list redundancy-events { + description "Events related services redundancy under event-options"; + type string; + } + container then { + description "Action to take when of the event occurs"; + presence "enable then"; + uses srd-ev-action-object; + } + } + } + grouping application_map_object { + leaf name { + description "Name of application map"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Name of the application"; + leaf name { + description "Name of the application"; + type string { + length "1 .. 63"; + } + } + leaf-list code-points { + ordered-by user; + description "List of code point bit strings"; + type string; + } + } + } + grouping as-path-calc-length-type { + description "Calculated BGP AS_PATH length per BGP rules"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping as-path-unique-count-type { + description "Number of unique BGP ASes excluding confederation ASes"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping community_count_type { + description "Number of BGP communities"; + leaf name { + description "Number of communities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping control_prefix_list_filter_type { + leaf list_name { + description "Name of prefix-list of routes to match"; + type string; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_prefix_list_type { + leaf name { + description "Name of prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_list_type { + leaf name { + description "Name of route-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_rtf_prefix_list_type { + description "RTF prefix list"; + leaf name { + description "Name of rtf-prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_list_type { + leaf name { + description "Name of source-address-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping juniper-protocols { + uses apply-advanced; + container overlay { + description "Overlay protocol"; + uses juniper-protocols-overlayd; + } + container l2iw { + presence "enable l2iw"; + description "Configuration for Layer 2 interworking"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container igmp { + presence "enable igmp"; + description "IGMP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IGMP on this interface"; + type empty; + } + } + } + leaf version { + description "Set IGMP version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv4addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv4addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf promiscuous-mode { + description "Accept igmp messages coming from different subnet"; + type empty; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving IGMP messages"; + leaf allow-receive { + description "Allow receiving IGMP messages"; + type empty; + } + leaf send-general-query { + description "Send IGMP general query messages"; + type empty; + } + leaf send-group-query { + description "Send IGMP group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed IGMP interface"; + type empty; + } + } + container amt { + description "Automatic Multicast Tunnel options for IGMP"; + uses apply-advanced; + container relay { + description "AMT relay options for IGMP"; + uses apply-advanced; + container defaults { + presence "enable defaults"; + description "Default AMT relay options for IGMP"; + uses apply-advanced; + leaf version { + description "Set IGMP version number on AMT interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + } + } + } + } + container mld { + presence "enable mld"; + description "MLD options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MLD on this interface"; + type empty; + } + } + } + leaf version { + description "Set mld version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 2"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv6addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv6addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for ssm translation of mld v1 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming mld report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of group-limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving mld messages"; + leaf allow-receive { + description "Allow receiving mld messages"; + type empty; + } + leaf send-general-query { + description "Send mld general query messages"; + type empty; + } + leaf send-group-query { + description "Send mld group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed MLD interface"; + type empty; + } + } + } + container amt { + description "AMT configuration"; + uses juniper-protocols-amt; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container router-advertisement { + description "IPv6 router advertisement options"; + uses apply-advanced; + container traceoptions { + description "Trace options for router advertisement"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router advertisement"; + leaf name { + type string; + } + uses apply-advanced; + leaf preference { + description "Set the Preference for Router Selection"; + type enumeration { + enum "medium" { + description "Medium / (Default)"; + } + enum "high" { + description "High"; + } + enum "low" { + description "Low"; + } + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + choice link-mtu-choice { + leaf link-mtu { + description "Link MTU"; + type empty; + } + leaf no-link-mtu { + description "Don't link MTU"; + type empty; + } + } + leaf solicit-router-advertisement-unicast { + description "Enbale solicited router advertisement as unicast"; + type empty; + } + leaf reachable-time { + description "Reachable time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600000"; + } + } + } + leaf retransmit-timer { + description "Retransmit timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf virtual-router-only { + description "Send advertisemnets only for vrrp-inet6-group"; + type empty; + } + leaf current-hop-limit { + description "Current hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf default-lifetime { + description "Router lifetime"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9000"; + } + } + } + list dns-server-address { + key name; + ordered-by user; + description "Recursive DNS address configuration"; + max-elements 3; + leaf name { + description "DNS address to be advertised"; + type string; + } + uses apply-advanced; + leaf lifetime { + description "DNS address lifetime"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + list prefix { + key name; + ordered-by user; + description "Prefix configuration"; + leaf name { + description "Prefix to be advertised"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf valid-lifetime { + description "Valid lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice on-link-choice { + leaf on-link { + description "Set on-link flag"; + type empty; + } + leaf no-on-link { + description "Don't set on-link flag"; + type empty; + } + } + leaf preferred-lifetime { + description "Preferred lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice autonomous-choice { + leaf autonomous { + description "Set autonomous flag"; + type empty; + } + leaf no-autonomous { + description "Don't set autonomous flag"; + type empty; + } + } + } + } + container ra-secure { + description "Protect box against rogue incoming RA messages"; + uses apply-advanced; + leaf accept-current-hop-limit-min { + description "Current hop limit acceptable min for incoming RA"; + units "uint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf accept-current-hop-limit-max { + description "Current hop acceptable min for incoming RA"; + units "uint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf accept-reachable-time-min { + description "Reachable Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-reachable-time-max { + description "Reachable Time acceptable max for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-retransmit-time-min { + description "Retransmit Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-retransmit-time-max { + description "Retransmit Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + } + } + container sap { + presence "enable sap"; + description "Session Advertisement Protocol options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SAP"; + type empty; + } + } + } + list listen { + key name; + ordered-by user; + description "Address for SAP and SDP to listen on"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "Port to listen for session advertisements"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container rsvp { + description "RSVP options"; + uses juniper-protocols-rsvp; + } + container mpls { + description "Multiprotocol Label Switching options"; + uses juniper-protocols-mpls; + } + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container dvmrp { + presence "enable dvmrp"; + description "DVMRP options"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for DVMRP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "poison" { + description "Trace poison-route-reverse packets"; + } + enum "packets" { + description "Trace all DVMRP packets"; + } + enum "probe" { + description "Trace probe packets"; + } + enum "report" { + description "Trace DVMRP route report packets"; + } + enum "neighbor" { + description "Trace neighbor probe packets"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "graft" { + description "Trace graft messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + list interface { + key name; + ordered-by user; + description "DVMRP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "forwarding" { + description "Use DVMRP for multicast forwarding"; + } + enum "unicast-routing" { + description "Use DVMRP for unicast routing only"; + } + } + } + leaf metric { + description "DVMRP metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf hold-time { + description "When neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container isis { + description "IS-IS options"; + uses juniper-protocols-isis; + } + container esis { + description "End system-intermediate system options"; + uses juniper-protocols-esis; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPFv3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container ldp { + description "LDP options"; + uses juniper-protocols-ldp; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container connections { + description "Circuit cross-connect configuration"; + uses apply-advanced; + list interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between interfaces"; + leaf name { + description "Name of interface switch"; + type string { + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to be switched"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + list remote-interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between a local and a remote interface"; + leaf name { + description "Name of remote interface switch"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Local interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list lsp-switch { + key name; + ordered-by user; + description "Unidirectional switch between two label-switched paths"; + leaf name { + description "Name of label-switched path switch"; + type string { + } + } + uses apply-advanced; + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list p2mp-transmit-switch { + key name; + ordered-by user; + description "Local interface to point-to-multipoint LSP switch"; + leaf name { + description "Point-to-multipoint switch name on which to transmit"; + type string { + } + } + uses apply-advanced; + leaf input-interface { + description "Input interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-p2mp-lsp { + description "Point-to-multipoint LSP name on which to transmit"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 16; + } + } + list p2mp-receive-switch { + key name; + ordered-by user; + description "Point-to-multipoint LSP to local interfaces switch"; + leaf name { + description "Point-to-multipoint switch name on which to receive"; + type string { + } + } + uses apply-advanced; + leaf receive-p2mp-lsp { + description "Point-to-multipoint LSP name on which to receive"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Next outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container vrrp { + description "VRRP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for VRRP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database"; + } + enum "general" { + description "Trace general events"; + } + enum "interfaces" { + description "Trace interface messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "packets" { + description "Trace packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer events"; + } + enum "ppm" { + description "VRRP PPM related messages"; + } + enum "all" { + description "Trace all events"; + } + } + } + } + } + leaf failover-delay { + description "Additional failover delay timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 100000"; + } + } + } + leaf startup-silent-period { + description "Period for ignoring master down timer at device startup"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000"; + } + } + } + leaf asymmetric-hold-time { + description "Priority hold time asymmetric behaviour"; + type empty; + } + leaf skew-timer-disable { + description "Disable the skew timer"; + type empty; + } + leaf global-advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf inherit-advertisement-interval { + description "Advertisement interval for inherit sessions"; + default "120"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 120"; + } + } + } + leaf version-3 { + description "VRRPv3 conformance"; + type empty; + } + } + container l2circuit { + description "Configuration for Layer 2 circuits over MPLS"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 circuit topology changes"; + } + enum "fec" { + description "Trace Layer 2 circuit VC FEC advertisements"; + } + enum "connections" { + description "Trace Layer 2 circuit connections"; + } + enum "oam" { + description "Trace Layer 2 circuit OAM messages"; + } + enum "egress-protection" { + description "Trace Layer 2 circuit egress protection messages"; + } + enum "auto-sensing" { + description "Trace Layer 2 circuit PW auto-sensing"; + } + enum "sdb" { + description "Trace SDB"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "List of Layer 2 circuits to this neighbor"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf send-oam { + description "Turn on sending of l2ckt ping"; + type empty; + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + choice control-word-choice { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + leaf no-control-word { + description "Don't add control word to the Layer 2 encapsulation"; + type empty; + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + leaf no-revert { + description "Don't revert to primary-interface"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Layer 2 circuit switchover delay"; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + container egress-protection { + description "Egress protection for Layer 2 circuit"; + uses apply-advanced; + choice protection-type { + case case_1 { + leaf protector-interface { + description "Name of the protector interface for local protection"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + container protector-pe { + description "Address of the protector PE"; + leaf address { + description "Address of the protector PE"; + type jt:ipv4addr; + } + leaf context-identifier { + description "Identifier of the context used for this protection"; + type jt:ipv4addr; + } + leaf lsp { + description "Name of the label-switched path used for the protection"; + type string { + } + } + } + } + } + container protected-l2circuit { + description "Primary Layer 2 circuit to be protected"; + leaf l2circuit-name { + description "Name of the protected Layer 2 circuit"; + type string { + } + } + leaf ingress-pe { + description "Ingress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf egress-pe { + description "Egress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf virtual-circuit-id { + description "Identifier of the protected Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container local-switching { + description "Configuration of Layer 2 circuits local switching"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the local Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configuration of Layer 2 circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the neighbor PE"; + type jt:ipv4addr; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Backup Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the backup neighbor PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + container end-interface { + description "Interface name of the other end point"; + uses apply-advanced; + leaf interface { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + } + } + container auto-sensing { + presence "enable auto-sensing"; + description "Configuration of PW auto-sensing"; + uses apply-advanced; + leaf password { + description "Password for authentication with Radius server; 1 to 15 characters long"; + type jt:unreadable; + } + } + } + container evpn { + description "Configuration EVPN default routing instance"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf es-import-oldstyle { + description "Enable noncompliant ES import route-target computation"; + type empty; + } + leaf es-label-oldstyle { + description "Enable noncompliant ESI 24 bit label"; + type empty; + } + leaf mac-history { + description "Number of history entries to be maitained per mac"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + list mac-list { + key name; + description "Configure MAC lists"; + leaf name { + description "List name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf-list mac-address { + description "MAC address"; + type jt:mac-addr; + } + } + container vni-options { + description "Vni options"; + uses juniper-protocols-vni-options; + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container mac-mobility { + description "MAC mobility settings"; + uses apply-advanced; + leaf no-sequence-numbers { + description "Don't use sequence numbers for MAC mobility"; + type empty; + } + } + } + container link-management { + description "LMP options"; + uses juniper-protocols-lmp; + } + container pgm { + description "PGM options"; + presence "enable pgm"; + status deprecated; + uses juniper-protocols-pgm; + } + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + container traceoptions { + description "Trace options for BFD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "adjacency" { + description "Trace adjacency messages"; + } + enum "event" { + description "Trace all events"; + } + enum "error" { + description "Trace all errors"; + } + enum "rtsock" { + description "Trace all rtscok messages"; + } + enum "packet" { + description "Trace all packets"; + } + enum "ppm-packet" { + description "Trace packet activity by periodic packet management"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer processing"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-packet" { + description "Trace packet activity of NSR"; + } + enum "issu" { + description "Trace ISSU packet activity"; + } + enum "slow-start" { + description "Trace slow-start activity"; + } + enum "session" { + description "Per session activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-issu-timer-negotiation { + description "Disable ISSU timer negotiation"; + type empty; + } + container sbfd { + description "Seamless BFD parameters"; + uses apply-advanced; + leaf-list pool { + description "List of Seamless BFD endpoints"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list local-discriminator { + key name; + ordered-by user; + description "Local discriminator for Seamless BFD responder"; + leaf name { + description "Local discriminator for Seamless BFD responder"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + uses apply-advanced; + leaf minimum-receive-interval { + description "Minimum receive interval for Seamless BFD responder"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 255000"; + } + } + } + } + } + } + container mvpn { + description "BGP-MVPN configuration"; + uses juniper-protocols-mvpn; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container traceoptions { + description "Trace options for soure-packet-routing"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "controller" { + description "Trace controller-related activity"; + } + enum "state" { + description "Trace LSP state-related activity"; + } + enum "route" { + description "Trace route-related activity"; + } + enum "general" { + description "Trace general activity"; + } + enum "interface" { + description "Trace interface-related activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + } + leaf preference { + description "Route preference for SPRING-TE routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf sr-preference-override { + description "SR-preference override for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf sr-preference { + description "SR-preference for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf maximum-segment-list-depth { + description "Maximum segment list depth for SR-TE policies"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container statistics { + presence "enable statistics"; + description "Enable traffic-statistics collection on SR-TE policies"; + uses apply-advanced; + container telemetry { + presence "enable telemetry"; + description "Enable traffic-statistics collection on per-policy basis"; + } + } + list segment-list { + key name; + ordered-by user; + description "Explicit path for SR-TE segments"; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list hop-list { + key name; + ordered-by user; + max-elements 5; + leaf name { + description "Next hop in SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf label { + description "Next label in SR-TE segment-list"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf ip-address { + description "IP address of the hop"; + type jt:ipaddr; + } + } + } + list source-routing-path { + key name; + ordered-by user; + description "Configure a source-routing-path"; + leaf name { + description "Name of the source routing path"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Ip-address of the tunnel end-point"; + type jt:ipaddr; + } + leaf color { + description "Color identifier for the tunnel end-point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-ingress { + description "Disable ingress functionality for this tunnel"; + type empty; + } + leaf binding-sid { + description "Specify the binding-label to enable transit functionality for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf preference { + description "Preference for routes downloaded for this tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric for routes downloaded for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf sr-preference { + description "SR-preference for SPRING-TE routes. Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list primary { + key name; + ordered-by user; + description "Configure a primary segment list for this source-routing-path"; + max-elements 8; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf weight { + description "Specify the balance factor for this segment list in SR-TE tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list secondary { + key name; + ordered-by user; + description "Configure a secondary segment list for this source-routing-path"; + max-elements 1; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + } + } + container neighbor-discovery { + presence "enable neighbor-discovery"; + description "IPv6 neighbor discovery"; + uses apply-advanced; + leaf onlink-subnet-only { + description "Onlink subnet only knob"; + type empty; + } + container ndp-proxy { + description "Configure NDP PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + container dad-proxy { + description "Configure DAD PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + } + container iccp { + description "ICCP options"; + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use by default for all peers"; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with peers"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf authentication-key { + description "MD5 authentication key for all peers"; + type string { + length "1 .. 126"; + } + } + list peer { + key name; + description "Redundancy Group Configuration"; + uses peer-group; + } + container traceoptions { + description "Trace options for ICCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container ilmi { + description "Interim Local Management Interface Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "ILMI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database events"; + } + enum "routing-socket" { + description "Trace Routing socket events"; + } + enum "state" { + description "Trace state change events"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "event" { + description "Trace event handler events"; + } + enum "packet" { + description "Trace packet events"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "LACP trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and packet types to include in the trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "routing-socket" { + description "Routing socket events"; + } + enum "process" { + description "Process events"; + } + enum "startup" { + description "Process startup events"; + } + enum "protocol" { + description "Protocol events"; + } + enum "packet" { + description "LACP packets"; + } + enum "ppm" { + description "LACP PPM messages"; + } + enum "bfd" { + description "LACP BFD events"; + } + enum "mc-ae" { + description "Multi-chassis AE messages"; + } + enum "all" { + description "All events and packets"; + } + } + } + } + } + leaf ppm { + description "Force PPM processing"; + type enumeration { + enum "centralized" { + description "Centralized PPM processing"; + } + } + } + } + container oam { + description "Operation, Administration, and Management configuration"; + uses apply-advanced; + container ethernet { + description "OAM configuration for Ethernet"; + uses apply-advanced; + container link-fault-management { + description "802.3ah Ethernet OAM configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for link-fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "action-profile" { + description "Trace action profile invocation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list action-profile { + key name; + ordered-by user; + description "Define an action profile"; + leaf name { + description "Name of action profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container event { + description "Events this action profile will check"; + uses apply-advanced; + leaf link-adjacency-loss { + description "Loss of adjacency with OAM peer"; + type empty; + } + leaf protocol-down { + description "Upper layer indication on protocol down"; + type empty; + } + container link-event-rate { + uses apply-advanced; + leaf symbol-period { + description "Rate of receiving symbol period events"; + units "error(s) per 100 symbol"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-error { + description "Rate of receiving frame error events"; + units "error(s) per 100 milli-second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + leaf frame-period { + description "Rate of receiving frame period events"; + units "error(s) per 100 frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-period-summary { + description "Rate of receiving frame period summary events"; + units "error(s) per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + } + } + container action { + description "Action to take on specified events"; + uses apply-advanced; + leaf syslog { + description "Generate syslog message"; + type empty; + } + leaf link-down { + description "Mark the interface down for transit traffic"; + type empty; + } + leaf send-critical-event { + description "Start sending OAM PDUs with critical event bit set"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface on which to set Ethernet OAM parameters"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list apply-action-profile { + ordered-by user; + description "Apply the specified action profile on the interface"; + type string; + } + leaf pdu-interval { + description "Periodic OAM protocol data unit interval"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "100 .. 1000"; + } + } + } + leaf loopback-tracking { + description "Enable link down on loopback detection"; + type empty; + } + leaf detect-loc { + description "Detects initial lack of adjacency formation"; + type empty; + } + leaf link-discovery { + description "Mode of discovery"; + default "active"; + type enumeration { + enum "active" { + } + enum "passive" { + } + } + } + leaf pdu-threshold { + description "Number of PDUs missed before declaring peer lost"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "3 .. 10"; + } + } + } + leaf remote-loopback { + description "Put remote DTE into remote-loopback mode"; + type empty; + } + container negotiation-options { + description "802.3ah features supported on the interface"; + uses apply-advanced; + leaf no-allow-link-events { + description "Do not emit periodic PDUs detailing framing and symbol errors"; + type empty; + } + leaf allow-remote-loopback { + description "Allow local port to be put into loopback mode"; + type empty; + } + } + container event-thresholds { + description "Thresholds for sending 802.3ah events"; + uses apply-advanced; + leaf symbol-period { + description "Threshold for sending symbol period events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-error { + description "Threshold for sending frame error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period { + description "Threshold for sending frame period error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period-summary { + description "Threshold for sending frame period summary error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + } + } + } + container connectivity-fault-management { + description "Configurations related to 802.1ag ethernet oam"; + uses apply-advanced; + leaf no-aggregate-delegate-processing { + description "Do not distribute aggregate session to pfe"; + type empty; + } + leaf enhanced-cfm-mode { + description "Enables Enhanced CFM Mode"; + type empty; + } + container traceoptions { + description "Trace options for connectivity fault management"; + presence "enable traceoptions"; + uses cfm-traceoptions; + } + list action-profile { + key name; + ordered-by user; + description "Action profiles to use when one or more remote maintenance association endpoints are down"; + leaf name { + description "Name of action profile"; + type string; + } + uses apply-advanced; + container event { + description "Events that need to be monitored"; + uses apply-advanced; + leaf-list interface-status-tlv { + ordered-by user; + description "Values that need to be monitored in interface status TLV"; + type enumeration { + enum "down" { + description "Interface is administratively down"; + } + enum "lower-layer-down" { + description "Interface is physically down"; + } + } + } + leaf-list port-status-tlv { + ordered-by user; + description "Values that need to be monitored in port status TLV"; + type enumeration { + enum "blocked" { + description "Port is blocked"; + } + } + } + leaf adjacency-loss { + description "Connectivity is lost"; + type empty; + } + leaf rdi { + description "RDI received from some MEP"; + type empty; + } + leaf connection-protection-tlv { + description "Values that need to be monitored in connection protection TLV"; + type enumeration { + enum "using-working-path" { + description "Service traffic is using working path"; + } + enum "using-protection-path" { + description "Service traffic is using protection path"; + } + } + } + } + container action { + uses apply-advanced; + leaf interface-down { + description "Mark the interface as down"; + type empty; + } + leaf revertive-interface-down { + description "Wait for CC loss-threshold to bring back the interface up"; + type empty; + } + leaf non-revertive-interface-down { + description "Interface will not be brought up when CC is received"; + type empty; + } + leaf propagate-remote-mac-flush { + description "Remote mac-flush"; + type empty; + } + leaf interface-group-down { + description "Mark the interface group as down"; + type empty; + } + container log-and-generate-ais { + uses apply-advanced; + leaf-list level { + description "Server maintenance domain levels range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + leaf interval { + description "Interval between AIS messages"; + default "1s"; + type enumeration { + enum "1s" { + } + enum "1m" { + } + } + } + leaf priority { + description "802.1p priority of AIS packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container clear-action { + uses apply-advanced; + container interface-down { + description "Mark the interface as down"; + leaf peer-interface { + description "Mark the interface as down"; + type empty; + } + } + leaf propagate-remote-mac-flush { + description "Remote mac flush"; + type empty; + } + } + container default-actions { + description "Action that needs to be taken"; + uses apply-advanced; + leaf interface-down { + description "Bring the interface down"; + type empty; + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for all sessions"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + container linktrace { + presence "enable linktrace"; + description "Linktrace protocol global options"; + uses apply-advanced; + leaf path-database-size { + description "Number of linktrace reply entries to be stored per linktrace request"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf age { + description "Time after which a stale request-response entry is deleted"; + default "10m"; + type enumeration { + enum "10s" { + } + enum "30s" { + } + enum "1m" { + } + enum "10m" { + } + enum "30m" { + } + } + } + } + list maintenance-domain { + key name; + ordered-by user; + description "Maintenance domain configuration"; + leaf name { + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + description "Bridge-domain information for the default maintenance domain"; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + list vlan { + key name; + ordered-by user; + description "VLAN information for the default maintenance domain"; + leaf name { + description "VLAN name"; + type string; + } + } + list virtual-switch { + key name; + ordered-by user; + description "Virtual switch Bridge-domain information for the default maintenance domain"; + leaf name { + description "Routing instance of type virtual switch"; + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + } + list instance { + key name; + ordered-by user; + description "VPLS instance name for the default maintenance domain"; + leaf name { + description "VPLS routing instance name"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Name of interface for the default maintenance domain"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf level { + description "Level value for maintenance domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 7"; + } + } + } + leaf name-format { + description "Format of maintenance domain name"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "none"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + } + } + list maintenance-association { + key name; + ordered-by user; + description "Maintenance association configuration"; + leaf name { + description "Name of maintenance association in IEEE compliant format"; + type string { + length "1 .. 45"; + } + } + uses apply-advanced; + leaf debug-session { + description "Debug the CFM session"; + type empty; + } + leaf short-name-format { + description "Format of Maintenance Association Name"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf primary-vid { + description "VLAN id"; + type string; + } + container continuity-check { + presence "enable continuity-check"; + description "Continuity check configuration"; + uses apply-advanced; + leaf interval { + description "Interval between continuity-check messages"; + default "1m"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + enum "3.3ms" { + } + } + } + leaf loss-threshold { + description "Number of continuity-check messages lost before marking endpoint as down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf hold-interval { + description "Time before flushing MEP database if no updates occur"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30240"; + } + } + } + leaf port-status-tlv { + description "Include port status TLV in CCM"; + type empty; + } + leaf interface-status-tlv { + description "Include interface status TLV in CCM"; + type empty; + } + leaf connection-protection-tlv { + description "Include connection protection OUI TLV in CCM"; + type empty; + } + leaf convey-loss-threshold { + description "Include Loss Threshold OUI TLV in CCM"; + type empty; + } + leaf interface-status-send-rdi { + description "Send RDI on interface operation status down in CCM"; + type empty; + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "defer"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + enum "defer" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefer"; + } + } + } + list mep { + key name; + ordered-by user; + description "Maintenance association endpoint configuration"; + leaf name { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + container interface { + presence "enable interface"; + description "Name of interface"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf vlan { + description "Trunk port interface VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + choice connection-type { + case case_1 { + leaf working { + description "Monitory the primary path"; + type empty; + } + } + case case_2 { + leaf protect { + description "Monitory the protect path"; + type empty; + } + } + } + } + leaf direction { + description "Direction of maintenance endpoint"; + default "down"; + type enumeration { + enum "up" { + } + enum "down" { + } + } + } + leaf priority { + description "802.1p priority of continuity-check and link-trace packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf auto-discovery { + description "Accept continuity-check messages from all remote MEPs"; + type empty; + } + leaf action-profile { + description "Name of the action profile"; + type string; + } + list remote-mep { + key name; + ordered-by user; + description "Remote maintenance association endpoint configuration"; + leaf name { + description "Identifier for remote maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + leaf action-profile { + description "Name of the action profile"; + type string; + } + container interface-group { + presence "enable interface-group"; + description "Mark this interface group down Profile configured with action interface-group-down"; + uses apply-advanced; + leaf interface-device-name { + description "Interface device name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list unit-list { + description "One or more logical interface unit numbers"; + type jt:range; + } + } + list sla-iterator-profile { + key name; + ordered-by user; + description "Name of the iterator profile"; + leaf name { + type string; + } + uses apply-advanced; + leaf iteration-count { + description "Iterations to partake for acquiring SLA measurements"; + units "frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "The vlan pcp value to be sent in the Y.1731 frame"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf data-tlv-size { + description "Size of the data-tlv portion of Y.1731 frame"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1400"; + } + } + } + } + leaf detect-loc { + description "Detects initial loss of connectivity with remote mep"; + type empty; + } + } + leaf lowest-priority-defect { + description "Lowest priority defect that is allowed to generate a fault alarm"; + type enumeration { + enum "all-defects" { + description "Allows all defects"; + } + enum "mac-rem-err-xcon" { + description "Allows only MAC, not receiving CCM, erroneous CCM and cross connect defects"; + } + enum "rem-err-xcon" { + description "Allows only not receiving CCM, erroneous CCM and cross connect CCM defects"; + } + enum "err-xcon" { + description "Allows only erroneous CCM and cross connect CCM defects"; + } + enum "xcon" { + description "Allows only cross connect CCM defect"; + } + enum "no-defect" { + description "Allows no defect"; + } + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for this session"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + } + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + list evcs { + key name; + description "Ethernet virtual circuits configuration"; + leaf name { + description "EVC id"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + container evc-protocol { + description "Signaling protocol to monitor EVC status"; + choice protocol { + case case_1 { + container cfm { + presence "enable cfm"; + description "Connectivity fault management"; + leaf maintenance-domain { + description "Maintenance domain name"; + type string; + } + leaf maintenance-association { + description "Maintenance association name"; + type string; + } + leaf mep { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + } + } + case case_2 { + container vpls { + presence "enable vpls"; + description "Virtual private LAN service (BGP/LDP)"; + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + } + case case_3 { + } + case case_4 { + } + } + } + leaf remote-uni-count { + description "Number of remote UNIs in the EVC"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf multipoint-to-multipoint { + description "Multipoint to Multipoint EVC"; + type empty; + } + } + container lmi { + presence "enable lmi"; + description "Ethernet local management interface configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for ethernet local management interface"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "packet" { + description "Trace events related to packet flow"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + list interface { + key name; + description "Interface options"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf uni-id { + description "UNI identifier"; + type string { + length "1 .. 64"; + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + leaf evc-map-type { + description "CE-VLAN ID/EVC map type"; + default "bundling"; + type enumeration { + enum "all-to-one-bundling" { + description "All to one bundling"; + } + enum "service-multiplexing" { + description "Service multiplexing with no bundling"; + } + enum "bundling" { + description "Bundling with service multiplexing"; + } + } + } + list evc { + key name; + description "EVC configuration"; + leaf name { + description "EVC identifier"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + leaf default-evc { + description "Default EVC"; + type empty; + } + leaf-list vlan-list { + description "Vlans mapped to this EVC"; + type jt:vlan-range; + } + } + } + } + container fnp { + presence "enable fnp"; + description "Failure notification protocol configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for FNP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace protocol events"; + } + enum "pdu" { + description "Trace PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + leaf interval { + description "Interval between FNP messages"; + default "1s"; + type enumeration { + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf loss-threshold { + description "Number of FNP messages lost before clearing FNP state"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "3 .. 255"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf domain-id { + description "Ethernet domain identifier"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container gre-tunnel { + presence "enable gre-tunnel"; + uses apply-advanced; + container traceoptions { + description "Trace options for GRE keepalives"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "snmp" { + description "Trace snmp processing events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf keepalive-time { + description "Keepalive time"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 50"; + } + } + } + leaf hold-time { + description "Hold time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "5 .. 250"; + } + } + } + } + } + } + container dot1x { + description "802.1X options"; + uses juniper-protocols-dot1x; + } + container l2-learning { + description "Layer 2 forwarding configuration"; + uses juniper-protocols-bridge; + } + container dcbx { + presence "enable dcbx"; + } + container lldp { + description "Link Layer Detection Protocol"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for LLDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace configuration events"; + } + enum "configuration" { + description "Log configuration events"; + } + enum "rtsock" { + description "Trace rtsock message events"; + } + enum "packet" { + description "Trace packet information"; + } + enum "protocol" { + description "Trace protocol information"; + } + enum "interface" { + description "Trace interface update events"; + } + enum "vlan" { + description "Trace VLAN update events"; + } + enum "snmp" { + description "Trace SNMP events"; + } + enum "jvision" { + description "Trace Jvision events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf management-address { + description "LLDP management address"; + type jt:ipaddr; + } + leaf advertisement-interval { + description "Transmit interval for LLDP messages"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 32768"; + } + } + } + leaf transmit-delay { + description "Transmit delay time interval for LLDP messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8192"; + } + } + } + leaf hold-multiplier { + description "Hold timer interval for LLDP messages"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf ptopo-configuration-trap-interval { + description "Interval for physical topology configuration change trap"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf ptopo-configuration-maximum-hold-time { + description "Hold time for physical topology connection entries"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf lldp-configuration-notification-interval { + description "Time interval for LLDP notification"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 3600"; + } + } + } + leaf port-id-subtype { + description "Sub-type to be used for Port ID TLV generation"; + default "locally-assigned"; + type enumeration { + enum "locally-assigned" { + description "Locally assigned value (SNMP index of the interface)"; + } + enum "interface-name" { + description "Interface name on which LLDPDU is sent"; + } + } + } + leaf port-description-type { + description "The Interfaces Group MIB object to be used for Port Description TLV generation"; + default "interface-alias"; + type enumeration { + enum "interface-alias" { + description "Use object ifAlias value for TLV generation"; + } + enum "interface-description" { + description "Use object ifDescr value for TLV generation"; + } + } + } + leaf neighbour-port-info-display { + description "Show lldp neighbors to display port-id or port-description "; + type enumeration { + enum "port-id" { + description "Display port-id information of neighbor in port info"; + } + enum "port-description" { + description "Display port description of neighbor in port info"; + } + } + } + leaf vlan-name-tlv-option { + description "Vlan tlv options to transmit vlan name or vlan-id"; + default "vlan-id"; + type enumeration { + enum "vlan-id" { + description "Use vlan-id for tlv"; + } + enum "name" { + description "Use vlan-name for tlv"; + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLVs to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + } + } + container lldp-med { + presence "enable lldp-med"; + description "LLDP Media Endpoint Discovery"; + uses apply-advanced; + leaf fast-start { + description "Discovery count for MED"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container location { + presence "enable location"; + uses apply-advanced; + choice location-type { + case case_1 { + container civic-based { + description "Postal address"; + presence "enable civic-based"; + uses civic-address-elements; + } + } + case case_2 { + leaf elin { + description "Emergency line identification (ELIN) string"; + type string; + } + } + case case_3 { + container co-ordinate { + description "Address based on longitude and latitude coordinates"; + presence "enable co-ordinate"; + uses co-ordinate-elements; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select MED TLVs to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter MED TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + container igmp-snooping { + description "IGMP snooping configuration"; + uses juniper-default-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-default-ri-protocols-mld-snooping; + } + container pcep { + description "Path computation client configuration"; + uses apply-advanced; + leaf message-rate-limit { + description "Messages per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf update-rate-limit { + description "Updates per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf max-provisioned-lsps { + description "Defines max count of externally provisioned LSPs over all conected PCEs (default: 16000)"; + default "16000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32000"; + } + } + } + list pce-group { + key name; + ordered-by user; + description "PCE group definition"; + leaf name { + description "PCE group identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + list pce { + key name; + ordered-by user; + description "Per PCE configuration"; + leaf name { + description "PCE unique identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf local-address { + description "Address of local end of PCEP session"; + type jt:ipv4addr; + } + leaf destination-ipv4-address { + description "IPV4 Address of PCE"; + type jt:ipv4addr; + } + leaf destination-port { + description "Destination TCP port PCE is listening on"; + default "4189"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf delegation-priority { + description "This PCE's priority among configured stateful PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf request-priority { + description "This PCE's priority among configured stateless PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf pce-group { + description "Assign this PCE to defined pce group. PCE will inherit default values from the pce-group"; + type string; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 128"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + container traceoptions { + description "Path Computation Client Daemon trace options"; + uses pccd-traceoptions-type; + } + } + container ppp { + description "Configure PPP process"; + uses apply-advanced; + container traceoptions { + description "PPP trace options"; + uses ppp-traceoptions-type; + } + list monitor-session { + key session-name; + description "Monitor packet exchange for PPP session"; + leaf session-name { + description "PPP session name"; + type string; + } + uses apply-advanced; + } + } + container pppoe { + description "Configure PPPoE process"; + uses apply-advanced; + container traceoptions { + description "PPPoE trace options"; + uses pppoe-traceoptions-type; + } + leaf pado-advertise { + description "Enable PADO advertising of PPPoE Service-Names"; + type empty; + } + } + container r2cp { + description "Radio-to-Router Control Protocol configuration"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable R2CP"; + type empty; + } + } + } + container traceoptions { + description "R2CP trace options"; + uses r2cp-traceoptions-type; + } + leaf server-port { + description "R2CP server port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container client-port { + description "R2CP client port number"; + choice client-port-value { + case case_1 { + leaf port-number { + description "UDP port number for R2CP clients"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + choice port-any { + case case_1 { + leaf any { + description "Accept R2CP messages sent on any port"; + type empty; + } + } + } + } + } + } + leaf node-terminate-count { + description "Node Term retransmit count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf node-terminate-interval { + description "Node Terminate interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 5000"; + } + } + } + leaf session-terminate-count { + description "Session Term retransmit count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf session-terminate-interval { + description "Session Term interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 5000"; + } + } + } + list radio { + key name; + ordered-by user; + leaf name { + description "Radio name"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface listening for R2CP messages"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down-count { + description "Number of missed keepalives before radio is assumed 'down'"; + status deprecated; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf virtual-channel-group { + description "Virtual channel group name"; + type string { + } + } + list radio-interface { + key name; + ordered-by user; + leaf name { + description "Data channel interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } + container protection-group { + description "Protection group"; + presence "enable protection-group"; + uses juniper-protocols-protection-group; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container layer2-control { + description "Global options for layer 2 protocols"; + uses juniper-protocols-l2control; + } + container rstp { + description "Rapid Spanning Tree Protocol options"; + uses juniper-protocols-stp; + } + container mstp { + description "Multiple Spanning Tree Protocol options"; + uses juniper-protocols-mstp; + } + container vstp { + description "VLAN Spanning Tree Protocol options"; + uses juniper-protocols-vstp; + } + container loop-detect { + presence "enable loop-detect"; + description "Layer2 Loop Detect on interface with non-IP L2 Multicast mac as destination mac"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block Loop Detect PDUs on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable loop detect feature on a port"; + type empty; + } + } + leaf destination-mac { + description "Destination non-IP L2 multicast mac to be used for transmitting Loop Detect PDUs"; + type jt:mac-multicast; + } + leaf transmit-interval { + description "Loop Detect PDU TX interval in sec --default 30s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 3600"; + } + } + } + } + } + grouping bandwidth-type { + uses apply-advanced; + leaf per-traffic-class-bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf ct0 { + description "Bandwidth from traffic class 0"; + units "bps"; + type string; + } + leaf ct1 { + description "Bandwidth from traffic class 1"; + units "bps"; + type string; + } + leaf ct2 { + description "Bandwidth from traffic class 2"; + units "bps"; + type string; + } + leaf ct3 { + description "Bandwidth from traffic class 3"; + units "bps"; + type string; + } + } + grouping cfm-traceoptions { + description "Trace options for connectivity fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "issu" { + description "Trace ISSU related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping civic-address-elements { + uses apply-advanced; + leaf what { + description "Type of address"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2"; + } + } + } + leaf country-code { + description "Two-letter country code"; + type string { + length 2; + } + } + list ca-type { + key name; + ordered-by user; + leaf name { + description "Address element type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf ca-value { + description "Address element value"; + type string; + } + } + } + grouping co-ordinate-elements { + description "Geographical co-ordinates"; + uses apply-advanced; + leaf longitude { + description "Longitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + leaf lattitude { + description "Lattitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + } + grouping juniper-default-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-default-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv1 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-ospf-authentication { + description "Authentication information"; + uses apply-advanced; + choice authentication-type { + case case_1 { + leaf simple-password { + description "Authentication key"; + type jt:unreadable; + } + } + case case_2 { + list md5 { + key name; + ordered-by user; + description "MD5 authentication key"; + leaf name { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf key { + description "MD5 authentication key value"; + type jt:unreadable; + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + } + } + } + } + grouping juniper-protocols-amt { + uses apply-advanced; + container traceoptions { + description "Trace options for AMT"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all AMT packets"; + } + enum "errors" { + description "Trace all error messages"; + } + enum "tunnels" { + description "Trace all AMT tunnel messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container relay { + description "AMT relay"; + presence "enable relay"; + uses juniper-protocols-amt-relay; + } + } + grouping juniper-protocols-amt-relay { + uses apply-advanced; + container family { + presence "enable family"; + description "Protocol family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + leaf anycast-prefix { + description "IPv4 anycast prefix"; + type jt:ipv4prefix; + } + leaf local-address { + description "IPv4 local address"; + type jt:ipv4addr; + } + } + } + leaf secret-key-timeout { + description "Time interval for the secret key to expire"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 1440"; + } + } + } + leaf tunnel-limit { + description "Number of AMT tunnels"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf unicast-stream-limit { + description "Maximum number of AMT unicast streams(s,g,intf)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf accounting { + description "Enable AMT accounting"; + type empty; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating ud interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping juniper-protocols-bd { + description "Bridging configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container traceoptions { + description "Trace options for this bridge domain"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-protocols-bridge { + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 address service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "routing-instance" { + description "Routing instance operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "logical-system" { + description "Logical system operations"; + } + enum "bmac-next-hop" { + description "Backbone Mac Next hop operations "; + } + enum "bridge-bmac-next-hop" { + description "Bmac Next hop bridge operations"; + } + enum "isid" { + description "I-Tagged Service ID"; + } + enum "mc-ae" { + description "Multi-chassis AE"; + } + enum "kack" { + description "Kernel-acknowledgment"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "redundant-trunk-group" { + description "Redundant trunk group"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + container in-memory-debug { + presence "enable in-memory-debug"; + description "Enable trace parameters in the memory"; + } + } + container global-mac-move { + presence "enable global-mac-move"; + description "Enable mac move related options at global level"; + uses apply-advanced; + leaf notification-time { + description "Periodical time interval in secs during which MAC move notification occurs"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-time { + description "Time during which if certain number of MAC moves happen warrant recording"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reopen-time { + description "Time after which a blocked interface is reopened"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-count { + description "Count of MAC moves which warrant recording when happen in certain time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Enable logging for the MAC moves"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + leaf log { + description "Syslog all the MAC moves as stored in the mac-move-buffer"; + type empty; + } + leaf disable-action { + description "Disable mac move action globally"; + type empty; + } + leaf cooloff-time { + description "Time interval in secs during which no further actions are taken"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf statistical-approach-wait-time { + description "Time during which MAC moves are monitored to collect statistics"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface-recovery-time { + description "Time interval after which interface is made operationally up"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list exclusive-mac { + key name; + ordered-by user; + description "MAC addresses to be excluded in mac-move-limit or in VPLS loop prevention algorithm"; + leaf name { + description "Source MAC address"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + } + } + leaf global-mac-table-aging-time { + description "System level MAC table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf global-mac-ip-table-aging-time { + description "System level MAC+IP table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1000000"; + } + } + } + leaf global-mode { + description "Global L2 Mode"; + default "switching"; + type enumeration { + enum "transparent-bridge" { + description "Transparent bridge mode"; + } + enum "switching" { + description "Switching mode"; + } + } + } + leaf global-le-aging-time { + description "Set LE aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1000000"; + } + } + } + leaf global-le-bridge-domain-aging-time { + description "Set LE bridge-domain aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1000000"; + } + } + } + leaf mclag-arpreq-sync { + description "Enable syncing ARP REQ packets to peer MCLAG PE"; + type empty; + } + leaf global-mac-pinning-discard-notification-interval { + description "Set interval for MAC Pinning discard notification"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 86400"; + } + } + } + container global-mac-limit { + presence "enable global-mac-limit"; + description "System level MAC limit options"; + uses apply-advanced; + leaf mac-limit { + description "System level MAC limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64; + } + } + leaf packet-action { + type enumeration { + enum "drop" { + description "Enable packet-action drop when MAC limit is reached"; + } + } + } + } + container global-mac-ip-limit { + presence "enable global-mac-ip-limit"; + description "System level MAC+IP limit options"; + uses apply-advanced; + leaf mac-ip-limit { + description "System level MAC+IP limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "20 .. 1048575"; + } + } + } + } + leaf global-mac-statistics { + description "Enable MAC address statistics at system level"; + type empty; + } + leaf global-no-mac-learning { + description "Disable dynamic MAC address learning at system level"; + type empty; + } + leaf global-no-hw-mac-learning { + description "Disable hardware MAC-address learning at system level"; + type empty; + } + leaf global-no-control-mac-aging { + description "Disable control MAC-address aging from software"; + type empty; + } + leaf mclag-arp-nd-sync { + description "Arp and ND entry sync from peer device."; + type empty; + } + leaf no-mclag-ifa-sync { + description "IFA entry disable sync from/to peer device."; + type empty; + } + } + grouping juniper-protocols-dot1x { + uses apply-advanced; + container traceoptions { + description "Trace options for 802.1X"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "dot1x-debug" { + description "Trace dot1x events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "esw-if" { + description "Trace ESW Interactions"; + } + enum "eapol" { + description "Trace EAPOL Transmit/Receive"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "vlan" { + description "Trace VLAN transactions"; + } + enum "all" { + description "Trace everything"; + } + enum "dot1x-ipc" { + description "Trace dot1x IPC interactions"; + } + enum "dot1x-event" { + description "Trace dot1x events"; + } + enum "iccp" { + description "Trace iccp events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container authenticator { + presence "enable authenticator"; + description "802.1X authenticator options"; + uses apply-advanced; + leaf authentication-profile-name { + description "Access profile name to use for authentication"; + type string { + length "1 .. 63"; + } + } + leaf no-mac-table-binding { + description "Disable association between mac table and dot1x"; + type empty; + } + leaf radius-options { + description "Info sent to radius server"; + type enumeration { + enum "use-vlan-name" { + description "Vlan name"; + } + enum "use-vlan-id" { + description "Vlan id"; + } + } + } + list static { + key name; + ordered-by user; + description "Static MAC configuration needed to bypass 802.1X"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf bridge-domain-assignment { + description "Bridge-domain name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list interface { + key name; + description "802.1X interface specific options"; + leaf name { + type string; + } + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + description "Flexible authentication order"; + type enumeration { + enum "dot1x" { + description "Dot1x mode"; + } + enum "mac-radius" { + description "Mac radius mode"; + } + enum "captive-portal" { + description "Captive portal mode"; + } + } + } + leaf disable { + description "Disable 802.1X on this interface"; + type empty; + } + leaf supplicant { + description "Set supplicant mode for this interface"; + default "single"; + type enumeration { + enum "single" { + description "Allow multiple clients; authenticate first client only"; + } + enum "single-secure" { + description "Allow and authenticate only a single client"; + } + enum "multiple" { + description "Allow multiple clients; authenticate each individually"; + } + } + } + leaf retries { + description "Number of retries after which port is placed into wait state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + leaf quiet-period { + description "Time to wait after an authentication failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf transmit-period { + description "Interval before retransmitting initial EAPOL PDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Enable MAC-RADIUS"; + uses apply-advanced; + leaf restrict { + description "Bypass dot1x authentication, use MAC RADIUS only"; + type empty; + } + leaf flap-on-disconnect { + description "Reset an interface on receiving a disconnect request"; + type empty; + } + leaf ignore-port-bounce { + description "To ignore the port-bounce request received from RADIUS server"; + type empty; + } + container authentication-protocol { + description "Set mac-radius authentication method"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf eap-md5 { + description "Authentication protocol EAP-MD5"; + type empty; + } + } + case case_2 { + leaf pap { + description "Authentication protocol PAP"; + type empty; + } + } + case case_3 { + container eap-peap { + presence "enable eap-peap"; + description "Authentication protocol EAP-PEAP"; + uses apply-advanced; + leaf resume { + description "Enable resume functionality for faster authentication"; + type empty; + } + } + } + } + } + } + choice reauthentication-mode { + case case_1 { + leaf no-reauthentication { + description "Disable reauthentication"; + type empty; + } + } + case case_2 { + leaf reauthentication { + description "Reauthentication interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + } + leaf supplicant-timeout { + description "Time to wait for a client response"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf server-timeout { + description "Authentication server timeout interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf maximum-requests { + description "Number of EAPOL RequestIDs to send before timing out"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf guest-vlan { + description "VLAN name or 802.1q tag for unauthenticated or non-responsive hosts"; + type string { + } + } + leaf guest-bridge-domain { + description "Bridge-domain name or 802.1q tag for unauthenticated or non-responsive hosts"; + type string { + } + } + container server-reject-vlan { + description "VLAN name or 802.1q tag for authentication rejected clients"; + leaf vlan-name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + leaf eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets."; + type empty; + } + } + container server-reject-bridge-domain { + description "VLAN name or 802.1q tag for authentication rejected clients"; + leaf bridge-domain { + description "Bridge-domain name or VLAN Tag (1..4095)"; + type string { + } + } + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + leaf eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets."; + type empty; + } + } + container eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets"; + uses apply-advanced; + container server-fail { + presence "enable server-fail"; + description "Block EAPOL-Start during RADIUS Timeout"; + uses apply-advanced; + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Block EAPOL-Start when client is authenticated in mac-radius mode"; + } + container captive-portal { + presence "enable captive-portal"; + description "Block EAPOL-Start when client is authenticated in captive-portal mode"; + } + } + leaf lldp-med-bypass { + description "Bypass dot1x authentication, use lldp-med based authentication"; + type empty; + } + container server-fail { + description "Action to be taken when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + } + case case_5 { + leaf use-cache { + description "Use the previous state of the client"; + type empty; + } + } + } + } + container server-fail-voip { + description "Action to be taken for VOIP client when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force VoIP client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force VoIP client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "Configured VoIP VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + leaf use-cache { + description "Use the previous state of the VoIP client"; + type empty; + } + } + } + } + leaf redirect-url { + description "CWA redirect URL to be used for unauthenticated users"; + type string { + length "10 .. 247"; + } + } + leaf no-tagged-mac-authentication { + description "Don't allow tagged mac for radius authentication"; + type empty; + } + } + } + } + grouping juniper-protocols-esis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for ES-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "esh" { + description "Trace end system hello packets"; + } + enum "ish" { + description "Trace intermediate system hello packets"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf preference { + description "Preference of routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container graceful-restart { + description "ES-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf end-system-configuration-timer { + description "Suggested end system configuration timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS on this interface"; + type empty; + } + } + } + } + } + grouping juniper-protocols-isis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for IS-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "spf" { + description "Trace SPF events"; + } + enum "packets" { + description "Trace IS-IS packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "lsp" { + description "Trace link-state packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "layer2-map" { + description "Trace ARP/ND kernel state manipulation"; + } + enum "lsp-generation" { + description "Trace LSP generation"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "ldp-synchronization" { + description "Trace synchronization between IS-IS and LDP"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "spring" { + description "Trace source packet routing"; + } + enum "traffic-statistics" { + description "Trace traffic-statistics related events"; + } + enum "prefix-sid" { + description "Trace source packet routing, prefix-sids"; + } + enum "adj-sid" { + description "Trace adj-sid related events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + leaf lsp-lifetime { + description "Lifetime of LSPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "350 .. 65535"; + } + } + } + leaf max-lsp-size { + description "Maximum size allowed for LSPs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1492"; + } + } + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf max-snp-size { + description "Maximum size allowed for Sequence Number (Complete/Partial) PDUs"; + default "1400"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1400"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 120000"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf loose-authentication-check { + description "Verify authentication only if PDU has authentication TLV"; + type empty; + } + leaf max-areas { + description "Maximum number of advertised Areas"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 36"; + } + } + } + leaf no-authentication-check { + description "Disable authentication checking"; + type empty; + } + leaf no-ipv4-routing { + description "Disable IPv4 routing"; + type empty; + } + leaf no-ipv6-routing { + description "Disable IPv6 routing"; + type empty; + } + leaf clns-routing { + description "Enable CLNS routing"; + type empty; + } + leaf clns-updown-compatibility { + description "Set the Up/Down Bit in place of the I/E bit in CLNS TLVs"; + type empty; + } + leaf no-adjacency-holddown { + description "Disable adjacency hold down"; + type empty; + } + leaf multicast-topology { + description "Enable multicast topology"; + status deprecated; + type empty; + } + leaf ignore-attached-bit { + description "Ignore the attached bit in Level 1 LSPs"; + type empty; + } + container rib-group { + description "Routing table group for importing IS-IS routes"; + uses rib_group_type; + } + container spf-options { + description "Configure SPF attributes"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf rapid-runs { + description "Number of rapid SPF runs before SPF holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container multipath { + description "Configure multipath options"; + uses apply-advanced; + container weighted { + description "Weighted multipath options"; + uses apply-advanced; + leaf one-hop { + description "Enable load balancing on onehop multipath based on interface bandwidth"; + type empty; + } + } + } + } + container backup-spf-options { + description "Configure backup SPF attributes"; + uses apply-advanced; + leaf per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate Post Convergence Backup Nexthops"; + uses apply-advanced; + leaf maximum-labels { + description "Set maximum number of label supported for post convergence path calculations"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Set maximum equal cost backup post convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + container use-source-packet-routing { + presence "enable use-source-packet-routing"; + description "Use SPRING routed paths for protection"; + uses apply-advanced; + } + } + container topologies { + description "Enable topologies"; + uses apply-advanced; + leaf ipv4-multicast { + description "Enable IPv4-multicast topology"; + type empty; + } + leaf ipv6-unicast { + description "Enable IPv6-unicast topology"; + type empty; + } + leaf ipv6-multicast { + description "Enable IPv6-multicast topology"; + type empty; + } + } + container overload { + presence "enable overload"; + description "Set the overload bit (no transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload bit is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf advertise-high-metrics { + description "Advertise high metrics instead of setting the overload bit"; + type empty; + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + } + container traffic-engineering { + description "Configure traffic engineering attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable traffic engineering"; + type empty; + } + } + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf credibility-protocol-preference { + description "Follow IGP protocol preference for TED protocol credibility"; + type empty; + } + leaf ipv4-multicast-rpf-routes { + description "Install IPv4 routes for multicast RPF checks into inet.2"; + status deprecated; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family specific traffic-engineering attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet-mpls" { + description "IPv4-MPLS family"; + } + enum "inet6-mpls" { + description "IPv6-MPLS family"; + } + } + } + uses apply-advanced; + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into multicast RIB"; + type empty; + } + } + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + status deprecated; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + } + container multipath { + description "Configure label-switched-path multipath behavior"; + uses apply-advanced; + leaf lsp-equal-cost { + description "Include equal cost label-switched-paths"; + type empty; + } + } + } + container graceful-restart { + description "IS-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + container adjacency-segment { + description "Configure attributes for Adjacency Segments in SPRING"; + uses apply-advanced; + leaf hold-time { + description "Duration(ms) for which adjacency segments will be retained after isolating from an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180000 .. 900000"; + } + } + } + } + container sensor-based-stats { + description "Configure sensor based stats in SPRING"; + uses apply-advanced; + container per-interface-per-member-link { + description "Configure sensor based stats per nexthop"; + leaf ingress { + description "Enable sensor based stats on ingress interface"; + type empty; + } + leaf egress { + description "Enable sensor based stats on egress interface"; + type empty; + } + } + container per-sid { + description "Configure sensor based stats per spring route"; + leaf ingress { + description "Enable sensor based stats for per-sid ingress accounting"; + type empty; + } + } + } + container srgb { + description "Set the SRGB global block in SPRING"; + leaf start-label { + description "Start range for SRGB label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf index-range { + description "Index to the SRGB start label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container node-segment { + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set IPv4 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf ipv6-index { + description "Set IPv6 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf index-range { + description "Set Range of Node Segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16385"; + } + } + } + } + container traffic-statistics { + description "Enable support for traffic statistics in SPRING"; + uses apply-advanced; + container statistics-granularity { + description "Granularity for traffic statistics in SPRING"; + uses apply-advanced; + leaf per-interface { + description "Interface Based traffic statistics in SPRING"; + type empty; + } + } + leaf auto-bandwidth { + description "Auto bandwidth name"; + type string; + } + } + leaf explicit-null { + description "Set E and P bits in all Prefix SID advertisements"; + type empty; + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf ldp-stitching { + description "Enable SR to LDP stitching"; + type empty; + } + } + list level { + key name; + ordered-by user; + description "Configure global level attributes"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this level"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf purge-originator { + description "Add Purge Originator information"; + type enumeration { + enum "self" { + description "Add POI only for self-originated purge LSPs"; + } + enum "empty" { + description "Add POI for purge LSPs who do not have POI information"; + } + } + } + leaf no-hello-authentication { + description "Disable authentication for hello packets"; + type empty; + } + leaf no-csnp-authentication { + description "Disable authentication for CSN packets"; + type empty; + } + leaf no-psnp-authentication { + description "Disable authentication for PSN packets"; + type empty; + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf wide-metrics-only { + description "Generate wide metrics only"; + type empty; + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled IS-IS routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix-export-limit { + description "Maximum number of external prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source Packet Routing on this level"; + type empty; + } + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + container auto-bandwidth { + description "Auto bandwidth configuration"; + uses apply-advanced; + leaf template-name { + description "Auto bandwidth template name"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Auto bandwidth on this interface"; + type empty; + } + } + } + } + leaf flood-group { + description "ISO Area that this interface should send LSPs to"; + type string { + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + status deprecated; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-padding-type { + description "Type of padding for hello packets"; + default "loose"; + type enumeration { + enum "strict" { + description "Padding for all adjacency states"; + } + enum "adaptive" { + description "Padding until state of neighbor adjacency is 'up'"; + } + enum "loose" { + description "Padding until state of adjacency is 'initializing'"; + } + enum "disable" { + description "Do not add any padding for hello packets"; + } + } + } + leaf interface-group-holddown-delay { + description "Time to wait before including in BBM calculation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf lsp-interval { + description "Interval between LSP transmissions"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + container csnp-interval { + description "Rate of CSN packets (for LAN interfaces only)"; + choice csnp_interval_option { + case case_1 { + leaf csnp-interval-number { + description "Interval between CSN packets"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + leaf disable { + description "Do not send CSN packets on this interface"; + type empty; + } + } + } + } + container mesh-group { + description "Add the interface to a mesh group"; + choice mesh_group_option { + case case_1 { + leaf mesh-group-number { + description "Mesh group number for this interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf blocked { + description "Do not flood new LSPs on this interface"; + type empty; + } + } + } + } + leaf point-to-point { + description "Treat interface as point to point"; + type empty; + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible for backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run IS-IS, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + leaf checksum { + description "Enable checksum for packets on this interface"; + type empty; + } + leaf no-unicast-topology { + description "Do not include this interface in the unicast topology"; + type empty; + } + leaf no-ipv4-multicast { + description "Do not include this interface in the IPv4 multicast topology"; + type empty; + } + leaf no-ipv6-unicast { + description "Do not include this interface in the IPv6 unicast topology"; + type empty; + } + leaf no-ipv6-multicast { + description "Do not include this interface in the IPv6 multicast topology"; + type empty; + } + leaf no-adjacency-down-notification { + description "Do not inform other protocols about adjacency down events"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list family { + key name; + ordered-by user; + description "Address family specific interface attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS for this level"; + type empty; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Configure backup along post convergence on this interface"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Enable node protection"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + leaf fate-sharing-protection { + description "Enable fate-sharing protection"; + type empty; + } + } + leaf metric { + description "Metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv4-multicast-metric { + description "IPv4 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-unicast-metric { + description "IPv6 unicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-multicast-metric { + description "IPv6 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this level"; + type empty; + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf hello-authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf hello-interval { + description "Interval between hello packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 21845"; + } + } + } + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "Designated router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container passive { + presence "enable passive"; + description "Do not run IS-IS at this level, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + list lan-neighbor { + key name; + ordered-by user; + description "Configuration specific to a LAN neighbor"; + leaf name { + description "Neighbor's sysid"; + type jt:sysid; + } + uses apply-advanced; + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + } + container link-degradation-threshold { + presence "enable link-degradation-threshold"; + description "Link up and down thresholds (in %) for proactive link protection"; + leaf link-down { + description "Signal degradation threshold above which link marked down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf link-up { + description "Signal degradation threshold below which link is marked up."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list interface-group { + key name; + description "Interface grouping configuration"; + leaf name { + description "Interface group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "List interfaces for this group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf weight { + description "Interface weight for adjacency set"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface-group"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + container link-group-protection { + description "Configure link group protection"; + uses apply-advanced; + leaf minimum-bandwidth { + description "Minimum bandwidth to carry traffic"; + type string; + } + leaf revert-bandwidth { + description "Revert bandwidth to carry traffic"; + type string; + } + } + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this label-switched path"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + leaf metric { + description "SPF metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + list context-identifier { + key name; + ordered-by user; + description "Configuration for advertisement of a context-identifier "; + leaf name { + description "Context identifier range"; + type jt:ipprefix; + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this context-identifier"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + } + } + } + grouping juniper-protocols-l2control { + uses apply-advanced; + container traceoptions { + description "Global tracing options for STP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "ppmlite" { + description "Trace libppmlite processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf nonstop-bridging { + description "Enable nonstop operation"; + type empty; + } + container bpdu-block { + presence "enable bpdu-block"; + description "Block BPDU on interface (BPDU Protect)"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block BPDU on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable bpdu-block on a port"; + type empty; + } + leaf drop { + description "Drop xSTP BPDUs"; + type empty; + } + } + leaf disable-timeout { + description "Disable timeout for BPDU Protect"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "10 .. 3600"; + } + } + } + } + container mac-rewrite { + description "Mac rewrite functionality"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf enable-all-ifl { + description "Enable tunneling for all the IFLs under the interface"; + type empty; + } + container protocol { + presence "enable protocol"; + description "Protocols for which mac rewrite need to be enabled"; + uses apply-advanced; + container stp { + presence "enable stp"; + description "Enable mac rewrite for STP"; + } + container vtp { + presence "enable vtp"; + description "Enable mac rewrite for VTP"; + } + container cdp { + presence "enable cdp"; + description "Enable mac rewrite for CDP"; + } + container pvstp { + presence "enable pvstp"; + description "Enable mac rewrite for PVSTP+"; + } + } + } + } + } + grouping juniper-protocols-ldp { + uses apply-advanced; + container traceoptions { + description "Trace options for LDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace LDP state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "packets" { + description "Trace all LDP packets"; + } + enum "periodic" { + description "Trace periodic (hello and keepalive) packets"; + } + enum "initialization" { + description "Trace initialization packets"; + } + enum "notification" { + description "Trace notification packets"; + } + enum "address" { + description "Trace address packets"; + } + enum "label" { + description "Trace label packets"; + } + enum "binding" { + description "Trace label binding state"; + } + enum "path" { + description "Trace label path state"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "link-protection" { + description "Trace link protection events"; + } + enum "p2mp-nsr-synchronization" { + description "Trace p2mp NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses ldp_filter_obj; + } + } + } + container traffic-statistics { + description "Collect statistics for LDP label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + leaf no-penultimate-hop { + description "No penultimate hop statistics collection"; + type empty; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable the graceful restart helper capability"; + type empty; + } + leaf recovery-time { + description "Time required for recovery"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1800"; + } + } + } + leaf maximum-neighbor-recovery-time { + description "Maximum time stale mappings are maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "140 .. 1900"; + } + } + } + leaf reconnect-time { + description "Time required to reestablish session after graceful restart"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf maximum-neighbor-reconnect-time { + description "Maximum reconnect time allowed from a restarting neighbor"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container auto-targeted-session { + presence "enable auto-targeted-session"; + description "Configure auto targeted session parameters for rLFA only"; + uses apply-advanced; + leaf teardown-delay { + description "Auto targeted session tear down delay"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf maximum-sessions { + description "Auto targeted maximum sessions"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + leaf preference { + description "Route preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-forwarding { + description "Do not use LDP ingress routes for forwarding"; + type empty; + } + leaf rib-group { + description "Routing table group for importing ingress routes"; + type string; + } + leaf l2-smart-policy { + description "Do not export or import Layer 3 FECs for Layer 2 sessions"; + type empty; + } + leaf track-igp-metric { + description "Track the IGP metric"; + type empty; + } + leaf strict-targeted-hellos { + description "Do not send targeted hellos to unconfigured neighbors"; + type empty; + } + container longest-match { + presence "enable longest-match"; + description "Configure longest match"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Longest match import policy"; + type jt:policy-algebra; + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list egress-policy { + ordered-by user; + description "Configure LSP egress policy"; + type jt:policy-algebra; + } + leaf-list dod-request-policy { + ordered-by user; + description "Configure DoD label request policy"; + type jt:policy-algebra; + } + container next-hop { + description "LDP next-hop control"; + uses apply-advanced; + container merged { + description "Merged next hop"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Merged next-hop policy"; + type jt:policy-algebra; + } + } + container no-rsvp-tunneling { + description "No rsvp tunneling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "No rsvp tunneling next-hop policy"; + type jt:policy-algebra; + } + } + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + choice deaggregate-choice { + leaf deaggregate { + description "Deaggregate FECs into separate labels"; + type empty; + } + leaf no-deaggregate { + description "Don't deaggregate FECs into separate labels"; + type empty; + } + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label for egress FECs"; + type empty; + } + leaf label-withdrawal-delay { + description "Delay label withdrawal for FECs to avoid label churn"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + container make-before-break { + presence "enable make-before-break"; + description "Configure make before break"; + uses apply-advanced; + leaf timeout { + description "Make before break timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf switchover-delay { + description "Make before break switchover delay"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container transport-address { + description "Address used for TCP sessions"; + choice address-choice { + case case_1 { + leaf router-id { + description "Use router ID for TCP connections"; + type empty; + } + } + case case_2 { + leaf interface { + description "Use interface address for TCP connections"; + type empty; + } + } + case case_3 { + leaf address { + description "Use specified address for TCP connections"; + type jt:ipaddr; + } + } + } + } + leaf keepalive-interval { + description "Keepalive interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keepalive-timeout { + description "Keepalive timeout (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list interface { + key name; + description "Enable LDP on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP on this interface"; + type empty; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hello hold time (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection to protect interface for link faults only"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link-protection"; + type empty; + } + } + } + leaf dynamic-rsvp-lsp { + description "Enable setup of dynamic rsvp lsp for link protection"; + type empty; + } + } + leaf transport-address { + description "Address used for TCP sessions"; + type enumeration { + enum "router-id" { + description "Use router ID for TCP connections"; + } + enum "interface" { + description "Use interface address for TCP connections"; + } + } + } + choice allow-subnet-mismatch-choice { + leaf allow-subnet-mismatch { + description "Allow subnet mismatch for source address in hello packet"; + type empty; + } + leaf no-allow-subnet-mismatch { + description "Don't allow subnet mismatch for source address in hello packet"; + type empty; + } + } + } + list neighbor { + key name; + description "Configure a remote LDP neighbor"; + leaf name { + description "Neighbor address"; + type jt:ipaddr; + } + uses apply-advanced; + } + list session { + key name; + description "Configure session parameters"; + leaf name { + description "Session destination address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + list session-group { + key name; + description "Configure session group parameters"; + leaf name { + description "Session destination address/prefix length"; + type jt:ipprefix; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + container session-protection { + presence "enable session-protection"; + description "Configure session protection"; + leaf timeout { + description "Session protection timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container igp-synchronization { + description "Configure IGP synchronization parameters"; + uses apply-advanced; + leaf holddown-interval { + description "Time to hold the up notification to the IGPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + container trap { + description "SNMP traps options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP LSP up/down trap"; + type empty; + } + } + } + } + } + container policing { + description "Configure policing for an LDP FEC"; + uses apply-advanced; + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf ingress-traffic { + description "Name of filter to use for policing ingress LDP traffic"; + type string { + } + } + leaf transit-traffic { + description "Name of filter to use for policing transit LDP traffic"; + type string { + } + } + } + } + container entropy-label { + description "Insert entropy label for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "Entropy label ingress policy"; + type jt:policy-algebra; + } + } + container oam { + description "Configure periodic OAM for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "OAM ingress policy"; + type jt:policy-algebra; + } + leaf-list bfd-port-egress-policy { + ordered-by user; + description "OAM egress policy"; + type jt:policy-algebra; + } + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice bfd_liveness_detection_type { + case case_1 { + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + } + case case_2 { + leaf no-bfd-liveness-detection { + description "Disable BFD liveness detection"; + type empty; + } + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + leaf disable { + description "Disable periodic traceroute for a FEC"; + type empty; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + } + container targeted-hello { + description "Configure targeted hello parameters"; + uses apply-advanced; + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hold interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Advertise P2MP capability to peers"; + uses apply-advanced; + container recursive { + description "Configure P2MP recursive parameters"; + uses apply-advanced; + leaf route { + description "Allow recursive route resolution to signal P2MP FEC"; + type empty; + } + } + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + list lsp-id { + key name; + description "Configure the generic LSP identifier"; + leaf name { + description "Generic LSP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + leaf no-rsvp-tunneling { + description "Do not allow LDP P2MP to use RSVP-TE LSPs for tunneling"; + type empty; + } + } + container sr-mapping-client { + presence "enable sr-mapping-client"; + description "Enable LDP to SR mapping-client functionality"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "SR mapping-client policy"; + type jt:policy-algebra; + } + } + leaf upstream-label-assignment { + description "Allow Upstream Label Assignment capability"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + } + leaf transport-preference { + description "TCP transport preference"; + type enumeration { + enum "ipv4" { + description "Use IPv4 for TCP connections"; + } + enum "ipv6" { + description "Use IPv6 for TCP connections"; + } + } + } + container dual-transport { + presence "enable dual-transport"; + description "Use separate IPv4 and IPv6 TCP transport"; + uses apply-advanced; + leaf inet-lsr-id { + description "LSR identifier for address family inet"; + type jt:ipv4addr; + } + leaf inet6-lsr-id { + description "LSR identifier for address family inet6"; + type jt:ipv4addr; + } + } + } + grouping juniper-protocols-lmp { + uses apply-advanced; + list te-link { + key name; + ordered-by user; + description "Traffic engineering link"; + leaf name { + description "Name of TE link"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Address of the local end of the link"; + type jt:ipaddr; + } + leaf remote-address { + description "Address of the remote end of the link"; + type jt:ipaddr; + } + leaf remote-id { + description "Link ID for the remote end of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf te-metric { + description "Traffic engineering metric of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable TE link"; + type empty; + } + } + } + container ethernet-vlan { + presence "enable ethernet-vlan"; + description "TE link used for setup of L2 VLAN LSP"; + uses apply-advanced; + leaf-list vlan-id-range { + description "VLAN id"; + type jt:vlan-range; + max-elements 1; + } + } + choice resource-option { + case case_1 { + list interface { + key name; + ordered-by user; + description "Member interface of TE link"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + case case_2 { + list label-switched-path { + key name; + ordered-by user; + description "Member forwarding adjacency LSP of TE link"; + max-elements 1; + leaf name { + description "Name of label-switched path"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + } + } + list peer { + key name; + ordered-by user; + description "Define a network or LMP peer"; + leaf name { + description "Name of peer"; + type string; + } + uses apply-advanced; + leaf address { + description "Address of peer"; + type jt:ipaddr; + } + container lmp-protocol { + presence "enable lmp-protocol"; + description "LMP protocol attributes"; + uses apply-advanced; + leaf hello-interval { + description "Interval between Hello messages"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "150 .. 21845"; + } + } + } + leaf hello-dead-interval { + description "Delay for control channel shutdown when no Hello received"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 65535"; + } + } + } + leaf retransmission-interval { + description "Minimum time before retransmitting a message"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 300000"; + } + } + } + leaf retry-limit { + description "Number of times to retransmit a message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1000"; + } + } + } + leaf passive { + description "Do not send Config messages to peer"; + type empty; + } + } + leaf-list control-channel { + ordered-by user; + description "Control channel interfaces by priority"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list lmp-control-channel { + key name; + ordered-by user; + description "Control channel IDs"; + uses lmp_control_channel_type; + } + leaf-list te-link { + ordered-by user; + description "List of TE links managed by this peer"; + type string; + } + } + container traceoptions { + description "LMP trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace general configuration processing"; + } + enum "server" { + description "Trace server processing"; + } + enum "routing" { + description "Trace routing protocols interworking"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "hello-packets" { + description "Trace hello packet processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "nsr-synchronization" { + description "Trace mirror and nsr transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + status deprecated; + type empty; + } + leaf receive { + description "Trace received packets"; + status deprecated; + type empty; + } + leaf detail { + description "Trace detailed information"; + status deprecated; + type empty; + } + leaf disable { + description "Disable this trace flag"; + status deprecated; + type empty; + } + } + } + } + grouping juniper-protocols-mpls { + description "Multiprotocol Label Switching options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS"; + type empty; + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list pce-controlled-lsp { + key name; + ordered-by user; + description "Template for externally provisioned LSP using regular expression"; + leaf name { + description "Template regular expression"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + } + } + container path-mtu { + presence "enable path-mtu"; + description "Path MTU configuration"; + uses apply-advanced; + leaf allow-fragmentation { + description "If needed, fragment IP before encapsulating in MPLS"; + type empty; + } + container rsvp { + presence "enable rsvp"; + description "RSVP-specific path MTU options"; + uses apply-advanced; + leaf mtu-signaling { + description "Enable RSVP path MTU signaling"; + type empty; + } + } + } + container diffserv-te { + description "Global diffserv-traffic-engineering options"; + uses apply-advanced; + leaf bandwidth-model { + description "Bandwidth constraint model supported"; + type enumeration { + enum "extended-mam" { + description "Maximum allocation model with support for E-LSPs"; + } + enum "mam" { + description "Maximum allocation model"; + } + enum "rdm" { + description "Russian dolls model"; + } + } + } + container te-class-matrix { + description "Supported combinations of traffic-class and preemption"; + uses apply-advanced; + container te0 { + description "Definition for traffic-engineering class te0"; + uses te-class-object; + } + container te1 { + description "Definition for traffic-engineering class te1"; + uses te-class-object; + } + container te2 { + description "Definition for traffic-engineering class te2"; + uses te-class-object; + } + container te3 { + description "Definition for traffic-engineering class te3"; + uses te-class-object; + } + container te4 { + description "Definition for traffic-engineering class te4"; + uses te-class-object; + } + container te5 { + description "Definition for traffic-engineering class te5"; + uses te-class-object; + } + container te6 { + description "Definition for traffic-engineering class te6"; + uses te-class-object; + } + container te7 { + description "Definition for traffic-engineering class te7"; + uses te-class-object; + } + } + } + container auto-policing { + description "Automatic policing of LSPs"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + type enumeration { + enum "all" { + description "All forwarding classes"; + } + enum "ct0" { + description "Forwarding class 0"; + } + enum "ct1" { + description "Forwarding class 1"; + } + enum "ct2" { + description "Forwarding class 2"; + } + enum "ct3" { + description "Forwarding class 3"; + } + } + } + uses apply-advanced; + choice policing-action { + case case_1 { + leaf drop { + description "Drop packets if bandwidth is exceeded"; + type empty; + } + } + case case_2 { + leaf loss-priority-high { + description "Set loss priority to high if bandwidth is exceeded"; + type empty; + } + } + case case_3 { + leaf loss-priority-low { + description "Set loss priority to low if bandwidth is exceeded"; + type empty; + } + } + } + } + } + container statistics { + description "Collect statistics for signaled label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + presence "enable file"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf auto-bandwidth { + description "Enable auto bandwidth allocation"; + type empty; + } + leaf no-transit-statistics { + description "Disable transit LSP statistics collection"; + type empty; + } + choice transit-polling-type { + case case_1 { + leaf no-transit-statistics-polling { + description "Disable polling and display of transit lsp statistics"; + status deprecated; + type empty; + } + } + case case_2 { + leaf transit-statistics-polling { + description "Enable polling and display of transit lsp statistics"; + type empty; + } + } + } + leaf statistics-query-batch-size { + description "Number of LSPs for which statistics will be queried together"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 25"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Send syslog messages"; + type empty; + } + leaf no-syslog { + description "Don't send syslog messages"; + type empty; + } + } + choice trap-choice { + case case_1 { + leaf trap { + description "Send SNMP traps"; + type empty; + } + } + case case_2 { + container no-trap { + presence "enable no-trap"; + description "Don't send SNMP traps"; + uses apply-advanced; + leaf mpls-lsp-traps { + description "Dont send mpls lsp up/down traps"; + type empty; + } + leaf rfc3812-traps { + description "Dont send rfc3812 traps"; + type empty; + } + } + } + } + leaf trap-path-down { + description "Send SNMP traps when a path goes down"; + type empty; + } + leaf trap-path-up { + description "Send SNMP traps when a path goes up"; + type empty; + } + } + container optimize-adaptive-teardown { + description "Post make before break adaptive teardown"; + uses apply-advanced; + leaf p2p { + description "Turn on post make before break adaptive teardown for p2p"; + type empty; + } + leaf timeout { + description "Timeout for adaptive teardown to clean up LSP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-engineering control"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf bgp { + description "BGP destinations only"; + type empty; + } + } + case case_2 { + leaf bgp-igp { + description "BGP and IGP destinations"; + type empty; + } + } + case case_3 { + leaf bgp-igp-both-ribs { + description "BGP and IGP destinations with routes in both routing tables"; + type empty; + } + } + case case_4 { + leaf mpls-forwarding { + description "Use MPLS routes for forwarding, not routing"; + type empty; + } + } + } + container database { + description "Traffic engineering database"; + uses apply-advanced; + container import { + description "Configure TED import parameters"; + uses apply-advanced; + container igp-topology { + presence "enable igp-topology"; + description "Download IGP topology into RIB"; + uses apply-advanced; + leaf bgp-link-state { + description "Export IGP topology, instead of TE topology, into BGP-LS"; + type empty; + } + } + leaf-list policy { + ordered-by user; + description "Configure import policy"; + type jt:policy-algebra; + } + leaf identifier { + description "BGP-TE identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "2 .. 18446744073709551615"; + } + } + } + leaf bgp-ls-identifier { + description "BGP-TE domain identifier"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container export { + description "Configure TED export related parameters"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + container credibility { + description "TED credibility value for entries from BGP-TE"; + uses apply-advanced; + leaf unknown { + description "Entries sourced from unknown entities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf direct { + description "Entries sourced from directly connected links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf static { + description "Entries sourced from static configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf ospf { + description "Entries sourced from ospf"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-1 { + description "Entries sourced from ISIS Level 1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-2 { + description "Entries sourced from ISIS Level 2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + } + } + } + } + container traceoptions { + description "Trace options for MPLS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "connection" { + description "Trace CCC activity"; + } + enum "connection-detail" { + description "Trace CCC activity in detail"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "lsping" { + description "Trace LSP ping packets received"; + } + enum "graceful-restart" { + description "Trace graceful-restart-related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-synchronization-detail" { + description "Trace NSR synchronization events in detail"; + } + enum "static" { + description "Trace static label-switched path"; + } + enum "egress-protection" { + description "Trace egress protection events"; + } + enum "all" { + description "Trace everything"; + } + enum "autobw-state" { + description "Trace autobandwidth events in mpls trace"; + } + enum "externally-controlled-lsp" { + description "Trace externally controlled LSP events in mpls trace"; + } + enum "ted-import" { + description "Trace leaking TED entries into lsdist.0 table"; + } + enum "ted-export" { + description "Trace leaking of entries from lsdist.0 table into TED"; + } + enum "lsp-history" { + description "Trace LSP history events"; + } + enum "abstract-hop" { + description "Trace abstract hop related events"; + } + } + } + } + } + list admin-groups { + key name; + ordered-by user; + description "Administrative groups"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf group-value { + description "Group bit position"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + leaf advertisement-hold-time { + description "Time that an 'LSP down' advertisement will be delayed"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf rsvp-error-hold-time { + description "Time that RSVP PathErr events will be remembered"; + default "25"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 240"; + } + } + } + leaf optimize-aggressive { + description "Run aggressive optimization algorithm based on IGP metric only"; + type empty; + } + leaf smart-optimize-timer { + description "Path optimization interval after a link traversed by the path goes down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-switchover-delay { + description "Delay before switching LSP to newly optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 900"; + } + } + } + leaf no-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label when the router is the egress"; + type empty; + } + leaf ipv6-tunneling { + description "Allow MPLS LSPs to be used for tunneling IPv6 traffic"; + type empty; + } + leaf icmp-tunneling { + description "Allow MPLS LSPs to be used for tunneling ICMP error packets"; + type empty; + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf expand-loose-hop { + description "Perform CSPF path computation to expand loose hops"; + type empty; + } + leaf mib-mpls-show-p2mp { + description "Show p2mp tunnels entries in mpls mib walk"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + list label-switched-path { + key name; + ordered-by user; + description "Label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS label-switched path"; + type empty; + } + } + } + container traceoptions { + description "Trace options for MPLS label-switched path"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + leaf backup { + description "Use LSP for IGP backup"; + type empty; + } + leaf from { + description "Address of ingress router"; + type jt:ipv4addr; + } + container pop-and-forward { + presence "enable pop-and-forward"; + description "Enable LSP as pop-and-forward with auto-delegation"; + } + choice label-switched-path-or-template { + case case_1 { + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + } + case case_2 { + leaf template { + description "Template for dynamic lsp paramaters"; + type empty; + } + } + } + leaf corouted-bidirectional { + description "Setup the LSP as a corouted bidirectional LSP"; + type empty; + } + leaf corouted-bidirectional-passive { + description "Associate LSP with incoming corouted bidirectional LSP"; + type empty; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf ldp-tunneling { + description "Allow LDP to use this LSP for tunneling"; + type empty; + } + leaf soft-preemption { + description "Attempt make-before-break service while preempting this LSP"; + type empty; + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf retry-timer { + description "Time before retrying the primary path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf retry-limit { + description "Maximum number of times to retry primary path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container lsp-attributes { + description "Attributes for generalized LSP"; + uses apply-advanced; + leaf signal-bandwidth { + description "Signal bandwidth for the LSP"; + type enumeration { + enum "ds1" { + description "1.544 Mbps"; + } + enum "vt1-5" { + description "1.728 Mbps"; + } + enum "e1" { + description "2.048 Mbps"; + } + enum "vt2" { + description "2.304 Mbps"; + } + enum "ethernet" { + description "10 Mbps"; + } + enum "e3" { + description "34.368 Mbps"; + } + enum "ds3" { + description "44.736 Mbps"; + } + enum "sts-1" { + description "51.84 Mbps"; + } + enum "fastether" { + description "100.00 Mbps"; + } + enum "stm-1" { + description "155.52 Mbps"; + } + enum "stm-4" { + description "622.08 Mbps"; + } + enum "gigether" { + description "1000.00 Mbps"; + } + enum "stm-16" { + description "2488.32 Mbps"; + } + enum "stm-64" { + description "9953.28 Mbps"; + } + enum "10gigether" { + description "10000.00 Mbps"; + } + enum "stm-256" { + description "39813.12 Mbps"; + } + enum "100gige" { + description "100000.00 Mbps"; + } + } + } + leaf switching-type { + description "LSP switching type desired"; + type enumeration { + enum "psc-1" { + description "Packet switching"; + } + enum "lambda" { + description "Lambda switching"; + } + enum "fiber" { + description "Fiber switching"; + } + enum "tdm" { + description "TDM switching"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN switching"; + } + } + } + leaf encoding-type { + description "LSP encoding type desired"; + type enumeration { + enum "packet" { + description "Packet encoding"; + } + enum "ethernet" { + description "Ethernet encoding"; + } + enum "pdh" { + description "PDH encoding"; + } + enum "sonet-sdh" { + description "SONET-SDH encoding"; + } + } + } + leaf gpid { + description "Generalized PID"; + type enumeration { + enum "ipv4" { + } + enum "ethernet" { + } + enum "ppp" { + } + enum "hdlc" { + } + enum "pos-no-scrambling-crc-16" { + } + enum "pos-no-scrambling-crc-32" { + } + enum "pos-scrambling-crc-16" { + } + enum "pos-scrambling-crc-32" { + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + leaf self-ping-duration { + description "Duration over which to run self-ping (65535 = until success). Default = 1800s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf no-self-ping { + description "Do not run self-ping for this LSP"; + type empty; + } + choice cspf-attribute { + case case_1 { + leaf random { + description "Randomly select among equal-cost paths"; + type empty; + } + } + case case_2 { + leaf least-fill { + description "Select the least filled among equal-cost paths"; + type empty; + } + } + case case_3 { + leaf most-fill { + description "Select the most filled among equal-cost paths"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + choice lp-type { + case case_1 { + leaf link-protection { + description "Protect LSP from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect LSP from both link and node faults"; + type empty; + } + } + } + leaf intra-domain { + description "Intra-domain LSP"; + status deprecated; + type empty; + } + leaf inter-domain { + description "Inter-domain LSP"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + container fast-reroute { + presence "enable fast-reroute"; + description "Fast reroute"; + uses apply-advanced; + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + choice bw-attribute { + case case_1 { + leaf bandwidth { + description "Bandwidth to reserve (bps)"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Percentage of main path bandwidth to reserve"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + } + } + choice include_any_or_no_include_any { + case case_1 { + leaf no-include-any { + description "Disable include-any checking"; + type empty; + } + } + case case_2 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include_all_or_no_include_all { + case case_1 { + leaf no-include-all { + description "Disable include-all checking"; + type empty; + } + } + case case_2 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude_or_no_exclude { + case case_1 { + leaf no-exclude { + description "Disable exclude checking"; + type empty; + } + } + case case_2 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Point-to-multipoint label-switched path"; + leaf path_name { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Do auto bandwidth allocation for this LSP"; + uses apply-advanced; + leaf adjust-interval { + description "Time to adjust LSP bandwidth"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf adjust-threshold { + description "Percentage change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50"; + } + } + } + leaf adjust-threshold-absolute { + description "Change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "bps"; + type string; + } + leaf adjust-threshold-activate-bandwidth { + description "Adjusts signaled bw if greater than this value"; + units "bps"; + type string; + } + leaf minimum-bandwidth { + description "Minimum LSP bandwidth"; + units "bps"; + type string; + } + leaf maximum-bandwidth { + description "Maximum LSP bandwidth"; + units "bps"; + type string; + } + leaf minimum-bandwidth-adjust-interval { + description "Duration for which minimum bandwidth will be frozen"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 31536000"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-change { + description "Change in max average bandwidth to freeze min bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-value { + description "Freeze min bandwidth if max average bandwidth falls below this bw"; + status deprecated; + units "bps"; + type string; + } + leaf monitor-bandwidth { + description "Monitor LSP bandwidth without adjustments"; + type empty; + } + leaf adjust-threshold-overflow-limit { + description "Number of consecutive overflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf adjust-threshold-underflow-limit { + description "Number of consecutive underflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf resignal-minimum-bandwidth { + description "Resignal the LSP using minimum-bandwidth"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this LSP"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + container associate-lsp { + description "Associate the LSP for OAM"; + uses apply-advanced; + leaf lsp-name { + description "Name of assocation LSP"; + type string { + } + } + leaf from { + description "Address of ingress router of associated LSP"; + type jt:ipv4addr; + } + } + list primary { + key name; + ordered-by user; + description "Preferred path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + list secondary { + key name; + ordered-by user; + description "Backup path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + leaf associate-backup-pe-groups { + description "Associate this LSP with backup-pe groups"; + type empty; + } + leaf egress-protection { + description "Use this LSP for egress protection data transport"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + list container-label-switched-path { + key name; + ordered-by user; + leaf name { + description "Name of container-lsp"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS container-label-switched path"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf suffix { + description "Suffix to generate names of members of container LSP"; + type string { + } + } + container splitting-merging { + description "Do splitting and merging"; + uses apply-advanced; + leaf maximum-member-lsps { + description "Maximum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf minimum-member-lsps { + description "Minimum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf splitting-bandwidth { + description "Maximum bandwidth threshold for splitting"; + units "bps"; + type string; + } + leaf merging-bandwidth { + description "Minimum bandwidth threshold for merging"; + units "bps"; + type string; + } + leaf maximum-signaling-bandwidth { + description "Maximum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf minimum-signaling-bandwidth { + description "Minimum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf splitting-merging-threshold { + description "Change in aggregate LSP utilization to trigger splitting or merging"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container normalization { + description "Do normalization"; + uses apply-advanced; + leaf normalize-interval { + description "Time to normalize container LSP"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf failover-normalization { + description "Do pre-mature normalization in case some LSPs go down before next normalization"; + type empty; + } + leaf no-incremental-normalize { + description "Do not normalize unless all LSPs are successfully signaled"; + type empty; + } + leaf normalization-retry-duration { + description "Time before retrying the container LSP normalization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf normalization-retry-limits { + description "Maximum number of times to retry container LSP normalization"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container sampling { + description "Sampling information"; + uses apply-advanced; + leaf cut-off-threshold { + description "Cut-off percentile to remove outliers from aggregate samples"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice sampling-mode { + case case_1 { + leaf use-average-aggregate { + description "Use average of the samples"; + type empty; + } + } + case case_2 { + leaf use-percentile { + description "Use a percentile of the samples"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + } + list transit-lsp-association { + key name; + ordered-by user; + description "Transit label switch path assoication"; + leaf name { + description "Name of transit assocation LSP group"; + type string { + } + } + uses apply-advanced; + leaf lsp-name-1 { + description "Name of assocation LSP 1"; + type string { + } + } + leaf from-1 { + description "Address of associated LSP 1"; + type jt:ipv4addr; + } + leaf lsp-name-2 { + description "Name of assocation LSP 2"; + type string { + } + } + leaf from-2 { + description "Address of associated LSP 2"; + type jt:ipv4addr; + } + } + list path { + key name; + ordered-by user; + description "Route of a label-switched path"; + leaf name { + description "Name of label-switched path"; + type string { + } + } + uses apply-advanced; + list path-list { + key name; + ordered-by user; + description "List of routers in the label-switched path"; + leaf name { + description "Address of next system in path"; + type string { + } + } + leaf abstract { + description "Next system in path is abstract"; + type empty; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf loose-link { + description "Next hop link might not be adjacent"; + type empty; + } + } + case case_3 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + } + list static-label-switched-path { + key name; + ordered-by user; + description "Static label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice lsp-type { + case case_1 { + container bypass { + description "Bypass ingress label-switched path"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf next-table { + description "Next-table for lookup"; + type string; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipaddr; + } + } + } + case case_2 { + list transit { + key name; + ordered-by user; + description "Transit label-switched path"; + leaf name { + description "Incoming label value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf member-interface { + description "AE member interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap top label with this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the top label"; + type empty; + } + } + case case_3 { + leaf stitch { + description "Swap top label with the resolved LSP"; + type empty; + } + } + } + } + } + case case_3 { + container ingress { + description "Ingress LSR configuration for a static LSP"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipv4prefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + } + } + case case_4 { + container segment { + description "Segment for segment routing"; + uses apply-advanced; + leaf sid-label { + description "Segment identifier (SID) label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap the SID label to this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the SID label"; + type empty; + } + } + } + } + } + } + } + list constituent-list { + key name; + ordered-by user; + description "MPLS constituent list for abstract hops"; + leaf name { + description "Constituent list name"; + type string { + } + } + uses apply-advanced; + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 16; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + max-elements 16; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + max-elements 16; + } + } + list abstract-hop { + key name; + ordered-by user; + description "MPLS abstract hop"; + leaf name { + description "Abstract hop name"; + type string { + } + } + uses apply-advanced; + leaf operator { + description "Operation among constituent lists"; + type enumeration { + enum "AND" { + description "AND"; + } + enum "OR" { + description "OR"; + } + } + } + list constituent-list { + key name; + ordered-by user; + description "Building abstract hop using constituent lists"; + leaf name { + description "Constituent list name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice list-type { + case case_1 { + leaf include-any-list { + description "Include any"; + type empty; + } + } + case case_2 { + leaf include-all-list { + description "Include all"; + type empty; + } + } + case case_3 { + leaf exclude-any-list { + description "Exclude any"; + type empty; + } + } + case case_4 { + leaf exclude-all-list { + description "Exclude all"; + type empty; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "MPLS interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS on this interface"; + type empty; + } + } + } + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 64; + } + leaf always-mark-connection-protection-tlv { + description "Mark connection protection tlv on this interface"; + type empty; + } + leaf switch-away-lsps { + description "Switch away protected LSPs to their bypass LSPs"; + type empty; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + } + container static { + description "Static label-switch path related configurations"; + uses apply-advanced; + leaf protection-revert-time { + description "FRR revert wait time, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container egress-protection { + description "Egress router protection"; + uses apply-advanced; + list context-identifier { + key name; + description "Context identifier"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice context-type { + case case_1 { + leaf primary { + description "Primary"; + type empty; + } + } + case case_2 { + leaf protector { + description "Protector"; + type empty; + } + } + } + leaf metric { + description "IGP metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 16777215"; + } + } + } + leaf advertise-mode { + description "Advertise mode"; + type enumeration { + enum "stub-proxy" { + description "Proxy"; + } + enum "stub-alias" { + description "Alias"; + } + } + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + } + container traceoptions { + description "Trace options for egress-protection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "state" { + description "Trace state transitions"; + } + enum "route" { + description "Trace route transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container label-history { + presence "enable label-history"; + description "MPLS label history recording"; + uses apply-advanced; + leaf max-entries { + description "Limit for the number of history entry per label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container label-range { + description "MPLS labels ranges"; + uses apply-advanced; + list lsi-label-range { + key name; + ordered-by user; + description "LSI-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list block-label-range { + key name; + ordered-by user; + description "Block-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list dynamic-label-range { + key name; + ordered-by user; + description "Dynamic-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list static-label-range { + key name; + ordered-by user; + description "Static-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf label-limit { + description "Limit for the number of concurrent active labels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping admin_group_include_exclude { + uses apply-advanced; + choice include-any-choice { + case case_1 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include-all-choice { + case case_1 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude-choice { + case case_1 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + grouping juniper-protocols-msdp { + uses apply-advanced; + leaf data-encapsulation { + description "Set encapsulation of data packets"; + type enumeration { + enum "disable" { + description "Disable data encapsulation"; + } + enum "enable" { + description "Enable data encapsulation"; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + list source { + key name; + ordered-by user; + description "Configure parameters for each source"; + leaf name { + description "Source address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + } + list group { + key name; + ordered-by user; + description "Configure MSDP peer groups"; + leaf name { + description "MSDP peer group name"; + type string; + } + uses apply-advanced; + leaf mode { + description "MSDP group source-active flooding mode"; + default "standard"; + type enumeration { + enum "standard" { + description "Use standard MSDP source-active flooding rules"; + } + enum "mesh-group" { + description "Group peers are mesh group members"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + } + } + grouping juniper-protocols-mstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSTP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf configuration-name { + description "Configuration name (part of MST configuration identifier)"; + type string { + length "1 .. 32"; + } + } + leaf revision-level { + description "Revision level (part of MST configuration identifier)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf max-hops { + description "Maximum number of hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + list msti { + key name; + description "Per-MSTI options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + } + } + grouping juniper-protocols-mvpn { + description "BGP-MVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for BGP-MVPN"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "nlri" { + description "Trace MVPN advertisements"; + } + enum "topology" { + description "Trace MVPN topology changes"; + } + enum "tunnel" { + description "Trace provider tunnel events"; + } + enum "umh" { + description "Trace Upstream Multicast Hop (UMH) events"; + } + enum "intra-as-ad" { + description "Trace MVPN intra-AS auto discovery routes"; + } + enum "inter-as-ad" { + description "Trace MVPN inter-AS auto discovery routes"; + } + enum "spmsi-ad" { + description "Trace MVPN SPMSI auto discovery routes"; + } + enum "leaf-ad" { + description "Trace MVPN leaf auto discovery routes"; + } + enum "source-active" { + description "Trace MVPN source active routes"; + } + enum "cmcast-join" { + description "Trace MVPN c-multicast join routes"; + } + enum "mdt-safi-ad" { + description "Trace MVPN MDT SAFI auto discovery routes"; + } + enum "mvpn-limit" { + description "Trace MVPN spmsi and cmcast limit events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + status deprecated; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + container family { + description "BGP-MVPN address family"; + uses apply-advanced; + container any { + presence "enable any"; + description "BGP-MVPN properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + description "IPv4 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + choice sender-receiver-site-choice { + case case_1 { + leaf receiver-site { + description "MVPN instance has sites only with multicast receivers"; + type empty; + } + } + case case_2 { + leaf sender-site { + description "MVPN instance has sites only with multicast sources"; + type empty; + } + } + } + leaf unicast-umh-election { + description "Upstream Multicast Hop election based on unicast route preference"; + type empty; + } + container static-umh { + description "Upstream Multicast Hop election based on static configuration"; + uses apply-advanced; + leaf primary { + description "Primary Upstream Multicast Hop"; + type jt:ipv4addr; + } + leaf backup { + description "Secondary Upstream Multicast Hop"; + type jt:ipv4addr; + } + choice source-tree_choice { + case case_1 { + leaf source-tree { + description "Mandatory attribute - static-umh applies only to MVPN source-tree c-multicast joins"; + type empty; + } + } + } + } + leaf cmcast-joins-limit-inet { + description "Maximum number of cmcast entries for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf cmcast-joins-limit-inet6 { + description "Maximum number of cmcast entries for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container mvpn-mode { + description "MVPN mode of operation"; + uses apply-advanced; + choice mode { + case case_1 { + container rpt-spt { + presence "enable rpt-spt"; + description "MVPN works in multicast RPT and SPT mode"; + uses apply-advanced; + leaf spt-switch-timer { + description "Timeout before a PE router switches between RPT and SPT"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + } + case case_2 { + container spt-only { + presence "enable spt-only"; + description "MVPN works in multicast SPT only mode (default mode)"; + uses apply-advanced; + container source-active-advertisement { + description "Attributes associated with advertising Source-Active A-D routes"; + uses apply-advanced; + leaf dampen { + description "Time to wait before re-advertising source-active route"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf min-rate { + description "Minimum traffic rate required to advertise Source-Active route"; + units "bits per second"; + type string; + } + } + leaf convert-sa-to-msdp { + description "Turn on MVPN SA route to MSDP SA conversion"; + type empty; + } + } + } + } + } + container route-target { + description "Configure route-targets for MVPN routes"; + uses apply-advanced; + container import-target { + description "Target communities used when importing routes"; + uses apply-advanced; + container unicast { + presence "enable unicast"; + description "Use the same target community as configured for unicast"; + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + container target { + presence "enable target"; + description "Target community"; + leaf target-value { + type string { + } + } + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + } + container export-target { + description "Target communities used when exporting routes"; + uses apply-advanced; + leaf unicast { + description "Use the same target community as configured for unicast"; + type empty; + } + leaf target { + description "Target community"; + type string { + } + } + } + } + container mvpn-join-load-balance { + description "MVPN Join Load Balancing Algorithm"; + uses apply-advanced; + choice algorithm { + case case_1 { + container bytewise-xor-hash { + presence "enable bytewise-xor-hash"; + description "Upstream selection using bytewise XOR hash"; + } + } + } + } + container hot-root-standby { + description "MVPN live-live - hot root standby"; + uses apply-advanced; + choice tree { + case case_1 { + container source-tree { + presence "enable source-tree"; + description "MVPN live-live - hot root standby for source tree"; + } + } + } + container min-rate { + description "Minimum traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + uses apply-advanced; + leaf rate { + description "Minium traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + units "bits per second"; + type string; + } + leaf revert-delay { + description "Time to delay updating of multicast routes to allow for multicast convergence"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + } + } + container inter-region-template { + description "MVPN inter-region tunnel mapping template"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Define a inter-region template"; + leaf name { + description "MVPN Template Name"; + type string; + } + uses apply-advanced; + list region { + key name; + ordered-by user; + description "BGP peer group names used as region"; + leaf name { + description "Region name"; + type string; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + container all-regions { + description "Used for all regions not specified"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + } + } + leaf source-redundancy { + description "Assume all the sources for a particular group is sending same data"; + type empty; + } + container umh-selection-additional-input { + description "Additional parameters to consider during UMH"; + uses apply-advanced; + leaf source-active-preference { + description "Use the preference set in the source active route"; + type empty; + } + leaf tunnel-status { + description "Use the RSVP tunnel status"; + type empty; + } + } + } + grouping juniper-protocols-mvrp { + description "MVRP Configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for MVRP"; + uses mrp-trace-options; + } + leaf join-timer { + description "Join timer interval"; + default "200"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + default "800"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf no-dynamic-vlan { + description "Disable dynamic VLAN creation"; + type empty; + } + leaf no-attribute-length-in-pdu { + description "No attribute length while sending pdu "; + type empty; + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the MVRP BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + list interface { + key name; + ordered-by user; + description "Configure interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf join-timer { + description "Join timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf point-to-point { + description "Port is point to point"; + type empty; + } + leaf registration { + description "Registration mode"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal registration mode"; + } + enum "restricted" { + description "Restricted registration mode"; + } + enum "forbidden" { + description "Forbidden registration mode"; + } + } + } + } + } + grouping juniper-protocols-ospf { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + grouping juniper-protocols-overlayd { + uses apply-advanced; + container traceoptions { + description "Overlayd trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "socket" { + description "Trace overlay daemon socket events"; + } + enum "rtsock" { + description "Trace overlay daemon rtsock events"; + } + enum "config" { + description "Trace overlay daemon config events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping juniper-protocols-pgm { + uses apply-advanced; + container traceoptions { + description "PGM trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping juniper-protocols-protection-group { + uses apply-advanced; + container ethernet-aps { + description "Ethernet APS configuration"; + uses juniper-protocols-protection-group-eaps; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses erp-trace-options; + } + leaf restore-interval { + description "Wait to restore interval"; + default "5"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms steps"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + list ethernet-ring { + key name; + ordered-by user; + description "Ethernet ring"; + uses juniper-protocols-protection-group-ethernet-ring; + } + } + grouping erp-trace-options { + description "Trace options for Ethernet Ring Protocol"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace R-APS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace R-APS state machine"; + } + enum "periodic-packet-management" { + description "Trace periodic packet management state and events"; + } + enum "config" { + description "Trace protocol configuration"; + } + enum "normal" { + description "Trace protocol general log messages"; + } + enum "debug" { + description "Trace protocol debug log messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + container file { + description "Trace file options"; + uses trace_file_type; + } + } + grouping juniper-protocols-protection-group-eaps { + uses apply-advanced; + list profile { + key name; + uses juniper-protocols-protection-group-eaps-profile; + } + } + grouping juniper-protocols-protection-group-eaps-profile { + description "Ethernet APS profile"; + leaf name { + description "Profile name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf protocol { + description "Protocol value"; + type enumeration { + enum "ccm" { + description "Use CCM packets for protection."; + } + enum "G.8031" { + description "Use G.8031 packets for protection."; + } + } + } + leaf revert-time { + description "Reversion time in minutes, 0 would mean no reversion"; + default "4"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf hold-time { + description "Hold time in seconds"; + default "0"; + units "milli seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf local-request { + description "Local APS request"; + type enumeration { + enum "lockout" { + description "Lockout protection"; + } + } + } + } + grouping juniper-protocols-protection-group-ethernet-ring { + description "Ethernet Ring protection group configuration"; + leaf name { + description "Name of Ethernet Ring protection group"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf node-id { + description "Node ID of the protection group, by default bridge's MAC"; + type jt:mac-unicast; + } + leaf ring-protection-link-owner { + description "Ring protection link owner flag, one ring should have only one node as a ring protection link owner"; + type empty; + } + leaf level { + description "MPG Level value for R-APS PDU"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf restore-interval { + description "Wait to restore interval"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container east-interface { + description "East interface configuration"; + presence "enable east-interface"; + uses erp-interface; + } + container west-interface { + description "West interface configuration"; + presence "enable west-interface"; + uses erp-interface; + } + leaf control-vlan { + description "Dedicated VLAN identifier - VLAN id or VLAN name"; + type string; + } + container data-channel { + description "Ring instance data channel"; + presence "enable data-channel"; + uses erp-data-channel; + } + } + grouping erp-data-channel { + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + } + grouping erp-interface { + uses apply-advanced; + container control-channel { + presence "enable control-channel"; + description "Control channel of ring port"; + uses apply-advanced; + leaf vlan { + description "Dedicated VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 4094"; + } + } + } + leaf control-channel-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ring-protection-link-end { + description "Port is connecting to ring protection link"; + type empty; + } + leaf interface-none { + description "Port is not used"; + type empty; + } + } + grouping juniper-protocols-rip { + uses apply-advanced; + container traceoptions { + description "Trace options for RIP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "auth" { + description "Trace RIP authentication"; + } + enum "error" { + description "Trace RIP errors"; + } + enum "expiration" { + description "Trace RIP route expiration processing"; + } + enum "holddown" { + description "Trace RIP hold-down processing"; + } + enum "packets" { + description "Trace all RIP packets"; + } + enum "request" { + description "Trace RIP information packets"; + } + enum "trigger" { + description "Trace RIP triggered updates"; + } + enum "update" { + description "Trace RIP update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses rip_filter_obj; + } + } + } + container rib-group { + description "Routing table group for importing RIP routes"; + uses rib_group_inet_type; + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv2 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv2 packets"; + type empty; + } + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a message in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf interface-type { + description "Interface type for the neighbor"; + type enumeration { + enum "p2mp" { + description "Point-to-multipoint link"; + } + } + } + leaf dynamic-peers { + description "Learn peers dynamically on a p2mp interface"; + type empty; + } + list peer { + key name; + ordered-by user; + description "P2MP peer"; + leaf name { + description "Address of peer"; + type jt:ipaddr; + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a msg in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv1 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv1 packets"; + type empty; + } + } + leaf any-sender { + description "Disable strict checks on sender address"; + type empty; + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIP is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-ripng { + uses apply-advanced; + container traceoptions { + description "Trace options for RIPng"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace RIPng errors"; + } + enum "expiration" { + description "Trace RIPng route expiration processing"; + } + enum "holddown" { + description "Trace RIPng hold-down processing"; + } + enum "packets" { + description "Trace all RIPng packets"; + } + enum "request" { + description "Trace RIPng information packets"; + } + enum "trigger" { + description "Trace RIPng triggered updates"; + } + enum "update" { + description "Trace RIPng update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIPng graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIPng is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-router-discovery { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable router discovery"; + type empty; + } + } + } + container traceoptions { + description "Trace options for router discovery"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router discovery"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf max-advertisement-interval { + description "Maximum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1800"; + } + } + } + leaf lifetime { + description "How long addresses in advertisements are valid"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 9000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "IP addresses to include in advertisements"; + leaf name { + description "IP addresses to include in router advertisements"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf advertise { + description "Advertise the IP address in advertisements"; + type empty; + } + leaf ignore { + description "Do not advertise the IP address in advertisements"; + type empty; + } + leaf broadcast { + description "Include IP address only in broadcast advertisements"; + type empty; + } + leaf multicast { + description "Include IP address only in multicast advertisements"; + type empty; + } + leaf ineligible { + description "IP address can never become a default router"; + type empty; + } + leaf priority { + description "Preference of the address to become a default router"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-rsvp { + description "RSVP options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP"; + type empty; + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP graceful restart capability"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf maximum-helper-restart-time { + description "Maximum wait time from down event to neighbor dead"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf maximum-helper-recovery-time { + description "Maximum time restarting neighbor states are kept"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container tunnel-services { + presence "enable tunnel-services"; + description "Use tunnel services for P2MP LSP ultimate-hop popping"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for P2MP LSPs"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf no-p2mp-sublsp { + description "Disable P2MP sub-LSP object generation"; + type empty; + } + leaf no-node-id-subobject { + description "Do not include the node-id sub-object in the RRO"; + type empty; + } + leaf no-interface-hello { + description "Disble interface Hellos on all RSVP interfaces"; + type empty; + } + container pop-and-forward { + description "RSVP pop-and-forward specific global parameters"; + uses apply-advanced; + container application-label { + description "Number of application labels under the RSVP transport"; + uses apply-advanced; + leaf depth { + description "Application label depth"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + } + } + leaf hello-acknowledgements { + description "Acknowledge Hellos on RSVP interfaces not having sessions"; + type empty; + } + leaf no-hello-acknowledgements { + description "Do not ack Hellos on RSVP interfaces not having sessions"; + type empty; + } + container node-hello { + presence "enable node-hello"; + description "Enable node-ID based Hellos on all RSVP interfaces"; + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + leaf no-node-hello { + description "Disable node-ID based Hellos on the router"; + type empty; + } + leaf allow-bidirectional { + description "Enable bidirectional support in RSVP"; + status deprecated; + type empty; + } + leaf local-reversion { + description "Enable local reversion at this Point of Local Repair"; + type empty; + } + leaf no-local-reversion { + description "Disable local reversion at this Point of Local Repair"; + type empty; + } + container fast-reroute { + description "One-to-one fast-reroute protection mechanism"; + uses apply-advanced; + leaf optimize-timer { + description "Frequency of reoptimization for fast-reroute detour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + container load-balance { + description "Per-packet load-balancing algorithm"; + uses apply-advanced; + leaf bandwidth { + description "Per-packet load balancing proportional to LSP bandwidth"; + type empty; + } + } + container traceoptions { + description "Trace options for RSVP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP trigger packets"; + } + enum "path" { + description "Trace RSVP trigger path messages"; + } + enum "resv" { + description "Trace RSVP trigger Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Refresh time in seconds"; + default "1200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keep-multiplier { + description "Keep multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf graceful-deletion-timeout { + description "Time to complete graceful deletion signaling"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf setup-protection { + description "Enable setup protection"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute CSPF paths spanning protocols for bypass LSP, detour LSP and loose hop expansion"; + type empty; + } + container preemption { + description "Set RSVP session preemption attributes"; + uses apply-advanced; + choice preemption-type { + case case_1 { + leaf disabled { + description "No RSVP session preemption"; + type empty; + } + } + case case_2 { + leaf normal { + description "Run RSVP session preemption to accommodate new sessions"; + type empty; + } + } + case case_3 { + leaf aggressive { + description "Run RSVP session preemption whenever necessary"; + type empty; + } + } + } + container soft-preemption { + description "Options for establishing new path before tearing down a preempted LSP"; + uses apply-advanced; + leaf cleanup-timer { + description "Time a soft-preempted LSP will be maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 180"; + } + } + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + leaf no-authentication-check { + description "Skip authentication check for received messages"; + type empty; + } + container associated-bidirectional-lsp { + description "Set associated bidirectional LSP attributes"; + uses apply-advanced; + leaf single-sided-provisioning { + description "Enable unidirectional reverse LSP setup for single sided provisioned forward LSP"; + type empty; + } + } + leaf no-enhanced-frr-bypass { + description "Disable enhanced facility backup FRR"; + type empty; + } + list interface { + key name; + ordered-by user; + description "RSVP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container subscription { + description "Link bandwidth percentage for RSVP reservation"; + uses subscription-type; + } + leaf bandwidth { + description "Available bandwidth for the interface units bps"; + type string; + } + leaf update-threshold { + description "Percentage change in reserved bandwidth to trigger IGP update"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + container update-threshold-max-reservable { + description "Change in non-rsvp bandwidth to trigger IGP update "; + uses apply-advanced; + leaf bandwidth { + description "Change in non-rsvp bandwidth to trigger IGP update units bps"; + type string; + } + leaf percent { + description "Percentage change in max-reservable bandwidth to trigger IGP update"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container link-protection { + presence "enable link-protection"; + description "Protect traffic with a label-stacked LSP"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link protection on this interface"; + type empty; + } + } + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf max-bypasses { + description "Max number of bypasses permitted for protecting this interface"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + leaf subscription { + description "Percent of bandwidth guaranteed when admitting protected LSPs into bypasses"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-node-protection { + description "Disallow node protection on this interface"; + type empty; + } + leaf optimize-timer { + description "Interval between bypass reoptimizations"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + container priority { + presence "enable priority"; + description "Preemption priorities for the bypass LSP"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + list bypass { + key name; + ordered-by user; + description "Bypass with specific constraints"; + leaf name { + description "Name of bypass"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf description { + description "Text description of bypass"; + type string { + length "1 .. 80"; + } + } + container priority { + presence "enable priority"; + description "Preemption priorities for bypass"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this control peer"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container dynamic-bidirectional-transport { + presence "enable dynamic-bidirectional-transport"; + description "Enable dynamic setup of bidirectional packet LSP for transporting non-packet GMPLS LSP"; + uses apply-advanced; + leaf template { + description "Template for the dynamic bidirectional packet LSP"; + type string { + } + } + } + } + list lsp-set { + key name; + ordered-by user; + description "Configuration for lsp set"; + leaf name { + description "Name of lsp set"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this lsp set"; + type empty; + } + } + } + container match-criteria { + description "Match criteria for this lsp set"; + uses lsp-set-match-type; + } + container traceoptions { + description "Trace options for this lsp set"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP packets"; + } + enum "path" { + description "Trace RSVP path messages"; + } + enum "resv" { + description "Trace RSVP Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + grouping juniper-protocols-stp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable STP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + leaf extended-system-id { + description "Extended system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 4095"; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + } + grouping juniper-protocols-vni-options { + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-vstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable VSTP"; + type empty; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + list vlan { + key name; + description "VLAN spanning tree options"; + leaf name { + description "VLAN id or all"; + type string; + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + container vlan-group { + presence "enable vlan-group"; + description "Spanning tree options for group of VLANs"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name if VLAN group"; + leaf name { + description "VLAN group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + } + } + grouping juniper-routing-instance { + description "Routing instance"; + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of routing instance"; + type string { + } + } + leaf vlan-model { + description "Subscriber vlan-model in L2Wholesale framework"; + type enumeration { + enum "one-to-one" { + description "Customer VLAN model (1:1)"; + } + } + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf-list remote-vtep-v6-list { + description "Configurate static ipv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + leaf instance-role { + description "Primary role of L2Backhaul-vpn router"; + type enumeration { + enum "access" { + description "Role of Access/Aggregation router"; + } + enum "nni" { + description "Role of Provider network interfacing router"; + } + } + } + leaf instance-type { + description "Type of routing instance"; + type enumeration { + enum "forwarding" { + description "Forwarding instance"; + } + enum "vrf" { + description "Virtual routing forwarding instance"; + } + enum "no-forwarding" { + description "Nonforwarding instance"; + } + enum "l2vpn" { + description "Layer 2 VPN routing instance"; + } + enum "vpls" { + description "VPLS routing instance"; + } + enum "virtual-switch" { + description "Virtual switch routing instance"; + } + enum "l2backhaul-vpn" { + description "L2Backhaul/L2Wholesale routing instance"; + } + enum "virtual-router" { + description "Virtual routing instance"; + } + enum "layer2-control" { + description "Layer 2 control protocols"; + } + enum "mpls-internet-multicast" { + description "Internet Multicast over MPLS routing instance"; + } + enum "evpn" { + description "EVPN routing instance"; + } + enum "mpls-forwarding" { + description "Routing instance provides a MPLS forwarding-context"; + } + enum "evpn-vpws" { + description "EVPN VPWS routing instance"; + } + } + } + choice vrf-propagate-ttl-or-no-vrf-propagate-ttl { + case case_1 { + leaf no-vrf-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + case case_2 { + leaf vrf-propagate-ttl { + description "Enable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + } + container egress-protection { + description "Egress instance protection"; + uses apply-advanced; + leaf protector { + description "Enable Edge Protector functionality for this VPN"; + type empty; + } + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + container system { + description "System parameters"; + uses apply-advanced; + container services { + description "System services"; + uses apply-advanced; + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + } + } + container access { + description "Network access configuration"; + uses apply-advanced; + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + } + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + list interface { + key name; + description "Interface name for this routing instance"; + leaf name { + type string; + } + uses apply-advanced; + choice mode { + case case_1 { + leaf any { + description "Interface used for both unicast and multicast traffic"; + type empty; + } + } + case case_2 { + leaf unicast { + description "Interface used for unicast traffic only"; + type empty; + } + } + case case_3 { + leaf multicast { + description "Interface used for multicast traffic only"; + type empty; + } + } + } + leaf primary { + description "Preferred multicast vt interface for the routing-instance"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this routing-instance"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf multicast-v6-group { + description "Multicast IPv6 group registered for VXLAN segment"; + type jt:ipv6addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf qualified-bum-pruning-mode { + description "Enable BUM pruning for VPLS instance"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + container l2vpn-id { + description "Layer-2 vpn-id for this instance"; + uses apply-advanced; + leaf community { + description "L2VPN ID community for FEC129 VPLS/VPWS with BGP auto-discovery"; + type string { + } + } + } + container provider-tunnel { + description "Provider tunnel configuration"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SSM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + } + container inter-region { + description "Inter-region segmented tunnels"; + uses apply-advanced; + choice segmented-or-not { + case case_1 { + leaf template { + description "Use inter-region segmentation template"; + type string; + } + } + case case_2 { + leaf no-inter-region-segmentation { + description "Do not participate in inter-region segmentation"; + type empty; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + container selective { + description "Selective tunnels"; + uses apply-advanced; + leaf tunnel-limit { + description "Maximum number of selective tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf leaf-tunnel-limit-inet { + description "Maximum number of selective leaf tunnels for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf leaf-tunnel-limit-inet6 { + description "Maximum number of selective leaf tunnels for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container wildcard-group-inet { + description "IPv4 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + container wildcard-group-inet6 { + description "IPv6 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + case case_4 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + } + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + } + container mdt { + description "Data MDT tunnels for PIM MVPN"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container family { + presence "enable family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv4 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + container inet6 { + presence "enable inet6"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv6 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + leaf auto { + description "Auto derive import and export target community from BGP AS & L2"; + type empty; + } + } + leaf no-vrf-advertise { + description "Don't advertise this instance to remote PEs"; + type empty; + } + leaf connector-id-advertise { + description "Advertise connector-id attribute"; + type empty; + } + container vrf-advertise-selective { + presence "enable vrf-advertise-selective"; + description "Override no-vrf-advertise knob for the specified address family"; + uses apply-advanced; + container family { + description "Protocol family to be selectively advertised"; + uses apply-advanced; + leaf inet-mvpn { + description "IPv4 MVPN Address Family"; + type empty; + } + leaf inet6-mvpn { + description "IPv6 MVPN Address Family"; + type empty; + } + } + } + container vrf-table-label { + presence "enable vrf-table-label"; + description "Advertise a single VPN label for all routes in the VRF"; + leaf static { + description "Specify label value to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf source-class-usage { + description "Enable source class usage"; + type empty; + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container igmp-snooping-options { + description "IGMP snooping option configuration"; + uses juniper-igmp-snooping-options; + } + container mld-snooping-options { + description "MLD snooping option configuration"; + uses juniper-mld-snooping-options; + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container mpls { + description "MPLS configuration"; + uses juniper-protocols-mpls; + } + container rsvp { + description "RSVP configuration"; + uses juniper-protocols-rsvp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPF3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container isis { + description "IS-IS configuration"; + uses juniper-protocols-isis; + } + container esis { + description "ES-IS configuration"; + uses juniper-protocols-esis; + } + container l2vpn { + description "Layer 2 VPN configuration"; + uses juniper-protocols-l2vpn; + } + container vpls { + description "VPLS configuration"; + presence "enable vpls"; + uses juniper-protocols-l2vpn; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container amt { + description "AMT relay configuration"; + uses juniper-protocols-amt; + } + container ldp { + description "LDP configuration"; + uses juniper-protocols-ldp; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container mvpn { + description "BGP-MVPN configuration"; + presence "enable mvpn"; + uses juniper-protocols-mvpn; + } + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-ri-protocols-mld-snooping; + } + container pim-snooping { + description "PIM snooping configuration"; + presence "enable pim-snooping"; + uses juniper-protocols-pim-snooping; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container rstp { + description "RSTP configuration"; + uses juniper-protocols-stp; + } + container mstp { + description "MSTP configuration"; + uses juniper-protocols-mstp; + } + container vstp { + description "VSTP configuration"; + uses juniper-protocols-vstp; + } + } + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + container switch-options { + description "L2 options for routing-instance of type virtual-switch"; + uses juniper-routing-instance-switch-options; + } + container pbb-options { + description "Provider backbone bridging options for routing-instance"; + uses juniper-routing-instance-pbb-options; + } + list service-groups { + key name; + description "Service group configuration for routing-instance"; + uses juniper-routing-instance-service-groups; + } + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping juniper-forwarding-options { + uses apply-advanced; + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + choice sampling-or-packet-capture { + case case_1 { + container sampling { + description "Statistical traffic sampling options"; + uses juniper-sampling-options; + } + } + case case_2 { + container packet-capture { + description "Packet capture options"; + uses juniper-packet-capture-options; + } + } + } + list accounting { + key name; + description "Configure accounting of traffic"; + uses juniper-packet-accounting-options; + } + container port-mirroring { + description "Configure port mirroring of traffic"; + uses juniper-port-mirror-options; + } + container load-balance { + description "Configure load-balancing attributes on the forwarding path"; + uses apply-advanced; + container indexed-load-balance { + presence "enable indexed-load-balance"; + description "Use indexed permuted next hop lists for unilist and aggregate next hops"; + uses apply-advanced; + } + container per-flow { + uses apply-advanced; + } + container per-prefix { + presence "enable per-prefix"; + uses apply-advanced; + leaf hash-seed { + description "Specifies per-router input value for per-prefix load-balancing hash function"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + } + } + container hash-key { + description "Select data used in the hash key"; + uses junos_hash_key; + } + container enhanced-hash-key { + description "Select data used in the hash key for Enhanced IP Forwarding Engines"; + uses apply-advanced; + container hash-seed { + presence "enable hash-seed"; + description "Hash seed"; + uses apply-advanced; + } + container services-loadbalancing { + description "Select key to load balance across service PICs"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf src-prefix-len { + description "Enhanced hash key inet6 source prefix length"; + default "127"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "56 .. 127"; + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf type-of-service { + description "Include TOS byte in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf l2tp-tunnel-session-identifier { + description "Include TID SID in the hash key for L2TP packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class byte in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + leaf label-1-exp { + description "Include EXP of first MPLS label from the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + choice pseudowire_option { + case case_1 { + leaf no-ether-pseudowire { + description "Omit IP payload over ethernet PW from the hash-key"; + type empty; + } + } + case case_2 { + } + } + leaf no-payload { + description "Omit MPLS payload data from the hash key"; + type empty; + } + } + container multiservice { + description "Multiservice protocol (bridged/CCC/VPLS) family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in hash key"; + type empty; + } + leaf outer-priority { + description "Include Outer 802.1 Priority bits in the hash key"; + type empty; + } + leaf no-payload { + description "Omit payload data from the hash key"; + type empty; + } + leaf no-mac-addresses { + description "Omit source and destination MAC addresses from the hash key"; + type empty; + } + } + } + } + container next-hop { + description "Next hop throttle"; + uses apply-advanced; + leaf arp-throttle { + description "Change the arp throttling time(seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 100"; + } + } + } + leaf arp-detect { + description "Change the arp throttling detect time(milliseconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100000"; + } + } + } + } + container multicast { + description "Multicast resolve and mismatch rate"; + uses apply-advanced; + leaf resolve-rate { + description "Multicast resolve rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf mismatch-rate { + description "Multicast interface mismatch rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + } + container explicit-null-cos { + presence "enable explicit-null-cos"; + description "Configure to use MPLS explicit null exp for COS classification"; + uses apply-advanced; + leaf inet { + description "Include family inet"; + type empty; + } + leaf inet6 { + description "Include family inet6"; + type empty; + } + } + container helpers { + description "Port forwarding configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of UDP forwarding helper process on which to enable debugging output"; + leaf name { + type enumeration { + enum "trace" { + description "Trace tracing code"; + } + enum "address" { + description "Trace address management code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "util" { + description "Trace miscellaneous utility code"; + } + enum "gencfg" { + description "Trace fud gencfg message"; + } + enum "domain" { + description "Trace DNS service-specific code"; + } + enum "tftp" { + description "Trace TFTP service-specific code"; + } + enum "bootp" { + description "Trace BOOTP/DHCP service-specific code"; + } + enum "port" { + description "Trace arbitrary protocol code"; + } + enum "if-rtsdb" { + description "Trace interface hierarchy rtsdb"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + container rtsdb-client-traceoptions { + presence "enable rtsdb-client-traceoptions"; + description "SHM rtsock database client library trace options"; + status deprecated; + uses apply-advanced; + container if-rtsdb { + presence "enable if-rtsdb"; + description "Trace interface hierarchy rtsdb"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "map" { + description "Trace shared memory mapping"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container domain { + description "Incoming DNS request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming DNS request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container tftp { + description "Incoming TFTP request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming TFTP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container bootp { + description "Incoming BOOTP/DHCP request forwarding configuration"; + uses apply-advanced; + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vpn { + description "Enable vpn encryption "; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on all interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Incoming BOOTP/DHCP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vpn { + description "Enable vpn encryption "; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on this interface"; + type empty; + } + } + } + list port { + key name; + ordered-by user; + description "Incoming arbitrary protocol request forwarding configuration"; + leaf name { + description "Port number of the protocol to listen"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container inet6 { + description "IPv6 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + leaf source-checking { + description "Discard IPv6 packet when source address type is unspecified, loopback, multicast or link-local "; + type empty; + } + } + container mpls { + description "MPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container vpls { + description "VPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for VPLS DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for VPLS flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for VPLS flood packets"; + type string; + } + } + } + container evpn { + description "EVPN parameters"; + uses apply-advanced; + container filter { + description "Filtering for EVPN DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for EVPN flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for EVPN flood packets"; + type string; + } + } + } + } + list next-hop-group { + key name; + description "Next hop group forwarding option"; + uses juniper-next-hop-group-options; + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + choice load-balance-label-capability-choice { + leaf load-balance-label-capability { + description "Load balance label capability"; + type empty; + } + leaf no-load-balance-label-capability { + description "Don't load balance label capability"; + type empty; + } + } + list ip-options-protocol-queue { + key name; + ordered-by user; + description "IP Options protocol logical queue parameters"; + leaf name { + description "Protocol name"; + type string; + } + uses apply-advanced; + leaf protocol-id { + description "Protocol Identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + leaf queue-depth { + description "Size of the protocol logical options queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 807"; + } + } + } + } + container access-security { + description "Access security configuration"; + uses jdhcp-access-security-type; + } + } + grouping jdhcp-access-security-type { + description "Access security configuration"; + uses apply-advanced; + container router-advertisement-guard { + presence "enable router-advertisement-guard"; + description "Router Advertisement Guard Configuration"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Router Advertisement Guard policy"; + leaf name { + description "Router Advertisement Guard policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container discard { + description "Discard parameters"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + } + container accept { + description "Accept parameters"; + uses apply-advanced; + container match-list { + description "List of parameters to check"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + leaf match-criteria { + description "Match Criteria"; + type enumeration { + enum "match-all" { + description "A match from every list"; + } + enum "match-any" { + description "A match from any list"; + } + } + } + } + container match-options { + presence "enable match-options"; + description "List of Options to check"; + uses apply-advanced; + container hop-limit { + description "Hop limit"; + uses apply-advanced; + leaf maximum { + description "Maximum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf minimum { + description "Minimum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container route-preference { + description "Accept route preference"; + uses apply-advanced; + leaf maximum { + description "Maximum route preference"; + type enumeration { + enum "low" { + description "Route preference low"; + } + enum "medium" { + description "Route preference medium"; + } + enum "high" { + description "Route preference high"; + } + } + } + } + leaf managed-config-flag { + description "Check Managed config flag"; + type empty; + } + leaf other-config-flag { + description "Check Other config flag"; + type empty; + } + } + } + } + container interface { + description "RA Guard config on Interface"; + uses apply-advanced; + list intf-config { + key name; + description "Interface Configuration"; + uses interface-policy; + } + } + container vlans { + description "RA Guard config on Vlan"; + uses apply-advanced; + list vlan-config { + key name; + description "Virtual LAN Configuration"; + uses vlan-policy; + } + } + } + } + grouping interface-policy { + description "Interface Name"; + leaf name { + description "Interface Name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + container mark-interface { + description "Mark interface"; + uses apply-advanced; + choice mark-intf-type { + case case_1 { + leaf trusted { + description "Mark interface trusted"; + type empty; + } + } + case case_2 { + leaf block { + description "Block router-advertisement"; + type empty; + } + } + } + } + } + grouping juniper-igmp-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-mld-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-next-hop-group-options { + leaf name { + description "Next hop group name"; + type string; + } + uses apply-advanced; + leaf group-type { + description "Next hop group type"; + default "inet"; + type enumeration { + enum "inet" { + description "Group of family inet next-hops"; + } + enum "layer-2" { + description "Layer-2 next-hop group"; + } + enum "inet6" { + description "Group of family inet6 next-hops"; + } + } + } + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses next_hop_group_intf_type; + } + list next-hop-subgroup { + key name; + description "Group of interfaces through which to send sampled traffic"; + uses juniper-next-hop-subgroup-options; + } + } + grouping juniper-next-hop-subgroup-options { + leaf name { + description "Next-hop sub-group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "Interface through which to send the sampled traffic"; + max-elements 16; + uses next_hop_subgroup_intf_type; + } + } + grouping juniper-packet-accounting-options { + leaf name { + description "Name for accounting group"; + type string; + } + uses apply-advanced; + container output { + description "Accounting data disposition"; + uses packet_accounting_output_type; + } + } + grouping juniper-packet-capture-options { + description "Packet capture options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable packet-capture"; + type empty; + } + } + } + container file { + description "Parameters for file that contains captured packets"; + leaf filename { + description "Name of file"; + type string { + length "1 .. 900"; + } + } + leaf files { + description "Maximum number of files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read packet-capture files"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read packet-capture files"; + type empty; + } + } + } + leaf maximum-capture-size { + description "Maximum packet size to capture"; + default "68"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "68 .. 1520"; + } + } + } + } + grouping juniper-port-mirror-options { + uses apply-advanced; + container traceoptions { + description "Port-mirroring trace options"; + uses sampling_traceoptions_type; + } + leaf disable { + description "Disable the global port-mirroring instance"; + type empty; + } + leaf disable-all-instances { + description "Disable the all port-mirroring instances"; + type empty; + } + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container any { + description "Mirror any packets"; + uses apply-advanced; + container output { + description "One or more next hops for port-mirrored packets"; + uses any_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of port-mirroring parameters"; + leaf name { + description "Name for port-mirroring instance"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf disable { + description "Disable the this port-mirroring instance"; + type empty; + } + choice input_params_or_instance { + case case_1 { + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + } + case case_2 { + leaf input-parameters-instance { + description "Name of port-mirroring instance to use for input parameters"; + type string; + } + } + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container any { + description "Mirror any packets"; + uses apply-advanced; + container output { + description "One or more next hops for port-mirrored packets"; + uses any_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + } + } + grouping any_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses any_pm_intf_type; + } + } + case case_2 { + } + } + container hosted-service { + description "Configure Hosted Service"; + uses apply-advanced; + leaf server-profile { + description "Server profile name"; + type string { + length "3 .. 32"; + } + } + } + } + grouping any_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping inet_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv4addr; + } + uses apply-advanced; + } + grouping inet_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + grouping inet_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping juniper-protocols-l2vpn { + description "Layer 2 VPN, VPLS or EVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + choice cword { + case case_1 { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control word on the Layer 2 encapsulation"; + type empty; + } + } + } + leaf site-range { + description "Maximum site identifier in this VPLS domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf bum-hashing { + description "Enable BUM hashing feature in the instance"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf label-block-size { + description "Label block size for this VPLS instance"; + type enumeration { + enum "2" { + description "Label block size of 2"; + } + enum "4" { + description "Label block size of 4"; + } + enum "8" { + description "Label block size of 8"; + } + enum "16" { + description "Label block size of 16"; + } + } + } + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + choice tunnel-services-choice { + case case_1 { + container tunnel-services { + description "Use tunnel services for this VPLS instance"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for this VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf primary { + description "Primary tunnel services device to use for VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + leaf no-tunnel-services { + description "Do not use tunnel services for this VPLS instance"; + type empty; + } + } + } + list site { + key name; + ordered-by user; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + choice site-identifier-mode { + case case_1 { + leaf site-identifier { + description "Layer 2 VPN or VPLS site identifier (unique in the VPN)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + case case_2 { + container automatic-site-id { + presence "enable automatic-site-id"; + description "Enable automatic assignment of site identifier"; + uses apply-advanced; + leaf startup-wait-time { + description "Time to wait at startup before claming a site identifier (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf new-site-wait-time { + description "Time to wait before claiming a site identifier"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf collision-detect-time { + description "Time to wait for detecting a collision"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container reclaim-wait-time { + presence "enable reclaim-wait-time"; + description "Time to wait for reclaiming a site identifier"; + leaf minimum { + description "Minimum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum { + description "Maximum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + leaf source-attachment-identifier { + description "FEC 129 VPWS source attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this site"; + type string; + } + container multi-homing { + presence "enable multi-homing"; + description "Enable multi-homing functionality for this site"; + uses apply-advanced; + leaf hold-time { + description "Enable multi-homing non-designated forwarder hold time (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf site-preference { + description "Layer 2 VPN or VPLS site preference"; + type string; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + list mesh-group { + key name; + ordered-by user; + description "Mesh-groups that are part of this site"; + leaf name { + description "Mesh-group name"; + type string; + } + uses apply-advanced; + } + container active-interface { + description "Configure interface to designate as active"; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf best-site { + description "Activates best-site functionality for this instance"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + leaf community { + description "Community associated with this VPLS instance"; + type string; + } + leaf vpls-id { + description "Identifier for this VPLS instance"; + type string; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor for this VPLS instance"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + list mesh-group { + key name; + description "Mesh-group under this VPLS instance"; + leaf name { + description "Mesh-group name"; + type string { + } + } + uses apply-advanced; + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + choice peer-as-choice { + case case_1 { + container peer-as { + description "Autonomous system of the peer"; + uses apply-advanced; + leaf all { + description "Include peers from all autonomous systems"; + type empty; + } + } + } + } + leaf vpls-id { + description "LDP VPLS Identifier for this mesh-group"; + type string; + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf local-switching { + description "Allow local-switching within interfaces in this mesh-group"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor belonging to this mesh-group"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + leaf-list vpls-id-list { + ordered-by user; + description "LDP VPLS Identifier list for this neighbor"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + list interface { + key name; + description "Interfaces belonging to this flood group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container route-distinguisher { + description "Route distinguisher for this mesh-group"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + } + leaf connectivity-type { + description "Specify type of interface sufficient to bring vpls connection up"; + type enumeration { + enum "ce" { + description "CE interface is required"; + } + enum "irb" { + description "IRB interface is sufficient"; + } + enum "permanent" { + description "Pseudowire permanently up"; + } + } + } + list import-labeled-routes { + key name; + ordered-by user; + description "Import ingress label route to instance.mpls.0 from mpls.0"; + leaf name { + description "Routing instance name where label route has to be imported"; + type string; + } + } + container multi-homing { + description "Multi-homing configuration for FEC129 VPLS"; + uses apply-advanced; + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + list site { + key name; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + leaf identifier { + description "Layer 2 VPN or VPLS multi-homing identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference"; + type string; + } + container active-interface { + description "Configure interface to designate as active"; + uses apply-advanced; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connects this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference for the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + } + } + container evi-options { + description "EVI options"; + uses juniper-protocols-evi-options; + } + leaf p2mp-bud-support { + description "Enable EVPN to act as P2MP transit and egress PE (bud)"; + type empty; + } + leaf pbb-evpn-core { + description "Configure PBB EVPN core"; + type empty; + } + leaf label-allocation { + description "Label allocation policy"; + type enumeration { + enum "per-instance" { + description "Allocate one label for the entire instance"; + } + } + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf evpn-etree { + description "Evpn etree mode"; + type empty; + } + leaf igmp-id { + description "EVPN IGMP Identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf designated-forwarder-preference-least { + description "Use least preference in DF election"; + type empty; + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + choice extended-attributes { + case case_1 { + leaf-list extended-vlan-list { + description "List of VLAN identifiers that are to be EVPN extended"; + type jt:vlan-range; + } + } + case case_2 { + leaf-list extended-vni-list { + description "List of VNI identifiers (1..16777214) or all, that are to be EVPN extended"; + type string; + } + } + case case_3 { + leaf-list extended-isid-list { + description "Configure list of isids or all for extending to PBB EVPN"; + type string; + } + } + } + container vni-options { + description "VNI options"; + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + container ip-prefix-routes { + presence "enable ip-prefix-routes"; + description "Advertise IP prefixes through EVPN"; + uses apply-advanced; + leaf advertise { + description "Advertisement attributes for IP prefixes"; + type enumeration { + enum "gateway-address" { + description "Advertise a gateway address in exported IP prefix routes"; + } + enum "direct-nexthop" { + description "Advertise a direct nexthop in exported IP prefix routes"; + } + } + } + leaf gateway-interface { + description "Gateway interface used when gateway address is advertised"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf encapsulation { + description "Encapsulation used for IP prefixes"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf vni { + description "VXLAN network identifier used for IP prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777214"; + } + } + } + leaf-list import { + ordered-by user; + description "Policy to control import of IP prefixes from EVPN"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Policy to control export of IP prefixes through EVPN"; + type jt:policy-algebra; + } + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + } + leaf default-gateway { + description "Default gateway mode"; + type enumeration { + enum "advertise" { + description "Advertise IRB MACs with default gateway community"; + } + enum "no-gateway-community" { + description "Advertise IRB MACs without default gateway community"; + } + enum "do-not-advertise" { + description "Do not advertise IRB MACs"; + } + } + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + container duplicate-mac-detection { + description "Duplicate MAC detection settings"; + uses apply-advanced; + leaf detection-threshold { + description "Number of moves to trigger duplicate MAC detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + leaf detection-window { + description "Time window for detection of duplicate MACs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + leaf auto-recovery-time { + description "Automatically unblock duplicate MACs after a time delay"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 360"; + } + } + } + } + choice flexible-cross-connect-type { + case case_1 { + leaf flexible-cross-connect-vlan-aware { + description "Enable EVPN flexible cross-connect VLAN aware Service"; + type empty; + } + } + case case_2 { + leaf flexible-cross-connect-vlan-unaware { + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + type empty; + } + } + } + leaf auto-service-id { + description "Enable auto-derivation of VPWS service instance identifier"; + type empty; + } + leaf hot-standby-on { + description "Activate evpn vpws upon becoming DF"; + type empty; + } + list group { + key name; + ordered-by user; + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + leaf name { + description "Group name to group vlan unaware cross connects"; + type string; + } + uses apply-advanced; + container esi { + presence "enable esi"; + description "ESI configuration to group vlan unaware cross connects"; + uses apply-advanced; + leaf identifier { + description "ESI value for grouping of vlan unaware cross connects"; + type jt:esi; + } + } + list interface { + key name; + ordered-by user; + description "Name of the interface part of vlan unaware fxc"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container service-id { + presence "enable service-id"; + description "Service-id for vlan unaware cross connects for EVPN VPWS"; + uses apply-advanced; + leaf local { + description "Local service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + } + } + grouping juniper-protocols-evi-options { + uses apply-advanced; + list isid { + key name; + description "Per-evi options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "256 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-pim-snooping { + description "PIM snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PIM Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "join" { + description "Trace join messages"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM designated router port"; + type empty; + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan_id of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM DR port"; + type empty; + } + } + } + grouping juniper-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-routing-instance-pbb-options { + description "PBB options for the routing instance"; + uses apply-advanced; + leaf peer-instance { + description "Set the peer-pbbn routing instance"; + type string; + } + list vlan-id { + key name; + ordered-by user; + description "Set B-VLAN to ISID mapping"; + leaf name { + description "Configure B-Vlan"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Configure ISID(Valid Range:256..16777214) for the B-VLAN"; + type string; + } + } + leaf default-bvlan { + description "Default B-VLAN for all un-mapped ISIDs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + grouping juniper-routing-instance-service-groups { + description "Service-groups configuration"; + leaf name { + description "Service-group name"; + type string; + } + uses apply-advanced; + leaf service-type { + description "Service type as ethernet LAN or point-to-point"; + type enumeration { + enum "eline" { + description "Ethernet point-to-point"; + } + enum "elan" { + description "Ethernet LAN service"; + } + } + } + container pbb-service-options { + presence "enable pbb-service-options"; + description "Provider backbone instance service options"; + uses apply-advanced; + list isid { + key name; + ordered-by user; + description "ISID to S-VLAN configuration"; + leaf name { + description "Configure ISID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16777214"; + } + } + } + choice service-data { + case case_1 { + leaf-list vlan-id-list { + description "List of S-VLANs"; + type jt:vlan-range; + } + } + case case_2 { + leaf interface { + description "Point to point interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf default-isid { + description "Default ISID for all un-mapped S-VLANs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16777214"; + } + } + } + leaf mac-address { + description "Unicast or multicast mac address"; + type jt:mac-addr; + } + leaf source-bmac { + description "Unicast Source B Mac address"; + type jt:mac-addr; + } + } + } + grouping juniper-routing-instance-switch-options { + description "Bridge options for the routing instance"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Layer 2 trace options for this routing instance"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-routing-options { + uses apply-advanced; + leaf no-soft-core { + description "Disable soft assert to generate core and just log the event"; + type empty; + } + leaf med-igp-update-interval { + description "Delay (in minutes) in updating MED IGP for bgp groups with 'delay-med-update' "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container bmp { + presence "enable bmp"; + description "BGP Monitoring Protocol (BMP) configuration"; + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list station { + key name; + description "Define a BMP station"; + leaf name { + description "Station name"; + type string; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container ppm { + presence "enable ppm"; + description "Set periodic packet management properties"; + uses apply-advanced; + leaf delegate-processing { + description "Enable distribution of PPM sessions"; + status deprecated; + type empty; + } + leaf no-delegate-processing { + description "Disable PPM sessions distribution"; + type empty; + } + leaf redistribution-timer { + description "Time to wait after switchover before starting timers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 120"; + } + } + } + } + leaf no-bfd-triggered-local-repair { + description "Disable bfd triggered local repair"; + type empty; + } + container source-routing { + description "Source-routing options"; + uses apply-advanced; + leaf ip { + description "Enable IP Source Routing"; + type empty; + } + leaf ipv6 { + description "Enable Type 0 RouteHeader processing"; + type empty; + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Auto bandwidth"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Auto bandwidth template"; + leaf name { + description "Auto bandwidth template name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf adjust-interval { + description "Adjust interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + leaf adjust-threshold { + description "Percentage threshhold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf statistic-collection-interval { + description "Collection interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 300"; + } + } + } + leaf auto-bandwidth-subscription { + description "Percentage threshhold for subscription"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 200"; + } + } + } + } + container traceoptions { + description "Trace options for sr stats"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace All"; + } + enum "timer" { + description "Trace traffic recv by periodic timer"; + } + enum "state" { + description "Trace state of sensor"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + list srlg { + key name; + ordered-by user; + description "SRLG configuration"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf srlg-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf srlg-cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container admin-groups-extended-range { + description "Extended administrative groups range"; + uses apply-advanced; + leaf minimum { + description "Minimum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + leaf maximum { + description "Maximum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + list admin-groups-extended { + key name; + ordered-by user; + description "Extended administrative groups"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf group-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + container source-packet-routing { + description "Source packet routing (SPRING)"; + uses apply-advanced; + list mapping-server-entry { + key name; + ordered-by user; + description "Mapping server entry"; + leaf name { + description "Mapping server entry name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list prefix-segment { + key name; + ordered-by user; + description "Prefix segment"; + max-elements 64; + leaf name { + description "Prefix segment prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf index { + description "Prefix segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + list prefix-segment-range { + key name; + ordered-by user; + description "Prefix segment range"; + max-elements 64; + leaf name { + description "Prefix segment range name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-prefix { + description "Start prefix"; + type jt:ipprefix; + } + leaf start-index { + description "Start index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf size { + description "Size of prefix segment range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container options { + description "Miscellaneous options"; + uses apply-advanced; + leaf no-send { + description "Listen only; do not send protocol packets"; + status deprecated; + type empty; + } + leaf no-resolve { + description "Do not use DNS name resolution"; + status deprecated; + type empty; + } + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + container interface-routes { + description "Define routing table groups for interface routes"; + uses apply-advanced; + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + container export { + description "Control exportability of local routes"; + uses apply-advanced; + leaf point-to-point { + description "Make point-to-point routes exportable"; + type empty; + } + leaf lan { + description "Make LAN routes exportable"; + type empty; + } + } + } + } + leaf loopback-strict-disable { + description "Completely disable lo0 host prefix when in admin-down state"; + type empty; + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + leaf firewall-install-disable { + description "Disable installing flowspec firewall filters in dfwd "; + type empty; + } + leaf term-order { + description "Term evaluation order for flow routes"; + type enumeration { + enum "legacy" { + description "Legacy term order (default)"; + } + enum "standard" { + description "RFC compliant term order"; + } + } + } + } + list rib-groups { + key name; + ordered-by user; + description "Group of routing tables"; + uses rpd_rib_group_type; + } + leaf route-record { + description "Enable route recording"; + type empty; + } + leaf router-id { + description "Router identifier"; + type jt:ipv4addr; + } + leaf route-distinguisher-id { + description "Identifier used in route distinguishers for routing instances"; + type jt:ipv4addr; + } + container autonomous-system { + description "Autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf asdot-notation { + description "Use AS-Dot notation to display true 4 byte AS numbers"; + type empty; + } + container independent-domain { + presence "enable independent-domain"; + description "Independent autonomous-system domain from master instance"; + leaf no-attrset { + description "Do not tunnel ce bgp attributes across provider network"; + type empty; + } + } + } + container confederation { + description "Confederation autonomous system number"; + leaf confederation-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf-list members { + ordered-by user; + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Direct/Host route FRR protection"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf arp-prefix-limit { + description "Max ARP/Host FRR routes allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf supplementary-blackout-timer { + description "ARP plimit blackout timer = kernel ARP timeout + supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + } + } + container host-fast-reroute { + presence "enable host-fast-reroute"; + description "Host Fast Re-route global values. Applies to all host FRR profiles."; + uses apply-advanced; + leaf global-arp-prefix-limit { + description "Max ARP/Host FRR routes allowed per protected IFL"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf global-supplementary-blackout-timer { + description "ARP plimit global blackout timer = kernel ARP timeout + global-supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + leaf-list tracefilter { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table resolution options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list resolution-family { + ordered-by user; + description "Family of resultion tree"; + type string; + } + leaf-list resolution-ribs { + ordered-by user; + description "Routing tables to use for default routing table family resolution"; + type string; + } + leaf-list inet-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv4 family protocol-next-hop resolution"; + type string; + } + leaf-list inet6-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv6 family protocol-next-hop resolution"; + type string; + } + leaf-list iso-resolution-ribs { + ordered-by user; + description "Routing tables to use for iso family protocol-next-hop resolution"; + type string; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list inet-import { + ordered-by user; + description "Import policy for IPV4 family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6-import { + ordered-by user; + description "Import policy for IPV6 family resolution tree"; + type jt:policy-algebra; + } + leaf-list iso-import { + ordered-by user; + description "Import policy for ISO family resolution tree"; + type jt:policy-algebra; + } + leaf-list inetcolor-import { + ordered-by user; + description "Import policy for INETCOLOR family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6color-import { + ordered-by user; + description "Import policy for INET6COLOR family resolution tree"; + type jt:policy-algebra; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + leaf-list instance-import { + ordered-by user; + description "Import policy for instance RIBs"; + type jt:policy-algebra; + } + leaf-list instance-export { + ordered-by user; + description "Export policy for instance RIBs"; + type jt:policy-algebra; + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export"; + type empty; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container family { + container inet { + description "IPv4 parameters"; + uses export-af-obj; + } + container inet6 { + description "IPv6 parameters"; + uses export-af-obj; + } + container iso { + description "ISO parameters"; + uses export-af-obj; + } + } + } + container dynamic-tunnels { + description "Dynamic tunnel definitions"; + uses apply-advanced; + list tunnel-attributes { + key name; + ordered-by user; + description "Dynamic tunnel attributes definition"; + leaf name { + description "Dynamic Tunnel attribute name"; + type string { + } + } + uses apply-advanced; + leaf dynamic-tunnel-source-prefix { + description "Tunnel source address"; + type jt:ipaddr; + } + leaf dynamic-tunnel-type { + type enumeration { + enum "GRE" { + description "Tunnel type GRE"; + } + enum "V4oV6" { + description "Tunnel type is IPV4oIPV6"; + } + enum "UDP" { + description "Tunnel type UDP"; + } + enum "BGP-SIGNAL" { + description "Tunnel type BGP-SIGNAL"; + } + } + } + leaf dynamic-tunnel-mtu { + description "Dynamic Tunnel MTU value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "296 .. 9232"; + } + } + } + leaf dynamic-tunnel-anchor-pfe { + description "Dynamic Tunnel anchor PFE name of format pfe-x/y/z"; + type string { + } + } + leaf dynamic-tunnel-anti-spoof { + type enumeration { + enum "on" { + description "Enable antispoofing check. Default is enabled"; + } + enum "off" { + description "Disable antispoofing check"; + } + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "kernel" { + description "Trace kernel communication"; + } + enum "tunnel" { + description "Trace tunnel addition, change, or deletion"; + } + enum "task" { + description "Trace task or job processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf gre { + description "Enable dynamic gre tunnel mode"; + type enumeration { + enum "next-hop-based-tunnel" { + description "Enable nh base dynamic-tunnel"; + } + } + } + list dynamic-tunnel { + key name; + ordered-by user; + uses dynamic_tunnel_type; + } + } + container logical-system-mux { + description "Logical system control daemon information"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug-level lrmuxd activities"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container programmable-rpd { + description "RPD Server module management options"; + uses programmable-rpd-type; + } + container topologies { + description "Define routing topologies"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology information"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + } + } + } + container backup-selection { + presence "enable backup-selection"; + description "Backup selection options"; + uses apply-advanced; + list destination { + key name; + description "IP/IPv6 prefix for which backup selection policy is configured"; + leaf name { + description "IP/IPv6 address (and optional prefix length)"; + type jt:ipprefix-mandatory; + } + uses apply-advanced; + list interface { + key name; + description "Primary nexthop interface for which backup selection policy is configured"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container admin-group { + description "Administrative group policies for backup-selection"; + uses apply-advanced; + leaf-list exclude { + description "Do not use interface if any admin group available"; + type string; + } + leaf-list include-all { + description "Use interface if admin groups available entirely"; + type string; + } + leaf-list include-any { + description "Use interface if any admin group is available"; + type string; + } + leaf-list preference { + ordered-by user; + description "Administrative groups in descending preference order"; + type string; + } + } + leaf srlg { + description "Evaluate Shared Risk Link Group(SRLG) characteristics for backup selection"; + default "loose"; + type enumeration { + enum "loose" { + description "Loose SRLG"; + } + enum "strict" { + description "Strict SRLG"; + } + } + } + leaf protection-type { + description "Type of protection to be considered"; + type enumeration { + enum "link" { + description "Protect the primary interface from link faults only"; + } + enum "node" { + description "Protect the primary interface from node faults only"; + } + enum "node-link" { + description "Protect the primary interface from either link or node faults; prefer node protection"; + } + } + } + leaf downstream-paths-only { + description "Choose only the downstream nodes for backup"; + type empty; + } + leaf bandwidth-greater-equal-primary { + description "Use backup nexthop only if bandwidth is >= bandwidth of primary nexthop"; + type empty; + } + container backup-neighbor { + description "Backup Neighbor ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of backup neighbors to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of backup neighbors in descending order preference"; + type jt:ipv4addr; + } + } + container node { + description "Node ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of nodes to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of nodes in the descending order of preference"; + type jt:ipv4addr; + } + } + container node-tag { + description "Node tag policies"; + uses apply-advanced; + leaf-list exclude { + description "The set of node tags to be excluded"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list preference { + ordered-by user; + description "The set of node tags in the descending order of preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf root-metric { + description "Root metric"; + type enumeration { + enum "lowest" { + description "Choose lowest root metric"; + } + enum "highest" { + description "Choose highest root metric"; + } + } + } + leaf dest-metric { + description "Destination metric"; + type enumeration { + enum "lowest" { + description "Choose lowest destination metric"; + } + enum "highest" { + description "Choose highest destination metric"; + } + } + } + leaf-list metric-order { + ordered-by user; + description "Metric evaluation order"; + type enumeration { + enum "root" { + } + enum "dest" { + } + } + max-elements 2; + } + leaf-list evaluation-order { + ordered-by user; + description "Interface policy criteria evaluation order"; + type enumeration { + enum "admin-group" { + description "Administrative Group/Link Color"; + } + enum "srlg" { + description "SRLG"; + } + enum "bandwidth" { + description "Bandwidth"; + } + enum "protection-type" { + description "Type of protection"; + } + enum "backup-neighbor" { + description "Backup Neighbor"; + } + enum "node" { + description "Node"; + } + enum "node-tag" { + description "Node tag"; + } + enum "metric" { + description "Metric related parameters"; + } + } + } + } + } + } + container fate-sharing { + description "Fate-sharing links or nodes database"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group of objects sharing common characteristics"; + leaf name { + description "Name of object groups sharing the same fate"; + type string { + } + } + uses apply-advanced; + leaf cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf use-for-post-convergence-lfa { + description "Use this fate-sharing group as a constraint for post-convergence-lfa"; + type empty; + } + list from { + key name; + uses fate_sharing_links; + } + } + } + container validation { + description "Define Route validation"; + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list notification-rib { + ordered-by user; + description "Define routing tables that get notified upon validation state change"; + type string; + } + list group { + key name; + description "Define a group of sessions"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf max-sessions { + description "Maximum connected session in this group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 63"; + } + } + } + list session { + key name; + description "Configure a session"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Interval between keepalive packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf hold-time { + description "Time after which the session is declared down."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + leaf record-lifetime { + description "Lifetime of route validation records"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 604800"; + } + } + } + leaf preference { + description "Preference for session establishment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf port { + description "Portnumber to connect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf local-address { + type jt:ipaddr; + } + } + } + container static { + description "Define static route validation record"; + uses apply-advanced; + list record { + key name; + description "Static route validation record"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + list maximum-length { + key name; + ordered-by user; + leaf name { + description "Maximum prefix-length for route validation record"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + uses apply-advanced; + list origin-autonomous-system { + key name; + ordered-by user; + leaf name { + description "Legitimate Origin Autonomous System"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf validation-state { + description "Validation state for route validation record"; + type enumeration { + enum "invalid" { + description "Invalid route validation state"; + } + enum "valid" { + description "Valid route validation state"; + } + } + } + } + } + } + } + } + } + grouping dynamic_tunnel_type { + description "Dynamic tunnel definition"; + leaf name { + description "Tunnel name"; + type string { + } + } + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipaddr; + } + choice tunnel-type { + case case_1 { + list rsvp-te { + key name; + ordered-by user; + description "RSVP-TE point-to-point LSP"; + leaf name { + description "Configure multiple entries for RSVP tunnel"; + type string; + } + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + } + case case_2 { + leaf gre { + description "Generic routing encapsulation type for IPv4"; + type empty; + } + } + case case_3 { + leaf udp { + description "UDP encapsulation type for IPv4"; + type empty; + } + } + case case_4 { + leaf bgp-signal { + description "BGP signals the encapsulation type for IPv4"; + type empty; + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + grouping export-af-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export for address family"; + type empty; + } + } + } + container unicast { + description "Unicast routing information"; + presence "enable unicast"; + uses export-subaf-obj; + } + container multicast { + description "Multicast routing information"; + presence "enable multicast"; + uses export-subaf-obj; + } + container flow { + description "Flow routing information"; + presence "enable flow"; + uses export-subaf-obj; + } + } + grouping export-subaf-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance export"; + type empty; + } + } + } + leaf rib-group { + description "Auxiliary rib-group of additional RIBs to consider"; + type string; + } + } + grouping fate_sharing_links { + leaf name { + description "Router ID or LAN interface address"; + type jt:ipv4addr; + } + leaf to { + description "Point-to-point links"; + type jt:ipv4addr; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + leaf destination { + description "Destination prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf source { + description "Source prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf-list icmp-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list icmp-type { + ordered-by user; + description "ICMP message type"; + type string; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + } + grouping juniper-sampling-options { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable global sampling instance"; + type empty; + } + } + } + container traceoptions { + description "Traffic sampling trace options"; + uses sampling_traceoptions_type; + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_input_type; + } + container output { + description "Traffic sampling data disposition"; + status deprecated; + uses sampling_output_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_global_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet6"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_family_inet6_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_instance_input_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet6"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family mpls"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_mpls_output_type; + } + } + container vpls { + description "Sample vpls packets"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family vpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_vpls_output_type; + } + } + container bridge { + description "Sample bridge packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family bridge"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_bridge_output_type; + } + } + } + } + container jflow-service { + description "Jflow service configuration"; + uses apply-advanced; + container traceoptions { + description "Jflow service trace options"; + uses jflow_service_traceoptions; + } + } + container route-record { + description "Sampling route record configuration"; + uses apply-advanced; + container traceoptions { + description "Sampling route record trace options"; + uses route_record_traceoptions; + } + } + } + grouping jflow_service_traceoptions { + description "Traceoptions for jflow-service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of jflow-service to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "sm" { + description "Trace State machine code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping junos_hash_key { + description "Select data used in the hash key"; + uses apply-advanced; + container family { + description "Protocol family"; + container fcoe { + description "FCoE protocol family"; + uses apply-advanced; + container ethernet-interfaces { + description "FCoE hash-key configuration on ethernet interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container fabric-interfaces { + description "FCoE hash-key configuration on fabric interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + } + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + } + leaf session-id { + description "Include session ID in the hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf next-header { + description "Include IP Next Header field in the hash key"; + type empty; + } + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class field in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + leaf destination-port { + description "Include IP destination port in the hash key"; + type empty; + } + leaf source-port { + description "Include IP source port in the hash key"; + type empty; + } + } + leaf session-id { + description "Include session ID in the hash key"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + choice label { + case case_1 { + leaf label-1 { + description "Include the first MPLS label in the hash key"; + type empty; + } + } + case case_2 { + leaf all-labels { + description "Include all MPLS labels in hash key"; + type empty; + } + } + case case_3 { + leaf no-labels { + description "Exclude all MPLS labels from hash key"; + type empty; + } + } + case case_4 { + leaf bottom-label-1 { + description "Include the first MPLS label from bottom-of-stack in the hash key"; + type empty; + } + } + } + leaf label-2 { + description "Include the second MPLS label in the hash key"; + type empty; + } + leaf label-3 { + description "Include the third MPLS label in the hash key"; + type empty; + } + container payload { + description "Include payload data in the hash key"; + uses apply-advanced; + container ip { + presence "enable ip"; + description "Include IPv4 or IPv6 payload data in the hash key"; + uses apply-advanced; + choice layer-4-select { + case case_1 { + choice ip-payload { + case case_1 { + leaf layer-3-only { + description "Include only layer-3 IP information"; + type empty; + } + } + case case_2 { + leaf enable { + description "Include layer3/4 IP payload in the hash key"; + type empty; + } + } + case case_3 { + leaf disable { + description "Exclude layer3/4 IP payload in the hash key"; + type empty; + } + } + } + } + case case_2 { + container port-data { + presence "enable port-data"; + uses apply-advanced; + leaf source-msb { + description "Include the most significant byte of the source port"; + type empty; + } + leaf source-lsb { + description "Include the least significant byte of the source port"; + type empty; + } + leaf destination-msb { + description "Include the most significant byte of the destination port"; + type empty; + } + leaf destination-lsb { + description "Include the least significant byte of the destination port"; + type empty; + } + } + } + } + } + } + } + container multiservice { + description "Multiservice protocol family"; + uses apply-advanced; + leaf source-mac { + description "Include source MAC address in hash key"; + type empty; + } + leaf destination-mac { + description "Include destination MAC address in hash key"; + type empty; + } + } + } + } + grouping layer2_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + leaf interface { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_3 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses layer2_pm_output-routing-instance-type; + } + } + case case_4 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_5 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping layer2_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping ldp-sync-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP synchronization"; + type empty; + } + } + } + leaf hold-time { + description "Time during which maximum metric is advertised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + grouping ldp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "fec" { + description "Filter based on FEC associated to the traced object."; + } + enum "address" { + description "Filter based on packet source and destination addresses."; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping lmp_control_channel_type { + leaf name { + description "Control channel interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf remote-address { + description "Control channel remote address"; + type jt:ipaddr; + } + } + grouping lr_interfaces_type { + description "Physical interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + container policer-overhead { + description "Policer overhead adjustment for this unit"; + uses apply-advanced; + leaf policer-overhead-value { + description "Policer overhead bytes to be accounted in ingress and egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf ingress { + description "Ingress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + leaf egress { + description "Egress value in bytes"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-64 .. 64"; + } + } + } + } + leaf alias { + description "Interface alias"; + type string; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + container radio-router { + description "Parameters for dynamic link cost management"; + presence "enable radio-router"; + uses dynamic_ifbw_parms_type; + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf deep-vlan-qualified-learning { + description "Enable qualified MAC-address learning on the specified vlan tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range 3; + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container compression { + presence "enable compression"; + description "Various packet header compressions"; + uses apply-advanced; + container rtp { + presence "enable rtp"; + description "Compress and decompress RTP"; + uses apply-advanced; + leaf f-max-period { + description "Maximum number of compressed packets between transmission of full headers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list queues { + ordered-by user; + description "Queue holding RTP packets. Default is queue 1"; + type enumeration { + enum "q0" { + description "RTP packets assigned to queue 0"; + } + enum "q1" { + description "RTP packets assigned to queue 1"; + } + enum "q2" { + description "RTP packets assigned to queue 2"; + } + enum "q3" { + description "RTP packets assigned to queue 3"; + } + } + } + container port { + presence "enable port"; + description "UDP destination ports reserved for RTP packets"; + leaf minimum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container maximum-contexts { + description "Maximum number of simultaneous RTP contexts"; + leaf number { + description "Maximum number of simultaneous RTP contexts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 2048"; + } + } + } + } + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + description "Dynamic Host Configuration Protocol client configuration"; + presence "enable dhcp"; + uses dhcp-client-type; + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + container location-pool-address { + presence "enable location-pool-address"; + description "Location-based IP address pool"; + uses apply-advanced; + leaf pool-name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Not propagate DNS to kernel"; + } + container update-router-advertisement { + description "Dhcpv6 client update rpd for prefix delegation"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interfaces on which to delegate prefix"; + max-elements 3; + leaf name { + description "Interfaces-name on which to delegate prefix"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice enable-recursive-dns-server-option-choice { + leaf enable-recursive-dns-server-option { + description "Enables the recursive DNS server option"; + type empty; + } + leaf no-enable-recursive-dns-server-option { + description "Don't enables the recursive DNS server option"; + type empty; + } + } + } + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + container service { + description "Service operations"; + uses apply-advanced; + container input { + description "Service sets to consider for received packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for received packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + leaf post-service-filter { + description "Post-service filter to apply to received packets"; + type string; + } + } + container output { + description "Service sets to consider for transmitted packets"; + uses apply-advanced; + list service-set { + key name; + ordered-by user; + description "Service set to consider for transmitted packets"; + leaf name { + description "Name of service set"; + type string { + } + } + uses apply-advanced; + leaf service-filter { + description "Name of service filter"; + type string; + } + } + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + container web-authentication { + description "Parameters for web-based firewall-user authentication"; + uses apply-advanced; + leaf http { + description "Enable authentication via HTTP"; + type empty; + } + leaf https { + description "Enable authentication via HTTPS"; + type empty; + } + leaf redirect-to-https { + description "Web authentication redirect to HTTPS"; + type empty; + } + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dialer { + description "Name of filter applied on dialer"; + type string; + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + container dialer-options { + presence "enable dialer-options"; + description "Dialer options"; + uses apply-advanced; + leaf pool { + description "Dialer pool"; + type string { + length "1 .. 64"; + } + } + leaf-list dial-string { + ordered-by user; + description "String to dial out"; + type string { + length "1 .. 63"; + } + max-elements 15; + } + container incoming-map { + description "Map incoming call to dialer"; + uses apply-advanced; + choice caller-type { + case case_1 { + list caller { + key name; + ordered-by user; + description "Caller Id to be screened"; + max-elements 300; + leaf name { + description "Caller ID (upto 15 digits)"; + type string { + } + } + } + } + case case_2 { + leaf accept-all { + description "Accept all incoming calls"; + type empty; + } + } + } + } + leaf callback { + description "Call back on any incoming call to the dialer"; + type empty; + } + leaf callback-wait-period { + description "Time to wait before calling back"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf redial-delay { + description "Time to wait before redialing"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf idle-timeout { + description "Delay before taking down the interface"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list watch-list { + key name; + description "Dialer watch list"; + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + leaf load-threshold { + description "Load threshold for adding interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf load-interval { + description "Interval used to calculate average load"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 180"; + } + } + } + leaf activation-delay { + description "Activation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf deactivation-delay { + description "Deactivation delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf initial-route-check { + description "Delay to check primary after the router is up"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 300"; + } + } + } + leaf always-on { + description "Always keep on-line"; + type empty; + } + } + container backup-options { + description "Backup interface configuration options"; + uses apply-advanced; + leaf interface { + description "Backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dynamic-call-admission-control { + description "Dynamic call admission control configuration"; + uses apply-advanced; + leaf bearer-bandwidth-limit { + description "Bearer bandwidth limit"; + units "kilobits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 9999"; + } + } + } + leaf activation-priority { + description "Priority assigned to bearer bandwidth limit"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + } + } + grouping dcd_shaping_config { + description "Traffic-shaping profile"; + uses apply-advanced; + choice useless_shaping_choice { + case case_1 { + container cbr { + presence "enable cbr"; + description "Constant bandwidth utilization"; + leaf cbr-value { + description "Constant bandwidth utilization"; + type string; + } + leaf cdvt { + description "Cell Delay Variation Tolerance"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + } + } + case case_2 { + container vbr { + description "Variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + leaf cdvt { + description "Cell Delay Variation Tolerance"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + } + } + case case_3 { + container rtvbr { + description "ATM2 real-time variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + } + leaf queue-length { + description "Queue length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16383"; + } + } + } + } + grouping dhcp-client-type { + description "Dynamic Host Configuration Protocol client configuration"; + uses apply-advanced; + container client-identifier { + description "DHCP server identifies a client by client-identifier value "; + uses apply-advanced; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + container user-id { + description "Add user id to client-id option "; + choice user-id-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + container prefix { + description "Add prefix to client-id option"; + uses apply-advanced; + leaf host-name { + description "Add router host name to client-id option"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to client-id option"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to client-id option"; + type empty; + } + } + leaf use-interface-description { + description "Use the interface description"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + } + container no-dns-install { + presence "enable no-dns-install"; + description "Do not install DNS information learned from DHCP server"; + } + leaf lease-time { + description "Lease time in seconds requested in DHCP client protocol packet"; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50000"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf metric { + description "Client initiated default-route metric"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server"; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string { + length "1 .. 60"; + } + } + leaf force-discover { + description "Send DHCPDISCOVER after DHCPREQUEST retransmission failure"; + type empty; + } + container options { + description "DHCP options"; + uses apply-advanced; + leaf no-hostname { + description "Do not carry hostname (RFC option code is 12) in packet"; + type empty; + } + } + } + grouping dynamic_ifbw_parms_type { + uses apply-advanced; + leaf capacity { + description "Weight of current (vs. maximum) data rate"; + status deprecated; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf margin { + description "Maximum reduction in bandwidth due to low link quality"; + status deprecated; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf delay { + description "Bandwidth reduction when delay is announced as 1 second"; + status deprecated; + units "bits per second"; + type string; + } + leaf bandwidth { + description "Weight of current (vs. maximum) data rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf resource { + description "Resource weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf latency { + description "Latency weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf quality { + description "Relative Link Quality weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf data-rate { + description "Data rate weight"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Percentage bandwidth change required for routing updates"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container credit { + presence "enable credit"; + description "Credit-based scheduling parameters"; + uses apply-advanced; + leaf interval { + description "Grant rate interval in 100mS steps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 60"; + } + } + } + } + } + grouping epd_threshold_config { + uses apply-advanced; + leaf epd-threshold-plp0 { + description "Early packet discard threshold value"; + units "cells"; + type string; + } + leaf plp1 { + description "Early packet drop threshold value for PLP 1"; + units "cells"; + type string; + } + } + grouping ethernet-switching-type { + description "Ethernet switching family"; + uses apply-advanced; + leaf port-mode { + description "Type of port mode"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "tagged-access" { + description "Interface mode is tagged-access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf interface-mode { + description "Type of interface mode"; + default "access"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + leaf reflective-relay { + description "Reflective-relay mode for this interface"; + type empty; + } + choice vlan_choice_list { + case case_1 { + container vlan { + description "Virtual LAN parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_2 { + container inner-vlan { + description "Trunk mode vlan membership for this interface"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type"; + type enumeration { + enum "svlan" { + description "Bridge domain type SVLAN"; + } + enum "bvlan" { + description "Bridge domain type BVLAN"; + } + } + } + container vlan-rewrite { + description "Specify VLAN translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf native-vlan-id { + description "Untagged packets on a trunk/tagged-access interface belong to this vlan"; + type string { + } + } + choice isid_list { + case case_1 { + } + } + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string; + } + leaf input-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + leaf output-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + grouping fibre-channel-type { + description "Fibre Channel switching family"; + uses apply-advanced; + leaf port-mode { + description "Port mode"; + type enumeration { + enum "f-port" { + description "Fabric port"; + } + enum "e-port" { + description "Inter-switch port"; + } + enum "np-port" { + description "Proxy node port"; + } + enum "auto" { + description "Interface mode (F/E) is determined at runtime"; + } + } + } + leaf no-npiv { + description "Disable NPIV"; + type empty; + } + container fc-fabric { + description "Virtual fabric parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Virtual Fabric Membership for this interface (name or id)"; + type string; + } + } + leaf native-fabric { + description "FC frames with no virtual fabric header on a interface belong to this fabric"; + type string { + } + } + } + grouping keepalives_type { + uses apply-advanced; + leaf interval { + description "Keepalive period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf up-count { + description "Keepalive received to bring link up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Keepalive missed to bring link down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + } + grouping lsp-set-match-type { + uses apply-advanced; + leaf lsp-name { + description "LSP name that matches this string"; + type string; + } + leaf lsp-regex { + description "All LSPs that match this regular expression pattern"; + type string; + } + leaf p2mp-name { + description "P2MP names that match this string"; + type string; + } + leaf p2mp-regex { + description "P2MP names that match this regular expression pattern"; + type string; + } + choice router-type { + case case_1 { + leaf egress { + description "All LSPs for which this router is egress"; + type empty; + } + } + case case_2 { + leaf ingress { + description "All LSPs for which this router is ingress"; + type empty; + } + } + case case_3 { + leaf transit { + description "All LSPs for which this router is transit"; + type empty; + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping mac_addr_list_items { + leaf name { + description "Mac Address"; + type jt:mac-addr; + } + uses apply-advanced; + } + grouping mac_list { + description "MAC address"; + leaf name { + type jt:mac-addr; + } + uses apply-advanced; + container policer { + description "MAC policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping match_interface_object { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_object_oam { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_set_object { + leaf name { + description "Interface set to match"; + type string; + } + } + grouping match_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping metric_expression_type { + uses apply-advanced; + container metric { + description "Parameters for metric attribute"; + leaf multiplier { + description "Coefficient for metric attribute"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container metric2 { + description "Parameters for metric2 attribute"; + leaf multiplier { + description "Coefficient for metric2 attribute"; + default "1.0"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric2 attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping mime-list-type { + description "Configure mime-list object"; + leaf name { + description "Configure name of mime-list object"; + type string { + length "1 .. 40"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure MIME value"; + type string { + length "1 .. 255"; + } + } + } + grouping mirror-filter-type { + description "Secuirty mirror filter settings"; + leaf name { + description "Name of the filter"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-prefix { + description "Source IP address prefix"; + type jt:ipprefix; + } + leaf destination-prefix { + description "Destination IP address prefix"; + type jt:ipprefix; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf interface-in { + description "Incoming Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface-out { + description "Outgoing Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + container output { + description "Configure output interface and MAC address"; + uses apply-advanced; + leaf interface { + description "Outgoing Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-mac { + description "MAC address to match"; + type string; + } + } + } + grouping mpls_dialer_filter { + description "Define an MPLS DIALER filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping mpls_filter { + description "Define an MPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice mplscnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping mpls_pm_family_output_type { + uses apply-advanced; + } + grouping mrp-trace-options { + description "Trace options for MMRP Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace RAPS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace information of the state machine"; + } + enum "socket" { + description "Trace soccket activity"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping mstp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping named-address-book-type { + description "Configure global address book"; + leaf name { + description "Address book name"; + type string; + } + uses apply-advanced; + leaf description { + description "Text description of address book"; + type string { + length "1 .. 900"; + } + } + list address { + key name; + ordered-by user; + description "Define a security address"; + uses address_type; + } + list address-set { + key name; + ordered-by user; + description "Define a security address set"; + uses address_set_type; + } + container attach { + description "Attach this address book to interface, zone or routing-instance"; + uses apply-advanced; + list zone { + key name; + ordered-by user; + description "Define a zone to be attached"; + leaf name { + description "Security zone name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + } + grouping address_set_type { + leaf name { + description "Security address-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of address set"; + type string { + length "1 .. 900"; + } + } + list address { + key name; + ordered-by user; + description "Address to be included in this set"; + max-elements 4096; + leaf name { + description "Security address name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list address-set { + key name; + ordered-by user; + description "Define an address-set name"; + max-elements 4096; + leaf name { + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping address_type { + leaf name { + description "Security address name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of address"; + type string { + length "1 .. 900"; + } + } + choice address-content { + case case_1 { + leaf ip-prefix { + description "Numeric IPv4 or IPv6 address with prefix"; + type jt:ipprefix; + } + } + case case_2 { + list dns-name { + key name; + ordered-by user; + description "DNS address name"; + max-elements 1; + uses dns-name-type; + } + } + case case_3 { + list wildcard-address { + key name; + ordered-by user; + description "Numeric IPv4 wildcard address with in the form of a.d.d.r/netmask"; + max-elements 1; + uses wildcard-address-type; + } + } + case case_4 { + list range-address { + key name; + ordered-by user; + description "Address range"; + max-elements 1; + uses range-address-type; + } + } + } + } + grouping dns-name-type { + description "DNS address name"; + leaf name { + description "Fully qualified hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf ipv4-only { + description "IPv4 dns address"; + type empty; + } + leaf ipv6-only { + description "IPv6 dns address"; + type empty; + } + } + grouping nat-object { + description "Configure Network Address Translation"; + uses apply-advanced; + container source { + description "Configure Source NAT"; + uses ssg-source-nat-object; + } + container destination { + description "Configure Destination NAT"; + uses ssg-destination-nat-object; + } + container static { + description "Configure Static NAT"; + uses ssg-static-nat-object; + } + container proxy-arp { + description "Configure Proxy ARP"; + uses ssg-proxy-arp-object; + } + container proxy-ndp { + description "Configure Proxy NDP"; + uses ssg-proxy-ndp-object; + } + container natv6v4 { + description "Configure NAT between IPv6 and IPv4 options"; + uses apply-advanced; + leaf no-v6-frag-header { + description "V6 packet does not always add fragment header when performing nat translation from v4 side to v6 side "; + type empty; + } + } + container traceoptions { + description "NAT trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "routing-protocol" { + description "Trace routing protocol events"; + } + enum "all" { + description "Trace everything"; + } + enum "source-nat-re" { + description "Trace source nat events on RE side"; + } + enum "source-nat-rt" { + description "Trace source nat events on PFE-RT side"; + } + enum "source-nat-pfe" { + description "Trace source nat events on PFE-ukernel side"; + } + enum "destination-nat-re" { + description "Trace destination nat events on RE side"; + } + enum "destination-nat-rt" { + description "Trace destination nat events on PFE-RT side"; + } + enum "destination-nat-pfe" { + description "Trace destination nat events on PFE-ukernel side"; + } + enum "static-nat-re" { + description "Trace static nat events on RE side"; + } + enum "static-nat-rt" { + description "Trace static nat events on PFE-RT side"; + } + enum "static-nat-pfe" { + description "Trace static nat events on PFE-ukernel side"; + } + enum "nat-svc-set-re" { + description "Trace NAT and svc-set events on RE side"; + } + } + } + leaf syslog { + description "Write NAT flow traces to system log also"; + type empty; + } + } + } + list ipv6-multicast-interfaces { + key name; + ordered-by user; + description "Enable IPv6 multicast filter for IPv6 NAT"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable IPv6 multicast filter for IPv6 NAT"; + type empty; + } + } + list port-forwarding { + key name; + ordered-by user; + description "Define a port-forwarding pool"; + uses pf_mapping; + } + } + grouping network_type { + leaf name { + description "Network prefix"; + type jt:ipprefix; + } + uses apply-advanced; + } + grouping next_hop_group_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_subgroup_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + } + grouping override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf bootp-support { + description "Allow processing of bootp requests"; + type empty; + } + container delay-offer { + description "Filter options for dhcp-server"; + uses dhcpv4-filter-option; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORM PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet"; + type string { + length "1 .. 64"; + } + } + } + container include-option-82 { + description "Include option-82 in reply packets"; + uses apply-advanced; + leaf nak { + description "Include option-82 in NAK"; + type empty; + } + leaf forcerenew { + description "Include option-82 in FORCERENEW"; + type empty; + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv4 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv4-filter-option { + description "Generic DHCPv4 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between discover and offer"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-82 { + presence "enable option-82"; + description "Option 82"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-60 { + presence "enable option-60"; + description "Option 60"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-77 { + presence "enable option-77"; + description "Option 77"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping packet_accounting_output_type { + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list cflowd { + key name; + description "Cflowd collector where flow records are sent"; + uses cflowd_packet_accounting_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + uses packet_export_intf_type; + } + } + grouping cflowd_packet_accounting_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + } + grouping packet_export_intf_type { + leaf name { + description "Interfaces used to send monitored information"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf engine-id { + description "Identity (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf engine-type { + description "Type (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + } + grouping pccd-traceoptions-type { + description "Trace options for PCCD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of PCCD to enable debugging output"; + leaf name { + type enumeration { + enum "pccd-main" { + description "Trace main module"; + } + enum "pccd-config" { + description "Trace configuration parsing operations"; + } + enum "pccd-core" { + description "Trace PCCD's core operations"; + } + enum "pccd-ui" { + description "Trace user interface handling"; + } + enum "pccd-rpd" { + description "Trace communication with RPD"; + } + enum "pccd-functions" { + description "Trace function entries/outs"; + } + enum "all" { + description "Trace all areas of PCCD code"; + } + } + } + } + } + grouping peer-group { + leaf name { + description "IP address for this peer"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use for this peer alone."; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with this peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf-list redundancy-group-id-list { + ordered-by user; + description "List of redundacy groups this peer is part of"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container backup-liveness-detection { + presence "enable backup-liveness-detection"; + description "Backup liveness detection"; + uses apply-advanced; + leaf backup-peer-ip { + description "Backup livelness detection peer's IP address"; + type jt:ipv4addr; + } + } + container liveness-detection { + presence "enable liveness-detection"; + description "Bidirectional Forwarding Detection options for the peer"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + grouping periodic_oam { + uses apply-advanced; + container mpls-tp-mode { + presence "enable mpls-tp-mode"; + description "MPLS-TP Mode, Do not use IP addressing for OAM"; + uses apply-advanced; + container lsping-channel-type { + description "Supported Control-channel types for MPLS-TP mode...."; + uses apply-advanced; + choice action-choice { + case case_1 { + leaf ipv4 { + description "Use channel-type IPv4(0x0021), With IP-UDP encapsulation"; + type empty; + } + } + case case_2 { + leaf on-demand-cv { + description "Use channel-type On-Demand-CV(0x0025), Without IP-UDP encapsulation"; + type empty; + } + } + } + } + } + container bfd-port { + description "Egress knob to select MHOP-BFD port for MPLS BFD"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf teardown { + description "Teardown label switched path and resignal"; + type empty; + } + } + case case_2 { + container make-before-break { + presence "enable make-before-break"; + description "Resignal the label switched path before teardown"; + uses apply-advanced; + leaf teardown-timeout { + description "Time to wait before teardown"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + } + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container performance-monitoring { + description "Performance monitoring options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace init commnad"; + } + enum "error" { + description "Trace error conditions"; + } + enum "event" { + description "Trace state machine events"; + } + enum "general" { + description "Trace general events"; + } + enum "packet" { + description "Trace various packets "; + } + enum "timer" { + description "Trace timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container querier { + description "Querier options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic class"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container loss-delay { + description "Combined loss-delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container responder { + description "Responder options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf lsp-ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container traceoptions { + description "Trace options for MPLSOAM process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "pipe" { + description "Trace pipe activity"; + } + enum "rpc-packet-details" { + description "Trace RPC packet details"; + } + enum "database" { + description "Trace database activity"; + } + enum "network" { + description "Trace network activity"; + } + enum "traceroute" { + description "Trace traceroute activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping pf_mapping { + leaf name { + description "Port Forwarding name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list destined-port { + key "port translated-port"; + ordered-by user; + description "Port forwarding mappings"; + max-elements 32; + leaf port { + description "Destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf translated-port { + description "Translated port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping pm-rspan-vlan { + description "RSPAN vlan for pm"; + leaf name { + description "VLAN name or VLAN id"; + type string { + } + } + uses apply-advanced; + leaf no-tag { + description "Removes extra RSPAN tag from mirrored packets"; + type empty; + } + } + grouping pm_family_input_type { + description "Input options for port mirroring"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + } + grouping policy-object-type { + uses apply-advanced; + container traceoptions { + description "Network Security Policy Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "compilation" { + description "Policy compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "rules" { + description "Policy rules related events"; + } + enum "lookup" { + description "Policy lookup events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list policy { + key "from-zone-name to-zone-name"; + ordered-by user; + description "Define a policy context from this zone"; + leaf from-zone-name { + description "Source zone"; + type string { + length "1 .. 63"; + } + } + leaf to-zone-name { + description "Destination zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Define security policy in specified zone-to-zone direction"; + uses policy_type; + } + } + container global { + description "Define a global policy context"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Define security policy in global context"; + uses policy_type; + } + } + container default-policy { + description "Configure default action when no user-defined policy match"; + uses apply-advanced; + leaf default-action { + description "Default action"; + default "deny-all"; + type enumeration { + enum "permit-all" { + description "Permit all traffic if no policy match"; + } + enum "deny-all" { + description "Deny all traffic if no policy match"; + } + } + } + } + container policy-rematch { + presence "enable policy-rematch"; + description "Re-evaluate the policy when changed"; + leaf extensive { + description "Perform policy extensive rematch"; + type empty; + } + } + container policy-stats { + presence "enable policy-stats"; + description "Parameters for policy statistics"; + uses apply-advanced; + leaf system-wide { + description "Enable/Disable system-wide policy statistics"; + type enumeration { + enum "enable" { + description "Enable policy system-wide statistics"; + } + enum "disable" { + description "Disable policy system-wide statistics"; + } + } + } + } + container pre-id-default-policy { + description "Configure default policy action before dynamic application is finally identified"; + uses apply-advanced; + container then { + description "Specify policy action to take when packet match criteria"; + uses apply-advanced; + container log { + description "Enable log"; + uses log_type; + } + container session-timeout { + description "Session timeout"; + uses session_timeout_type; + } + } + } + list stateful-firewall-rule { + key name; + ordered-by user; + description "Define a stateful-firewall-rule"; + max-elements 16960; + leaf name { + description "Stateful-firewall-rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf match-direction { + description "Direction for which the rule match is applied"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + enum "input-output" { + description "Match on input to or output from interface"; + } + } + } + list policy { + key name; + ordered-by user; + description "Define a stateful-firewall policy"; + uses policy_type; + } + } + list stateful-firewall-rule-set { + key name; + ordered-by user; + description "Defines a set of stateful firewall rules"; + max-elements 16960; + leaf name { + description "Name of the stateful firewall rule set"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list stateful-firewall-rule { + key name; + ordered-by user; + description "Rule to be included in this stateful firewall rule set"; + max-elements 16960; + leaf name { + description "Stateful-firewall-rule name"; + type string { + } + } + uses apply-advanced; + } + } + } + grouping log_type { + uses apply-advanced; + leaf session-init { + description "Log at session init time"; + type empty; + } + leaf session-close { + description "Log at session close time"; + type empty; + } + } + grouping policy_type { + leaf name { + description "Security policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of policy"; + type string { + length "1 .. 900"; + } + } + container match { + description "Specify security policy match-criteria"; + uses apply-advanced; + choice source-address_choice { + case case_1 { + leaf-list source-address { + ordered-by user; + type string; + } + } + } + choice destination-address_choice { + case case_1 { + leaf-list destination-address { + ordered-by user; + type string; + } + } + } + leaf source-address-excluded { + description "Exclude source addresses"; + type empty; + } + leaf destination-address-excluded { + description "Exclude destination addresses"; + type empty; + } + choice application_type_choice { + case case_1 { + leaf-list application { + ordered-by user; + type string; + } + } + } + choice source_identity_choice { + case case_1 { + leaf-list source-identity { + ordered-by user; + type string; + } + } + } + choice source_end_user_profile_choice { + case case_1 { + container source-end-user-profile { + description "Match source end user profile"; + uses match_source_end_user_profile_value; + } + } + } + choice dynamic_application_type_choice { + case case_1 { + leaf-list dynamic-application { + ordered-by user; + type string; + } + } + } + choice from_zone_choice { + case case_1 { + leaf-list from-zone { + ordered-by user; + type string; + } + } + } + choice to_zone_choice { + case case_1 { + leaf-list to-zone { + ordered-by user; + type string; + } + } + } + } + container then { + description "Specify policy action to take when packet match criteria"; + uses apply-advanced; + choice action { + case case_1 { + leaf deny { + description "Deny packets"; + type empty; + } + } + case case_2 { + container reject { + presence "enable reject"; + description "Reject packets"; + uses apply-advanced; + leaf profile { + description "Profile for redirect HTTP/S traffic"; + type string; + } + container ssl-proxy { + presence "enable ssl-proxy"; + description "SSL proxy services"; + uses apply-advanced; + leaf profile-name { + description "Specify SSL proxy service profile name"; + type string; + } + } + } + } + case case_3 { + container permit { + presence "enable permit"; + description "Permit packets"; + uses apply-advanced; + container tunnel { + description "Tunnel packets"; + uses tunnel_type; + } + container firewall-authentication { + description "Enable authentication for this policy if permit or tunnel"; + uses firewall_authentication_type; + } + container destination-address { + description "Enable destination address translation"; + presence "enable destination-address"; + uses destination_nat_enable_type; + } + container application-services { + description "Application Services"; + uses application_services_type; + } + container tcp-options { + description "Transmission Control Protocol session configuration"; + uses apply-advanced; + leaf syn-check-required { + description "Enable per policy SYN-flag check"; + type empty; + } + leaf sequence-check-required { + description "Enable per policy sequence-number checking"; + type empty; + } + leaf initial-tcp-mss { + description "Override MSS value for initial direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + leaf reverse-tcp-mss { + description "Override MSS value for reverse direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + leaf window-scale { + description "Enable per policy window-scale"; + type empty; + } + } + leaf services-offload { + description "Enable services offloading"; + type empty; + } + } + } + } + container log { + description "Enable log"; + uses log_type; + } + container count { + description "Enable count"; + presence "enable count"; + uses count_type; + } + } + leaf scheduler-name { + description "Name of scheduler"; + type string { + length "1 .. 63"; + } + } + } + grouping application_services_type { + description "Application Services"; + uses apply-advanced; + leaf gprs-gtp-profile { + description "Specify GPRS Tunneling Protocol profile name"; + type string { + length "1 .. 63"; + } + } + leaf gprs-sctp-profile { + description "Specify GPRS stream control protocol profile name"; + type string { + length "1 .. 63"; + } + } + leaf idp { + description "Intrusion detection and prevention"; + type empty; + } + leaf idp-policy { + description "Specify idp policy name"; + type string { + length "1 .. 255"; + } + } + container ssl-proxy { + presence "enable ssl-proxy"; + description "SSL proxy services"; + uses apply-advanced; + leaf profile-name { + description "Specify SSL proxy service profile name"; + type string; + } + } + container uac-policy { + presence "enable uac-policy"; + description "Enable unified access control enforcement of policy"; + uses apply-advanced; + leaf captive-portal { + type string { + length "1 .. 128"; + } + } + } + leaf utm-policy { + description "Specify utm policy name"; + type string { + length "1 .. 255"; + } + } + leaf icap-redirect { + description "Specify icap redirect profile name"; + type string { + length "1 .. 31"; + } + } + container application-firewall { + description "Application firewall services"; + status deprecated; + uses jsf_service_rule_set_type; + } + container application-traffic-control { + description "Application traffic control services"; + uses jsf_application_traffic_control_rule_set_type; + } + choice wx-redirection { + case case_1 { + leaf redirect-wx { + description "Set WX redirection"; + type empty; + } + } + case case_2 { + leaf reverse-redirect-wx { + description "Set WX reverse redirection"; + type empty; + } + } + } + leaf security-intelligence-policy { + description "Specify security-intelligence policy name"; + type string { + length "1 .. 255"; + } + } + leaf advanced-anti-malware-policy { + description "Specify advanced-anti-malware policy name"; + type string { + length "1 .. 255"; + } + } + } + grouping count_type { + uses apply-advanced; + } + grouping destination_nat_enable_type { + description "Enable Destination NAT"; + uses apply-advanced; + choice destination_nat { + case case_1 { + leaf drop-translated { + description "Drop the policy if NAT translated"; + type empty; + } + } + case case_2 { + leaf drop-untranslated { + description "Drop the policy if NAT untranslated"; + type empty; + } + } + } + } + grouping firewall_authentication_type { + uses apply-advanced; + choice auth-type { + case case_1 { + container pass-through { + presence "enable pass-through"; + description "Pass-through firewall authentication settings"; + uses apply-advanced; + leaf access-profile { + description "Specify access profile name"; + type string { + length "1 .. 63"; + } + } + leaf-list client-match { + ordered-by user; + description "Name of user or group to match"; + type string { + length "1 .. 63"; + } + } + leaf web-redirect { + description "Redirect unauthenticated HTTP requests to the device's internal web server"; + type empty; + } + leaf web-redirect-to-https { + description "Redirect unauthenticated HTTP requests to the device's internal HTTPS web server"; + type empty; + } + leaf ssl-termination-profile { + description "Specify SSL termination profile used to the SSL offload"; + type string { + length "1 .. 63"; + } + } + leaf auth-only-browser { + description "Authenticate only browser traffic"; + type empty; + } + list auth-user-agent { + key name; + ordered-by user; + description "Authenticate HTTP traffic with specified user agent"; + leaf name { + description "Authenticate HTTP traffic with specified user agent"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + } + } + } + case case_2 { + container web-authentication { + presence "enable web-authentication"; + description "Web-authentication settings"; + uses apply-advanced; + leaf-list client-match { + ordered-by user; + description "Name of user or group to match"; + type string { + length "1 .. 63"; + } + } + } + } + case case_3 { + container user-firewall { + description "User-firewall firewall authentication settings"; + uses apply-advanced; + leaf access-profile { + description "Specify access profile name"; + type string { + length "1 .. 63"; + } + } + leaf web-redirect { + description "Redirect unauthenticated HTTP req to web server"; + type empty; + } + leaf web-redirect-to-https { + description "Redirect unauthenticated HTTP req to HTTPS web server"; + type empty; + } + leaf ssl-termination-profile { + description "Specify SSL termination profile used to the SSL offload"; + type string { + length "1 .. 63"; + } + } + leaf auth-only-browser { + description "Authenticate only browser traffic"; + type empty; + } + list auth-user-agent { + key name; + ordered-by user; + description "Authenticate HTTP traffic with specified user agent"; + leaf name { + description "Authenticate HTTP traffic with specified user agent"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + } + leaf domain { + description "Specify domain name"; + type string { + length "1 .. 64"; + } + } + } + } + } + leaf push-to-identity-management { + description "Push auth entry to identity management server"; + type empty; + } + } + grouping jsf_service_rule_set_type { + description "Define service rule set reference"; + uses apply-advanced; + leaf rule-set { + description "Service rule set name"; + type string { + length "1 .. 64"; + } + } + } + grouping match_source_end_user_profile_value { + uses apply-advanced; + leaf source-end-user-profile-name { + description "Specify source-end-user-profile name from list to match"; + type string; + } + } + grouping port-range { + description "Port ranges"; + leaf name { + description "Single port/minimum port in the port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum-port { + description "Maximum port in the port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping ppp-traceoptions-type { + description "Trace options for PPP process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of PPP process to enable debugging output"; + leaf name { + type enumeration { + enum "access" { + description "Trace access code"; + } + enum "address-pool" { + description "Trace address pool code"; + } + enum "auth" { + description "Trace authentication code"; + } + enum "chap" { + description "Trace CHAP code"; + } + enum "pap" { + description "Trace PAP code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "lcp" { + description "Trace LCP state machine code"; + } + enum "memory" { + description "Trace memory management code"; + } + enum "message" { + description "Trace message processing code"; + } + enum "mlppp" { + description "Trace MLPPP code"; + } + enum "ncp" { + description "Trace NCP state machine code"; + } + enum "ppp" { + description "Trace PPP protocol processing code"; + } + enum "radius" { + description "Trace RADIUS processing code"; + } + enum "redundancy" { + description "Trace redundancy code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "session" { + description "Trace session management code"; + } + enum "signal" { + description "Trace signal handling code"; + } + enum "timer" { + description "Trace timer code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "ci" { + description "Trace ci code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping ppp_options_type { + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile name"; + type string; + } + container chap { + presence "enable chap"; + description "Challenge Handshake Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-chap-secret { + description "Default CHAP secret to be used when no matching access profile exists"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in CHAP-Challenge and CHAP-Response"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf passive { + description "Handle incoming CHAP requests only"; + type empty; + } + } + container pap { + presence "enable pap"; + description "Password Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-password { + description "Default PAP password used in the absence of matching profile"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in PAP request packet"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf local-password { + description "Password sent in PAP request packet"; + type jt:unreadable; + } + leaf passive { + description "Do not handle PAP authentication requests"; + type empty; + } + } + container compression { + description "Set compression options"; + leaf acfc { + description "Negotiate Address/Control field compression"; + type empty; + } + leaf pfc { + description "Negotiate Protocol field compression"; + type empty; + } + } + leaf lcp-restart-timer { + description "LCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "20 .. 10000"; + } + } + } + leaf ncp-restart-timer { + description "NCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "500 .. 10000"; + } + } + } + leaf no-termination-request { + description "Don't send PPP termination requests"; + type empty; + } + leaf loopback-clear-timer { + description "Loopback clear timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf lcp-max-conf-req { + description "Maximum LCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ncp-max-conf-req { + description "Maximum NCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf on-demand-ip-address { + description "Enable On-Demand IPv4 address allocation and de-allocation"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to dynamic-profile"; + type string { + length "1 .. 63"; + } + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf mtu { + description "The Maximum Transfer Unit size in bytes"; + type string; + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + container local-authentication { + description "Local Authentication Protocol options"; + uses local_auth_type; + } + } + grouping local_auth_type { + description "Local authentication"; + uses apply-advanced; + leaf password { + description "Username password"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf circuit-id { + description "Include circuit-id "; + type empty; + } + leaf remote-id { + description "Include remote-id "; + type empty; + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf delimiter { + description "Delimiter/separator character"; + type string { + length 1; + } + } + } + } + grouping pppoe-traceoptions-type { + description "Trace options for PPPoE process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of PPPoE process to enable debugging output"; + leaf name { + type enumeration { + enum "config" { + description "Trace configuration code"; + } + enum "events" { + description "Trace event code"; + } + enum "gres" { + description "Trace GRES code"; + } + enum "init" { + description "Trace initialization code"; + } + enum "interface-db" { + description "Trace interface database code"; + } + enum "memory" { + description "Trace memory management code"; + } + enum "protocol" { + description "Trace PPPoE protocol processing code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "session-db" { + description "Trace Session DB code"; + } + enum "signal" { + description "Trace signal handling code"; + } + enum "state" { + description "Trace state handling code"; + } + enum "stats" { + description "Trace Stats Handling code"; + } + enum "timer" { + description "Trace timer code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + container filter { + presence "enable filter"; + description "Trace filtering"; + uses apply-advanced; + leaf aci { + description "Regular expression to match ACI"; + type string { + length "1 .. 64"; + } + } + leaf ari { + description "Regular expression to match ARI"; + type string { + length "1 .. 64"; + } + } + leaf service-name { + description "Service name"; + type string { + length "1 .. 64"; + } + } + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + } + } + grouping pppoe_options_type { + uses apply-advanced; + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + leaf idle-timeout { + description "Time for which session can be idle (0 = forever)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf access-concentrator { + description "Name of the access concentrator (PPPoE server)"; + type string; + } + leaf service-name { + description "Service to be requested (from PPPoE server)"; + type string; + } + leaf auto-reconnect { + description "Time to reconnect after session terminates (0 = never)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice pppoe-mode { + case case_1 { + leaf server { + description "PPPoE operates in server mode"; + type empty; + } + } + case case_2 { + leaf client { + description "PPPoE operates in client mode"; + type empty; + } + } + } + leaf ppp-max-payload { + description "Specify the value of ppp-max-payload tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1492 .. 9192"; + } + } + } + } + grouping prefix_action { + leaf name { + description "Prefix action name"; + type string { + } + } + uses apply-advanced; + leaf policer { + description "Police the packet using a set of named policer"; + type string { + } + } + leaf count { + description "Enable counters"; + type empty; + } + leaf filter-specific { + description "Filter specific, else term specific"; + type empty; + } + leaf subnet-prefix-length { + description "Prefix length for the total address range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + choice source_or_dest { + case case_1 { + leaf source-prefix-length { + description "Source prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + case case_2 { + leaf destination-prefix-length { + description "Destination prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + } + grouping prefix_list_items { + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + grouping profile-setting { + description "UTM policy settings"; + leaf name { + description "UTM policy name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + container anti-virus { + description "UTM policy anti-virus profile"; + uses apply-advanced; + leaf http-profile { + description "Anti-virus profile"; + type string; + } + container ftp { + description "FTP profile"; + uses apply-advanced; + leaf upload-profile { + description "Anti-virus profile"; + type string; + } + leaf download-profile { + description "Anti-virus profile"; + type string; + } + } + leaf smtp-profile { + description "Anti-virus profile"; + type string; + } + leaf pop3-profile { + description "Anti-virus profile"; + type string; + } + leaf imap-profile { + description "Anti-virus profile"; + type string; + } + } + container content-filtering { + description "Content-filtering profile"; + uses apply-advanced; + leaf http-profile { + description "Content-filtering profile"; + type string; + } + container ftp { + description "FTP profile"; + uses apply-advanced; + leaf upload-profile { + description "Content-filtering FTP upload profile"; + type string; + } + leaf download-profile { + description "Content-filtering FTP download profile"; + type string; + } + } + leaf smtp-profile { + description "Content-filtering SMTP profile"; + type string; + } + leaf pop3-profile { + description "Content-filtering POP3 profile"; + type string; + } + leaf imap-profile { + description "Content-filtering IMAP profile"; + type string; + } + } + container web-filtering { + description "Web-filtering profile"; + uses apply-advanced; + leaf http-profile { + description "Web-filtering HTTP profile"; + type string; + } + } + container anti-spam { + description "Anti-spam profile"; + uses apply-advanced; + leaf smtp-profile { + description "Anti-spam profile"; + type string; + } + } + container traffic-options { + description "Traffic options"; + status deprecated; + uses apply-advanced; + container sessions-per-client { + description "Sessions per client"; + uses apply-advanced; + leaf limit { + description "Sessions limit"; + default "2000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf over-limit { + description "Over limit number"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + } + } + } + grouping programmable-rpd-type { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "client" { + description "Client events"; + } + enum "japi" { + description "JAPI related traces"; + } + enum "routing-interface" { + description "Routing interface traces"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container purge-timeout { + presence "enable purge-timeout"; + description "Purge timeout for all programmable-rpd clients in seconds"; + choice purge-parm { + case case_1 { + leaf timeout { + description "Timeout value, in seconds, for purging client programmed objects"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Programmable-rpd client options"; + leaf name { + description "Client ID"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + list interface-notification { + key name; + ordered-by user; + description "Interfaces for notification"; + leaf name { + description "Interface"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + grouping proto-object { + leaf name { + type string; + } + uses apply-advanced; + list tunable-name { + key name; + ordered-by user; + description "Protocol tunable name"; + uses tunable-object; + } + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping r2cp-traceoptions-type { + description "Trace options for R2CP process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of R2CP process to enable debugging output"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration code"; + } + enum "event" { + description "Trace events"; + } + enum "interface" { + description "Trace interface processing"; + } + enum "node" { + description "Trace node table code"; + } + enum "packet" { + description "Trace packet processing"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "session" { + description "Trace session events"; + } + enum "socket" { + description "Trace socket calls"; + } + enum "timer" { + description "Trace timer code"; + } + enum "virtual-channel" { + description "Trace virtual channel mapping code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping ragw-traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "brief"; + type enumeration { + enum "brief" { + description "Brief debugging output"; + } + enum "detail" { + description "Detailed debugging output"; + } + enum "extensive" { + description "Extensive debugging output"; + } + enum "verbose" { + description "Verbose debugging output"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace CLI configuration events"; + } + enum "tunnel" { + description "Trace tunnel install/encap/decap events"; + } + enum "session" { + description "Trace session related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping range-address-type { + description "Range address"; + leaf name { + description "Lower limit of address range"; + type jt:ipv4addr; + } + uses apply-advanced; + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf range-high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + } + grouping reconfigure-trigger-type { + description "DHCP reconfigure trigger"; + uses apply-advanced; + leaf radius-disconnect { + description "Trigger DHCP reconfigure by radius initiated disconnect"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping rip_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping route_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping route_record_traceoptions { + description "Traceoptions for sampling route record"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of route-record to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping rpd_rib_group_type { + description "Routing table group"; + leaf name { + description "Routing table group"; + type string; + } + uses apply-advanced; + leaf export-rib { + description "Export routing table"; + type string; + } + leaf-list import-rib { + ordered-by user; + description "Import routing table"; + type string; + } + leaf-list import-policy { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + grouping rtf_prefix_list_items { + leaf name { + description "Family route-target prefix"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + grouping sampling_family_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet6_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_family_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + container family { + presence "enable family"; + description "Protocol family"; + status deprecated; + container inet { + description "Sampling parameters for IPv4"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + container mpls { + description "Sampling parameters for MPLS"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + } + } + grouping sampling_instance_bridge_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_bridge_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_bridge_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline_instance { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_instance_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet6_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_inet_global_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_instance_inet_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + } + grouping sampling_instance_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_instance_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_mpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_vpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_vpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_vpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_traceoptions_type { + description "Configure packet sampling traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + grouping satellite-policy-options { + uses apply-advanced; + list extended-ports-template { + key name; + ordered-by user; + description "Extended ports template"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + description "PIC attributes"; + uses satellite-pic-type; + } + } + list port-group-alias { + key name; + ordered-by user; + description "Port group alias"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + ordered-by user; + description "Satellite PIC information"; + leaf name { + description "PIC identifier"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list port { + ordered-by user; + description "Port id or range or all"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + } + } + list chassis-group-alias { + key name; + ordered-by user; + description "Chassis group alias"; + leaf name { + description "Chassis group alias name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf prefer-primary { + description "Primary mode chassis will be preferred"; + type empty; + } + list chassis-id { + key name; + ordered-by user; + description "List of chassis-ids"; + leaf name { + description "Chassis ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + container mode { + description "Mode Primary or Backup"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf primary { + description "Primary Mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup Mode"; + type empty; + } + } + } + } + list core-interface { + key name; + ordered-by user; + description "Core interface"; + leaf name { + description "Core interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } + list extended-ports-policy { + key name; + ordered-by user; + description "Define a extended-ports-policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf extended-ports-template { + description "Apply extended ports template to satellite matching conditions defined in this term"; + type string; + } + } + } + } + list candidate-uplink-port-policy { + key name; + ordered-by user; + description "Define a candidate uplink-port policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + } + list environment-monitoring-policy { + key name; + ordered-by user; + description "Define a environment monitoring policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container alarm { + presence "enable alarm"; + description "Policy default alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Policy default linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + container alarm { + presence "enable alarm"; + description "Term alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Set linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + } + } + } + list forwarding-policy { + key name; + ordered-by user; + description "Define forwarding policy for extended ports"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + } + } + } + } + grouping port-extend-type { + leaf name { + description "Extended port group alias name policy applied on"; + type string; + } + uses apply-advanced; + leaf filter { + description "Assign a filter for uplink selection"; + type string; + } + container port-group-uplink { + description "Define a uplink port group mapping"; + uses apply-advanced; + leaf port-group-uplink-alias { + description "Uplink port group alias name used for uplink pinning mode"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + container mirror-ingress { + description "Define a ingress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + container mirror-egress { + description "Define a egress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + } + grouping satellite-pic-type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4"; + } + } + } + uses apply-advanced; + list port { + key name; + description "Port number"; + uses satellite-pic-port-attr; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Physical ports to channelize"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + } + grouping satellite-pic-port-attr { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "25g" { + description "Set the port speed to 25G"; + } + enum "50g" { + description "Set the port speed to 50G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + grouping sbl-type { + description "SBL type"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "SBL profile"; + leaf name { + description "SBL profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + choice sbl-default-server-choice { + leaf sbl-default-server { + description "Default SBL server"; + type empty; + } + leaf no-sbl-default-server { + description "Don't default SBL server"; + type empty; + } + } + leaf spam-action { + description "Anti-spam actions"; + type enumeration { + enum "block" { + description "Block e-mail"; + } + enum "tag-header" { + description "Tag header of e-mail"; + } + enum "tag-subject" { + description "Tag subject of e-mail"; + } + } + } + leaf custom-tag-string { + description "Custom tag string"; + type string { + length "1 .. 512"; + } + } + } + } + grouping scheduler_object_type { + leaf name { + description "Name of security scheduler"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of scheduler"; + type string { + length "1 .. 900"; + } + } + list start-date { + key "start-date stop-date"; + ordered-by user; + description "Start date and time ([YYYY-]MM-DD.hh:mm)"; + max-elements 2; + leaf start-date { + description "Start date and time ([YYYY-]MM-DD.hh:mm)"; + type string { + } + } + leaf stop-date { + description "Stop date and time ([YYYY-]MM-DD.hh:mm)"; + type string { + } + } + uses apply-advanced; + } + container daily { + description "Everyday; can be overwritten by specific weekday"; + uses daily-object; + } + container sunday { + description "Every Sunday"; + uses daily-object; + } + container monday { + description "Every Monday"; + uses daily-object; + } + container tuesday { + description "Every Tuesday"; + uses daily-object; + } + container wednesday { + description "Every Wednesday"; + uses daily-object; + } + container thursday { + description "Every Thursday"; + uses daily-object; + } + container friday { + description "Every Friday"; + uses daily-object; + } + container saturday { + description "Every Saturday"; + uses daily-object; + } + } + grouping daily-object { + description "Daily schedule"; + uses apply-advanced; + choice daily_type { + case case_1 { + list start-time { + key "start-time-value stop-time"; + description "Time range for day"; + max-elements 2; + leaf start-time-value { + description "Start time for day (hh:mm)"; + type string { + } + } + leaf stop-time { + description "Stop time for day (hh:mm)"; + type string { + } + } + uses apply-advanced; + } + } + case case_2 { + leaf exclude { + description "Exclude day from week"; + type empty; + } + } + case case_3 { + leaf all-day { + description "Include complete day"; + type empty; + } + } + } + } + grouping secure-wire-type { + description "Secure-wire cross connection"; + leaf name { + description "Secure-wire name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list interface { + description "Secure-wire logical interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping security-authentication-key-chains { + uses apply-advanced; + list key-chain { + key name; + description "Key chain configuration"; + leaf name { + description "Name of authentication key chain"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of this authentication-key-chain"; + type string { + length "1 .. 80"; + } + } + leaf tolerance { + description "Clock skew tolerance"; + default "3600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list key { + key name; + description "Authentication element configuration"; + leaf name { + description "Authentication element identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + uses apply-advanced; + leaf secret { + description "Authentication key"; + type string { + length "1 .. 126"; + } + } + leaf key-name { + description "Key name in hexadecimal format used for macsec"; + type string { + length "2 .. 64"; + } + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + leaf algorithm { + description "Authentication algorithm"; + default "md5"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + } + } + leaf options { + description "Protocol's transmission encoding format"; + default "basic"; + type enumeration { + enum "basic" { + description "Rudimentary encoding format"; + } + enum "isis-enhanced" { + description "RFC 5310 based encoding"; + } + } + } + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-group-vpn { + uses apply-advanced; + container member { + description "Group VPN member configuration"; + uses gvpn-member; + } + container server { + description "Group VPN server configuration"; + uses gvpn-server; + } + } + grouping gvpn-member { + uses apply-advanced; + container ike { + description "Group VPN IKE configuration"; + uses gvpn-member-ike; + } + container ipsec { + description "Group VPN IPsec configuration"; + uses gvpn-member-ipsec-vpn; + } + } + grouping gvpn-member-ike { + uses apply-advanced; + container traceoptions { + description "Trace options for Group VPN Member"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container gateway-filter { + description "Set gateway filter for trace"; + uses apply-advanced; + leaf local-address { + description "Use an IP address to identify the local gateway"; + type jt:ipv4addr; + } + leaf remote-address { + description "Use an IP address to identify the remote gateway"; + type jt:ipv4addr; + } + } + } + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses gvpn-member-ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses gvpn-ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + leaf-list server-address { + ordered-by user; + description "Server Addresses upto 4"; + type jt:ipv4addr; + max-elements 4; + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + } + } + leaf local-address { + description "Local IPv4 address for group member"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Name of routing instance that hosts local address"; + default "default"; + type string; + } + } + } + grouping gvpn-ike-policy { + leaf name { + description "Name of policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf mode { + description "Define the IKE mode for Phase 1"; + default "main"; + type enumeration { + enum "main" { + description "Main mode"; + } + enum "aggressive" { + description "Aggressive mode"; + } + } + } + leaf description { + description "Text description of IKE policy"; + type string { + length "1 .. 80"; + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + container pre-shared-key { + description "Define a preshared key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping gvpn-member-ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping gvpn-member-ipsec-vpn { + uses apply-advanced; + list vpn { + key name; + ordered-by user; + description "Define an IPSec VPN"; + uses ipsec-gvpn-member-template; + } + } + grouping gvpn-server { + uses apply-advanced; + container traceoptions { + description "Trace options for Group VPN debug"; + uses gvpn-server-traceoptions; + } + container ike { + description "Group VPN IKE configuration"; + uses gvpn-server-ike; + } + container ipsec { + description "Group VPN IPsec configuration"; + uses gvpn-server-ipsec-vpn; + } + list group { + key name; + ordered-by user; + description "Define a Group VPN group"; + max-elements 50; + uses gvpn-server-group-template; + } + } + grouping gvpn-server-group-template { + description "Configure a Group VPN group"; + leaf name { + description "Name of the group"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of Group VPN group"; + type string { + length "1 .. 80"; + } + } + leaf group-id { + description "Enable Group VPN by defining group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf member-threshold { + description "Maximum number of members in this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container server-cluster { + description "Enable server cluster for this group"; + uses gvpn-server-cluster; + } + list ike-gateway { + key name; + ordered-by user; + description "Name of the IKE gateway"; + uses gvpn-server-ike-gateway; + } + leaf activation-time-delay { + description "Configure delay in seconds for Group VPN key activation"; + status deprecated; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf anti-replay-time-window { + description "Configure Anti Replay time in milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60000"; + } + } + } + container server-member-communication { + description "Configure Server to Member communication parameters"; + uses gvpn-server-member-communication; + } + list ipsec-sa { + key name; + ordered-by user; + description "Define a Group VPN group SA"; + uses gvpn-server-group-ipsecsa; + } + } + grouping gvpn-server-cluster { + description "Server-Cluster for group VPN"; + uses apply-advanced; + leaf server-role { + description "Primary or backup server"; + type enumeration { + enum "root-server" { + description "Root-server"; + } + enum "sub-server" { + description "Sub-server"; + } + } + } + list ike-gateway { + key name; + ordered-by user; + description "Name of the IKE gateway"; + uses gvpn-server-ike-gateway-sc; + } + leaf retransmission-period { + description "Configure retransmission period in seconds Default :10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60"; + } + } + } + } + grouping gvpn-server-group-ipsecsa { + description "Configure a Group VPN group SA"; + leaf name { + description "Name of the SA"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf proposal { + description "Name of the IPsec proposal"; + type string { + length "1 .. 32"; + } + } + list match-policy { + key name; + ordered-by user; + description "Configure a Group VPN group SA"; + max-elements 10; + uses gvpn-server-group-ipsecsa-match; + } + } + grouping gvpn-server-group-ipsecsa-match { + description "Configure a Group VPN group SA policy"; + leaf name { + description "Name of the policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf source { + description "Specify the source IP address to be matched (0.0.0.0/0 for any)"; + type jt:ipv4prefix-mandatory; + } + leaf destination { + description "Specify the destination IP address to be matched (0.0.0.0/0 for any)"; + type jt:ipv4prefix-mandatory; + } + leaf source-port { + description "Specify the source port to be matched (0 for any)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "Specify the destination port to be matched (0 for any)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf protocol { + description "Specify the protocol number to be matched (0 for any)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 254"; + } + } + } + } + grouping gvpn-server-ike { + uses apply-advanced; + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses gvpn-server-ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses gvpn-ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + choice remote-identifier { + case case_1 { + leaf address { + description "IP address of peer"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + container dynamic { + description "Site to site peer with dynamic IP address"; + uses apply-advanced; + choice remote-id-type { + case case_1 { + leaf hostname { + description "Use a fully-qualified domain name"; + type string; + } + } + case case_2 { + leaf inet { + description "Use an IPV4 address to identify the dynamic peer"; + type jt:ipv4addr; + } + } + case case_3 { + leaf user-at-hostname { + description "Use an e-mail address"; + type string; + } + } + } + } + } + } + container dead-peer-detection { + presence "enable dead-peer-detection"; + description "Enable Dead Peer Detection between group-server-cluster servers"; + uses apply-advanced; + choice mode { + case case_1 { + leaf always-send { + description "Send probes periodically regardless of incoming and outgoing data traffic "; + type empty; + } + } + } + leaf interval { + description "The time between DPD probe messages Default :10"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf threshold { + description "Maximum number of DPD retransmissions Default :5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + } + } + leaf local-address { + description "Local IP address for IKE negotiations"; + type jt:ipaddr; + } + leaf routing-instance { + description "Name of routing instance that hosts local address"; + default "default"; + type string; + } + } + } + grouping gvpn-server-ike-gateway { + description "Configure a set of IKE gateways"; + leaf name { + description "Name of the IKE gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + grouping gvpn-server-ike-gateway-sc { + description "Configure a set of IKE gateways"; + leaf name { + description "Name of the IKE gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + grouping gvpn-server-ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + } + grouping gvpn-server-ipsec-vpn { + uses apply-advanced; + list proposal { + key name; + ordered-by user; + description "Define an IPSec proposal"; + uses gvpn-server-ipsec-proposal; + } + } + grouping gvpn-server-ipsec-proposal { + leaf name { + description "Name of the IPSec proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping gvpn-server-member-communication { + description "Group VPN Server to Member communication"; + uses apply-advanced; + leaf communication-type { + description "Define type of server member communication"; + type enumeration { + enum "unicast" { + description "Unicast"; + } + } + } + leaf lifetime-seconds { + description "Configure lifetime in seconds"; + default "3600"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 86400"; + } + } + } + leaf retransmission-period { + description "Configure retransmission period in seconds"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60"; + } + } + } + leaf number-of-retransmission { + description "Configure maximum number of retransmission attempts"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + leaf heartbeat { + description "Configure heartbeat period in seconds"; + status deprecated; + default "300"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 3600"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf sig-hash-algorithm { + description "Define sig-hash algorithm"; + type enumeration { + enum "sha-256" { + description "SHA 256-bit sig-hash algorithm"; + } + enum "sha-384" { + description "SHA 384-bit sig-hash algorithm"; + } + } + } + leaf certificate { + description "Certificate identifier"; + type string { + } + } + } + grouping gvpn-server-traceoptions { + description "Group VPN server tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters for GKSD"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container gateway-filter { + description "Set gateway filter for trace"; + uses apply-advanced; + leaf local-address { + description "Use an IPV4 address to identify the local gateway"; + type jt:ipv4addr; + } + leaf remote-address { + description "Use an IPV4 address to identify the remote gateway"; + type jt:ipv4addr; + } + } + } + grouping ipsec-gvpn-member-template { + description "Configure a Group VPN"; + leaf name { + description "Name of the VPN"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-gateway { + description "Name of IKE gateway"; + type string { + length "1 .. 32"; + } + } + leaf group-vpn-external-interface { + description "External interface for Group VPN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf group { + description "Enable Group VPN by defining group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf heartbeat-threshold { + description "Define heartbeat threshold for Group VPN"; + status deprecated; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + leaf recovery-probe { + description "Enable triggering recovery probe mechanism"; + type empty; + } + leaf df-bit { + description "Specifies how to handle the Don't Fragment bit"; + default "clear"; + type enumeration { + enum "clear" { + description "Clear DF bit of outer header"; + } + enum "set" { + description "Set DF bit of outer header"; + } + enum "copy" { + description "Copy DF bit from inner header"; + } + } + } + container fail-open { + description "List of fail open rules"; + uses ipsec_gvpn_fail_open_rule_object; + } + container exclude { + description "List of exclude rules"; + uses ipsec_gvpn_exclude_rule_object; + } + } + grouping ipsec_gvpn_exclude_rule_object { + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Define exlude rules upto 10"; + max-elements 10; + uses ipsec_gvpn_rule_address_object; + } + } + grouping ipsec_gvpn_fail_open_rule_object { + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Define fail open rules upto 10"; + max-elements 10; + uses ipsec_gvpn_rule_address_object; + } + } + grouping ipsec_gvpn_rule_address_object { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container source-address { + description "Match IP source address"; + presence "enable source-address"; + uses ipsec_gvpn_addr_object; + } + container destination-address { + description "Match IP destination address"; + presence "enable destination-address"; + uses ipsec_gvpn_addr_object; + } + leaf application { + description "Match application"; + type string; + } + } + grouping ipsec_gvpn_addr_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix-only; + } + } + grouping security-ike { + uses apply-advanced; + container traceoptions { + description "Trace options for IPSec key management"; + uses security-traceoptions; + } + container respond-bad-spi { + presence "enable respond-bad-spi"; + description "Respond to IPSec packets with bad SPI values"; + leaf max-responses { + description "Maximum number of times to respond"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + choice remote-identifier { + case case_1 { + leaf-list address { + ordered-by user; + description "Addresses or hostnames of peer:1 primary, upto 4 backups"; + type string; + } + } + case case_2 { + container dynamic { + description "Site to site peer with dynamic IP address"; + uses apply-advanced; + choice remote-id-type { + case case_1 { + container distinguished-name { + presence "enable distinguished-name"; + description "Use a distinguished name: "; + uses apply-advanced; + leaf container { + description "Specify the container string"; + type string; + } + leaf wildcard { + description "Specify the wildcard string"; + type string; + } + } + } + case case_2 { + leaf hostname { + description "Use a fully-qualified domain name"; + type string; + } + } + case case_3 { + leaf inet { + description "Use an IPV4 address to identify the dynamic peer"; + type jt:ipv4addr; + } + } + case case_4 { + leaf inet6 { + description "Use an IPV6 address to identify the dynamic peer"; + type jt:ipv6addr; + } + } + case case_5 { + leaf user-at-hostname { + description "Use an e-mail address"; + type string; + } + } + } + leaf connections-limit { + description "Maximum number of users connected to gateway"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf ike-user-type { + description "Type of the IKE ID"; + type enumeration { + enum "group-ike-id" { + description "Email address or FQDN shared as IKED ID by multiple users"; + } + enum "shared-ike-id" { + description "Email address shared as IKED ID by multiple users"; + } + } + } + leaf reject-duplicate-connection { + description "Reject new connection from duplicate IKE-id"; + type empty; + } + } + } + } + container dead-peer-detection { + presence "enable dead-peer-detection"; + description "Enable Dead Peer Detection "; + uses apply-advanced; + choice mode { + case case_1 { + leaf optimized { + description "Send probes only when there is outgoing and no incoming data traffic - RFC3706 (Default mode)"; + type empty; + } + } + case case_2 { + leaf probe-idle-tunnel { + description "Send probes same as in optimized mode and also when there is no outgoing & incoming data traffic"; + type empty; + } + } + case case_3 { + leaf always-send { + description "Send probes periodically regardless of incoming and outgoing data traffic "; + type empty; + } + } + } + leaf interval { + description "The time between DPD probe messages Default :10"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60"; + } + } + } + leaf threshold { + description "Maximum number of DPD retransmissions Default :5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + leaf no-nat-traversal { + description "Disable IPSec NAT traversal"; + type empty; + } + leaf nat-keepalive { + description "Interval at which to send NAT keepalives"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + description "Use an IPv6 address"; + uses apply-advanced; + leaf identity-ipv6 { + description "The local IPv6 identity"; + type jt:ipv6addr; + } + } + } + case case_3 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_4 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + case case_5 { + leaf distinguished-name { + description "Use a distinguished name specified in local certificate"; + type empty; + } + } + case case_6 { + container key-id { + description "Key ID identification values in ASCII string"; + uses apply-advanced; + leaf string-key-id { + description "Key ID in ASCII string"; + type string { + length "1 .. 127"; + } + } + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + description "Use an IPv6 address"; + uses apply-advanced; + leaf identity-ipv6 { + description "The remote IPv6 identity"; + type jt:ipv6addr; + } + } + } + case case_3 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_4 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + case case_5 { + container distinguished-name { + presence "enable distinguished-name"; + description "Use a distinguished name: "; + uses apply-advanced; + leaf container { + description "Specify the container string"; + type string; + } + leaf wildcard { + description "Specify the wildcard string"; + type string; + } + } + } + case case_6 { + container key-id { + description "Key ID identification values in string"; + uses apply-advanced; + leaf string-key-id { + description "Key ID in ASCII string"; + type string { + length "1 .. 127"; + } + } + } + } + } + } + leaf external-interface { + description "External interface for IKE negotiations"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Local IP address for IKE negotiations"; + type jt:ipaddr; + } + container aaa { + description "Use extended authentication"; + uses apply-advanced; + leaf access-profile { + description "Access profile that contains authentication information"; + type string; + } + container client { + description "AAA client info for authentication"; + leaf username { + description "AAA client username with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + leaf password { + description "AAA client password with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + } + } + container xauth { + description "Use extended authentication"; + status deprecated; + uses apply-advanced; + leaf access-profile { + description "Access profile that contains authentication information"; + type string; + } + container client { + description "Xauth client info for authentication"; + leaf username { + description "XAuth client username with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + leaf password { + description "XAuth client password with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + } + } + leaf general-ikeid { + description "Accept peer IKE-ID in general"; + type empty; + } + container advpn { + description "Enable Auto Discovery VPN"; + presence "enable advpn"; + uses advpn-suggester-partner; + } + leaf version { + description "Negotiate using either IKE v1 or IKE v2 protocol"; + default "v1-only"; + type enumeration { + enum "v1-only" { + description "The connection must be initiated using IKE version 1"; + } + enum "v2-only" { + description "The connection must be initiated using IKE version 2"; + } + } + } + container fragmentation { + description "IKEv2 fragmentation configuration"; + uses apply-advanced; + leaf disable { + description "Disable IKEv2 fragmentation"; + type empty; + } + leaf size { + description "Default 576 bytes for ipv4 and 1280 bytes for ipv6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "570 .. 1320"; + } + } + } + } + leaf tcp-encap-profile { + description "Ike over tcp profile name"; + type string; + } + } + } + grouping advpn-suggester-partner { + description "Configure ADVPN Suggester Partner"; + uses apply-advanced; + container suggester { + presence "enable suggester"; + description "Configure Shortcut Suggester parameters"; + uses apply-advanced; + leaf disable { + description "Disable Suggester capability"; + type empty; + } + } + container partner { + presence "enable partner"; + description "Configure Shortcut Partner parameters"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of shortcut connections (default: varies per platform)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf idle-time { + description "The duration (in sec) after which shortcut is torn down (default: 300 sec)"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + leaf idle-threshold { + description "The packet rate below which shortcut is torn down (default: 5 packets/sec)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5000"; + } + } + } + leaf disable { + description "Disable Partner capability"; + type empty; + } + } + } + grouping ike-policy { + leaf name { + description "Name of policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf mode { + description "Define the IKE mode for Phase 1"; + default "main"; + type enumeration { + enum "main" { + description "Main mode"; + } + enum "aggressive" { + description "Aggressive mode"; + } + } + } + leaf reauth-frequency { + description "Re-auth Peer after reauth-frequency times hard lifetime. (0-100) Default:0=Disabled"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf description { + description "Text description of IKE policy"; + type string { + length "1 .. 80"; + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + container certificate { + description "Certificate configuration"; + uses apply-advanced; + leaf local-certificate { + description "Local certificate identifier"; + type string { + } + } + container trusted-ca { + description "Specify the CA to use"; + choice ca { + case case_1 { + leaf ca-index { + description "Index of the preferred CA to use"; + status deprecated; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf use-all { + description "Use all configured CAs"; + status deprecated; + type empty; + } + } + case case_3 { + leaf ca-profile { + description "Name of the preferred CA to use"; + type string; + } + } + case case_4 { + leaf trusted-ca-group { + description "Name of the preferred CA group to use"; + type string; + } + } + } + } + leaf peer-certificate-type { + description "Preferred type of certificate from peer"; + default "x509-signature"; + type enumeration { + enum "pkcs7" { + description "PKCS7 encoding"; + } + enum "x509-signature" { + description "X509 signature encoding"; + } + } + } + leaf-list policy-oids { + ordered-by user; + description "Certificate policy object identifiers (maximum 5)"; + type string { + length "1 .. 63"; + } + max-elements 5; + } + } + leaf proposal-set { + description "Types of default IKE proposal-set"; + type enumeration { + enum "basic" { + description "IKE proposal-set for basic"; + } + enum "compatible" { + description "IKE proposal-set for compatible"; + } + enum "standard" { + description "IKE proposal-set for standard"; + } + enum "suiteb-gcm-128" { + description "IKE proposal-set for Suite-B-GCM-128"; + } + enum "suiteb-gcm-256" { + description "IKE proposal-set for Suite-B-GCM-256"; + } + } + } + container pre-shared-key { + description "Define a preshared key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + enum "rsa-signatures" { + description "RSA signatures"; + } + enum "dsa-signatures" { + description "DSA signatures"; + } + enum "ecdsa-signatures-256" { + description "ECDSA signatures (256 bit modulus)"; + } + enum "ecdsa-signatures-384" { + description "ECDSA signatures (384 bit modulus)"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group 1"; + } + enum "group2" { + description "Diffie-Hellman Group 2"; + } + enum "group5" { + description "Diffie-Hellman Group 5"; + } + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group19" { + description "Diffie-Hellman Group 19"; + } + enum "group20" { + description "Diffie-Hellman Group 20"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "md5" { + description "MD5 authentication algorithm"; + } + enum "sha1" { + description "SHA1 authentication algorithm"; + } + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping security-ipsec-policies { + uses apply-advanced; + list from-zone { + key "from-zone-name to-zone"; + ordered-by user; + description "Define ipsec policy context"; + uses security-ipsec-policy; + } + } + grouping security-ipsec-policy { + leaf from-zone-name { + description "Incoming zone"; + type string { + length "1 .. 63"; + } + } + leaf to-zone { + description "Outgoing zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf ipsec-group-vpn { + description "Group VPN name"; + type string { + length "1 .. 32"; + } + } + } + grouping security-ipsec-vpn { + uses apply-advanced; + container internal { + presence "enable internal"; + description "Define an IPSec SA for internal RE-RE communication"; + uses apply-advanced; + container security-association { + description "Define an IPsec security association"; + presence "enable security-association"; + uses ipsec-internal-sa; + } + } + container traceoptions { + description "Trace options for IPSec data-plane debug"; + uses ipsec-traceoptions; + } + container vpn-monitor-options { + description "Global options for VPN liveliness monitoring"; + presence "enable vpn-monitor-options"; + uses ipsec-vpn-monitor; + } + list proposal { + key name; + ordered-by user; + description "Define an IPSec proposal"; + uses ipsec-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IPSec policy"; + uses ipsec-policy; + } + list vpn { + key name; + ordered-by user; + description "Define an IPSec VPN"; + uses ipsec-vpn-template; + } + list security-association { + key name; + ordered-by user; + description "Define a manual control plane SA "; + uses ipsec-sa; + } + } + grouping ipsec-internal-sa { + uses apply-advanced; + container manual { + description "Define a manual security association"; + uses apply-advanced; + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + } + } + leaf ike-ha-link-encryption { + description "Enable HA link encryption IKE internal messages"; + type enumeration { + enum "enable" { + description "Enable HA link encryption IKE internal messages"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type jt:unreadable; + } + } + } + } + } + } + } + grouping ipsec-policy { + leaf name { + description "Name of the IPSec policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec policy"; + type string { + length "1 .. 80"; + } + } + container perfect-forward-secrecy { + description "Define perfect forward secrecy"; + uses apply-advanced; + leaf keys { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group 1"; + } + enum "group2" { + description "Diffie-Hellman Group 2"; + } + enum "group5" { + description "Diffie-Hellman Group 5"; + } + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group19" { + description "Diffie-Hellman Group 19"; + } + enum "group20" { + description "Diffie-Hellman Group 20"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + leaf proposal-set { + description "Types of default IPSEC proposal-set"; + type enumeration { + enum "basic" { + description "IPSEC basic proposal-set"; + } + enum "compatible" { + description "IPSEC compatible proposal-set"; + } + enum "standard" { + description "IPSEC standard proposal-set"; + } + enum "suiteb-gcm-128" { + description "IPSec proposal-set for Suite-B-GCM-128"; + } + enum "suiteb-gcm-256" { + description "IPSec proposal-set for Suite-B-GCM-256"; + } + enum "prime-128" { + description "IPSec proposal-set for PRIME-128"; + } + enum "prime-256" { + description "IPSec proposal-set for PRIME-256"; + } + } + } + } + grouping ipsec-proposal { + leaf name { + description "Name of the IPSec proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec proposal"; + type string { + length "1 .. 80"; + } + } + leaf protocol { + description "Define an IPSec protocol for the proposal"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + enum "hmac-sha-256-96" { + description "HMAC-SHA-256-96 authentication algorithm (non-RFC compliant)"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm"; + } + enum "aes-192-gcm" { + description "AES-GCM 192-bit encryption algorithm"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + leaf lifetime-kilobytes { + description "Lifetime, in kilobytes"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4294967294"; + } + } + } + } + grouping ipsec-sa { + leaf name { + description "Name of IPSec security association"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of security association"; + type string { + length "1 .. 80"; + } + } + leaf mode { + description "Define security association mode"; + default "transport"; + type enumeration { + enum "transport" { + description "Transport mode"; + } + } + } + choice sa_choice { + case case_1 { + container manual { + description "Define a manual security association"; + uses security-association-manual; + } + } + } + } + grouping ipsec-traceoptions { + description "Data-plane IPSec tracing options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Events to include in data-plane IPSec trace output"; + leaf name { + type enumeration { + enum "packet-processing" { + description "Trace data packet processing events"; + } + enum "packet-drops" { + description "Trace packet drops"; + } + enum "security-associations" { + description "Trace security association management events"; + } + enum "next-hop-tunnel-binding" { + description "Trace next-hop tunnel binding events"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + grouping ipsec-vpn-monitor { + description "Configure VPN monitoring"; + uses apply-advanced; + leaf interval { + description "Monitor interval in seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 3600"; + } + } + } + leaf threshold { + description "Number of consecutive failures to determine connectivity"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + } + grouping ipsec-vpn-template { + description "Configure an IPSec VPN"; + leaf name { + description "Name of the VPN"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf bind-interface { + description "Bind to tunnel interface (route-based VPN)"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf df-bit { + description "Specifies how to handle the Don't Fragment bit"; + type enumeration { + enum "clear" { + description "Clear DF bit of outer header"; + } + enum "set" { + description "Set DF bit of outer header"; + } + enum "copy" { + description "Copy DF bit from inner header"; + } + } + } + container multi-sa { + presence "enable multi-sa"; + description "Negotiate multiple SAs based on configuration choice"; + uses apply-advanced; + choice sa_map { + case case_1 { + list forwarding-class { + key name; + ordered-by user; + leaf name { + description "Name of forwarding classes"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + } + leaf copy-outer-dscp { + description "Enable copying outer IP header DSCP and ECN to inner IP header"; + type empty; + } + container vpn-monitor { + description "Monitor VPN liveliness"; + presence "enable vpn-monitor"; + uses ipsec-template-monitor; + } + choice negotiation { + case case_1 { + container manual { + description "Define a manual security association"; + uses apply-advanced; + leaf gateway { + description "Define the IPSec peer"; + type jt:hostname; + } + leaf external-interface { + description "External interface for the security association"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + enum "hmac-sha-256-96" { + description "HMAC-SHA-256-96 authentication algorithm (non-RFC compliant)"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + case case_2 { + container ike { + description "Define an IKE-keyed IPSec vpn"; + uses apply-advanced; + leaf gateway { + description "Name of remote gateway"; + type string { + length "1 .. 32"; + } + } + leaf idle-time { + description "Idle time to delete SA"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 999999"; + } + } + } + leaf no-anti-replay { + description "Disable the anti-replay check"; + type empty; + } + container proxy-identity { + description "IPSec proxy-id to use in IKE negotiations"; + presence "enable proxy-identity"; + uses ipsec-template-proxy-id; + } + leaf ipsec-policy { + description "Name of the IPSec policy"; + type string { + length "1 .. 32"; + } + } + leaf install-interval { + description "Delay installation of rekeyed outbound SAs on initiator"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + } + } + } + list traffic-selector { + key name; + ordered-by user; + description "Traffic selector"; + max-elements 200; + leaf name { + description "Name of traffic selector"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf local-ip { + description "IP address of local traffic-selector"; + type jt:ipprefix-mandatory; + } + leaf remote-ip { + description "IP address of remote traffic-selector"; + type jt:ipprefix-mandatory; + } + } + leaf establish-tunnels { + description "Define the criteria to establish tunnels"; + default "on-traffic"; + type enumeration { + enum "immediately" { + description "Establish tunnels immediately"; + } + enum "on-traffic" { + description "Establish tunnels on traffic"; + } + } + } + } + grouping ipsec-template-monitor { + description "Configure VPN monitoring"; + uses apply-advanced; + leaf optimized { + description "Optimize for scalability"; + type empty; + } + leaf source-interface { + description "Source interface for monitor message"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-ip { + description "Destination IP addres for monitor message"; + type jt:ipaddr; + } + container verify-path { + presence "enable verify-path"; + description "Verify IPSec path using vpn-monitor before bring up st0 state"; + uses apply-advanced; + leaf destination-ip { + description "Destination IP addres for verify IPSec path"; + type jt:ipaddr; + } + leaf packet-size { + description "Size of the packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1350"; + } + } + } + } + } + grouping ipsec-template-proxy-id { + description "Proxy identity settings"; + uses apply-advanced; + leaf local { + description "Local IP address/prefix length"; + type jt:ipprefix-mandatory; + } + leaf remote { + description "Remote IP address/prefix length"; + type jt:ipprefix-mandatory; + } + leaf service { + description "Name of serivce that passes through, any enables all services"; + type string { + length "1 .. 32"; + } + } + } + grouping security-association-manual { + uses apply-advanced; + list direction { + key name; + ordered-by user; + description "Define the direction of the security association"; + leaf name { + type enumeration { + enum "bidirectional" { + description "Bidirectional security association"; + } + } + } + uses apply-advanced; + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + grouping security-macsec { + uses apply-advanced; + container traceoptions { + description "Tracing options for debugging protocol operation"; + presence "enable traceoptions"; + uses macsec-trace-options; + } + list connectivity-association { + key name; + ordered-by user; + description "Configure connectivity association properties"; + leaf name { + description "Connectivity association name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf security-mode { + description "Connectivity association mode"; + type enumeration { + enum "dynamic" { + description "Dynamic connectivity and secure association mode (MKA and dot1x)"; + } + enum "static-sak" { + description "Static secure association key mode (no MKA)"; + } + enum "static-cak" { + description "Static connectivity association key mode (MKA and Pre-shared key)"; + } + } + } + list secure-channel { + key name; + ordered-by user; + description "Configure secure channel properties"; + leaf name { + description "Secure channel name"; + type string; + } + uses apply-advanced; + container id { + description "Secure channel identifier"; + uses apply-advanced; + leaf mac-address { + description "MAC addresses"; + type jt:mac-addr; + } + leaf port-id { + description "Port identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf direction { + description "Secure channel direction"; + type enumeration { + enum "inbound" { + } + enum "outbound" { + } + } + } + leaf encryption { + description "Enable Encryption"; + type empty; + } + leaf offset { + description "Confidentiality offset"; + type enumeration { + enum "0" { + description "Confidentiality protected for all octets of MACSec PDU data"; + } + enum "30" { + description "Confidentiality not protected for initial 30 octets of MACSec PDU data"; + } + enum "50" { + description "Confidentiality not protected for initial 50 octets of MACSec PDU data"; + } + } + } + leaf include-sci { + description "Include secure channel identifier in MAC Security PDU"; + type empty; + } + list security-association { + key name; + ordered-by user; + description "Security association"; + leaf name { + description "Security association number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + leaf key { + description "Security association key in hexadecimal format of length 32"; + type string { + length 32; + } + } + } + } + container mka { + presence "enable mka"; + description "Configure MAC Security Key Agreement protocol properties"; + uses apply-advanced; + leaf transmit-interval { + description "Configure MKA periodic transmit interval"; + default "7000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf bounded-delay { + description "Configure Bounded Hello Time"; + type empty; + } + leaf key-server-priority { + description "Configure MKA key server priority"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf must-secure { + description "Allow only secure dot1x traffic"; + type empty; + } + leaf should-secure { + description "Configure fail open mode for MKA protocol"; + type empty; + } + } + container replay-protect { + description "Configure replay protection"; + uses apply-advanced; + leaf replay-window-size { + description "Configure replay protection window size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + leaf no-encryption { + description "Disable encryption"; + type empty; + } + leaf offset { + description "Confidentiality offset"; + default "0"; + type enumeration { + enum "0" { + description "Confidentiality provided for all octets of data"; + } + enum "30" { + description "Confidentiality not provided for initial 30 octets of data"; + } + enum "50" { + description "Confidentiality not provided for initial 50 octets of data"; + } + } + } + leaf include-sci { + description "Include secure channel identifier in MAC Security PDU"; + type empty; + } + container pre-shared-key { + presence "enable pre-shared-key"; + description "Configure pre-shared connectivity association key"; + uses apply-advanced; + leaf ckn { + description "Connectivity association key name in hexadecimal format"; + type string { + length "2 .. 64"; + } + } + leaf cak { + description "Connectivity association key in hexadecimal format (max_length = 64)"; + type string { + length "1 .. 64"; + } + } + } + leaf pre-shared-key-chain { + description "Pre-shared key chain name for connectivity association"; + type string { + } + } + list exclude-protocol { + key name; + ordered-by user; + description "Configure protocols to exclude from MAC Security"; + leaf name { + type enumeration { + enum "cdp" { + description "Cisco Discovery Protocol"; + } + enum "lldp" { + description "Link Level Discovery Protocol"; + } + enum "lacp" { + description "Link Aggregation Control Protocol"; + } + } + } + } + } + list interfaces { + key name; + description "Interfaces on which macsec configuration is applied"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + leaf aes-gcm-revert-flag { + description "Flag to fall back to previous AES_GCM_256 + cipher suite implementation"; + type empty; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + list cluster-control-port { + key name; + description "Cluster control port on which macsec configuration is applied"; + leaf name { + description "Port identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + list cluster-data-port { + key name; + description "Cluster data port on which macsec configuration is applied"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + } + grouping macsec-trace-options { + description "Trace options for MACSec Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "config" { + description "Trace configuration messages"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "normal" { + description "Trace normal messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + grouping mka-trace-options { + description "Trace options for MKA protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "mka-packets" { + description "Trace MKA input and output packets"; + } + enum "state" { + description "Trace MKA state information"; + } + enum "to-secy" { + description "Trace MKA to SecY state changes"; + } + enum "keys" { + description "Trace key creation/generation information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping security-pki { + uses apply-advanced; + list ca-profile { + key name; + ordered-by user; + description "Certificate authority profile configuration"; + leaf name { + description "Name of certificate authority profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ca-identity { + description "Certificate authority identifier"; + type string; + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf proxy-profile { + description "Use specified proxy server"; + type string; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + container enrollment { + description "Enrollment parameters for certificate authority"; + uses apply-advanced; + leaf url { + description "Enrollment URL of certificate authority"; + type string; + } + leaf retry { + description "Number of enrollment retry attempts before aborting"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1080"; + } + } + } + leaf retry-interval { + description "Interval in seconds between the enrollment retries"; + default "600"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + container revocation-check { + description "Method for checking certificate revocations"; + uses apply-advanced; + choice revocation-check-options { + case case_1 { + leaf use-crl { + description "Use CRL for revocation check"; + type empty; + } + } + case case_2 { + leaf use-ocsp { + description "Use OCSP for revocation check"; + type empty; + } + } + case case_3 { + leaf disable { + description "Disable revocation check"; + type empty; + } + } + } + container ocsp { + presence "enable ocsp"; + description "Online Certificate Status Protocol (OCSP) configuration"; + uses apply-advanced; + list url { + key name; + ordered-by user; + leaf name { + description "HTTP URL for OCSP access location"; + type string { + length "1 .. 500"; + } + } + uses apply-advanced; + } + leaf nonce-payload { + description "Include nonce payload in OCSP requests"; + type enumeration { + enum "enable" { + description "Send nonce paylod in OCSP request"; + } + enum "disable" { + description "Do not send nonce payload in OCSP request"; + } + } + } + leaf disable-responder-revocation-check { + description "Disable OCSP responder certificate revocation check"; + type empty; + } + leaf accept-unknown-status { + description "Accept certificates with unknown status"; + type empty; + } + container connection-failure { + presence "enable connection-failure"; + description "Actions on failure to connect to OCSP Responder"; + uses apply-advanced; + choice connection-failure-options { + case case_1 { + leaf fallback-crl { + description "Use CRL for revocation check"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable OCSP check on connection failure"; + type empty; + } + } + } + } + } + container crl { + description "Certificate revocation list configuration"; + uses apply-advanced; + container disable { + leaf on-download-failure { + description "Check revocation status with existing CRL file if present, otherwise skip. This feature must be enabled for manual CRL download."; + type empty; + } + } + list url { + key name; + ordered-by user; + leaf name { + description "URL of CRL distribution point for certificate authority"; + type string { + length "1 .. 500"; + } + } + uses apply-advanced; + leaf password { + description "Password for authentication with the server"; + type jt:unreadable; + } + } + leaf refresh-interval { + description "CRL refresh interval"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8784"; + } + } + } + } + } + container administrator { + description "Administrator information"; + uses apply-advanced; + leaf email-address { + description "Administrator e-mail to which to send certificate requests"; + type string; + } + } + } + list trusted-ca-group { + key name; + ordered-by user; + description "Trusted Certificate Authority group configuration"; + leaf name { + description "Name of the trusted CA group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list ca-profiles { + ordered-by user; + description "Name of the CA profiles (maximum 20)"; + type string { + length "1 .. 63"; + } + max-elements 20; + } + } + container auto-re-enrollment { + description "Auto re-enroll of certificate"; + uses apply-advanced; + container cmpv2 { + presence "enable cmpv2"; + description "CMPv2 auto re-enrollment configuration"; + uses apply-advanced; + list certificate-id { + key name; + ordered-by user; + description "CMPv2 auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + } + } + container scep { + presence "enable scep"; + description "SCEP auto re-enrollment configuration"; + uses apply-advanced; + list certificate-id { + key name; + ordered-by user; + description "SCEP auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf challenge-password { + description "Password used by CA for enrollment and revocation"; + type jt:unreadable; + } + container scep-encryption-algorithm { + presence "enable scep-encryption-algorithm"; + description "SCEP encryption algorithm"; + uses apply-advanced; + choice scep-encryption-algorithm-options { + case case_1 { + leaf des { + description "Use DES as SCEP encryption algorithm"; + type empty; + } + } + case case_2 { + leaf des3 { + description "Use DES3 as SCEP encryption algorithm"; + type empty; + } + } + } + } + container scep-digest-algorithm { + presence "enable scep-digest-algorithm"; + description "SCEP digest algorithm"; + uses apply-advanced; + choice scep-digest-algorithm-options { + case case_1 { + leaf md5 { + description "Use MD5 as SCEP digest algorithm"; + type empty; + } + } + case case_2 { + leaf sha1 { + description "Use SHA1 as SCEP digest algorithm"; + type empty; + } + } + } + } + } + } + list certificate-id { + key name; + ordered-by user; + description "Auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf challenge-password { + description "Password used by CA for enrollment and revocation"; + type jt:unreadable; + } + container scep-encryption-algorithm { + presence "enable scep-encryption-algorithm"; + description "SCEP encryption algorithm"; + uses apply-advanced; + choice scep-encryption-algorithm-options { + case case_1 { + leaf des { + description "Use DES as SCEP encryption algorithm"; + type empty; + } + } + case case_2 { + leaf des3 { + description "Use DES3 as SCEP encryption algorithm"; + type empty; + } + } + } + } + container scep-digest-algorithm { + presence "enable scep-digest-algorithm"; + description "SCEP digest algorithm"; + uses apply-advanced; + choice scep-digest-algorithm-options { + case case_1 { + leaf md5 { + description "Use MD5 as SCEP digest algorithm"; + type empty; + } + } + case case_2 { + leaf sha1 { + description "Use SHA1 as SCEP digest algorithm"; + type empty; + } + } + } + } + } + } + container traceoptions { + description "PKI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "certificate-verification" { + description "PKI certificate verification tracing"; + } + enum "online-crl-check" { + description "PKI online crl tracing"; + } + enum "enrollment" { + description "PKI certificate enrollment tracing"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + } + grouping security-traceoptions { + description "Trace options for key management process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container filter { + description "Filter parameters for IKE traceoptions"; + uses apply-advanced; + leaf fpc { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf pic { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters for IKE"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping security-zone-type { + description "Security zone"; + leaf name { + description "Name of the zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of zone"; + type string { + length "1 .. 900"; + } + } + leaf tcp-rst { + description "Send RST for NON-SYN packet not matching TCP session"; + type empty; + } + container address-book { + description "Address book entries"; + uses address-book-type; + } + leaf screen { + description "Name of ids option object applied to the zone"; + type string { + length "1 .. 32"; + } + } + container host-inbound-traffic { + description "Allowed system services & protocols"; + uses zone_host_inbound_traffic_t; + } + list interfaces { + key name; + ordered-by user; + description "Interfaces that are part of this zone"; + uses zone-interface-list-type; + } + leaf application-tracking { + description "Enable Application tracking support for this zone"; + type empty; + } + leaf source-identity-log { + description "Show user and group info in session log for this zone"; + type empty; + } + container advance-policy-based-routing-profile { + description "Enable Advance Policy Based Routing on this zone"; + uses apply-advanced; + leaf profile { + description "Advance policy based routing profile name"; + type string { + length "1 .. 63"; + } + } + } + leaf enable-reverse-reroute { + description "Enable Reverse route lookup when there is change in ingress interface"; + type empty; + } + } + grouping address-book-type { + description "Configure security address book for the zone"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Define a security address"; + uses address_type; + } + list address-set { + key name; + ordered-by user; + description "Define a security address set"; + uses address_set_type; + } + } + grouping server { + description "Server settings"; + uses apply-advanced; + leaf host { + description "Server host IP address or string host name"; + type string; + } + leaf port { + description "Server port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + grouping server-bulk-leasequery-type { + description "Allow bulk leasequery"; + uses apply-advanced; + leaf max-connections { + description "Max TCP connections allowed at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Timeout for blocked connection"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf max-empty-replies { + description "Maximum number of empty replies for a connection"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf restricted-requestor { + description "Allow bulk leasequery only from restricted requestors"; + type empty; + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-leasequery-type { + description "Allow leasequery"; + uses apply-advanced; + leaf restricted-requestor { + description "Allow leasequery only from restricted requestors"; + type empty; + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping server-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + } + } + grouping session_timeout_type { + uses apply-advanced; + leaf tcp { + description "Timeout value for tcp sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf udp { + description "Timeout value for udp sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf ospf { + description "Timeout value for ospf sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf icmp { + description "Timeout value for icmp sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf icmp6 { + description "Timeout value for icmp6 sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf others { + description "Timeout value for other sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + } + grouping sla_policy_type { + leaf name { + description "APBR policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of policy"; + type string { + length "1 .. 900"; + } + } + container match { + description "Specify sla policy match-criteria"; + uses apply-advanced; + choice source-address_choice { + case case_1 { + leaf-list source-address { + ordered-by user; + type string; + } + } + } + choice destination-address_choice { + case case_1 { + leaf-list destination-address { + ordered-by user; + type string; + } + } + } + leaf source-address-excluded { + description "Exclude source addresses"; + type empty; + } + leaf destination-address-excluded { + description "Exclude destination addresses"; + type empty; + } + choice application_type_choice { + case case_1 { + leaf-list application { + ordered-by user; + description "Specify application or application-set name to match"; + type string { + length "1 .. 63"; + } + } + } + } + } + container then { + description "Specify policy action to take when packet match criteria"; + uses apply-advanced; + choice action { + case case_1 { + container application-services { + description "Application Services"; + uses sla_application_services_type; + } + } + } + } + } + grouping sla_application_services_type { + description "Application Services"; + uses apply-advanced; + leaf advance-policy-based-routing-profile { + description "Specify APBR profile name"; + type string { + length "1 .. 63"; + } + } + } + grouping softwire-option-type { + description "Configure softwire object"; + leaf name { + description "DS-Lite object name"; + type string { + length "1 .. 23"; + } + } + uses apply-advanced; + leaf softwire-concentrator { + description "Concentrator ipv6 address"; + type jt:ipv6addr; + } + leaf softwire-type { + description "Softwire-type"; + default "IPv4-in-IPv6"; + type enumeration { + enum "IPv4-in-IPv6" { + description "Ipv4-in-IPv6"; + } + } + } + } + grouping sophos-fallback-settings { + description "Anti-virus fallback settings"; + uses apply-advanced; + leaf default { + description "Default action"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf content-size { + description "Fallback action for over content size"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf engine-not-ready { + description "Fallback action for engine not ready"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf timeout { + description "Fallback action for engine scan timeout"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf out-of-resources { + description "Fallback action for out of resources"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf too-many-requests { + description "Fallback action for requests exceed engine limit"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + } + grouping sophos-scan-options { + description "Anti-virus scan options"; + uses apply-advanced; + choice uri-check-choice { + leaf uri-check { + description "Anti-virus uri-check"; + type empty; + } + leaf no-uri-check { + description "Don't anti-virus uri-check"; + type empty; + } + } + leaf content-size-limit { + description "Content size limit"; + type string; + } + leaf timeout { + description "Scan engine timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + grouping source_address_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping srd-ev-action-object { + description "Action to be taken on the occurence if defined events"; + uses apply-advanced; + leaf mship-actions { + description "Mastership related actions"; + type enumeration { + enum "acquire-mastership" { + description "Attempt to acquire mastership"; + } + enum "release-mastership" { + description "Attempt to release mastership"; + } + enum "release-mastership-force" { + description "Attempt to release mastership"; + } + enum "release-mastership-if-standby-clear" { + description "Attempt to release mastership if standby has no warning"; + } + enum "broadcast-warning" { + description "Attempt to release mastership"; + } + } + } + list add-static-route { + key name; + ordered-by user; + description "Add a static route in the specified routing table"; + max-elements 1; + uses srd-route-add-object; + } + list delete-static-route { + key name; + ordered-by user; + description "Delete a static route in the specified routing table"; + max-elements 1; + uses srd-route-delete-object; + } + } + grouping srd-route-add-object { + description "Route details"; + leaf name { + description " Destination route address with prefix length"; + type jt:ipv4prefix-mandatory; + } + uses apply-advanced; + choice next-hop-details { + case case_1 { + leaf next-hop { + description "Next-hop (interface) to destination"; + type string; + } + } + case case_2 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + } + leaf routing-instance { + description "Routing instance where the route should be added"; + type string; + } + } + grouping srd-route-delete-object { + description "Route details"; + leaf name { + description "Destination route address with prefix length"; + type jt:ipv4prefix-mandatory; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance where the route should be added"; + type string; + } + } + grouping ssg-destination-nat-object { + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define a destination address pool"; + leaf name { + description "Pool name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of pool"; + type string { + length "1 .. 900"; + } + } + container routing-instance { + description "Routing instance"; + uses apply-advanced; + choice ri-name-choice { + case case_1 { + leaf default { + description "Default routing-instance"; + type empty; + } + } + case case_2 { + leaf ri-name { + description "Routing-instance name"; + type string { + } + } + } + } + } + container address { + description "Add address or address range to pool"; + leaf ipaddr { + description "IPv4 or IPv6 address or address range"; + type jt:ipprefix; + } + choice range-port-choice { + case case_1 { + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipaddr { + description "IPv4 or IPv6 upper limit of address range"; + type jt:ipprefix; + } + } + } + case case_2 { + leaf port { + description "Specify the port value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + list port-forwarding { + key name; + ordered-by user; + description "Define a port-forwarding mapping pool"; + leaf name { + description "Port Forwarding mapping name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of port forwarding mapping"; + type string { + length "1 .. 900"; + } + } + list destined-port { + key "port translated-port"; + ordered-by user; + description "Port forwarding mappings"; + max-elements 32; + leaf port { + description "Destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf translated-port { + description "Translated port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + list rule-set { + key name; + ordered-by user; + description "Configurate a set of rules"; + leaf name { + description "Rule-set name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule set"; + type string { + length "1 .. 900"; + } + } + container from { + description "Where is the traffic from"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Source routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Source zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Source interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + list rule { + key name; + ordered-by user; + description "Destination NAT rule"; + uses dest-nat-rule-object; + } + leaf match-direction { + description "Match direction"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + } + } + } + } + grouping dest-nat-rule-object { + leaf name { + description "Rule name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule"; + type string { + length "1 .. 900"; + } + } + container dest-nat-rule-match { + description "Specify Destination NAT rule match criteria"; + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list source-address-name { + ordered-by user; + description "Address/address-set from address book"; + type string; + max-elements 8; + } + choice dst-choice { + case case_1 { + container destination-address { + description "Destination address"; + leaf dst-addr { + description "IPv4 or IPv6 destination address"; + type jt:ipprefix; + } + } + } + case case_2 { + container destination-address-name { + description "Address from address book"; + leaf dst-addr-name { + description "Address from address book"; + type string { + length "1 .. 63"; + } + } + } + } + } + list destination-port { + key name; + ordered-by user; + description "Destination port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf-list protocol { + ordered-by user; + description "IP Protocol"; + type string; + max-elements 4; + } + leaf-list application { + ordered-by user; + type string; + } + } + container then { + description "Then action"; + uses apply-advanced; + container destination-nat { + description "Destination NAT action"; + uses apply-advanced; + choice action { + case case_1 { + leaf off { + description "No action"; + type empty; + } + } + case case_2 { + container pool { + description "Use Destination NAT pool"; + uses apply-advanced; + leaf pool-name { + description "Name of Destination NAT pool"; + type string { + length "1 .. 31"; + } + } + } + } + case case_3 { + leaf destination-prefix { + description "Destination prefix to be used for NAT64 and 464 translation type"; + type jt:ipprefix-only; + } + } + } + container port-forwarding-mappings { + description "Use Destination NAT port forwarding mapping pool"; + uses apply-advanced; + leaf pf-name { + description "Name of Port forwarding mappings"; + type string { + length "1 .. 31"; + } + } + } + container rule-session-count-alarm { + description "Config rule-session-count-alarm to destination rule"; + uses nat-rule-session-count-alarm-object; + } + } + } + } + grouping nat-rule-session-count-alarm-object { + uses apply-advanced; + leaf raise-threshold { + description "Raise threshold for rule session count alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf clear-threshold { + description "Clear threshold for session count hit alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + grouping ssg-proxy-arp-object { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface with proxy arp configured"; + uses ssg-interface-object; + } + } + grouping ssg-interface-object { + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Proxy ARP address"; + leaf name { + description "Address or address range"; + type jt:ipv4prefix; + } + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipaddr { + description "Upper limit of address range"; + type jt:ipv4prefix; + } + } + } + } + grouping ssg-proxy-ndp-object { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface with proxy arp configured"; + uses ssg-proxy-ndp-interface-object; + } + } + grouping ssg-proxy-ndp-interface-object { + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Proxy ndp address"; + leaf name { + description "Address or address range"; + type jt:ipv6prefix; + } + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipv6addr { + description "Upper limit of address range"; + type jt:ipv6addr; + } + } + } + } + grouping ssg-source-nat-object { + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define a source address pool"; + leaf name { + description "Pool name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of pool"; + type string { + length "1 .. 900"; + } + } + container routing-instance { + description "Routing instance"; + uses apply-advanced; + leaf ri-name { + description "Routing instance name"; + type string { + } + } + } + list address { + key name; + ordered-by user; + description "Add address to pool"; + max-elements 8; + leaf name { + description "IPv4 or IPv6 address or address range"; + type jt:ipprefix; + } + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipaddr { + description "IPv4 or IPv6 upper limit of address range"; + type jt:ipprefix; + } + } + } + container host-address-base { + description "The base of host address"; + leaf ipaddr { + description "IPv4 or IPv6 base address"; + type jt:ipprefix; + } + } + container port { + description "Config port attribute to pool"; + uses apply-advanced; + choice port-choice { + case case_1 { + leaf no-translation { + description "Do not perform port translation"; + type empty; + } + } + case case_2 { + container range { + description "Port range"; + uses apply-advanced; + leaf low { + description "Lower limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 65535"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 65535"; + } + } + } + } + container twin-port { + description "Twin port range"; + uses apply-advanced; + leaf low { + description "Lower limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + container to { + description "Twin port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + } + } + } + } + } + leaf port-overloading-factor { + description "Port overloading factor for each IP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 32"; + } + } + } + container block-allocation { + description "Port block allocation"; + presence "enable block-allocation"; + uses block-allocation-object; + } + container deterministic { + description "Deterministic nat allocation"; + presence "enable deterministic"; + uses deterministic-object; + } + } + container overflow-pool { + description "Specify an overflow pool"; + choice overflow-pool-choice { + case case_1 { + leaf pool-name { + description "Name of source address pool"; + type string { + length "1 .. 31"; + } + } + } + case case_2 { + leaf interface { + description "Allow interface pool to support overflow"; + type empty; + } + } + } + } + leaf address-shared { + description "Allow multiple hosts to share an externel address"; + type empty; + } + container address-pooling { + description "Specify the address-pooling behavior"; + choice pooling-choice { + case case_1 { + leaf paired { + description "Allow address-pooling paired for a source pool with port translation"; + type empty; + } + } + case case_2 { + leaf no-paired { + description "Allow address-pooling no-paired for a source pool without port translation"; + type empty; + } + } + } + } + container address-persistent { + description "Specify the address-persistent behavior"; + container subscriber { + description "Configure address persistent for subscriber"; + leaf ipv6-prefix-length { + description "Ipv6 prefix length for address persistent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "8 .. 128"; + } + } + } + } + } + container pool-utilization-alarm { + description "Config pool-utilization-alarm to pool"; + uses source-nat-pool-utilization-alarm-object; + } + leaf ei-mapping-timeout { + description "Endpoint-independent mapping timeout"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 86400"; + } + } + } + leaf mapping-timeout { + description "Address-pooling paired and endpoint-independent mapping timeout"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 86400"; + } + } + } + } + leaf address-persistent { + description "Allow source address to maintain same translation"; + type empty; + } + container pool-utilization-alarm { + description "Configure pool utilization alarm"; + uses source-nat-pool-utilization-alarm-object; + } + container port-randomization { + description "Configure Source NAT port randomization"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source NAT port randomization"; + type empty; + } + } + } + } + container port-round-robin { + description "Configure Source NAT port randomization"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source NAT port randomization"; + type empty; + } + } + } + } + leaf port-scaling-enlargement { + description "Configure source port scaling to 2.4G only for NGSPC"; + type empty; + } + leaf pool-distribution { + description "Configure Source pool distribution, the APPCP bottleneck of NAT CPS can be alleviated."; + type empty; + } + container pool-default-port-range { + description "Configure Source NAT default port range"; + leaf low { + description "Lower limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 63487"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 63487"; + } + } + } + } + } + container pool-default-twin-port-range { + description "Configure Source NAT default twin port range"; + leaf low { + description "Lower limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + container to { + description "Twin port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + } + } + container interface { + description "Configure interface port overloading for persistent NAT"; + uses apply-advanced; + choice interface-choice { + case case_1 { + container port-overloading { + description "Configure port overloading"; + leaf off { + description "Turn off interface port over-loading"; + type empty; + } + } + } + case case_2 { + leaf port-overloading-factor { + description "Port overloading factor for interface NAT"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list rule-set { + key name; + ordered-by user; + description "Configurate a set of rules"; + leaf name { + description "Rule-set name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule set"; + type string { + length "1 .. 900"; + } + } + container from { + description "Where is the traffic from"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Source routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Source zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Source interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + container to { + description "Where is the traffic to"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Destination routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Destination zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Destination interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + list rule { + key name; + ordered-by user; + description "Source NAT rule"; + uses src-nat-rule-object; + } + leaf match-direction { + description "Match direction"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + } + } + } + } + grouping block-allocation-object { + description "Port block allocation"; + uses apply-advanced; + leaf block-size { + description "Block size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 64512"; + } + } + } + leaf maximum-blocks-per-host { + description "Maximum block number per host"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 512"; + } + } + } + leaf active-block-timeout { + description "Active block timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 7200"; + } + } + } + leaf interim-logging-interval { + description "Interim Logging interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + leaf last-block-recycle-timeout { + description "Last Block recycle timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 864000"; + } + } + } + container log { + description "Configure port block log"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PBA port block log"; + type empty; + } + } + } + } + } + grouping deterministic-object { + description "Deterministic nat allocation"; + uses apply-advanced; + leaf block-size { + description "Block size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "8 .. 64512"; + } + } + } + container host { + description "Host address"; + leaf-list address { + ordered-by user; + description "Host ip address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list address-name { + ordered-by user; + description "Host address/address-set from address book"; + type string; + max-elements 8; + } + } + leaf include-boundary-addresses { + description "Include network and broadcast in 'match' source address"; + type empty; + } + } + grouping source-nat-pool-utilization-alarm-object { + uses apply-advanced; + leaf raise-threshold { + description "Raise threshold for pool utilization alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "50 .. 100"; + } + } + } + leaf clear-threshold { + description "Clear threshold for pool utilization alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "40 .. 100"; + } + } + } + } + grouping src-nat-rule-object { + leaf name { + description "Source NAT Rule name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule"; + type string { + length "1 .. 900"; + } + } + container src-nat-rule-match { + description "Specify Source NAT rule match criteria"; + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list source-address-name { + ordered-by user; + description "Address/address-set from address book"; + type string; + max-elements 8; + } + list source-port { + key name; + ordered-by user; + description "Source port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf-list destination-address { + ordered-by user; + description "Destination address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list destination-address-name { + ordered-by user; + description "Address/address-set from address book"; + type string; + max-elements 8; + } + list destination-port { + key name; + ordered-by user; + description "Destination port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf-list protocol { + ordered-by user; + description "IP Protocol"; + type string; + max-elements 4; + } + leaf-list application { + ordered-by user; + type string; + } + } + container then { + description "Then action"; + uses apply-advanced; + container source-nat { + description "Source NAT action"; + uses apply-advanced; + choice action { + case case_1 { + leaf off { + description "No action"; + type empty; + } + } + case case_2 { + container pool { + description "Use Source NAT pool"; + uses apply-advanced; + leaf pool-name { + description "Name of Source NAT pool"; + type string { + length "1 .. 31"; + } + } + container persistent-nat { + description "Persistent NAT info"; + presence "enable persistent-nat"; + uses persistent-nat-object; + } + } + } + case case_3 { + container interface { + presence "enable interface"; + description "Use egress interface address"; + uses apply-advanced; + container persistent-nat { + description "Persistent NAT info"; + presence "enable persistent-nat"; + uses persistent-nat-object; + } + } + } + } + leaf clat-prefix { + description "Clat-prefix to be used for 464 translation type"; + type jt:ipprefix-only; + } + container rule-session-count-alarm { + description "Config rule-session-count-alarm to source rule"; + uses nat-rule-session-count-alarm-object; + } + container mapping-type { + description "Source nat mapping type"; + leaf endpoint-independent { + description "Endpoint independent mapping"; + type empty; + } + } + container secure-nat-mapping { + description "Mapping options for enhanced security"; + leaf eif-flow-limit { + description "Number of inbound flows to be allowed for a EIF mapping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + container mapping-refresh { + description "Enable timer refresh option"; + choice refresh-choice { + case case_1 { + leaf inbound { + description "Enable timer refresh for inbound connections only"; + type empty; + } + } + case case_2 { + leaf outbound { + description "Enable timer refresh for outbound connections only"; + type empty; + } + } + case case_3 { + leaf inbound-outbound { + description "Enable timer refresh for inbound & outbound connections"; + type empty; + } + } + } + } + } + container filtering-type { + description "Source NAT filtering type"; + uses apply-advanced; + container endpoint-independent { + presence "enable endpoint-independent"; + description "Endpoint independent filtering"; + uses apply-advanced; + list prefix-list { + key name; + ordered-by user; + description "One or more named lists of source prefixes to match"; + leaf name { + description "Name of prefix list to match against"; + type string { + length "1 .. 63"; + } + } + leaf except { + description "Name of prefix list not to match against"; + type empty; + } + } + } + } + } + } + } + grouping persistent-nat-object { + uses apply-advanced; + container permit { + description "Persistent NAT permit configure"; + choice persistent-nat-type-choice { + case case_1 { + leaf any-remote-host { + description "Permit any remote host"; + type empty; + } + } + case case_2 { + leaf target-host { + description "Permit target host"; + type empty; + } + } + case case_3 { + leaf target-host-port { + description "Permit target host port"; + type empty; + } + } + } + } + leaf address-mapping { + description "Address-to-address mapping"; + type empty; + } + leaf inactivity-timeout { + description "Inactivity timeout value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "60 .. 7200"; + } + } + } + leaf max-session-number { + description "The maximum session number value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "8 .. 65536"; + } + } + } + } + grouping ssg-static-nat-object { + uses apply-advanced; + list rule-set { + key name; + ordered-by user; + description "Configurate a set of rules"; + leaf name { + description "Rule-set name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule set"; + type string { + length "1 .. 900"; + } + } + container from { + description "Where is the traffic from"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Source routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Source zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Source interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + list rule { + key name; + ordered-by user; + description "Static NAT rule"; + uses static-nat-rule-object; + } + } + } + grouping static-nat-rule-object { + leaf name { + description "Static Rule name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule"; + type string { + length "1 .. 900"; + } + } + container static-nat-rule-match { + description "Specify Static NAT rule match criteria"; + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list source-address-name { + ordered-by user; + description "Address from address book"; + type string; + max-elements 8; + } + list source-port { + key name; + ordered-by user; + description "Source port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + choice dst-choice { + case case_1 { + container destination-address { + description "Destination address"; + leaf dst-addr { + description "IPv4 or IPv6 Destination address prefix"; + type jt:ipprefix; + } + } + } + case case_2 { + container destination-address-name { + description "Address from address book"; + leaf dst-addr-name { + description "Address from address book"; + type string { + length "1 .. 63"; + } + } + } + } + } + container destination-port { + description "Destination port"; + leaf low { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container then { + description "Then action"; + uses apply-advanced; + container static-nat { + description "Static NAT action"; + uses apply-advanced; + choice prefix-choice { + case case_1 { + container inet { + presence "enable inet"; + description "Translated to IPv4 address"; + uses apply-advanced; + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_2 { + container prefix { + description "Address prefix"; + uses apply-advanced; + leaf addr-prefix { + description "IPv4 or IPv6 address prefix value"; + type jt:ipprefix; + } + container mapped-port { + description "Mapped port"; + uses static-nat-rule-mapped-port-object; + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_3 { + container prefix-name { + description "Address from address book"; + uses apply-advanced; + leaf addr-prefix-name { + description "Address from address book"; + type string { + length "1 .. 63"; + } + } + container mapped-port { + description "Mapped port"; + uses static-nat-rule-mapped-port-object; + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_4 { + container nptv6-prefix { + description "NPTv6 address prefix, the longest prefix will be supported is /64"; + uses apply-advanced; + leaf addr-prefix { + description "IPv6 address prefix value, the longest prefix will be supported is /64"; + type jt:ipprefix; + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_5 { + container nptv6-prefix-name { + description "NPTv6 address from address book"; + uses apply-advanced; + leaf addr-prefix-name { + description "IPv6 address from address book"; + type string { + length "1 .. 63"; + } + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + } + container rule-session-count-alarm { + description "Config rule-session-count-alarm to static rule"; + uses nat-rule-session-count-alarm-object; + } + } + } + } + grouping static-nat-rule-mapped-port-object { + uses apply-advanced; + leaf low { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping stp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping stp-trace-options { + description "Trace options for Spanning Tree Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "bpdu" { + description "Trace BPDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "port-information-state-machine" { + description "Trace port information state machine"; + } + enum "port-receive-state-machine" { + description "Trace port receive state machine"; + } + enum "port-role-select-state-machine" { + description "Trace port role selection state machine"; + } + enum "port-role-transit-state-machine" { + description "Trace port role transit state machine"; + } + enum "port-state-transit-state-machine" { + description "Trace port state transit state machine"; + } + enum "port-migration-state-machine" { + description "Trace port migration state machine"; + } + enum "port-transmit-state-machine" { + description "Trace port transmit state machine"; + } + enum "topology-change-state-machine" { + description "Trace topology change state machine"; + } + enum "bridge-detection-state-machine" { + description "Trace Bridge detection state machine"; + } + enum "state-machine-variables" { + description "Trace when state machine variables change"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "all-failures" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping subscription-type { + uses apply-advanced; + leaf link-subscription { + description "Link bandwidth percentage for RSVP reservation"; + default "100"; + type string; + } + leaf ct0 { + description "Subscription percentage for traffic class 0"; + default "100"; + type string; + } + leaf ct1 { + description "Subscription percentage for traffic class 1"; + default "100"; + type string; + } + leaf ct2 { + description "Subscription percentage for traffic class 2"; + default "100"; + type string; + } + leaf ct3 { + description "Subscription percentage for traffic class 3"; + default "100"; + type string; + } + } + grouping system-id-ip-map { + leaf name { + type jt:mac-unicast; + } + uses apply-advanced; + leaf ip-address { + description "Peer ID (IP Address)"; + type jt:ipv4prefix; + } + } + grouping te-class-object { + leaf traffic-class { + description "Traffic class"; + type enumeration { + enum "ct0" { + description "Traffic class 0"; + } + enum "ct1" { + description "Traffic class 1"; + } + enum "ct2" { + description "Traffic class 2"; + } + enum "ct3" { + description "Traffic class 3"; + } + } + } + leaf priority { + description "Preemption priority for this class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + grouping term_object { + leaf name { + description "Term name"; + type string { + length "1 .. 63"; + } + } + leaf alg { + description "Application Layer Gateway"; + type enumeration { + enum "bootp" { + description "Bootstrap protocol"; + } + enum "dce-rpc" { + description "DCE RPC"; + } + enum "dce-rpc-portmap" { + description "DCE RPC portmap"; + } + enum "dns" { + description "Domain Name Service"; + } + enum "exec" { + description "Remote Execution Protocol"; + } + enum "ftp" { + description "File Transfer Protocol"; + } + enum "ftp-data" { + description "File Transfer Protocol Data Session"; + } + enum "gprs-gtp-c" { + description "GPRS Tunneling Control Plane"; + } + enum "gprs-gtp-u" { + description "GPRS Tunneling User Plane"; + } + enum "gprs-gtp-v0" { + description "GPRS Tunneling Version 0"; + } + enum "gprs-sctp" { + description "GPRS Stream Control Protocol"; + } + enum "h323" { + description "H.323"; + } + enum "icmp" { + description "ICMP"; + } + enum "icmpv6" { + description "ICMPv6"; + } + enum "ignore" { + description "Ignore application type"; + } + enum "iiop" { + description "Internet Inter-ORB Protocol"; + } + enum "ike-esp-nat" { + description "IKE/ESP with NAT"; + } + enum "ip" { + description "IP"; + } + enum "login" { + description "Login"; + } + enum "mgcp-ca" { + description "MGCP-CA"; + } + enum "mgcp-ua" { + description "MGCP-UA"; + } + enum "ms-rpc" { + description "Microsoft RPC"; + } + enum "netbios" { + description "NetBIOS"; + } + enum "netshow" { + description "NetShow"; + } + enum "none" { + description "None"; + } + enum "pptp" { + description "Point-to-Point Tunneling Protocol"; + } + enum "q931" { + description "Q.931"; + } + enum "ras" { + description "RAS"; + } + enum "realaudio" { + description "RealAudio"; + } + enum "rpc" { + description "RPC"; + } + enum "rpc-portmap" { + description "RPC portmap"; + } + enum "rsh" { + description "Remote Shell"; + } + enum "rtsp" { + description "Real Time Streaming Protocol"; + } + enum "sccp" { + description "Skinny Client Control Protocol"; + } + enum "sip" { + description "Session Initiation Protocol"; + } + enum "shell" { + description "Shell"; + } + enum "snmp" { + description "SNMP"; + } + enum "sqlnet" { + description "SQLNet"; + } + enum "sqlnet-v2" { + description "Oracle SQL*Net Version 2"; + } + enum "sun-rpc" { + description "Sun Microsystems RPC"; + } + enum "talk" { + description "Talk Program"; + } + enum "tftp" { + description "Trivial File Transfer Protocol"; + } + enum "traceroute" { + description "Traceroute"; + } + enum "http" { + description "Hypertext Transfer Protocol"; + } + enum "winframe" { + description "WinFrame"; + } + enum "https" { + description "Hypertext Transfer Protocol"; + } + enum "imap" { + description "Internet Mail Access Protocol"; + } + enum "smtp" { + description "Simple Mail Transfer Protocol"; + } + enum "ssh" { + description "Secure Shell Protocol"; + } + enum "telnet" { + description "Telnet Protocol"; + } + enum "twamp" { + description "Two Way Active Meaurement Protocol"; + } + } + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf icmp-type { + description "Match ICMP message type"; + type string; + } + leaf icmp-code { + description "Match ICMP message code"; + type string; + } + leaf icmp6-type { + description "Match ICMP6 message type"; + type string; + } + leaf icmp6-code { + description "Match ICMP6 message code"; + type string; + } + leaf rpc-program-number { + description "Match range of RPC program numbers"; + type string { + } + } + leaf uuid { + description "Match universal unique identifier for DCE RPC objects"; + type string { + } + } + leaf inactivity-timeout { + description "Application-specific inactivity timeout"; + units "seconds"; + type string; + } + } + grouping three-color-policer-type { + description "Three-color policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Three color policer is filter-specific"; + type empty; + } + leaf physical-interface-policer { + description "Policer is physical interface policer"; + type empty; + } + container action { + description "Action for three-color policer"; + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Loss priority for packet"; + uses three-color-policer-action; + } + } + choice rate-type-choice { + case case_1 { + container single-rate { + description "Single-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic"; + units "bytes"; + type string; + } + leaf excess-burst-size { + description "Burst size allowed for excess traffic"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + case case_3 { + container two-rate { + presence "enable two-rate"; + description "Two-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic "; + units "bytes"; + type string; + } + leaf peak-information-rate { + description "Bandwidth allowed for peak traffic"; + units "bits per second"; + type string; + } + leaf peak-burst-size { + description "Burst size allowed for peak traffic "; + units "bytes"; + type string; + } + container aggregate-policing { + presence "enable aggregate-policing"; + description "Configure Aggregate Policer"; + uses apply-advanced; + list policer { + key name; + ordered-by user; + description "Two-color policer to be used as aggregate"; + max-elements 1; + leaf name { + description "Name of two-color policer to use to aggregate police"; + type string; + } + uses apply-advanced; + leaf aggregate-sharing-mode { + description "Hierarchical Metering model"; + type enumeration { + enum "hybrid" { + description "Child policer CIR rates are guaranteed rates and PIR rate are peak rates for member flow"; + } + } + } + } + } + } + } + case case_4 { + } + } + } + grouping three-color-policer-action { + description "Action for three-color policer"; + leaf name { + description "Loss priority for packet"; + type enumeration { + enum "high" { + description "High loss priority"; + } + } + } + uses apply-advanced; + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunable-object { + leaf name { + type string; + } + uses apply-advanced; + leaf tunable-value { + description "Protocol tunable value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping tunnel_end_point { + description "Define a tunnel end point"; + leaf name { + description "Tunnel end-point identifier (ASCII string)"; + type string { + } + } + uses apply-advanced; + choice l3-protocol { + case case_1 { + container ipv6 { + presence "enable ipv6"; + description "Enter an IPv6 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv6addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv6prefix; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Enter an IPv4 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv4addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv4prefix; + } + } + } + } + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "Tunnel is GRE"; + uses apply-advanced; + leaf key { + description "Key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + container gre-in-udp { + presence "enable gre-in-udp"; + description "Tunnel is GRE-in-UDP"; + uses apply-advanced; + leaf source-port { + description "UDP source port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "UDP destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf key { + description "GRE key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + grouping tunnel_type { + description "Tunnel packets"; + uses apply-advanced; + choice ipsec-vpn-choice { + case case_1 { + leaf ipsec-vpn { + description "Enable VPN with name"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf ipsec-group-vpn { + description "Enable dynamic IPSEC group with name"; + status deprecated; + type string { + length "1 .. 63"; + } + } + } + } + leaf pair-policy { + description "Policy in the reverse direction, to form a pair"; + type string { + length "1 .. 63"; + } + } + } + grouping url-list-type { + description "Configure url-list object"; + leaf name { + description "Configure name of url-list object"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of url-list object"; + type string { + length "1 .. 256"; + } + } + } + grouping utm-apppxy-traceoptions { + description "Traceoptions for utm application proxy process"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters for utm application proxy"; + leaf name { + description "Tracing parameters for utm application proxy flag name"; + type enumeration { + enum "abort" { + description "Trace application-proxy session abort"; + } + enum "application-objects" { + description "Trace application-proxy objects information"; + } + enum "utm-realtime" { + description "Trace application-proxy realtime-thread information"; + } + enum "anti-virus" { + description "Trace anti-virus information"; + } + enum "basic" { + description "Trace application-proxy basic information"; + } + enum "buffer" { + description "Trace application-proxy data buffer information"; + } + enum "detail" { + description "Trace application-proxy detailed information"; + } + enum "ftp-data" { + description "Trace FTP data connection information"; + } + enum "ftp-control" { + description "Trace FTP control connection information"; + } + enum "http" { + description "Trace HTTP protocol information"; + } + enum "imap" { + description "Trace IMAP protocol information"; + } + enum "memory" { + description "Trace memory usage"; + } + enum "parser" { + description "Trace protocol parser"; + } + enum "pfe" { + description "Trace communication with PFE"; + } + enum "pop3" { + description "Trace POP3 protocol information"; + } + enum "queue" { + description "Trace queue information"; + } + enum "smtp" { + description "Trace SMTP protocol information"; + } + enum "tcp" { + description "Trace TCP level information"; + } + enum "timer" { + description "Trace timer processing"; + } + enum "connection-rating" { + description "Trace connection rating information"; + } + enum "mime" { + description "Trace MIME parser information"; + } + enum "regex-engine" { + description "Trace Pattern Match Engine (PME) information"; + } + enum "sophos-anti-virus" { + description "Trace anti-virus sophos engine information"; + } + enum "all" { + description "Enable all application-proxy trace options"; + } + } + } + } + } + grouping utm-ipc-traceoptions { + description "Traceoptions for utm IPC"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Traceoptions for utm IPC flag"; + leaf name { + description "Trace options for utm IPC flag name"; + type enumeration { + enum "basic" { + description "Trace basic IPC related information"; + } + enum "detail" { + description "Trace detail IPC related information"; + } + enum "connection-manager" { + description "Trace IPC connection manager"; + } + enum "connection-status" { + description "Trace IPC connection status"; + } + enum "pfe" { + description "Trace communication with pfe"; + } + enum "utm-realtime" { + description "Trace IPC realtime-thread information"; + } + enum "all" { + description "Enable all IPC trace options"; + } + } + } + } + } + grouping utm-traceoptions { + description "Trace options for utm process"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing UTM information"; + leaf name { + description "Flag name"; + type enumeration { + enum "cli" { + description "Trace CLI"; + } + enum "daemon" { + description "Trace daemon information"; + } + enum "ipc" { + description "Trace IPC information"; + } + enum "pfe" { + description "Trace pfe information"; + } + enum "all" { + description "Enable all utm trace options"; + } + } + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping vendor-object { + leaf name { + description "Values for vendor field"; + type string; + } + uses apply-advanced; + leaf product-name { + description "Values for product field"; + type string; + } + } + grouping version9-template { + description "One or more version 9 templates for flow monitoring"; + leaf name { + description "Name of template"; + type string; + } + uses apply-advanced; + leaf flow-active-timeout { + description "Interval after which active flow is exported"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf flow-inactive-timeout { + description "Period of inactivity that marks a flow inactive"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf template-id { + description "Template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf option-template-id { + description "Options template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf source-id { + description "Source Id"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container nexthop-learning { + description "Nexthop learning parameter. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable nexthop learning"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable nexthop learning"; + type empty; + } + } + } + } + container template-refresh-rate { + presence "enable template-refresh-rate"; + description "Template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + container option-refresh-rate { + presence "enable option-refresh-rate"; + description "Option template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + choice template-types { + case case_1 { + } + case case_2 { + } + case case_3 { + container ipv6-template { + presence "enable ipv6-template"; + description "IPv6 template configuration"; + uses apply-advanced; + container nexthop-options { + presence "enable nexthop-options"; + description "Additional information retrieved from nexthop"; + uses apply-advanced; + choice nexthop-types { + case case_1 { + container mpls { + presence "enable mpls"; + description "MPLS information retrieved from nexthop"; + uses apply-advanced; + leaf-list label-position { + ordered-by user; + description "One or more MPLS label positions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + max-elements 3; + } + } + } + } + } + } + } + case case_4 { + container peer-as-billing-template { + presence "enable peer-as-billing-template"; + description "Peer AS billing template configuration"; + } + } + case case_5 { + container ipv4-template { + presence "enable ipv4-template"; + description "IPv4 template configuration"; + uses apply-advanced; + } + } + case case_6 { + } + case case_7 { + } + } + container flow-key { + description "Flow key for the template. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + leaf flow-direction { + description "Include flow direction"; + type empty; + } + leaf vlan-id { + description "Include vlan ID"; + type empty; + } + leaf output-interface { + description "Include output interface"; + type empty; + } + } + } + grouping vlan-policy { + description "Virtual LAN"; + leaf name { + description "VLAN id"; + type string; + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + } + grouping vlan-types { + description "Virtual LAN"; + leaf name { + description "VLAN name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of VLANs"; + type string { + } + } + choice vlan-identifier-choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for VLAN"; + type string; + } + } + case case_2 { + leaf-list vlan-id-list { + description "Create VLAN for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + case case_3 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for VLANs"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface name for this VLAN"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf l3-interface { + description "L3 interface name for this vlans"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-ethernet-switching-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container switch-options { + description "VLANs switch-options configuration"; + uses juniper-protocols-vlan; + } + leaf domain-type { + description "Type of VLANs SVLAN/DVLAN"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of IRB routing-interface"; + type empty; + } + leaf service-id { + description "Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this VLAN"; + type empty; + } + leaf mcae-mac-flush { + description "Enable IRB MAC flush in a/s mode for this VLAN on MCAE link up"; + type empty; + } + leaf private-vlan { + description "Type of secondary vlan for private vlan"; + type enumeration { + enum "isolated" { + description "Isolated vlan"; + } + enum "community" { + description "Community vlan"; + } + } + } + leaf isolated-vlan { + description "VLAN id or name"; + type string { + } + } + leaf-list community-vlans { + ordered-by user; + description "List of VLAN id or name"; + type string; + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + } + } + grouping juniper-ethernet-switching-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for ethernet switching forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for ethernet switching flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for ethernet switching flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "DHCP access security configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping juniper-protocols-vlan { + description "VLANs switch-options configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + grouping vlan_map { + description "IEEE 802.1q Virtual LAN (VLAN) Tag mapping"; + uses apply-advanced; + choice operation_choices { + case case_1 { + leaf push { + description "Push a VLAN tag"; + type empty; + } + } + case case_2 { + leaf swap { + description "Swap a VLAN tag"; + type empty; + } + } + case case_3 { + leaf pop { + description "Pop a VLAN tag"; + type empty; + } + } + case case_4 { + leaf push-push { + description "Push two VLAN tags"; + type empty; + } + } + case case_5 { + leaf swap-push { + description "Swap VLAN tag and push a new VLAN tag"; + type empty; + } + } + case case_6 { + leaf swap-swap { + description "Swap both outer and inner VLAN tags"; + type empty; + } + } + case case_7 { + leaf pop-swap { + description "Pop outer VLAN tag and swap inner VLAN tag"; + type empty; + } + } + case case_8 { + leaf pop-pop { + description "Pop both outer and inner VLAN tags"; + type empty; + } + } + } + leaf tag-protocol-id { + description "IEEE 802.1q Tag Protocol Identifier to rewrite"; + type string { + } + } + leaf inner-tag-protocol-id { + description "IEEE 802.1q Tag Protocol ID to rewrite for inner tag"; + type string; + } + leaf vlan-id { + description "VLAN ID to rewrite"; + type string; + } + leaf inner-vlan-id { + description "VLAN ID to rewrite for inner tag"; + type string; + } + } + grouping vpls_filter { + description "Define an VPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf physical-interface-filter { + description "Filter is physical interface filter"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + } + } + choice port_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + } + } + } + grouping vrrp-group { + description "Virtual Router Redundancy Protocol group"; + leaf name { + description "Identifier for VRRP group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + choice address { + case case_1 { + leaf-list virtual-address { + ordered-by user; + description "One or more virtual IPv4 addresses"; + type jt:ipv4addr; + } + } + case case_2 { + leaf-list virtual-inet6-address { + ordered-by user; + description "One or more virtual inet6 addresses"; + type jt:ipv6addr; + } + } + } + leaf virtual-link-local-address { + description "Virtual link-local addresses"; + type jt:ipv6addr; + } + leaf priority { + description "Virtual router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf preferred { + description "Preferred group on subnet"; + type empty; + } + choice advertisement_type { + case case_1 { + leaf advertise-interval { + description "Advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + case case_2 { + leaf fast-interval { + description "Fast advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 40950"; + } + } + } + } + case case_3 { + leaf inet6-advertise-interval { + description "Inet6 advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 40000"; + } + } + } + } + } + choice preempt_type { + case case_1 { + container preempt { + presence "enable preempt"; + description "Allow preemption"; + uses apply-advanced; + leaf hold-time { + description "Preemption hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + } + case case_2 { + leaf no-preempt { + description "Don't allow preemption"; + type empty; + } + } + } + choice accept_type { + case case_1 { + leaf accept-data { + description "Accept packets destined for virtual IP address"; + type empty; + } + } + case case_2 { + leaf no-accept-data { + description "Don't accept packets destined for virtual IP address"; + type empty; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "HMAC-MD5-96"; + } + enum "simple" { + description "Simple password"; + } + } + } + leaf authentication-key { + description "Authentication key"; + type jt:unreadable; + } + container track { + description "Interfaces to track for VRRP group"; + uses apply-advanced; + leaf priority-hold-time { + description "Priority hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface to track in VRRP group"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list bandwidth-threshold { + key name; + description "Track bandwidth of interface"; + leaf name { + description "Interface speed below which priority cost is incurred"; + units "bits per second"; + type string; + } + leaf priority-cost { + description "Value subtracted from priority when bandwidth is below threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + leaf priority-cost { + description "Value to subtract from priority when interface is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + list route { + key "route_address routing-instance"; + ordered-by user; + description "Route to track in VRRP group"; + leaf route_address { + description "Route address"; + type jt:ipprefix-mandatory; + } + leaf routing-instance { + description "Routing instance to which route belongs, or 'default'"; + type string { + } + } + leaf priority-cost { + description "Value to subtract from priority when route is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + } + container vrrp-inherit-from { + description "VRRP group to follow for this VRRP group"; + uses apply-advanced; + leaf active-interface { + description "Interface name of VRRP active group"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf active-group { + description "Identifier for VRRP active group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + grouping web-filtering-block-message { + description "Web filtering block message settings"; + uses apply-advanced; + leaf type { + description "Type of block message desired"; + type enumeration { + enum "custom-redirect-url" { + description "Custom redirect URL server"; + } + } + } + leaf url { + description "URL of block message"; + type string { + length "1 .. 1024"; + } + } + } + grouping web-filtering-fallback-setting { + description "Web-filtering fallback settings"; + uses apply-advanced; + leaf default { + description "Fallback default settings"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf server-connectivity { + description "Fallback action when device cannot connect to server"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf timeout { + description "Fallback action when connection to server timeout"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf too-many-requests { + description "Fallback action when requests exceed the limit of engine"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + } + grouping web-filtering-quarantine-message { + description "Web filtering quarantine message settings"; + uses apply-advanced; + leaf type { + description "Type of quarantine message desired"; + type enumeration { + enum "custom-redirect-url" { + description "Custom redirect URL server"; + } + } + } + leaf url { + description "URL of quarantine message"; + type string { + length "1 .. 1024"; + } + } + } + grouping web-filtering-traceoptions { + description "Trace options for web-filtering feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for web-filtering feature trace flag"; + leaf name { + description "Trace options for web-filtering feature trace flag name"; + type enumeration { + enum "basic" { + description "Trace web-filtering module generic basic information"; + } + enum "session-manager" { + description "Trace session management information"; + } + enum "heartbeat" { + description "Trace connectivity information with web-filter server"; + } + enum "packet" { + description "Trace packet information from session management"; + } + enum "profile" { + description "Trace profile config information"; + } + enum "requests" { + description "Trace requests sent to web-filter server"; + } + enum "response" { + description "Trace response received from web-filter server"; + } + enum "socket" { + description "Trace communication socket with web-filter server"; + } + enum "timer" { + description "Trace aging information for requests sent to server"; + } + enum "ipc" { + description "Trace communication events with PFE"; + } + enum "cache" { + description "Trace category cache operations"; + } + enum "enhanced" { + description "Trace Juniper enhanced web-filtering operations"; + } + enum "all" { + description "Enable trace all anti-virus trace options"; + } + } + } + } + } + grouping webfilter-feature { + description "Web-filtering feature settings"; + uses apply-advanced; + container surf-control-integrated { + description "Configure web-filtering surf-control integrated engine"; + status deprecated; + uses surf-control-integrated-type; + } + container websense-redirect { + description "Configure web-filtering websense redirect engine"; + uses websense-type; + } + container juniper-local { + description "Configure web-filtering juniper local engine"; + uses juniper-local-type; + } + container juniper-enhanced { + description "Configure web-filtering juniper enhanced engine"; + uses juniper-enhanced-type; + } + } + grouping juniper-enhanced-type { + description "Juniper Enhanced"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Juniper enhanced profile"; + leaf name { + description "Juniper enhanced profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf base-filter { + description "Juniper base filter"; + type string; + } + list category { + key name; + ordered-by user; + description "Juniper enhanced category"; + uses juniper-enhanced-category-type; + } + container site-reputation-action { + description "Juniper enhanced site reputation action"; + presence "enable site-reputation-action"; + uses juniper-enhanced-site-reputation-setting; + } + leaf default { + description "Juniper enhanced profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + enum "quarantine" { + description "Quarantine action"; + } + } + } + leaf custom-block-message { + description "Juniper enhanced custom block message sent to HTTP client"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper enhanced quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container fallback-settings { + description "Juniper enhanced fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper enhanced timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-safe-search { + description "Do not perform safe-search for Juniper enhanced protocol"; + type empty; + } + container block-message { + description "Juniper enhanced block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper enhanced quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + } + } + grouping juniper-local-type { + description "Juniper local"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Juniper local profile"; + leaf name { + description "Juniper local profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf default { + description "Juniper local profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Juniper local custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper local quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Juniper local block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper local quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Juniper local fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper local timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + } + grouping surf-control-integrated-type { + description "Surf control integrated"; + uses apply-advanced; + container cache { + presence "enable cache"; + uses apply-advanced; + leaf timeout { + description "Surf control integrated cache timeout"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf size { + description "Surf control integrated cache size"; + default "1024"; + units "kilobytes"; + type string; + } + } + container server { + description "Surf control server"; + presence "enable server"; + uses server; + } + list profile { + key name; + ordered-by user; + description "Surf control integrated profile"; + leaf name { + description "Surf control integrated profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + list category { + key name; + ordered-by user; + description "Surf control integrated category"; + uses surf-control-integrated-category-type; + } + leaf default { + description "Surf control integrated profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + leaf custom-block-message { + description "Surf control integrated custom block message"; + type string { + length "1 .. 512"; + } + } + container fallback-settings { + description "Surf control integrated fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Surf control integrated timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + } + grouping surf-control-integrated-category-type { + description "Surf control integrated category type"; + leaf name { + description "Surf control integrated category type name"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf action { + description "Surf control integrated category type action"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + } + grouping websense-type { + description "Websense redirect"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Websense redirect profile"; + leaf name { + description "Websense redirect profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + container server { + description "Websense redirect server"; + presence "enable server"; + uses server; + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Websense redirect custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Websense redirect quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Websense redirect block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Websense redirect quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Websense redirect fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Websense redirect timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf sockets { + description "Websense redirect sockets number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf account { + description "Websense redirect account"; + type string { + length "1 .. 28"; + } + } + } + } + grouping wildcard-address-type { + description "Wildcard address and mask"; + leaf name { + description "Numeric IPv4 wildcard address with in the form of a.d.d.r/netmask"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + grouping write-option-82-type { + uses apply-advanced; + } + grouping zone-interface-list-type { + description "Logical interfaces in this zone"; + leaf name { + description "Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container host-inbound-traffic { + uses interface_host_inbound_traffic_t; + } + } + grouping interface_host_inbound_traffic_t { + uses apply-advanced; + list system-services { + key name; + ordered-by user; + description "Type of incoming system-service traffic to accept"; + uses interface-system-services-object-type; + } + list protocols { + key name; + ordered-by user; + description "Protocol type of incoming traffic to accept"; + uses host-inbound-protocols-object-type; + } + } + grouping host-inbound-protocols-object-type { + description "Protocol type of incoming traffic to accept"; + leaf name { + description "Protocol name"; + type enumeration { + enum "all" { + description "All protocols"; + } + enum "bfd" { + description "Bidirectional Forwarding Detection"; + } + enum "bgp" { + description "Border Gateway Protocol"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "igmp" { + description "Internet Group Management Protocol"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "ndp" { + description "IPv6 Neighbor Discovery Protocol"; + } + enum "nhrp" { + description "Next Hop Resolution Protocol"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf3" { + description "Open Shortest Path First version 3"; + } + enum "pgm" { + description "Pragmatic General Multicast"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "router-discovery" { + description "Router Discovery"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "sap" { + description "Session Announcement Protocol"; + } + enum "vrrp" { + description "Virtual Router Redundancy Protocol"; + } + } + } + uses apply-advanced; + leaf except { + description "Protocol type of incoming traffic to disallow"; + type empty; + } + } + grouping interface-system-services-object-type { + description "Type of incoming system-service traffic to accept"; + leaf name { + type enumeration { + enum "all" { + description "All system services"; + } + enum "bootp" { + description "Bootp and dhcp relay-agent service"; + } + enum "dhcp" { + description "Dynamic Host Configuration Protocol"; + } + enum "dhcpv6" { + description "Enable Dynamic Host Configuration Protocol for IPv6"; + } + enum "dns" { + description "DNS service"; + } + enum "finger" { + description "Finger service"; + } + enum "ftp" { + description "FTP"; + } + enum "ident-reset" { + description "Send back TCP RST to IDENT request for port 113"; + } + enum "http" { + description "Web management service using HTTP"; + } + enum "https" { + description "Web management service using HTTP secured by SSL"; + } + enum "ike" { + description "Internet Key Exchange"; + } + enum "netconf" { + description "NETCONF service"; + } + enum "ping" { + description "Internet Control Message Protocol echo requests"; + } + enum "rlogin" { + description "Rlogin service"; + } + enum "reverse-telnet" { + description "Reverse telnet service"; + } + enum "reverse-ssh" { + description "Reverse SSH service"; + } + enum "rpm" { + description "Real-time performance monitoring"; + } + enum "rsh" { + description "Rsh service"; + } + enum "snmp" { + description "Simple Network Management Protocol service"; + } + enum "snmp-trap" { + description "Simple Network Management Protocol traps"; + } + enum "ssh" { + description "SSH service"; + } + enum "telnet" { + description "Telnet service"; + } + enum "traceroute" { + description "Traceroute service"; + } + enum "xnm-ssl" { + description "JUNOScript API service over SSL"; + } + enum "xnm-clear-text" { + description "JUNOScript API for unencrypted traffic over TCP"; + } + enum "tftp" { + description "TFTP"; + } + enum "lsping" { + description "Label Switched Path ping service"; + } + enum "ntp" { + description "Network Time Protocol service"; + } + enum "sip" { + description "Enable Session Initiation Protocol service"; + } + enum "r2cp" { + description "Enable Radio-Router Control Protocol service"; + } + enum "webapi-clear-text" { + description "Webapi service using http"; + } + enum "webapi-ssl" { + description "Webapi service using HTTP secured by SSL"; + } + enum "tcp-encap" { + description "Tcp encapsulation service"; + } + enum "appqoe" { + description "APPQOE active probe servie"; + } + enum "any-service" { + description "Enable services on entire port range"; + } + } + } + uses apply-advanced; + leaf except { + description "Type of incoming system-service traffic to disallow"; + type empty; + } + } + grouping zone_host_inbound_traffic_t { + uses apply-advanced; + list system-services { + key name; + ordered-by user; + description "Type of incoming system-service traffic to accept"; + uses zone-system-services-object-type; + } + list protocols { + key name; + ordered-by user; + description "Protocol type of incoming traffic to accept"; + uses host-inbound-protocols-object-type; + } + } + grouping zone-system-services-object-type { + description "Type of incoming system-service traffic to accept"; + leaf name { + type enumeration { + enum "all" { + description "All system services"; + } + enum "bootp" { + description "Bootp and dhcp relay-agent service"; + } + enum "dhcp" { + description "Dynamic Host Configuration Protocol"; + } + enum "dhcpv6" { + description "Enable Dynamic Host Configuration Protocol for IPv6"; + } + enum "dns" { + description "DNS service"; + } + enum "finger" { + description "Finger service"; + } + enum "ftp" { + description "FTP"; + } + enum "ident-reset" { + description "Send back TCP RST to IDENT request for port 113"; + } + enum "http" { + description "Web management service using HTTP"; + } + enum "https" { + description "Web management service using HTTP secured by SSL"; + } + enum "ike" { + description "Internet Key Exchange"; + } + enum "netconf" { + description "NETCONF service"; + } + enum "ping" { + description "Internet Control Message Protocol echo requests"; + } + enum "rlogin" { + description "Rlogin service"; + } + enum "reverse-telnet" { + description "Reverse telnet service"; + } + enum "reverse-ssh" { + description "Reverse SSH service"; + } + enum "rpm" { + description "Real-time performance monitoring"; + } + enum "rsh" { + description "Rsh service"; + } + enum "snmp" { + description "Simple Network Management Protocol service"; + } + enum "snmp-trap" { + description "Simple Network Management Protocol traps"; + } + enum "ssh" { + description "SSH service"; + } + enum "telnet" { + description "Telnet service"; + } + enum "traceroute" { + description "Traceroute service"; + } + enum "xnm-ssl" { + description "JUNOScript API service over SSL"; + } + enum "xnm-clear-text" { + description "JUNOScript API for unencrypted traffic over TCP"; + } + enum "tftp" { + description "TFTP"; + } + enum "lsping" { + description "Label Switched Path ping service"; + } + enum "ntp" { + description "Network Time Protocol service"; + } + enum "sip" { + description "Enable Session Initiation Protocol service"; + } + enum "r2cp" { + description "Enable Radio-Router Control Protocol service"; + } + enum "webapi-clear-text" { + description "Webapi service using http"; + } + enum "webapi-ssl" { + description "Webapi service using HTTP secured by SSL"; + } + enum "tcp-encap" { + description "Tcp encapsulation service"; + } + enum "appqoe" { + description "APPQOE active probe servie"; + } + enum "any-service" { + description "Enable services on entire port range"; + } + } + } + uses apply-advanced; + leaf except { + description "Type of incoming system-service traffic to disallow"; + type empty; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-multi-chassis@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-multi-chassis@2019-01-01.yang new file mode 100644 index 00000000..47716980 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-multi-chassis@2019-01-01.yang @@ -0,0 +1,177 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-multi-chassis { + namespace "http://yang.juniper.net/junos-es/conf/multi-chassis"; + + prefix jc-multi-chassis; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos multi-chassis configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses multi-chassis-group; + } + augment /jc:configuration/jc:groups { + uses multi-chassis-group; + } + grouping multi-chassis-group { + container multi-chassis { + presence "enable multi-chassis"; + description "Multi-chassis configuration"; + uses apply-advanced; + container mc-lag { + presence "enable mc-lag"; + description "Multi-chassis Lag configuration"; + uses apply-advanced; + container consistency-check { + presence "enable consistency-check"; + description "Consistency Check properties"; + uses apply-advanced; + leaf comparison-delay-time { + description "Time after which local and remote config are compared"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + container traceoptions { + description "Trace options for MCLAG_CFGCHK"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-poe@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-poe@2019-01-01.yang new file mode 100644 index 00000000..5225734e --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-poe@2019-01-01.yang @@ -0,0 +1,237 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-poe { + namespace "http://yang.juniper.net/junos-es/conf/poe"; + + prefix jc-poe; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos poe configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses poe-group; + } + augment /jc:configuration/jc:groups { + uses poe-group; + } + grouping poe-group { + container poe { + description "Power over Ethernet options"; + uses apply-advanced; + leaf management { + description "Power management mode for Power over Ethernet"; + default "class"; + type enumeration { + enum "static" { + description "Static power allocation method"; + } + enum "class" { + description "Class based power allocation method"; + } + enum "high-power" { + description "High power allocation method"; + } + } + } + leaf guard-band { + description "Guard band for Power over Ethernet"; + default "0"; + units "watts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 19"; + } + } + } + container notification-control { + description "Notification control for Power over Ethernet traps"; + uses apply-advanced; + list fpc { + key name; + ordered-by user; + description "FPC slot number"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable { + description "Disable Power over Ethernet notification"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration for Power over Ethernet"; + leaf name { + description "Name of interface"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable interface"; + type empty; + } + leaf priority { + description "Priority options"; + default "low"; + type enumeration { + enum "low" { + description "Low priority"; + } + enum "high" { + description "High priority"; + } + } + } + leaf maximum-power { + description "Maximum power"; + default "15.4"; + units "watts"; + type decimal64 { + fraction-digits 2; + } + } + container telemetries { + presence "enable telemetries"; + description "Telemetries settings"; + uses apply-advanced; + leaf disable { + description "Disable telemetries"; + type empty; + } + leaf interval { + description "Interval at which data should be recorded"; + default "5"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf duration { + description "Duration to continue recording of data"; + default "1"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 24"; + } + } + } + } + } + list fpc { + key name; + ordered-by user; + description "FPC configuration for power over ethernet"; + leaf name { + description "FPC slot number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf maximum-power { + description "Maximum power(watts)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 500"; + } + } + } + leaf priority { + description "Priority level(high/low)"; + type enumeration { + enum "low" { + description "Priority low"; + } + enum "high" { + description "Priority high"; + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-policy-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-policy-options@2019-01-01.yang new file mode 100644 index 00000000..68efcb4e --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-policy-options@2019-01-01.yang @@ -0,0 +1,10996 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-policy-options { + namespace "http://yang.juniper.net/junos-es/conf/policy-options"; + + prefix jc-policy-options; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos policy-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses policy-options-group; + } + augment /jc:configuration/jc:groups { + uses policy-options-group; + } + grouping policy-options-group { + container policy-options { + description "Policy option configuration"; + uses juniper-policy-options; + } + } + grouping juniper-policy-options { + description "Define a redundancy policy"; + uses apply-advanced; + container satellite-policies { + description "Satellite Policy configuration"; + uses satellite-policy-options; + } + list prefix-list { + key name; + ordered-by user; + description "Define a named set of address prefixes"; + leaf name { + description "Prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list-item { + key name; + uses prefix_list_items; + } + leaf apply-path { + description "Apply IP prefixes from a configuration statement"; + type string; + } + } + list route-filter-list { + key name; + ordered-by user; + description "Define a named set of route-filter address prefixes"; + leaf name { + description "Route filter list name"; + type string; + } + uses apply-advanced; + list rf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses route_filter_list_items; + } + } + list source-address-filter-list { + key name; + ordered-by user; + description "Define a named set of source address filter address prefixes"; + leaf name { + description "Source address filter list name"; + type string; + } + uses apply-advanced; + list saf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses source_address_filter_list_items; + } + } + list mac-list { + key name; + ordered-by user; + description "Define a named set of mac addresses"; + leaf name { + description "MAc Address list name"; + type string; + } + uses apply-advanced; + list mac-addr-list-item { + key name; + uses mac_addr_list_items; + } + } + list vsi-policy { + key name; + ordered-by user; + description "Define a named set of VSI policies"; + leaf name { + description "VSI policy name"; + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the VSI policy"; + uses apply-advanced; + list vsi-manager { + key "vsi-manager-id vsi-type vsi-version vsi-instance"; + ordered-by user; + description "VSI manager"; + leaf vsi-manager-id { + description "VSI manager ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-type { + description "VSI type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777216"; + } + } + } + leaf vsi-version { + description "VSI version"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-instance { + description "VSI instance"; + type string; + } + uses apply-advanced; + } + } + container then { + description "Actions to take if 'from' conditions match"; + uses apply-advanced; + leaf filter { + description "Filter name"; + type string; + } + } + } + list policy-statement { + key name; + description "Routing policy"; + leaf name { + description "Name to identify a policy filter"; + type string; + } + uses apply-advanced; + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + choice scope-choice { + case case_1 { + leaf no-walkup { + description "Route filter walk up disable"; + type empty; + } + } + case case_2 { + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + list community { + key name; + description "BGP community information"; + leaf name { + description "Name to identify BGP community"; + type string; + } + uses apply-advanced; + leaf invert-match { + description "Invert the result of the community expression matching"; + type empty; + } + leaf-list members { + ordered-by user; + description "Community members"; + type string; + } + } + list route-distinguisher { + key name; + description "Route-distinguisher information"; + leaf name { + description "Name to identify route-distinguisher"; + type string; + } + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Route distinguisher string in ( *:X ) or ( Y:* ) or (X:Y) format"; + type string; + } + } + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + uses apply-advanced; + leaf path { + description "AS path regular expression"; + type string { + } + } + } + list as-path-group { + key name; + ordered-by user; + description "Group a set of AS paths"; + leaf name { + description "Name to identify AS path group"; + type string; + } + uses apply-advanced; + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + leaf path { + description "AS path regular expression"; + type string { + } + } + } + } + list damping { + key name; + ordered-by user; + description "BGP route flap damping properties"; + leaf name { + description "Name to identify route flap damping parameters"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable damping"; + type empty; + } + } + } + leaf half-life { + description "Decay half-life"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 45"; + } + } + } + leaf reuse { + description "Reuse threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf suppress { + description "Cutoff threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf max-suppress { + description "Maximum hold-down time"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list condition { + key name; + description "Define a route advertisement condition"; + leaf name { + description "Name to identify Condition"; + type string; + } + uses apply-advanced; + choice condition_type { + case case_1 { + leaf route-active-on { + description "Route is active on a specific node"; + type enumeration { + enum "node0" { + description "Route active on node 0"; + } + enum "node1" { + description "Route active on node 1"; + } + } + } + } + case case_2 { + container if-route-exists { + presence "enable if-route-exists"; + description "Route exists in a specific routing table"; + uses apply-advanced; + container address-family { + presence "enable address-family"; + description "Indicates the address family of the route to match on"; + uses apply-advanced; + choice address-family { + case case_1 { + container inet { + presence "enable inet"; + description "Route to match corresponds to an inet/inet6 prefix"; + uses apply-advanced; + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + case case_2 { + container ccc { + presence "enable ccc"; + description "Route to match corresponds to a ccc prefix"; + uses apply-advanced; + leaf address { + description "Logical interface used to establish ccc route"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + leaf standby { + description "Indicates if route must be in standby state to be considered a match"; + type empty; + } + leaf peer-unit { + description "Associated LT ifl's peer-unit. Required for LT-based routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + } + } + } + } + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + } + } + list rtf-prefix-list { + key name; + ordered-by user; + description "Define a named set of family route target prefixes"; + leaf name { + description "RTF prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list { + key name; + uses rtf_prefix_list_items; + } + } + list application-maps { + key name; + ordered-by user; + description "Define application maps"; + uses application_map_object; + } + list redundancy-policy { + key name; + leaf name { + description "Redundancy policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list redundancy-events { + description "Events related services redundancy under event-options"; + type string; + } + container then { + description "Action to take when of the event occurs"; + presence "enable then"; + uses srd-ev-action-object; + } + } + } + grouping application_map_object { + leaf name { + description "Name of application map"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Name of the application"; + leaf name { + description "Name of the application"; + type string { + length "1 .. 63"; + } + } + leaf-list code-points { + ordered-by user; + description "List of code point bit strings"; + type string; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping as-path-calc-length-type { + description "Calculated BGP AS_PATH length per BGP rules"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping as-path-unique-count-type { + description "Number of unique BGP ASes excluding confederation ASes"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping community_count_type { + description "Number of BGP communities"; + leaf name { + description "Number of communities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping control_prefix_list_filter_type { + leaf list_name { + description "Name of prefix-list of routes to match"; + type string; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_prefix_list_type { + leaf name { + description "Name of prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_list_type { + leaf name { + description "Name of route-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_rtf_prefix_list_type { + description "RTF prefix list"; + leaf name { + description "Name of rtf-prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_list_type { + leaf name { + description "Name of source-address-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping mac_addr_list_items { + leaf name { + description "Mac Address"; + type jt:mac-addr; + } + uses apply-advanced; + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping metric_expression_type { + uses apply-advanced; + container metric { + description "Parameters for metric attribute"; + leaf multiplier { + description "Coefficient for metric attribute"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container metric2 { + description "Parameters for metric2 attribute"; + leaf multiplier { + description "Coefficient for metric2 attribute"; + default "1.0"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric2 attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping prefix_list_items { + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + grouping route_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping rtf_prefix_list_items { + leaf name { + description "Family route-target prefix"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + grouping satellite-policy-options { + uses apply-advanced; + list extended-ports-template { + key name; + ordered-by user; + description "Extended ports template"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + description "PIC attributes"; + uses satellite-pic-type; + } + } + list port-group-alias { + key name; + ordered-by user; + description "Port group alias"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + ordered-by user; + description "Satellite PIC information"; + leaf name { + description "PIC identifier"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list port { + ordered-by user; + description "Port id or range or all"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + } + } + list chassis-group-alias { + key name; + ordered-by user; + description "Chassis group alias"; + leaf name { + description "Chassis group alias name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf prefer-primary { + description "Primary mode chassis will be preferred"; + type empty; + } + list chassis-id { + key name; + ordered-by user; + description "List of chassis-ids"; + leaf name { + description "Chassis ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + container mode { + description "Mode Primary or Backup"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf primary { + description "Primary Mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup Mode"; + type empty; + } + } + } + } + list core-interface { + key name; + ordered-by user; + description "Core interface"; + leaf name { + description "Core interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } + list extended-ports-policy { + key name; + ordered-by user; + description "Define a extended-ports-policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf extended-ports-template { + description "Apply extended ports template to satellite matching conditions defined in this term"; + type string; + } + } + } + } + list candidate-uplink-port-policy { + key name; + ordered-by user; + description "Define a candidate uplink-port policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + } + list environment-monitoring-policy { + key name; + ordered-by user; + description "Define a environment monitoring policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container alarm { + presence "enable alarm"; + description "Policy default alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Policy default linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + container alarm { + presence "enable alarm"; + description "Term alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Set linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + } + } + } + list forwarding-policy { + key name; + ordered-by user; + description "Define forwarding policy for extended ports"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + } + } + } + } + grouping port-extend-type { + leaf name { + description "Extended port group alias name policy applied on"; + type string; + } + uses apply-advanced; + leaf filter { + description "Assign a filter for uplink selection"; + type string; + } + container port-group-uplink { + description "Define a uplink port group mapping"; + uses apply-advanced; + leaf port-group-uplink-alias { + description "Uplink port group alias name used for uplink pinning mode"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + container mirror-ingress { + description "Define a ingress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + container mirror-egress { + description "Define a egress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + } + grouping satellite-pic-type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4"; + } + } + } + uses apply-advanced; + list port { + key name; + description "Port number"; + uses satellite-pic-port-attr; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Physical ports to channelize"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + } + grouping satellite-pic-port-attr { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "25g" { + description "Set the port speed to 25G"; + } + enum "50g" { + description "Set the port speed to 50G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + grouping source_address_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping srd-ev-action-object { + description "Action to be taken on the occurence if defined events"; + uses apply-advanced; + leaf mship-actions { + description "Mastership related actions"; + type enumeration { + enum "acquire-mastership" { + description "Attempt to acquire mastership"; + } + enum "release-mastership" { + description "Attempt to release mastership"; + } + enum "release-mastership-force" { + description "Attempt to release mastership"; + } + enum "release-mastership-if-standby-clear" { + description "Attempt to release mastership if standby has no warning"; + } + enum "broadcast-warning" { + description "Attempt to release mastership"; + } + } + } + list add-static-route { + key name; + ordered-by user; + description "Add a static route in the specified routing table"; + max-elements 1; + uses srd-route-add-object; + } + list delete-static-route { + key name; + ordered-by user; + description "Delete a static route in the specified routing table"; + max-elements 1; + uses srd-route-delete-object; + } + } + grouping srd-route-add-object { + description "Route details"; + leaf name { + description " Destination route address with prefix length"; + type jt:ipv4prefix-mandatory; + } + uses apply-advanced; + choice next-hop-details { + case case_1 { + leaf next-hop { + description "Next-hop (interface) to destination"; + type string; + } + } + case case_2 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + } + leaf routing-instance { + description "Routing instance where the route should be added"; + type string; + } + } + grouping srd-route-delete-object { + description "Route details"; + leaf name { + description "Destination route address with prefix length"; + type jt:ipv4prefix-mandatory; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance where the route should be added"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-protocols@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-protocols@2019-01-01.yang new file mode 100644 index 00000000..e6ff6fc1 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-protocols@2019-01-01.yang @@ -0,0 +1,35772 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-protocols { + namespace "http://yang.juniper.net/junos-es/conf/protocols"; + + prefix jc-protocols; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos protocols configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses protocols-group; + } + augment /jc:configuration/jc:groups { + uses protocols-group; + } + grouping protocols-group { + container protocols { + description "Routing protocol configuration"; + uses juniper-protocols; + } + } + grouping juniper-protocols { + uses apply-advanced; + container overlay { + description "Overlay protocol"; + uses juniper-protocols-overlayd; + } + container l2iw { + presence "enable l2iw"; + description "Configuration for Layer 2 interworking"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container igmp { + presence "enable igmp"; + description "IGMP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IGMP on this interface"; + type empty; + } + } + } + leaf version { + description "Set IGMP version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv4addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv4addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf promiscuous-mode { + description "Accept igmp messages coming from different subnet"; + type empty; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving IGMP messages"; + leaf allow-receive { + description "Allow receiving IGMP messages"; + type empty; + } + leaf send-general-query { + description "Send IGMP general query messages"; + type empty; + } + leaf send-group-query { + description "Send IGMP group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed IGMP interface"; + type empty; + } + } + container amt { + description "Automatic Multicast Tunnel options for IGMP"; + uses apply-advanced; + container relay { + description "AMT relay options for IGMP"; + uses apply-advanced; + container defaults { + presence "enable defaults"; + description "Default AMT relay options for IGMP"; + uses apply-advanced; + leaf version { + description "Set IGMP version number on AMT interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + } + } + } + } + container mld { + presence "enable mld"; + description "MLD options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MLD on this interface"; + type empty; + } + } + } + leaf version { + description "Set mld version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 2"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv6addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv6addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for ssm translation of mld v1 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming mld report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of group-limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving mld messages"; + leaf allow-receive { + description "Allow receiving mld messages"; + type empty; + } + leaf send-general-query { + description "Send mld general query messages"; + type empty; + } + leaf send-group-query { + description "Send mld group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed MLD interface"; + type empty; + } + } + } + container amt { + description "AMT configuration"; + uses juniper-protocols-amt; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container router-advertisement { + description "IPv6 router advertisement options"; + uses apply-advanced; + container traceoptions { + description "Trace options for router advertisement"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router advertisement"; + leaf name { + type string; + } + uses apply-advanced; + leaf preference { + description "Set the Preference for Router Selection"; + type enumeration { + enum "medium" { + description "Medium / (Default)"; + } + enum "high" { + description "High"; + } + enum "low" { + description "Low"; + } + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + choice link-mtu-choice { + leaf link-mtu { + description "Link MTU"; + type empty; + } + leaf no-link-mtu { + description "Don't link MTU"; + type empty; + } + } + leaf solicit-router-advertisement-unicast { + description "Enbale solicited router advertisement as unicast"; + type empty; + } + leaf reachable-time { + description "Reachable time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600000"; + } + } + } + leaf retransmit-timer { + description "Retransmit timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf virtual-router-only { + description "Send advertisemnets only for vrrp-inet6-group"; + type empty; + } + leaf current-hop-limit { + description "Current hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf default-lifetime { + description "Router lifetime"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9000"; + } + } + } + list dns-server-address { + key name; + ordered-by user; + description "Recursive DNS address configuration"; + max-elements 3; + leaf name { + description "DNS address to be advertised"; + type string; + } + uses apply-advanced; + leaf lifetime { + description "DNS address lifetime"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + list prefix { + key name; + ordered-by user; + description "Prefix configuration"; + leaf name { + description "Prefix to be advertised"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf valid-lifetime { + description "Valid lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice on-link-choice { + leaf on-link { + description "Set on-link flag"; + type empty; + } + leaf no-on-link { + description "Don't set on-link flag"; + type empty; + } + } + leaf preferred-lifetime { + description "Preferred lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice autonomous-choice { + leaf autonomous { + description "Set autonomous flag"; + type empty; + } + leaf no-autonomous { + description "Don't set autonomous flag"; + type empty; + } + } + } + } + container ra-secure { + description "Protect box against rogue incoming RA messages"; + uses apply-advanced; + leaf accept-current-hop-limit-min { + description "Current hop limit acceptable min for incoming RA"; + units "uint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf accept-current-hop-limit-max { + description "Current hop acceptable min for incoming RA"; + units "uint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf accept-reachable-time-min { + description "Reachable Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-reachable-time-max { + description "Reachable Time acceptable max for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-retransmit-time-min { + description "Retransmit Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + leaf accept-retransmit-time-max { + description "Retransmit Time acceptable min for incoming RA"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 3600000"; + } + } + } + } + } + container sap { + presence "enable sap"; + description "Session Advertisement Protocol options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SAP"; + type empty; + } + } + } + list listen { + key name; + ordered-by user; + description "Address for SAP and SDP to listen on"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "Port to listen for session advertisements"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container rsvp { + description "RSVP options"; + uses juniper-protocols-rsvp; + } + container mpls { + description "Multiprotocol Label Switching options"; + uses juniper-protocols-mpls; + } + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container dvmrp { + presence "enable dvmrp"; + description "DVMRP options"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for DVMRP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "poison" { + description "Trace poison-route-reverse packets"; + } + enum "packets" { + description "Trace all DVMRP packets"; + } + enum "probe" { + description "Trace probe packets"; + } + enum "report" { + description "Trace DVMRP route report packets"; + } + enum "neighbor" { + description "Trace neighbor probe packets"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "graft" { + description "Trace graft messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + list interface { + key name; + ordered-by user; + description "DVMRP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "forwarding" { + description "Use DVMRP for multicast forwarding"; + } + enum "unicast-routing" { + description "Use DVMRP for unicast routing only"; + } + } + } + leaf metric { + description "DVMRP metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf hold-time { + description "When neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container isis { + description "IS-IS options"; + uses juniper-protocols-isis; + } + container esis { + description "End system-intermediate system options"; + uses juniper-protocols-esis; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPFv3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container ldp { + description "LDP options"; + uses juniper-protocols-ldp; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container connections { + description "Circuit cross-connect configuration"; + uses apply-advanced; + list interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between interfaces"; + leaf name { + description "Name of interface switch"; + type string { + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to be switched"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + list remote-interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between a local and a remote interface"; + leaf name { + description "Name of remote interface switch"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Local interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list lsp-switch { + key name; + ordered-by user; + description "Unidirectional switch between two label-switched paths"; + leaf name { + description "Name of label-switched path switch"; + type string { + } + } + uses apply-advanced; + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list p2mp-transmit-switch { + key name; + ordered-by user; + description "Local interface to point-to-multipoint LSP switch"; + leaf name { + description "Point-to-multipoint switch name on which to transmit"; + type string { + } + } + uses apply-advanced; + leaf input-interface { + description "Input interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-p2mp-lsp { + description "Point-to-multipoint LSP name on which to transmit"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 16; + } + } + list p2mp-receive-switch { + key name; + ordered-by user; + description "Point-to-multipoint LSP to local interfaces switch"; + leaf name { + description "Point-to-multipoint switch name on which to receive"; + type string { + } + } + uses apply-advanced; + leaf receive-p2mp-lsp { + description "Point-to-multipoint LSP name on which to receive"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Next outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container vrrp { + description "VRRP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for VRRP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database"; + } + enum "general" { + description "Trace general events"; + } + enum "interfaces" { + description "Trace interface messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "packets" { + description "Trace packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer events"; + } + enum "ppm" { + description "VRRP PPM related messages"; + } + enum "all" { + description "Trace all events"; + } + } + } + } + } + leaf failover-delay { + description "Additional failover delay timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 100000"; + } + } + } + leaf startup-silent-period { + description "Period for ignoring master down timer at device startup"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000"; + } + } + } + leaf asymmetric-hold-time { + description "Priority hold time asymmetric behaviour"; + type empty; + } + leaf skew-timer-disable { + description "Disable the skew timer"; + type empty; + } + leaf global-advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf inherit-advertisement-interval { + description "Advertisement interval for inherit sessions"; + default "120"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 120"; + } + } + } + leaf version-3 { + description "VRRPv3 conformance"; + type empty; + } + } + container l2circuit { + description "Configuration for Layer 2 circuits over MPLS"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 circuit topology changes"; + } + enum "fec" { + description "Trace Layer 2 circuit VC FEC advertisements"; + } + enum "connections" { + description "Trace Layer 2 circuit connections"; + } + enum "oam" { + description "Trace Layer 2 circuit OAM messages"; + } + enum "egress-protection" { + description "Trace Layer 2 circuit egress protection messages"; + } + enum "auto-sensing" { + description "Trace Layer 2 circuit PW auto-sensing"; + } + enum "sdb" { + description "Trace SDB"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "List of Layer 2 circuits to this neighbor"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf send-oam { + description "Turn on sending of l2ckt ping"; + type empty; + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + choice control-word-choice { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + leaf no-control-word { + description "Don't add control word to the Layer 2 encapsulation"; + type empty; + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + leaf no-revert { + description "Don't revert to primary-interface"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Layer 2 circuit switchover delay"; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + container egress-protection { + description "Egress protection for Layer 2 circuit"; + uses apply-advanced; + choice protection-type { + case case_1 { + leaf protector-interface { + description "Name of the protector interface for local protection"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + container protector-pe { + description "Address of the protector PE"; + leaf address { + description "Address of the protector PE"; + type jt:ipv4addr; + } + leaf context-identifier { + description "Identifier of the context used for this protection"; + type jt:ipv4addr; + } + leaf lsp { + description "Name of the label-switched path used for the protection"; + type string { + } + } + } + } + } + container protected-l2circuit { + description "Primary Layer 2 circuit to be protected"; + leaf l2circuit-name { + description "Name of the protected Layer 2 circuit"; + type string { + } + } + leaf ingress-pe { + description "Ingress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf egress-pe { + description "Egress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf virtual-circuit-id { + description "Identifier of the protected Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container local-switching { + description "Configuration of Layer 2 circuits local switching"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the local Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configuration of Layer 2 circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the neighbor PE"; + type jt:ipv4addr; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Backup Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the backup neighbor PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + container end-interface { + description "Interface name of the other end point"; + uses apply-advanced; + leaf interface { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + } + } + container auto-sensing { + presence "enable auto-sensing"; + description "Configuration of PW auto-sensing"; + uses apply-advanced; + leaf password { + description "Password for authentication with Radius server; 1 to 15 characters long"; + type jt:unreadable; + } + } + } + container evpn { + description "Configuration EVPN default routing instance"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf es-import-oldstyle { + description "Enable noncompliant ES import route-target computation"; + type empty; + } + leaf es-label-oldstyle { + description "Enable noncompliant ESI 24 bit label"; + type empty; + } + leaf mac-history { + description "Number of history entries to be maitained per mac"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + list mac-list { + key name; + description "Configure MAC lists"; + leaf name { + description "List name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf-list mac-address { + description "MAC address"; + type jt:mac-addr; + } + } + container vni-options { + description "Vni options"; + uses juniper-protocols-vni-options; + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container mac-mobility { + description "MAC mobility settings"; + uses apply-advanced; + leaf no-sequence-numbers { + description "Don't use sequence numbers for MAC mobility"; + type empty; + } + } + } + container link-management { + description "LMP options"; + uses juniper-protocols-lmp; + } + container pgm { + description "PGM options"; + presence "enable pgm"; + status deprecated; + uses juniper-protocols-pgm; + } + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + container traceoptions { + description "Trace options for BFD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "adjacency" { + description "Trace adjacency messages"; + } + enum "event" { + description "Trace all events"; + } + enum "error" { + description "Trace all errors"; + } + enum "rtsock" { + description "Trace all rtscok messages"; + } + enum "packet" { + description "Trace all packets"; + } + enum "ppm-packet" { + description "Trace packet activity by periodic packet management"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer processing"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-packet" { + description "Trace packet activity of NSR"; + } + enum "issu" { + description "Trace ISSU packet activity"; + } + enum "slow-start" { + description "Trace slow-start activity"; + } + enum "session" { + description "Per session activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-issu-timer-negotiation { + description "Disable ISSU timer negotiation"; + type empty; + } + container sbfd { + description "Seamless BFD parameters"; + uses apply-advanced; + leaf-list pool { + description "List of Seamless BFD endpoints"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list local-discriminator { + key name; + ordered-by user; + description "Local discriminator for Seamless BFD responder"; + leaf name { + description "Local discriminator for Seamless BFD responder"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + uses apply-advanced; + leaf minimum-receive-interval { + description "Minimum receive interval for Seamless BFD responder"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 255000"; + } + } + } + } + } + } + container mvpn { + description "BGP-MVPN configuration"; + uses juniper-protocols-mvpn; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container traceoptions { + description "Trace options for soure-packet-routing"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "controller" { + description "Trace controller-related activity"; + } + enum "state" { + description "Trace LSP state-related activity"; + } + enum "route" { + description "Trace route-related activity"; + } + enum "general" { + description "Trace general activity"; + } + enum "interface" { + description "Trace interface-related activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + } + leaf preference { + description "Route preference for SPRING-TE routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf sr-preference-override { + description "SR-preference override for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf sr-preference { + description "SR-preference for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf maximum-segment-list-depth { + description "Maximum segment list depth for SR-TE policies"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container statistics { + presence "enable statistics"; + description "Enable traffic-statistics collection on SR-TE policies"; + uses apply-advanced; + container telemetry { + presence "enable telemetry"; + description "Enable traffic-statistics collection on per-policy basis"; + } + } + list segment-list { + key name; + ordered-by user; + description "Explicit path for SR-TE segments"; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list hop-list { + key name; + ordered-by user; + max-elements 5; + leaf name { + description "Next hop in SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf label { + description "Next label in SR-TE segment-list"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf ip-address { + description "IP address of the hop"; + type jt:ipaddr; + } + } + } + list source-routing-path { + key name; + ordered-by user; + description "Configure a source-routing-path"; + leaf name { + description "Name of the source routing path"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Ip-address of the tunnel end-point"; + type jt:ipaddr; + } + leaf color { + description "Color identifier for the tunnel end-point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-ingress { + description "Disable ingress functionality for this tunnel"; + type empty; + } + leaf binding-sid { + description "Specify the binding-label to enable transit functionality for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf preference { + description "Preference for routes downloaded for this tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric for routes downloaded for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf sr-preference { + description "SR-preference for SPRING-TE routes. Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list primary { + key name; + ordered-by user; + description "Configure a primary segment list for this source-routing-path"; + max-elements 8; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf weight { + description "Specify the balance factor for this segment list in SR-TE tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list secondary { + key name; + ordered-by user; + description "Configure a secondary segment list for this source-routing-path"; + max-elements 1; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + } + } + container neighbor-discovery { + presence "enable neighbor-discovery"; + description "IPv6 neighbor discovery"; + uses apply-advanced; + leaf onlink-subnet-only { + description "Onlink subnet only knob"; + type empty; + } + container ndp-proxy { + description "Configure NDP PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + container dad-proxy { + description "Configure DAD PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + } + container iccp { + description "ICCP options"; + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use by default for all peers"; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with peers"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf authentication-key { + description "MD5 authentication key for all peers"; + type string { + length "1 .. 126"; + } + } + list peer { + key name; + description "Redundancy Group Configuration"; + uses peer-group; + } + container traceoptions { + description "Trace options for ICCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container ilmi { + description "Interim Local Management Interface Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "ILMI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database events"; + } + enum "routing-socket" { + description "Trace Routing socket events"; + } + enum "state" { + description "Trace state change events"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "event" { + description "Trace event handler events"; + } + enum "packet" { + description "Trace packet events"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "LACP trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and packet types to include in the trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "routing-socket" { + description "Routing socket events"; + } + enum "process" { + description "Process events"; + } + enum "startup" { + description "Process startup events"; + } + enum "protocol" { + description "Protocol events"; + } + enum "packet" { + description "LACP packets"; + } + enum "ppm" { + description "LACP PPM messages"; + } + enum "bfd" { + description "LACP BFD events"; + } + enum "mc-ae" { + description "Multi-chassis AE messages"; + } + enum "all" { + description "All events and packets"; + } + } + } + } + } + leaf ppm { + description "Force PPM processing"; + type enumeration { + enum "centralized" { + description "Centralized PPM processing"; + } + } + } + } + container oam { + description "Operation, Administration, and Management configuration"; + uses apply-advanced; + container ethernet { + description "OAM configuration for Ethernet"; + uses apply-advanced; + container link-fault-management { + description "802.3ah Ethernet OAM configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for link-fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "action-profile" { + description "Trace action profile invocation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list action-profile { + key name; + ordered-by user; + description "Define an action profile"; + leaf name { + description "Name of action profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container event { + description "Events this action profile will check"; + uses apply-advanced; + leaf link-adjacency-loss { + description "Loss of adjacency with OAM peer"; + type empty; + } + leaf protocol-down { + description "Upper layer indication on protocol down"; + type empty; + } + container link-event-rate { + uses apply-advanced; + leaf symbol-period { + description "Rate of receiving symbol period events"; + units "error(s) per 100 symbol"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-error { + description "Rate of receiving frame error events"; + units "error(s) per 100 milli-second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + leaf frame-period { + description "Rate of receiving frame period events"; + units "error(s) per 100 frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-period-summary { + description "Rate of receiving frame period summary events"; + units "error(s) per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + } + } + container action { + description "Action to take on specified events"; + uses apply-advanced; + leaf syslog { + description "Generate syslog message"; + type empty; + } + leaf link-down { + description "Mark the interface down for transit traffic"; + type empty; + } + leaf send-critical-event { + description "Start sending OAM PDUs with critical event bit set"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface on which to set Ethernet OAM parameters"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list apply-action-profile { + ordered-by user; + description "Apply the specified action profile on the interface"; + type string; + } + leaf pdu-interval { + description "Periodic OAM protocol data unit interval"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "100 .. 1000"; + } + } + } + leaf loopback-tracking { + description "Enable link down on loopback detection"; + type empty; + } + leaf detect-loc { + description "Detects initial lack of adjacency formation"; + type empty; + } + leaf link-discovery { + description "Mode of discovery"; + default "active"; + type enumeration { + enum "active" { + } + enum "passive" { + } + } + } + leaf pdu-threshold { + description "Number of PDUs missed before declaring peer lost"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "3 .. 10"; + } + } + } + leaf remote-loopback { + description "Put remote DTE into remote-loopback mode"; + type empty; + } + container negotiation-options { + description "802.3ah features supported on the interface"; + uses apply-advanced; + leaf no-allow-link-events { + description "Do not emit periodic PDUs detailing framing and symbol errors"; + type empty; + } + leaf allow-remote-loopback { + description "Allow local port to be put into loopback mode"; + type empty; + } + } + container event-thresholds { + description "Thresholds for sending 802.3ah events"; + uses apply-advanced; + leaf symbol-period { + description "Threshold for sending symbol period events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-error { + description "Threshold for sending frame error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period { + description "Threshold for sending frame period error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period-summary { + description "Threshold for sending frame period summary error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + } + } + } + container connectivity-fault-management { + description "Configurations related to 802.1ag ethernet oam"; + uses apply-advanced; + leaf no-aggregate-delegate-processing { + description "Do not distribute aggregate session to pfe"; + type empty; + } + leaf enhanced-cfm-mode { + description "Enables Enhanced CFM Mode"; + type empty; + } + container traceoptions { + description "Trace options for connectivity fault management"; + presence "enable traceoptions"; + uses cfm-traceoptions; + } + list action-profile { + key name; + ordered-by user; + description "Action profiles to use when one or more remote maintenance association endpoints are down"; + leaf name { + description "Name of action profile"; + type string; + } + uses apply-advanced; + container event { + description "Events that need to be monitored"; + uses apply-advanced; + leaf-list interface-status-tlv { + ordered-by user; + description "Values that need to be monitored in interface status TLV"; + type enumeration { + enum "down" { + description "Interface is administratively down"; + } + enum "lower-layer-down" { + description "Interface is physically down"; + } + } + } + leaf-list port-status-tlv { + ordered-by user; + description "Values that need to be monitored in port status TLV"; + type enumeration { + enum "blocked" { + description "Port is blocked"; + } + } + } + leaf adjacency-loss { + description "Connectivity is lost"; + type empty; + } + leaf rdi { + description "RDI received from some MEP"; + type empty; + } + leaf connection-protection-tlv { + description "Values that need to be monitored in connection protection TLV"; + type enumeration { + enum "using-working-path" { + description "Service traffic is using working path"; + } + enum "using-protection-path" { + description "Service traffic is using protection path"; + } + } + } + } + container action { + uses apply-advanced; + leaf interface-down { + description "Mark the interface as down"; + type empty; + } + leaf revertive-interface-down { + description "Wait for CC loss-threshold to bring back the interface up"; + type empty; + } + leaf non-revertive-interface-down { + description "Interface will not be brought up when CC is received"; + type empty; + } + leaf propagate-remote-mac-flush { + description "Remote mac-flush"; + type empty; + } + leaf interface-group-down { + description "Mark the interface group as down"; + type empty; + } + container log-and-generate-ais { + uses apply-advanced; + leaf-list level { + description "Server maintenance domain levels range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + leaf interval { + description "Interval between AIS messages"; + default "1s"; + type enumeration { + enum "1s" { + } + enum "1m" { + } + } + } + leaf priority { + description "802.1p priority of AIS packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container clear-action { + uses apply-advanced; + container interface-down { + description "Mark the interface as down"; + leaf peer-interface { + description "Mark the interface as down"; + type empty; + } + } + leaf propagate-remote-mac-flush { + description "Remote mac flush"; + type empty; + } + } + container default-actions { + description "Action that needs to be taken"; + uses apply-advanced; + leaf interface-down { + description "Bring the interface down"; + type empty; + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for all sessions"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + container linktrace { + presence "enable linktrace"; + description "Linktrace protocol global options"; + uses apply-advanced; + leaf path-database-size { + description "Number of linktrace reply entries to be stored per linktrace request"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf age { + description "Time after which a stale request-response entry is deleted"; + default "10m"; + type enumeration { + enum "10s" { + } + enum "30s" { + } + enum "1m" { + } + enum "10m" { + } + enum "30m" { + } + } + } + } + list maintenance-domain { + key name; + ordered-by user; + description "Maintenance domain configuration"; + leaf name { + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + description "Bridge-domain information for the default maintenance domain"; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + list vlan { + key name; + ordered-by user; + description "VLAN information for the default maintenance domain"; + leaf name { + description "VLAN name"; + type string; + } + } + list virtual-switch { + key name; + ordered-by user; + description "Virtual switch Bridge-domain information for the default maintenance domain"; + leaf name { + description "Routing instance of type virtual switch"; + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + } + list instance { + key name; + ordered-by user; + description "VPLS instance name for the default maintenance domain"; + leaf name { + description "VPLS routing instance name"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Name of interface for the default maintenance domain"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf level { + description "Level value for maintenance domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 7"; + } + } + } + leaf name-format { + description "Format of maintenance domain name"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "none"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + } + } + list maintenance-association { + key name; + ordered-by user; + description "Maintenance association configuration"; + leaf name { + description "Name of maintenance association in IEEE compliant format"; + type string { + length "1 .. 45"; + } + } + uses apply-advanced; + leaf debug-session { + description "Debug the CFM session"; + type empty; + } + leaf short-name-format { + description "Format of Maintenance Association Name"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf primary-vid { + description "VLAN id"; + type string; + } + container continuity-check { + presence "enable continuity-check"; + description "Continuity check configuration"; + uses apply-advanced; + leaf interval { + description "Interval between continuity-check messages"; + default "1m"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + enum "3.3ms" { + } + } + } + leaf loss-threshold { + description "Number of continuity-check messages lost before marking endpoint as down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf hold-interval { + description "Time before flushing MEP database if no updates occur"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30240"; + } + } + } + leaf port-status-tlv { + description "Include port status TLV in CCM"; + type empty; + } + leaf interface-status-tlv { + description "Include interface status TLV in CCM"; + type empty; + } + leaf connection-protection-tlv { + description "Include connection protection OUI TLV in CCM"; + type empty; + } + leaf convey-loss-threshold { + description "Include Loss Threshold OUI TLV in CCM"; + type empty; + } + leaf interface-status-send-rdi { + description "Send RDI on interface operation status down in CCM"; + type empty; + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "defer"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + enum "defer" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefer"; + } + } + } + list mep { + key name; + ordered-by user; + description "Maintenance association endpoint configuration"; + leaf name { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + container interface { + presence "enable interface"; + description "Name of interface"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf vlan { + description "Trunk port interface VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + choice connection-type { + case case_1 { + leaf working { + description "Monitory the primary path"; + type empty; + } + } + case case_2 { + leaf protect { + description "Monitory the protect path"; + type empty; + } + } + } + } + leaf direction { + description "Direction of maintenance endpoint"; + default "down"; + type enumeration { + enum "up" { + } + enum "down" { + } + } + } + leaf priority { + description "802.1p priority of continuity-check and link-trace packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf auto-discovery { + description "Accept continuity-check messages from all remote MEPs"; + type empty; + } + leaf action-profile { + description "Name of the action profile"; + type string; + } + list remote-mep { + key name; + ordered-by user; + description "Remote maintenance association endpoint configuration"; + leaf name { + description "Identifier for remote maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + leaf action-profile { + description "Name of the action profile"; + type string; + } + container interface-group { + presence "enable interface-group"; + description "Mark this interface group down Profile configured with action interface-group-down"; + uses apply-advanced; + leaf interface-device-name { + description "Interface device name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list unit-list { + description "One or more logical interface unit numbers"; + type jt:range; + } + } + list sla-iterator-profile { + key name; + ordered-by user; + description "Name of the iterator profile"; + leaf name { + type string; + } + uses apply-advanced; + leaf iteration-count { + description "Iterations to partake for acquiring SLA measurements"; + units "frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "The vlan pcp value to be sent in the Y.1731 frame"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf data-tlv-size { + description "Size of the data-tlv portion of Y.1731 frame"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1400"; + } + } + } + } + leaf detect-loc { + description "Detects initial loss of connectivity with remote mep"; + type empty; + } + } + leaf lowest-priority-defect { + description "Lowest priority defect that is allowed to generate a fault alarm"; + type enumeration { + enum "all-defects" { + description "Allows all defects"; + } + enum "mac-rem-err-xcon" { + description "Allows only MAC, not receiving CCM, erroneous CCM and cross connect defects"; + } + enum "rem-err-xcon" { + description "Allows only not receiving CCM, erroneous CCM and cross connect CCM defects"; + } + enum "err-xcon" { + description "Allows only erroneous CCM and cross connect CCM defects"; + } + enum "xcon" { + description "Allows only cross connect CCM defect"; + } + enum "no-defect" { + description "Allows no defect"; + } + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for this session"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + } + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + list evcs { + key name; + description "Ethernet virtual circuits configuration"; + leaf name { + description "EVC id"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + container evc-protocol { + description "Signaling protocol to monitor EVC status"; + choice protocol { + case case_1 { + container cfm { + presence "enable cfm"; + description "Connectivity fault management"; + leaf maintenance-domain { + description "Maintenance domain name"; + type string; + } + leaf maintenance-association { + description "Maintenance association name"; + type string; + } + leaf mep { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + } + } + case case_2 { + container vpls { + presence "enable vpls"; + description "Virtual private LAN service (BGP/LDP)"; + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + } + case case_3 { + } + case case_4 { + } + } + } + leaf remote-uni-count { + description "Number of remote UNIs in the EVC"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf multipoint-to-multipoint { + description "Multipoint to Multipoint EVC"; + type empty; + } + } + container lmi { + presence "enable lmi"; + description "Ethernet local management interface configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for ethernet local management interface"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "packet" { + description "Trace events related to packet flow"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + list interface { + key name; + description "Interface options"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf uni-id { + description "UNI identifier"; + type string { + length "1 .. 64"; + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + leaf evc-map-type { + description "CE-VLAN ID/EVC map type"; + default "bundling"; + type enumeration { + enum "all-to-one-bundling" { + description "All to one bundling"; + } + enum "service-multiplexing" { + description "Service multiplexing with no bundling"; + } + enum "bundling" { + description "Bundling with service multiplexing"; + } + } + } + list evc { + key name; + description "EVC configuration"; + leaf name { + description "EVC identifier"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + leaf default-evc { + description "Default EVC"; + type empty; + } + leaf-list vlan-list { + description "Vlans mapped to this EVC"; + type jt:vlan-range; + } + } + } + } + container fnp { + presence "enable fnp"; + description "Failure notification protocol configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for FNP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace protocol events"; + } + enum "pdu" { + description "Trace PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + leaf interval { + description "Interval between FNP messages"; + default "1s"; + type enumeration { + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf loss-threshold { + description "Number of FNP messages lost before clearing FNP state"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "3 .. 255"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf domain-id { + description "Ethernet domain identifier"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container gre-tunnel { + presence "enable gre-tunnel"; + uses apply-advanced; + container traceoptions { + description "Trace options for GRE keepalives"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "snmp" { + description "Trace snmp processing events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf keepalive-time { + description "Keepalive time"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 50"; + } + } + } + leaf hold-time { + description "Hold time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "5 .. 250"; + } + } + } + } + } + } + container dot1x { + description "802.1X options"; + uses juniper-protocols-dot1x; + } + container l2-learning { + description "Layer 2 forwarding configuration"; + uses juniper-protocols-bridge; + } + container dcbx { + presence "enable dcbx"; + } + container lldp { + description "Link Layer Detection Protocol"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for LLDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace configuration events"; + } + enum "configuration" { + description "Log configuration events"; + } + enum "rtsock" { + description "Trace rtsock message events"; + } + enum "packet" { + description "Trace packet information"; + } + enum "protocol" { + description "Trace protocol information"; + } + enum "interface" { + description "Trace interface update events"; + } + enum "vlan" { + description "Trace VLAN update events"; + } + enum "snmp" { + description "Trace SNMP events"; + } + enum "jvision" { + description "Trace Jvision events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf management-address { + description "LLDP management address"; + type jt:ipaddr; + } + leaf advertisement-interval { + description "Transmit interval for LLDP messages"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 32768"; + } + } + } + leaf transmit-delay { + description "Transmit delay time interval for LLDP messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8192"; + } + } + } + leaf hold-multiplier { + description "Hold timer interval for LLDP messages"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf ptopo-configuration-trap-interval { + description "Interval for physical topology configuration change trap"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf ptopo-configuration-maximum-hold-time { + description "Hold time for physical topology connection entries"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf lldp-configuration-notification-interval { + description "Time interval for LLDP notification"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 3600"; + } + } + } + leaf port-id-subtype { + description "Sub-type to be used for Port ID TLV generation"; + default "locally-assigned"; + type enumeration { + enum "locally-assigned" { + description "Locally assigned value (SNMP index of the interface)"; + } + enum "interface-name" { + description "Interface name on which LLDPDU is sent"; + } + } + } + leaf port-description-type { + description "The Interfaces Group MIB object to be used for Port Description TLV generation"; + default "interface-alias"; + type enumeration { + enum "interface-alias" { + description "Use object ifAlias value for TLV generation"; + } + enum "interface-description" { + description "Use object ifDescr value for TLV generation"; + } + } + } + leaf neighbour-port-info-display { + description "Show lldp neighbors to display port-id or port-description "; + type enumeration { + enum "port-id" { + description "Display port-id information of neighbor in port info"; + } + enum "port-description" { + description "Display port description of neighbor in port info"; + } + } + } + leaf vlan-name-tlv-option { + description "Vlan tlv options to transmit vlan name or vlan-id"; + default "vlan-id"; + type enumeration { + enum "vlan-id" { + description "Use vlan-id for tlv"; + } + enum "name" { + description "Use vlan-name for tlv"; + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLVs to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + } + } + container lldp-med { + presence "enable lldp-med"; + description "LLDP Media Endpoint Discovery"; + uses apply-advanced; + leaf fast-start { + description "Discovery count for MED"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container location { + presence "enable location"; + uses apply-advanced; + choice location-type { + case case_1 { + container civic-based { + description "Postal address"; + presence "enable civic-based"; + uses civic-address-elements; + } + } + case case_2 { + leaf elin { + description "Emergency line identification (ELIN) string"; + type string; + } + } + case case_3 { + container co-ordinate { + description "Address based on longitude and latitude coordinates"; + presence "enable co-ordinate"; + uses co-ordinate-elements; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select MED TLVs to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter MED TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + container igmp-snooping { + description "IGMP snooping configuration"; + uses juniper-default-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-default-ri-protocols-mld-snooping; + } + container pcep { + description "Path computation client configuration"; + uses apply-advanced; + leaf message-rate-limit { + description "Messages per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf update-rate-limit { + description "Updates per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf max-provisioned-lsps { + description "Defines max count of externally provisioned LSPs over all conected PCEs (default: 16000)"; + default "16000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32000"; + } + } + } + list pce-group { + key name; + ordered-by user; + description "PCE group definition"; + leaf name { + description "PCE group identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + list pce { + key name; + ordered-by user; + description "Per PCE configuration"; + leaf name { + description "PCE unique identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf local-address { + description "Address of local end of PCEP session"; + type jt:ipv4addr; + } + leaf destination-ipv4-address { + description "IPV4 Address of PCE"; + type jt:ipv4addr; + } + leaf destination-port { + description "Destination TCP port PCE is listening on"; + default "4189"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf delegation-priority { + description "This PCE's priority among configured stateful PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf request-priority { + description "This PCE's priority among configured stateless PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf pce-group { + description "Assign this PCE to defined pce group. PCE will inherit default values from the pce-group"; + type string; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 128"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + container traceoptions { + description "Path Computation Client Daemon trace options"; + uses pccd-traceoptions-type; + } + } + container ppp { + description "Configure PPP process"; + uses apply-advanced; + container traceoptions { + description "PPP trace options"; + uses ppp-traceoptions-type; + } + list monitor-session { + key session-name; + description "Monitor packet exchange for PPP session"; + leaf session-name { + description "PPP session name"; + type string; + } + uses apply-advanced; + } + } + container pppoe { + description "Configure PPPoE process"; + uses apply-advanced; + container traceoptions { + description "PPPoE trace options"; + uses pppoe-traceoptions-type; + } + leaf pado-advertise { + description "Enable PADO advertising of PPPoE Service-Names"; + type empty; + } + } + container r2cp { + description "Radio-to-Router Control Protocol configuration"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable R2CP"; + type empty; + } + } + } + container traceoptions { + description "R2CP trace options"; + uses r2cp-traceoptions-type; + } + leaf server-port { + description "R2CP server port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container client-port { + description "R2CP client port number"; + choice client-port-value { + case case_1 { + leaf port-number { + description "UDP port number for R2CP clients"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + choice port-any { + case case_1 { + leaf any { + description "Accept R2CP messages sent on any port"; + type empty; + } + } + } + } + } + } + leaf node-terminate-count { + description "Node Term retransmit count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf node-terminate-interval { + description "Node Terminate interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 5000"; + } + } + } + leaf session-terminate-count { + description "Session Term retransmit count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf session-terminate-interval { + description "Session Term interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 5000"; + } + } + } + list radio { + key name; + ordered-by user; + leaf name { + description "Radio name"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface listening for R2CP messages"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down-count { + description "Number of missed keepalives before radio is assumed 'down'"; + status deprecated; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf virtual-channel-group { + description "Virtual channel group name"; + type string { + } + } + list radio-interface { + key name; + ordered-by user; + leaf name { + description "Data channel interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } + container protection-group { + description "Protection group"; + presence "enable protection-group"; + uses juniper-protocols-protection-group; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container layer2-control { + description "Global options for layer 2 protocols"; + uses juniper-protocols-l2control; + } + container rstp { + description "Rapid Spanning Tree Protocol options"; + uses juniper-protocols-stp; + } + container mstp { + description "Multiple Spanning Tree Protocol options"; + uses juniper-protocols-mstp; + } + container vstp { + description "VLAN Spanning Tree Protocol options"; + uses juniper-protocols-vstp; + } + container loop-detect { + presence "enable loop-detect"; + description "Layer2 Loop Detect on interface with non-IP L2 Multicast mac as destination mac"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block Loop Detect PDUs on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable loop detect feature on a port"; + type empty; + } + } + leaf destination-mac { + description "Destination non-IP L2 multicast mac to be used for transmitting Loop Detect PDUs"; + type jt:mac-multicast; + } + leaf transmit-interval { + description "Loop Detect PDU TX interval in sec --default 30s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 3600"; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping bandwidth-type { + uses apply-advanced; + leaf per-traffic-class-bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf ct0 { + description "Bandwidth from traffic class 0"; + units "bps"; + type string; + } + leaf ct1 { + description "Bandwidth from traffic class 1"; + units "bps"; + type string; + } + leaf ct2 { + description "Bandwidth from traffic class 2"; + units "bps"; + type string; + } + leaf ct3 { + description "Bandwidth from traffic class 3"; + units "bps"; + type string; + } + } + grouping cfm-traceoptions { + description "Trace options for connectivity fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "issu" { + description "Trace ISSU related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping civic-address-elements { + uses apply-advanced; + leaf what { + description "Type of address"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2"; + } + } + } + leaf country-code { + description "Two-letter country code"; + type string { + length 2; + } + } + list ca-type { + key name; + ordered-by user; + leaf name { + description "Address element type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf ca-value { + description "Address element value"; + type string; + } + } + } + grouping co-ordinate-elements { + description "Geographical co-ordinates"; + uses apply-advanced; + leaf longitude { + description "Longitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + leaf lattitude { + description "Lattitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + } + grouping juniper-default-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-default-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv1 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-ospf-authentication { + description "Authentication information"; + uses apply-advanced; + choice authentication-type { + case case_1 { + leaf simple-password { + description "Authentication key"; + type jt:unreadable; + } + } + case case_2 { + list md5 { + key name; + ordered-by user; + description "MD5 authentication key"; + leaf name { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf key { + description "MD5 authentication key value"; + type jt:unreadable; + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + } + } + } + } + grouping juniper-protocols-amt { + uses apply-advanced; + container traceoptions { + description "Trace options for AMT"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all AMT packets"; + } + enum "errors" { + description "Trace all error messages"; + } + enum "tunnels" { + description "Trace all AMT tunnel messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container relay { + description "AMT relay"; + presence "enable relay"; + uses juniper-protocols-amt-relay; + } + } + grouping juniper-protocols-amt-relay { + uses apply-advanced; + container family { + presence "enable family"; + description "Protocol family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + leaf anycast-prefix { + description "IPv4 anycast prefix"; + type jt:ipv4prefix; + } + leaf local-address { + description "IPv4 local address"; + type jt:ipv4addr; + } + } + } + leaf secret-key-timeout { + description "Time interval for the secret key to expire"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 1440"; + } + } + } + leaf tunnel-limit { + description "Number of AMT tunnels"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf unicast-stream-limit { + description "Maximum number of AMT unicast streams(s,g,intf)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf accounting { + description "Enable AMT accounting"; + type empty; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating ud interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-protocols-bridge { + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 address service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "routing-instance" { + description "Routing instance operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "logical-system" { + description "Logical system operations"; + } + enum "bmac-next-hop" { + description "Backbone Mac Next hop operations "; + } + enum "bridge-bmac-next-hop" { + description "Bmac Next hop bridge operations"; + } + enum "isid" { + description "I-Tagged Service ID"; + } + enum "mc-ae" { + description "Multi-chassis AE"; + } + enum "kack" { + description "Kernel-acknowledgment"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "redundant-trunk-group" { + description "Redundant trunk group"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + container in-memory-debug { + presence "enable in-memory-debug"; + description "Enable trace parameters in the memory"; + } + } + container global-mac-move { + presence "enable global-mac-move"; + description "Enable mac move related options at global level"; + uses apply-advanced; + leaf notification-time { + description "Periodical time interval in secs during which MAC move notification occurs"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-time { + description "Time during which if certain number of MAC moves happen warrant recording"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reopen-time { + description "Time after which a blocked interface is reopened"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-count { + description "Count of MAC moves which warrant recording when happen in certain time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Enable logging for the MAC moves"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + leaf log { + description "Syslog all the MAC moves as stored in the mac-move-buffer"; + type empty; + } + leaf disable-action { + description "Disable mac move action globally"; + type empty; + } + leaf cooloff-time { + description "Time interval in secs during which no further actions are taken"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf statistical-approach-wait-time { + description "Time during which MAC moves are monitored to collect statistics"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface-recovery-time { + description "Time interval after which interface is made operationally up"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list exclusive-mac { + key name; + ordered-by user; + description "MAC addresses to be excluded in mac-move-limit or in VPLS loop prevention algorithm"; + leaf name { + description "Source MAC address"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + } + } + leaf global-mac-table-aging-time { + description "System level MAC table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf global-mac-ip-table-aging-time { + description "System level MAC+IP table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1000000"; + } + } + } + leaf global-mode { + description "Global L2 Mode"; + default "switching"; + type enumeration { + enum "transparent-bridge" { + description "Transparent bridge mode"; + } + enum "switching" { + description "Switching mode"; + } + } + } + leaf global-le-aging-time { + description "Set LE aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1000000"; + } + } + } + leaf global-le-bridge-domain-aging-time { + description "Set LE bridge-domain aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1000000"; + } + } + } + leaf mclag-arpreq-sync { + description "Enable syncing ARP REQ packets to peer MCLAG PE"; + type empty; + } + leaf global-mac-pinning-discard-notification-interval { + description "Set interval for MAC Pinning discard notification"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 86400"; + } + } + } + container global-mac-limit { + presence "enable global-mac-limit"; + description "System level MAC limit options"; + uses apply-advanced; + leaf mac-limit { + description "System level MAC limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64; + } + } + leaf packet-action { + type enumeration { + enum "drop" { + description "Enable packet-action drop when MAC limit is reached"; + } + } + } + } + container global-mac-ip-limit { + presence "enable global-mac-ip-limit"; + description "System level MAC+IP limit options"; + uses apply-advanced; + leaf mac-ip-limit { + description "System level MAC+IP limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "20 .. 1048575"; + } + } + } + } + leaf global-mac-statistics { + description "Enable MAC address statistics at system level"; + type empty; + } + leaf global-no-mac-learning { + description "Disable dynamic MAC address learning at system level"; + type empty; + } + leaf global-no-hw-mac-learning { + description "Disable hardware MAC-address learning at system level"; + type empty; + } + leaf global-no-control-mac-aging { + description "Disable control MAC-address aging from software"; + type empty; + } + leaf mclag-arp-nd-sync { + description "Arp and ND entry sync from peer device."; + type empty; + } + leaf no-mclag-ifa-sync { + description "IFA entry disable sync from/to peer device."; + type empty; + } + } + grouping juniper-protocols-dot1x { + uses apply-advanced; + container traceoptions { + description "Trace options for 802.1X"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "dot1x-debug" { + description "Trace dot1x events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "esw-if" { + description "Trace ESW Interactions"; + } + enum "eapol" { + description "Trace EAPOL Transmit/Receive"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "vlan" { + description "Trace VLAN transactions"; + } + enum "all" { + description "Trace everything"; + } + enum "dot1x-ipc" { + description "Trace dot1x IPC interactions"; + } + enum "dot1x-event" { + description "Trace dot1x events"; + } + enum "iccp" { + description "Trace iccp events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container authenticator { + presence "enable authenticator"; + description "802.1X authenticator options"; + uses apply-advanced; + leaf authentication-profile-name { + description "Access profile name to use for authentication"; + type string { + length "1 .. 63"; + } + } + leaf no-mac-table-binding { + description "Disable association between mac table and dot1x"; + type empty; + } + leaf radius-options { + description "Info sent to radius server"; + type enumeration { + enum "use-vlan-name" { + description "Vlan name"; + } + enum "use-vlan-id" { + description "Vlan id"; + } + } + } + list static { + key name; + ordered-by user; + description "Static MAC configuration needed to bypass 802.1X"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf bridge-domain-assignment { + description "Bridge-domain name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list interface { + key name; + description "802.1X interface specific options"; + leaf name { + type string; + } + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + description "Flexible authentication order"; + type enumeration { + enum "dot1x" { + description "Dot1x mode"; + } + enum "mac-radius" { + description "Mac radius mode"; + } + enum "captive-portal" { + description "Captive portal mode"; + } + } + } + leaf disable { + description "Disable 802.1X on this interface"; + type empty; + } + leaf supplicant { + description "Set supplicant mode for this interface"; + default "single"; + type enumeration { + enum "single" { + description "Allow multiple clients; authenticate first client only"; + } + enum "single-secure" { + description "Allow and authenticate only a single client"; + } + enum "multiple" { + description "Allow multiple clients; authenticate each individually"; + } + } + } + leaf retries { + description "Number of retries after which port is placed into wait state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + leaf quiet-period { + description "Time to wait after an authentication failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf transmit-period { + description "Interval before retransmitting initial EAPOL PDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Enable MAC-RADIUS"; + uses apply-advanced; + leaf restrict { + description "Bypass dot1x authentication, use MAC RADIUS only"; + type empty; + } + leaf flap-on-disconnect { + description "Reset an interface on receiving a disconnect request"; + type empty; + } + leaf ignore-port-bounce { + description "To ignore the port-bounce request received from RADIUS server"; + type empty; + } + container authentication-protocol { + description "Set mac-radius authentication method"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf eap-md5 { + description "Authentication protocol EAP-MD5"; + type empty; + } + } + case case_2 { + leaf pap { + description "Authentication protocol PAP"; + type empty; + } + } + case case_3 { + container eap-peap { + presence "enable eap-peap"; + description "Authentication protocol EAP-PEAP"; + uses apply-advanced; + leaf resume { + description "Enable resume functionality for faster authentication"; + type empty; + } + } + } + } + } + } + choice reauthentication-mode { + case case_1 { + leaf no-reauthentication { + description "Disable reauthentication"; + type empty; + } + } + case case_2 { + leaf reauthentication { + description "Reauthentication interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + } + leaf supplicant-timeout { + description "Time to wait for a client response"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf server-timeout { + description "Authentication server timeout interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf maximum-requests { + description "Number of EAPOL RequestIDs to send before timing out"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf guest-vlan { + description "VLAN name or 802.1q tag for unauthenticated or non-responsive hosts"; + type string { + } + } + leaf guest-bridge-domain { + description "Bridge-domain name or 802.1q tag for unauthenticated or non-responsive hosts"; + type string { + } + } + container server-reject-vlan { + description "VLAN name or 802.1q tag for authentication rejected clients"; + leaf vlan-name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + leaf eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets."; + type empty; + } + } + container server-reject-bridge-domain { + description "VLAN name or 802.1q tag for authentication rejected clients"; + leaf bridge-domain { + description "Bridge-domain name or VLAN Tag (1..4095)"; + type string { + } + } + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + leaf eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets."; + type empty; + } + } + container eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets"; + uses apply-advanced; + container server-fail { + presence "enable server-fail"; + description "Block EAPOL-Start during RADIUS Timeout"; + uses apply-advanced; + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Block EAPOL-Start when client is authenticated in mac-radius mode"; + } + container captive-portal { + presence "enable captive-portal"; + description "Block EAPOL-Start when client is authenticated in captive-portal mode"; + } + } + leaf lldp-med-bypass { + description "Bypass dot1x authentication, use lldp-med based authentication"; + type empty; + } + container server-fail { + description "Action to be taken when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + } + case case_5 { + leaf use-cache { + description "Use the previous state of the client"; + type empty; + } + } + } + } + container server-fail-voip { + description "Action to be taken for VOIP client when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force VoIP client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force VoIP client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "Configured VoIP VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + leaf use-cache { + description "Use the previous state of the VoIP client"; + type empty; + } + } + } + } + leaf redirect-url { + description "CWA redirect URL to be used for unauthenticated users"; + type string { + length "10 .. 247"; + } + } + leaf no-tagged-mac-authentication { + description "Don't allow tagged mac for radius authentication"; + type empty; + } + } + } + } + grouping juniper-protocols-esis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for ES-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "esh" { + description "Trace end system hello packets"; + } + enum "ish" { + description "Trace intermediate system hello packets"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf preference { + description "Preference of routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container graceful-restart { + description "ES-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf end-system-configuration-timer { + description "Suggested end system configuration timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS on this interface"; + type empty; + } + } + } + } + } + grouping juniper-protocols-isis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for IS-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "spf" { + description "Trace SPF events"; + } + enum "packets" { + description "Trace IS-IS packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "lsp" { + description "Trace link-state packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "layer2-map" { + description "Trace ARP/ND kernel state manipulation"; + } + enum "lsp-generation" { + description "Trace LSP generation"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "ldp-synchronization" { + description "Trace synchronization between IS-IS and LDP"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "spring" { + description "Trace source packet routing"; + } + enum "traffic-statistics" { + description "Trace traffic-statistics related events"; + } + enum "prefix-sid" { + description "Trace source packet routing, prefix-sids"; + } + enum "adj-sid" { + description "Trace adj-sid related events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + leaf lsp-lifetime { + description "Lifetime of LSPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "350 .. 65535"; + } + } + } + leaf max-lsp-size { + description "Maximum size allowed for LSPs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1492"; + } + } + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf max-snp-size { + description "Maximum size allowed for Sequence Number (Complete/Partial) PDUs"; + default "1400"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1400"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 120000"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf loose-authentication-check { + description "Verify authentication only if PDU has authentication TLV"; + type empty; + } + leaf max-areas { + description "Maximum number of advertised Areas"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 36"; + } + } + } + leaf no-authentication-check { + description "Disable authentication checking"; + type empty; + } + leaf no-ipv4-routing { + description "Disable IPv4 routing"; + type empty; + } + leaf no-ipv6-routing { + description "Disable IPv6 routing"; + type empty; + } + leaf clns-routing { + description "Enable CLNS routing"; + type empty; + } + leaf clns-updown-compatibility { + description "Set the Up/Down Bit in place of the I/E bit in CLNS TLVs"; + type empty; + } + leaf no-adjacency-holddown { + description "Disable adjacency hold down"; + type empty; + } + leaf multicast-topology { + description "Enable multicast topology"; + status deprecated; + type empty; + } + leaf ignore-attached-bit { + description "Ignore the attached bit in Level 1 LSPs"; + type empty; + } + container rib-group { + description "Routing table group for importing IS-IS routes"; + uses rib_group_type; + } + container spf-options { + description "Configure SPF attributes"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf rapid-runs { + description "Number of rapid SPF runs before SPF holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container multipath { + description "Configure multipath options"; + uses apply-advanced; + container weighted { + description "Weighted multipath options"; + uses apply-advanced; + leaf one-hop { + description "Enable load balancing on onehop multipath based on interface bandwidth"; + type empty; + } + } + } + } + container backup-spf-options { + description "Configure backup SPF attributes"; + uses apply-advanced; + leaf per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate Post Convergence Backup Nexthops"; + uses apply-advanced; + leaf maximum-labels { + description "Set maximum number of label supported for post convergence path calculations"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Set maximum equal cost backup post convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + container use-source-packet-routing { + presence "enable use-source-packet-routing"; + description "Use SPRING routed paths for protection"; + uses apply-advanced; + } + } + container topologies { + description "Enable topologies"; + uses apply-advanced; + leaf ipv4-multicast { + description "Enable IPv4-multicast topology"; + type empty; + } + leaf ipv6-unicast { + description "Enable IPv6-unicast topology"; + type empty; + } + leaf ipv6-multicast { + description "Enable IPv6-multicast topology"; + type empty; + } + } + container overload { + presence "enable overload"; + description "Set the overload bit (no transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload bit is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf advertise-high-metrics { + description "Advertise high metrics instead of setting the overload bit"; + type empty; + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + } + container traffic-engineering { + description "Configure traffic engineering attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable traffic engineering"; + type empty; + } + } + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf credibility-protocol-preference { + description "Follow IGP protocol preference for TED protocol credibility"; + type empty; + } + leaf ipv4-multicast-rpf-routes { + description "Install IPv4 routes for multicast RPF checks into inet.2"; + status deprecated; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family specific traffic-engineering attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet-mpls" { + description "IPv4-MPLS family"; + } + enum "inet6-mpls" { + description "IPv6-MPLS family"; + } + } + } + uses apply-advanced; + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into multicast RIB"; + type empty; + } + } + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + status deprecated; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + } + container multipath { + description "Configure label-switched-path multipath behavior"; + uses apply-advanced; + leaf lsp-equal-cost { + description "Include equal cost label-switched-paths"; + type empty; + } + } + } + container graceful-restart { + description "IS-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + container adjacency-segment { + description "Configure attributes for Adjacency Segments in SPRING"; + uses apply-advanced; + leaf hold-time { + description "Duration(ms) for which adjacency segments will be retained after isolating from an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180000 .. 900000"; + } + } + } + } + container sensor-based-stats { + description "Configure sensor based stats in SPRING"; + uses apply-advanced; + container per-interface-per-member-link { + description "Configure sensor based stats per nexthop"; + leaf ingress { + description "Enable sensor based stats on ingress interface"; + type empty; + } + leaf egress { + description "Enable sensor based stats on egress interface"; + type empty; + } + } + container per-sid { + description "Configure sensor based stats per spring route"; + leaf ingress { + description "Enable sensor based stats for per-sid ingress accounting"; + type empty; + } + } + } + container srgb { + description "Set the SRGB global block in SPRING"; + leaf start-label { + description "Start range for SRGB label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf index-range { + description "Index to the SRGB start label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container node-segment { + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set IPv4 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf ipv6-index { + description "Set IPv6 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf index-range { + description "Set Range of Node Segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16385"; + } + } + } + } + container traffic-statistics { + description "Enable support for traffic statistics in SPRING"; + uses apply-advanced; + container statistics-granularity { + description "Granularity for traffic statistics in SPRING"; + uses apply-advanced; + leaf per-interface { + description "Interface Based traffic statistics in SPRING"; + type empty; + } + } + leaf auto-bandwidth { + description "Auto bandwidth name"; + type string; + } + } + leaf explicit-null { + description "Set E and P bits in all Prefix SID advertisements"; + type empty; + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf ldp-stitching { + description "Enable SR to LDP stitching"; + type empty; + } + } + list level { + key name; + ordered-by user; + description "Configure global level attributes"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this level"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf purge-originator { + description "Add Purge Originator information"; + type enumeration { + enum "self" { + description "Add POI only for self-originated purge LSPs"; + } + enum "empty" { + description "Add POI for purge LSPs who do not have POI information"; + } + } + } + leaf no-hello-authentication { + description "Disable authentication for hello packets"; + type empty; + } + leaf no-csnp-authentication { + description "Disable authentication for CSN packets"; + type empty; + } + leaf no-psnp-authentication { + description "Disable authentication for PSN packets"; + type empty; + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf wide-metrics-only { + description "Generate wide metrics only"; + type empty; + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled IS-IS routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix-export-limit { + description "Maximum number of external prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source Packet Routing on this level"; + type empty; + } + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + container auto-bandwidth { + description "Auto bandwidth configuration"; + uses apply-advanced; + leaf template-name { + description "Auto bandwidth template name"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Auto bandwidth on this interface"; + type empty; + } + } + } + } + leaf flood-group { + description "ISO Area that this interface should send LSPs to"; + type string { + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + status deprecated; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-padding-type { + description "Type of padding for hello packets"; + default "loose"; + type enumeration { + enum "strict" { + description "Padding for all adjacency states"; + } + enum "adaptive" { + description "Padding until state of neighbor adjacency is 'up'"; + } + enum "loose" { + description "Padding until state of adjacency is 'initializing'"; + } + enum "disable" { + description "Do not add any padding for hello packets"; + } + } + } + leaf interface-group-holddown-delay { + description "Time to wait before including in BBM calculation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf lsp-interval { + description "Interval between LSP transmissions"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + container csnp-interval { + description "Rate of CSN packets (for LAN interfaces only)"; + choice csnp_interval_option { + case case_1 { + leaf csnp-interval-number { + description "Interval between CSN packets"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + leaf disable { + description "Do not send CSN packets on this interface"; + type empty; + } + } + } + } + container mesh-group { + description "Add the interface to a mesh group"; + choice mesh_group_option { + case case_1 { + leaf mesh-group-number { + description "Mesh group number for this interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf blocked { + description "Do not flood new LSPs on this interface"; + type empty; + } + } + } + } + leaf point-to-point { + description "Treat interface as point to point"; + type empty; + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible for backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run IS-IS, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + leaf checksum { + description "Enable checksum for packets on this interface"; + type empty; + } + leaf no-unicast-topology { + description "Do not include this interface in the unicast topology"; + type empty; + } + leaf no-ipv4-multicast { + description "Do not include this interface in the IPv4 multicast topology"; + type empty; + } + leaf no-ipv6-unicast { + description "Do not include this interface in the IPv6 unicast topology"; + type empty; + } + leaf no-ipv6-multicast { + description "Do not include this interface in the IPv6 multicast topology"; + type empty; + } + leaf no-adjacency-down-notification { + description "Do not inform other protocols about adjacency down events"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list family { + key name; + ordered-by user; + description "Address family specific interface attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS for this level"; + type empty; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Configure backup along post convergence on this interface"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Enable node protection"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + leaf fate-sharing-protection { + description "Enable fate-sharing protection"; + type empty; + } + } + leaf metric { + description "Metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv4-multicast-metric { + description "IPv4 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-unicast-metric { + description "IPv6 unicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-multicast-metric { + description "IPv6 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this level"; + type empty; + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf hello-authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf hello-interval { + description "Interval between hello packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 21845"; + } + } + } + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "Designated router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container passive { + presence "enable passive"; + description "Do not run IS-IS at this level, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + list lan-neighbor { + key name; + ordered-by user; + description "Configuration specific to a LAN neighbor"; + leaf name { + description "Neighbor's sysid"; + type jt:sysid; + } + uses apply-advanced; + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + } + container link-degradation-threshold { + presence "enable link-degradation-threshold"; + description "Link up and down thresholds (in %) for proactive link protection"; + leaf link-down { + description "Signal degradation threshold above which link marked down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf link-up { + description "Signal degradation threshold below which link is marked up."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list interface-group { + key name; + description "Interface grouping configuration"; + leaf name { + description "Interface group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "List interfaces for this group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf weight { + description "Interface weight for adjacency set"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface-group"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + container link-group-protection { + description "Configure link group protection"; + uses apply-advanced; + leaf minimum-bandwidth { + description "Minimum bandwidth to carry traffic"; + type string; + } + leaf revert-bandwidth { + description "Revert bandwidth to carry traffic"; + type string; + } + } + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this label-switched path"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + leaf metric { + description "SPF metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + list context-identifier { + key name; + ordered-by user; + description "Configuration for advertisement of a context-identifier "; + leaf name { + description "Context identifier range"; + type jt:ipprefix; + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this context-identifier"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + } + } + } + grouping juniper-protocols-l2control { + uses apply-advanced; + container traceoptions { + description "Global tracing options for STP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "ppmlite" { + description "Trace libppmlite processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf nonstop-bridging { + description "Enable nonstop operation"; + type empty; + } + container bpdu-block { + presence "enable bpdu-block"; + description "Block BPDU on interface (BPDU Protect)"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block BPDU on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable bpdu-block on a port"; + type empty; + } + leaf drop { + description "Drop xSTP BPDUs"; + type empty; + } + } + leaf disable-timeout { + description "Disable timeout for BPDU Protect"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "10 .. 3600"; + } + } + } + } + container mac-rewrite { + description "Mac rewrite functionality"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf enable-all-ifl { + description "Enable tunneling for all the IFLs under the interface"; + type empty; + } + container protocol { + presence "enable protocol"; + description "Protocols for which mac rewrite need to be enabled"; + uses apply-advanced; + container stp { + presence "enable stp"; + description "Enable mac rewrite for STP"; + } + container vtp { + presence "enable vtp"; + description "Enable mac rewrite for VTP"; + } + container cdp { + presence "enable cdp"; + description "Enable mac rewrite for CDP"; + } + container pvstp { + presence "enable pvstp"; + description "Enable mac rewrite for PVSTP+"; + } + } + } + } + } + grouping juniper-protocols-ldp { + uses apply-advanced; + container traceoptions { + description "Trace options for LDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace LDP state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "packets" { + description "Trace all LDP packets"; + } + enum "periodic" { + description "Trace periodic (hello and keepalive) packets"; + } + enum "initialization" { + description "Trace initialization packets"; + } + enum "notification" { + description "Trace notification packets"; + } + enum "address" { + description "Trace address packets"; + } + enum "label" { + description "Trace label packets"; + } + enum "binding" { + description "Trace label binding state"; + } + enum "path" { + description "Trace label path state"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "link-protection" { + description "Trace link protection events"; + } + enum "p2mp-nsr-synchronization" { + description "Trace p2mp NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses ldp_filter_obj; + } + } + } + container traffic-statistics { + description "Collect statistics for LDP label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + leaf no-penultimate-hop { + description "No penultimate hop statistics collection"; + type empty; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable the graceful restart helper capability"; + type empty; + } + leaf recovery-time { + description "Time required for recovery"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1800"; + } + } + } + leaf maximum-neighbor-recovery-time { + description "Maximum time stale mappings are maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "140 .. 1900"; + } + } + } + leaf reconnect-time { + description "Time required to reestablish session after graceful restart"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf maximum-neighbor-reconnect-time { + description "Maximum reconnect time allowed from a restarting neighbor"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container auto-targeted-session { + presence "enable auto-targeted-session"; + description "Configure auto targeted session parameters for rLFA only"; + uses apply-advanced; + leaf teardown-delay { + description "Auto targeted session tear down delay"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf maximum-sessions { + description "Auto targeted maximum sessions"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + leaf preference { + description "Route preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-forwarding { + description "Do not use LDP ingress routes for forwarding"; + type empty; + } + leaf rib-group { + description "Routing table group for importing ingress routes"; + type string; + } + leaf l2-smart-policy { + description "Do not export or import Layer 3 FECs for Layer 2 sessions"; + type empty; + } + leaf track-igp-metric { + description "Track the IGP metric"; + type empty; + } + leaf strict-targeted-hellos { + description "Do not send targeted hellos to unconfigured neighbors"; + type empty; + } + container longest-match { + presence "enable longest-match"; + description "Configure longest match"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Longest match import policy"; + type jt:policy-algebra; + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list egress-policy { + ordered-by user; + description "Configure LSP egress policy"; + type jt:policy-algebra; + } + leaf-list dod-request-policy { + ordered-by user; + description "Configure DoD label request policy"; + type jt:policy-algebra; + } + container next-hop { + description "LDP next-hop control"; + uses apply-advanced; + container merged { + description "Merged next hop"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Merged next-hop policy"; + type jt:policy-algebra; + } + } + container no-rsvp-tunneling { + description "No rsvp tunneling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "No rsvp tunneling next-hop policy"; + type jt:policy-algebra; + } + } + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + choice deaggregate-choice { + leaf deaggregate { + description "Deaggregate FECs into separate labels"; + type empty; + } + leaf no-deaggregate { + description "Don't deaggregate FECs into separate labels"; + type empty; + } + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label for egress FECs"; + type empty; + } + leaf label-withdrawal-delay { + description "Delay label withdrawal for FECs to avoid label churn"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + container make-before-break { + presence "enable make-before-break"; + description "Configure make before break"; + uses apply-advanced; + leaf timeout { + description "Make before break timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf switchover-delay { + description "Make before break switchover delay"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container transport-address { + description "Address used for TCP sessions"; + choice address-choice { + case case_1 { + leaf router-id { + description "Use router ID for TCP connections"; + type empty; + } + } + case case_2 { + leaf interface { + description "Use interface address for TCP connections"; + type empty; + } + } + case case_3 { + leaf address { + description "Use specified address for TCP connections"; + type jt:ipaddr; + } + } + } + } + leaf keepalive-interval { + description "Keepalive interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keepalive-timeout { + description "Keepalive timeout (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list interface { + key name; + description "Enable LDP on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP on this interface"; + type empty; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hello hold time (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection to protect interface for link faults only"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link-protection"; + type empty; + } + } + } + leaf dynamic-rsvp-lsp { + description "Enable setup of dynamic rsvp lsp for link protection"; + type empty; + } + } + leaf transport-address { + description "Address used for TCP sessions"; + type enumeration { + enum "router-id" { + description "Use router ID for TCP connections"; + } + enum "interface" { + description "Use interface address for TCP connections"; + } + } + } + choice allow-subnet-mismatch-choice { + leaf allow-subnet-mismatch { + description "Allow subnet mismatch for source address in hello packet"; + type empty; + } + leaf no-allow-subnet-mismatch { + description "Don't allow subnet mismatch for source address in hello packet"; + type empty; + } + } + } + list neighbor { + key name; + description "Configure a remote LDP neighbor"; + leaf name { + description "Neighbor address"; + type jt:ipaddr; + } + uses apply-advanced; + } + list session { + key name; + description "Configure session parameters"; + leaf name { + description "Session destination address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + list session-group { + key name; + description "Configure session group parameters"; + leaf name { + description "Session destination address/prefix length"; + type jt:ipprefix; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + container session-protection { + presence "enable session-protection"; + description "Configure session protection"; + leaf timeout { + description "Session protection timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container igp-synchronization { + description "Configure IGP synchronization parameters"; + uses apply-advanced; + leaf holddown-interval { + description "Time to hold the up notification to the IGPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + container trap { + description "SNMP traps options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP LSP up/down trap"; + type empty; + } + } + } + } + } + container policing { + description "Configure policing for an LDP FEC"; + uses apply-advanced; + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf ingress-traffic { + description "Name of filter to use for policing ingress LDP traffic"; + type string { + } + } + leaf transit-traffic { + description "Name of filter to use for policing transit LDP traffic"; + type string { + } + } + } + } + container entropy-label { + description "Insert entropy label for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "Entropy label ingress policy"; + type jt:policy-algebra; + } + } + container oam { + description "Configure periodic OAM for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "OAM ingress policy"; + type jt:policy-algebra; + } + leaf-list bfd-port-egress-policy { + ordered-by user; + description "OAM egress policy"; + type jt:policy-algebra; + } + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice bfd_liveness_detection_type { + case case_1 { + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + } + case case_2 { + leaf no-bfd-liveness-detection { + description "Disable BFD liveness detection"; + type empty; + } + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + leaf disable { + description "Disable periodic traceroute for a FEC"; + type empty; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + } + container targeted-hello { + description "Configure targeted hello parameters"; + uses apply-advanced; + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hold interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Advertise P2MP capability to peers"; + uses apply-advanced; + container recursive { + description "Configure P2MP recursive parameters"; + uses apply-advanced; + leaf route { + description "Allow recursive route resolution to signal P2MP FEC"; + type empty; + } + } + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + list lsp-id { + key name; + description "Configure the generic LSP identifier"; + leaf name { + description "Generic LSP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + leaf no-rsvp-tunneling { + description "Do not allow LDP P2MP to use RSVP-TE LSPs for tunneling"; + type empty; + } + } + container sr-mapping-client { + presence "enable sr-mapping-client"; + description "Enable LDP to SR mapping-client functionality"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "SR mapping-client policy"; + type jt:policy-algebra; + } + } + leaf upstream-label-assignment { + description "Allow Upstream Label Assignment capability"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + } + leaf transport-preference { + description "TCP transport preference"; + type enumeration { + enum "ipv4" { + description "Use IPv4 for TCP connections"; + } + enum "ipv6" { + description "Use IPv6 for TCP connections"; + } + } + } + container dual-transport { + presence "enable dual-transport"; + description "Use separate IPv4 and IPv6 TCP transport"; + uses apply-advanced; + leaf inet-lsr-id { + description "LSR identifier for address family inet"; + type jt:ipv4addr; + } + leaf inet6-lsr-id { + description "LSR identifier for address family inet6"; + type jt:ipv4addr; + } + } + } + grouping juniper-protocols-lmp { + uses apply-advanced; + list te-link { + key name; + ordered-by user; + description "Traffic engineering link"; + leaf name { + description "Name of TE link"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Address of the local end of the link"; + type jt:ipaddr; + } + leaf remote-address { + description "Address of the remote end of the link"; + type jt:ipaddr; + } + leaf remote-id { + description "Link ID for the remote end of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf te-metric { + description "Traffic engineering metric of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable TE link"; + type empty; + } + } + } + container ethernet-vlan { + presence "enable ethernet-vlan"; + description "TE link used for setup of L2 VLAN LSP"; + uses apply-advanced; + leaf-list vlan-id-range { + description "VLAN id"; + type jt:vlan-range; + max-elements 1; + } + } + choice resource-option { + case case_1 { + list interface { + key name; + ordered-by user; + description "Member interface of TE link"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + case case_2 { + list label-switched-path { + key name; + ordered-by user; + description "Member forwarding adjacency LSP of TE link"; + max-elements 1; + leaf name { + description "Name of label-switched path"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + } + } + list peer { + key name; + ordered-by user; + description "Define a network or LMP peer"; + leaf name { + description "Name of peer"; + type string; + } + uses apply-advanced; + leaf address { + description "Address of peer"; + type jt:ipaddr; + } + container lmp-protocol { + presence "enable lmp-protocol"; + description "LMP protocol attributes"; + uses apply-advanced; + leaf hello-interval { + description "Interval between Hello messages"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "150 .. 21845"; + } + } + } + leaf hello-dead-interval { + description "Delay for control channel shutdown when no Hello received"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 65535"; + } + } + } + leaf retransmission-interval { + description "Minimum time before retransmitting a message"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 300000"; + } + } + } + leaf retry-limit { + description "Number of times to retransmit a message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1000"; + } + } + } + leaf passive { + description "Do not send Config messages to peer"; + type empty; + } + } + leaf-list control-channel { + ordered-by user; + description "Control channel interfaces by priority"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list lmp-control-channel { + key name; + ordered-by user; + description "Control channel IDs"; + uses lmp_control_channel_type; + } + leaf-list te-link { + ordered-by user; + description "List of TE links managed by this peer"; + type string; + } + } + container traceoptions { + description "LMP trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace general configuration processing"; + } + enum "server" { + description "Trace server processing"; + } + enum "routing" { + description "Trace routing protocols interworking"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "hello-packets" { + description "Trace hello packet processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "nsr-synchronization" { + description "Trace mirror and nsr transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + status deprecated; + type empty; + } + leaf receive { + description "Trace received packets"; + status deprecated; + type empty; + } + leaf detail { + description "Trace detailed information"; + status deprecated; + type empty; + } + leaf disable { + description "Disable this trace flag"; + status deprecated; + type empty; + } + } + } + } + grouping juniper-protocols-mpls { + description "Multiprotocol Label Switching options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS"; + type empty; + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list pce-controlled-lsp { + key name; + ordered-by user; + description "Template for externally provisioned LSP using regular expression"; + leaf name { + description "Template regular expression"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + } + } + container path-mtu { + presence "enable path-mtu"; + description "Path MTU configuration"; + uses apply-advanced; + leaf allow-fragmentation { + description "If needed, fragment IP before encapsulating in MPLS"; + type empty; + } + container rsvp { + presence "enable rsvp"; + description "RSVP-specific path MTU options"; + uses apply-advanced; + leaf mtu-signaling { + description "Enable RSVP path MTU signaling"; + type empty; + } + } + } + container diffserv-te { + description "Global diffserv-traffic-engineering options"; + uses apply-advanced; + leaf bandwidth-model { + description "Bandwidth constraint model supported"; + type enumeration { + enum "extended-mam" { + description "Maximum allocation model with support for E-LSPs"; + } + enum "mam" { + description "Maximum allocation model"; + } + enum "rdm" { + description "Russian dolls model"; + } + } + } + container te-class-matrix { + description "Supported combinations of traffic-class and preemption"; + uses apply-advanced; + container te0 { + description "Definition for traffic-engineering class te0"; + uses te-class-object; + } + container te1 { + description "Definition for traffic-engineering class te1"; + uses te-class-object; + } + container te2 { + description "Definition for traffic-engineering class te2"; + uses te-class-object; + } + container te3 { + description "Definition for traffic-engineering class te3"; + uses te-class-object; + } + container te4 { + description "Definition for traffic-engineering class te4"; + uses te-class-object; + } + container te5 { + description "Definition for traffic-engineering class te5"; + uses te-class-object; + } + container te6 { + description "Definition for traffic-engineering class te6"; + uses te-class-object; + } + container te7 { + description "Definition for traffic-engineering class te7"; + uses te-class-object; + } + } + } + container auto-policing { + description "Automatic policing of LSPs"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + type enumeration { + enum "all" { + description "All forwarding classes"; + } + enum "ct0" { + description "Forwarding class 0"; + } + enum "ct1" { + description "Forwarding class 1"; + } + enum "ct2" { + description "Forwarding class 2"; + } + enum "ct3" { + description "Forwarding class 3"; + } + } + } + uses apply-advanced; + choice policing-action { + case case_1 { + leaf drop { + description "Drop packets if bandwidth is exceeded"; + type empty; + } + } + case case_2 { + leaf loss-priority-high { + description "Set loss priority to high if bandwidth is exceeded"; + type empty; + } + } + case case_3 { + leaf loss-priority-low { + description "Set loss priority to low if bandwidth is exceeded"; + type empty; + } + } + } + } + } + container statistics { + description "Collect statistics for signaled label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + presence "enable file"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf auto-bandwidth { + description "Enable auto bandwidth allocation"; + type empty; + } + leaf no-transit-statistics { + description "Disable transit LSP statistics collection"; + type empty; + } + choice transit-polling-type { + case case_1 { + leaf no-transit-statistics-polling { + description "Disable polling and display of transit lsp statistics"; + status deprecated; + type empty; + } + } + case case_2 { + leaf transit-statistics-polling { + description "Enable polling and display of transit lsp statistics"; + type empty; + } + } + } + leaf statistics-query-batch-size { + description "Number of LSPs for which statistics will be queried together"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 25"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Send syslog messages"; + type empty; + } + leaf no-syslog { + description "Don't send syslog messages"; + type empty; + } + } + choice trap-choice { + case case_1 { + leaf trap { + description "Send SNMP traps"; + type empty; + } + } + case case_2 { + container no-trap { + presence "enable no-trap"; + description "Don't send SNMP traps"; + uses apply-advanced; + leaf mpls-lsp-traps { + description "Dont send mpls lsp up/down traps"; + type empty; + } + leaf rfc3812-traps { + description "Dont send rfc3812 traps"; + type empty; + } + } + } + } + leaf trap-path-down { + description "Send SNMP traps when a path goes down"; + type empty; + } + leaf trap-path-up { + description "Send SNMP traps when a path goes up"; + type empty; + } + } + container optimize-adaptive-teardown { + description "Post make before break adaptive teardown"; + uses apply-advanced; + leaf p2p { + description "Turn on post make before break adaptive teardown for p2p"; + type empty; + } + leaf timeout { + description "Timeout for adaptive teardown to clean up LSP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-engineering control"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf bgp { + description "BGP destinations only"; + type empty; + } + } + case case_2 { + leaf bgp-igp { + description "BGP and IGP destinations"; + type empty; + } + } + case case_3 { + leaf bgp-igp-both-ribs { + description "BGP and IGP destinations with routes in both routing tables"; + type empty; + } + } + case case_4 { + leaf mpls-forwarding { + description "Use MPLS routes for forwarding, not routing"; + type empty; + } + } + } + container database { + description "Traffic engineering database"; + uses apply-advanced; + container import { + description "Configure TED import parameters"; + uses apply-advanced; + container igp-topology { + presence "enable igp-topology"; + description "Download IGP topology into RIB"; + uses apply-advanced; + leaf bgp-link-state { + description "Export IGP topology, instead of TE topology, into BGP-LS"; + type empty; + } + } + leaf-list policy { + ordered-by user; + description "Configure import policy"; + type jt:policy-algebra; + } + leaf identifier { + description "BGP-TE identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "2 .. 18446744073709551615"; + } + } + } + leaf bgp-ls-identifier { + description "BGP-TE domain identifier"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container export { + description "Configure TED export related parameters"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + container credibility { + description "TED credibility value for entries from BGP-TE"; + uses apply-advanced; + leaf unknown { + description "Entries sourced from unknown entities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf direct { + description "Entries sourced from directly connected links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf static { + description "Entries sourced from static configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf ospf { + description "Entries sourced from ospf"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-1 { + description "Entries sourced from ISIS Level 1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-2 { + description "Entries sourced from ISIS Level 2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + } + } + } + } + container traceoptions { + description "Trace options for MPLS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "connection" { + description "Trace CCC activity"; + } + enum "connection-detail" { + description "Trace CCC activity in detail"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "lsping" { + description "Trace LSP ping packets received"; + } + enum "graceful-restart" { + description "Trace graceful-restart-related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-synchronization-detail" { + description "Trace NSR synchronization events in detail"; + } + enum "static" { + description "Trace static label-switched path"; + } + enum "egress-protection" { + description "Trace egress protection events"; + } + enum "all" { + description "Trace everything"; + } + enum "autobw-state" { + description "Trace autobandwidth events in mpls trace"; + } + enum "externally-controlled-lsp" { + description "Trace externally controlled LSP events in mpls trace"; + } + enum "ted-import" { + description "Trace leaking TED entries into lsdist.0 table"; + } + enum "ted-export" { + description "Trace leaking of entries from lsdist.0 table into TED"; + } + enum "lsp-history" { + description "Trace LSP history events"; + } + enum "abstract-hop" { + description "Trace abstract hop related events"; + } + } + } + } + } + list admin-groups { + key name; + ordered-by user; + description "Administrative groups"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf group-value { + description "Group bit position"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + leaf advertisement-hold-time { + description "Time that an 'LSP down' advertisement will be delayed"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf rsvp-error-hold-time { + description "Time that RSVP PathErr events will be remembered"; + default "25"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 240"; + } + } + } + leaf optimize-aggressive { + description "Run aggressive optimization algorithm based on IGP metric only"; + type empty; + } + leaf smart-optimize-timer { + description "Path optimization interval after a link traversed by the path goes down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-switchover-delay { + description "Delay before switching LSP to newly optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 900"; + } + } + } + leaf no-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label when the router is the egress"; + type empty; + } + leaf ipv6-tunneling { + description "Allow MPLS LSPs to be used for tunneling IPv6 traffic"; + type empty; + } + leaf icmp-tunneling { + description "Allow MPLS LSPs to be used for tunneling ICMP error packets"; + type empty; + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf expand-loose-hop { + description "Perform CSPF path computation to expand loose hops"; + type empty; + } + leaf mib-mpls-show-p2mp { + description "Show p2mp tunnels entries in mpls mib walk"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + list label-switched-path { + key name; + ordered-by user; + description "Label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS label-switched path"; + type empty; + } + } + } + container traceoptions { + description "Trace options for MPLS label-switched path"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + leaf backup { + description "Use LSP for IGP backup"; + type empty; + } + leaf from { + description "Address of ingress router"; + type jt:ipv4addr; + } + container pop-and-forward { + presence "enable pop-and-forward"; + description "Enable LSP as pop-and-forward with auto-delegation"; + } + choice label-switched-path-or-template { + case case_1 { + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + } + case case_2 { + leaf template { + description "Template for dynamic lsp paramaters"; + type empty; + } + } + } + leaf corouted-bidirectional { + description "Setup the LSP as a corouted bidirectional LSP"; + type empty; + } + leaf corouted-bidirectional-passive { + description "Associate LSP with incoming corouted bidirectional LSP"; + type empty; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf ldp-tunneling { + description "Allow LDP to use this LSP for tunneling"; + type empty; + } + leaf soft-preemption { + description "Attempt make-before-break service while preempting this LSP"; + type empty; + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf retry-timer { + description "Time before retrying the primary path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf retry-limit { + description "Maximum number of times to retry primary path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container lsp-attributes { + description "Attributes for generalized LSP"; + uses apply-advanced; + leaf signal-bandwidth { + description "Signal bandwidth for the LSP"; + type enumeration { + enum "ds1" { + description "1.544 Mbps"; + } + enum "vt1-5" { + description "1.728 Mbps"; + } + enum "e1" { + description "2.048 Mbps"; + } + enum "vt2" { + description "2.304 Mbps"; + } + enum "ethernet" { + description "10 Mbps"; + } + enum "e3" { + description "34.368 Mbps"; + } + enum "ds3" { + description "44.736 Mbps"; + } + enum "sts-1" { + description "51.84 Mbps"; + } + enum "fastether" { + description "100.00 Mbps"; + } + enum "stm-1" { + description "155.52 Mbps"; + } + enum "stm-4" { + description "622.08 Mbps"; + } + enum "gigether" { + description "1000.00 Mbps"; + } + enum "stm-16" { + description "2488.32 Mbps"; + } + enum "stm-64" { + description "9953.28 Mbps"; + } + enum "10gigether" { + description "10000.00 Mbps"; + } + enum "stm-256" { + description "39813.12 Mbps"; + } + enum "100gige" { + description "100000.00 Mbps"; + } + } + } + leaf switching-type { + description "LSP switching type desired"; + type enumeration { + enum "psc-1" { + description "Packet switching"; + } + enum "lambda" { + description "Lambda switching"; + } + enum "fiber" { + description "Fiber switching"; + } + enum "tdm" { + description "TDM switching"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN switching"; + } + } + } + leaf encoding-type { + description "LSP encoding type desired"; + type enumeration { + enum "packet" { + description "Packet encoding"; + } + enum "ethernet" { + description "Ethernet encoding"; + } + enum "pdh" { + description "PDH encoding"; + } + enum "sonet-sdh" { + description "SONET-SDH encoding"; + } + } + } + leaf gpid { + description "Generalized PID"; + type enumeration { + enum "ipv4" { + } + enum "ethernet" { + } + enum "ppp" { + } + enum "hdlc" { + } + enum "pos-no-scrambling-crc-16" { + } + enum "pos-no-scrambling-crc-32" { + } + enum "pos-scrambling-crc-16" { + } + enum "pos-scrambling-crc-32" { + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + leaf self-ping-duration { + description "Duration over which to run self-ping (65535 = until success). Default = 1800s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf no-self-ping { + description "Do not run self-ping for this LSP"; + type empty; + } + choice cspf-attribute { + case case_1 { + leaf random { + description "Randomly select among equal-cost paths"; + type empty; + } + } + case case_2 { + leaf least-fill { + description "Select the least filled among equal-cost paths"; + type empty; + } + } + case case_3 { + leaf most-fill { + description "Select the most filled among equal-cost paths"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + choice lp-type { + case case_1 { + leaf link-protection { + description "Protect LSP from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect LSP from both link and node faults"; + type empty; + } + } + } + leaf intra-domain { + description "Intra-domain LSP"; + status deprecated; + type empty; + } + leaf inter-domain { + description "Inter-domain LSP"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + container fast-reroute { + presence "enable fast-reroute"; + description "Fast reroute"; + uses apply-advanced; + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + choice bw-attribute { + case case_1 { + leaf bandwidth { + description "Bandwidth to reserve (bps)"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Percentage of main path bandwidth to reserve"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + } + } + choice include_any_or_no_include_any { + case case_1 { + leaf no-include-any { + description "Disable include-any checking"; + type empty; + } + } + case case_2 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include_all_or_no_include_all { + case case_1 { + leaf no-include-all { + description "Disable include-all checking"; + type empty; + } + } + case case_2 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude_or_no_exclude { + case case_1 { + leaf no-exclude { + description "Disable exclude checking"; + type empty; + } + } + case case_2 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Point-to-multipoint label-switched path"; + leaf path_name { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Do auto bandwidth allocation for this LSP"; + uses apply-advanced; + leaf adjust-interval { + description "Time to adjust LSP bandwidth"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf adjust-threshold { + description "Percentage change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50"; + } + } + } + leaf adjust-threshold-absolute { + description "Change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "bps"; + type string; + } + leaf adjust-threshold-activate-bandwidth { + description "Adjusts signaled bw if greater than this value"; + units "bps"; + type string; + } + leaf minimum-bandwidth { + description "Minimum LSP bandwidth"; + units "bps"; + type string; + } + leaf maximum-bandwidth { + description "Maximum LSP bandwidth"; + units "bps"; + type string; + } + leaf minimum-bandwidth-adjust-interval { + description "Duration for which minimum bandwidth will be frozen"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 31536000"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-change { + description "Change in max average bandwidth to freeze min bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-value { + description "Freeze min bandwidth if max average bandwidth falls below this bw"; + status deprecated; + units "bps"; + type string; + } + leaf monitor-bandwidth { + description "Monitor LSP bandwidth without adjustments"; + type empty; + } + leaf adjust-threshold-overflow-limit { + description "Number of consecutive overflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf adjust-threshold-underflow-limit { + description "Number of consecutive underflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf resignal-minimum-bandwidth { + description "Resignal the LSP using minimum-bandwidth"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this LSP"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + container associate-lsp { + description "Associate the LSP for OAM"; + uses apply-advanced; + leaf lsp-name { + description "Name of assocation LSP"; + type string { + } + } + leaf from { + description "Address of ingress router of associated LSP"; + type jt:ipv4addr; + } + } + list primary { + key name; + ordered-by user; + description "Preferred path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + list secondary { + key name; + ordered-by user; + description "Backup path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + leaf associate-backup-pe-groups { + description "Associate this LSP with backup-pe groups"; + type empty; + } + leaf egress-protection { + description "Use this LSP for egress protection data transport"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + list container-label-switched-path { + key name; + ordered-by user; + leaf name { + description "Name of container-lsp"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS container-label-switched path"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf suffix { + description "Suffix to generate names of members of container LSP"; + type string { + } + } + container splitting-merging { + description "Do splitting and merging"; + uses apply-advanced; + leaf maximum-member-lsps { + description "Maximum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf minimum-member-lsps { + description "Minimum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf splitting-bandwidth { + description "Maximum bandwidth threshold for splitting"; + units "bps"; + type string; + } + leaf merging-bandwidth { + description "Minimum bandwidth threshold for merging"; + units "bps"; + type string; + } + leaf maximum-signaling-bandwidth { + description "Maximum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf minimum-signaling-bandwidth { + description "Minimum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf splitting-merging-threshold { + description "Change in aggregate LSP utilization to trigger splitting or merging"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container normalization { + description "Do normalization"; + uses apply-advanced; + leaf normalize-interval { + description "Time to normalize container LSP"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf failover-normalization { + description "Do pre-mature normalization in case some LSPs go down before next normalization"; + type empty; + } + leaf no-incremental-normalize { + description "Do not normalize unless all LSPs are successfully signaled"; + type empty; + } + leaf normalization-retry-duration { + description "Time before retrying the container LSP normalization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf normalization-retry-limits { + description "Maximum number of times to retry container LSP normalization"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container sampling { + description "Sampling information"; + uses apply-advanced; + leaf cut-off-threshold { + description "Cut-off percentile to remove outliers from aggregate samples"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice sampling-mode { + case case_1 { + leaf use-average-aggregate { + description "Use average of the samples"; + type empty; + } + } + case case_2 { + leaf use-percentile { + description "Use a percentile of the samples"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + } + list transit-lsp-association { + key name; + ordered-by user; + description "Transit label switch path assoication"; + leaf name { + description "Name of transit assocation LSP group"; + type string { + } + } + uses apply-advanced; + leaf lsp-name-1 { + description "Name of assocation LSP 1"; + type string { + } + } + leaf from-1 { + description "Address of associated LSP 1"; + type jt:ipv4addr; + } + leaf lsp-name-2 { + description "Name of assocation LSP 2"; + type string { + } + } + leaf from-2 { + description "Address of associated LSP 2"; + type jt:ipv4addr; + } + } + list path { + key name; + ordered-by user; + description "Route of a label-switched path"; + leaf name { + description "Name of label-switched path"; + type string { + } + } + uses apply-advanced; + list path-list { + key name; + ordered-by user; + description "List of routers in the label-switched path"; + leaf name { + description "Address of next system in path"; + type string { + } + } + leaf abstract { + description "Next system in path is abstract"; + type empty; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf loose-link { + description "Next hop link might not be adjacent"; + type empty; + } + } + case case_3 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + } + list static-label-switched-path { + key name; + ordered-by user; + description "Static label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice lsp-type { + case case_1 { + container bypass { + description "Bypass ingress label-switched path"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf next-table { + description "Next-table for lookup"; + type string; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipaddr; + } + } + } + case case_2 { + list transit { + key name; + ordered-by user; + description "Transit label-switched path"; + leaf name { + description "Incoming label value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf member-interface { + description "AE member interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap top label with this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the top label"; + type empty; + } + } + case case_3 { + leaf stitch { + description "Swap top label with the resolved LSP"; + type empty; + } + } + } + } + } + case case_3 { + container ingress { + description "Ingress LSR configuration for a static LSP"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipv4prefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + } + } + case case_4 { + container segment { + description "Segment for segment routing"; + uses apply-advanced; + leaf sid-label { + description "Segment identifier (SID) label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap the SID label to this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the SID label"; + type empty; + } + } + } + } + } + } + } + list constituent-list { + key name; + ordered-by user; + description "MPLS constituent list for abstract hops"; + leaf name { + description "Constituent list name"; + type string { + } + } + uses apply-advanced; + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 16; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + max-elements 16; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + max-elements 16; + } + } + list abstract-hop { + key name; + ordered-by user; + description "MPLS abstract hop"; + leaf name { + description "Abstract hop name"; + type string { + } + } + uses apply-advanced; + leaf operator { + description "Operation among constituent lists"; + type enumeration { + enum "AND" { + description "AND"; + } + enum "OR" { + description "OR"; + } + } + } + list constituent-list { + key name; + ordered-by user; + description "Building abstract hop using constituent lists"; + leaf name { + description "Constituent list name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice list-type { + case case_1 { + leaf include-any-list { + description "Include any"; + type empty; + } + } + case case_2 { + leaf include-all-list { + description "Include all"; + type empty; + } + } + case case_3 { + leaf exclude-any-list { + description "Exclude any"; + type empty; + } + } + case case_4 { + leaf exclude-all-list { + description "Exclude all"; + type empty; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "MPLS interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS on this interface"; + type empty; + } + } + } + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 64; + } + leaf always-mark-connection-protection-tlv { + description "Mark connection protection tlv on this interface"; + type empty; + } + leaf switch-away-lsps { + description "Switch away protected LSPs to their bypass LSPs"; + type empty; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + } + container static { + description "Static label-switch path related configurations"; + uses apply-advanced; + leaf protection-revert-time { + description "FRR revert wait time, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container egress-protection { + description "Egress router protection"; + uses apply-advanced; + list context-identifier { + key name; + description "Context identifier"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice context-type { + case case_1 { + leaf primary { + description "Primary"; + type empty; + } + } + case case_2 { + leaf protector { + description "Protector"; + type empty; + } + } + } + leaf metric { + description "IGP metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 16777215"; + } + } + } + leaf advertise-mode { + description "Advertise mode"; + type enumeration { + enum "stub-proxy" { + description "Proxy"; + } + enum "stub-alias" { + description "Alias"; + } + } + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + } + container traceoptions { + description "Trace options for egress-protection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "state" { + description "Trace state transitions"; + } + enum "route" { + description "Trace route transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container label-history { + presence "enable label-history"; + description "MPLS label history recording"; + uses apply-advanced; + leaf max-entries { + description "Limit for the number of history entry per label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container label-range { + description "MPLS labels ranges"; + uses apply-advanced; + list lsi-label-range { + key name; + ordered-by user; + description "LSI-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list block-label-range { + key name; + ordered-by user; + description "Block-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list dynamic-label-range { + key name; + ordered-by user; + description "Dynamic-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list static-label-range { + key name; + ordered-by user; + description "Static-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf label-limit { + description "Limit for the number of concurrent active labels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping admin_group_include_exclude { + uses apply-advanced; + choice include-any-choice { + case case_1 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include-all-choice { + case case_1 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude-choice { + case case_1 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + grouping juniper-protocols-msdp { + uses apply-advanced; + leaf data-encapsulation { + description "Set encapsulation of data packets"; + type enumeration { + enum "disable" { + description "Disable data encapsulation"; + } + enum "enable" { + description "Enable data encapsulation"; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + list source { + key name; + ordered-by user; + description "Configure parameters for each source"; + leaf name { + description "Source address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + } + list group { + key name; + ordered-by user; + description "Configure MSDP peer groups"; + leaf name { + description "MSDP peer group name"; + type string; + } + uses apply-advanced; + leaf mode { + description "MSDP group source-active flooding mode"; + default "standard"; + type enumeration { + enum "standard" { + description "Use standard MSDP source-active flooding rules"; + } + enum "mesh-group" { + description "Group peers are mesh group members"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + } + } + grouping juniper-protocols-mstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSTP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf configuration-name { + description "Configuration name (part of MST configuration identifier)"; + type string { + length "1 .. 32"; + } + } + leaf revision-level { + description "Revision level (part of MST configuration identifier)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf max-hops { + description "Maximum number of hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + list msti { + key name; + description "Per-MSTI options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + } + } + grouping juniper-protocols-mvpn { + description "BGP-MVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for BGP-MVPN"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "nlri" { + description "Trace MVPN advertisements"; + } + enum "topology" { + description "Trace MVPN topology changes"; + } + enum "tunnel" { + description "Trace provider tunnel events"; + } + enum "umh" { + description "Trace Upstream Multicast Hop (UMH) events"; + } + enum "intra-as-ad" { + description "Trace MVPN intra-AS auto discovery routes"; + } + enum "inter-as-ad" { + description "Trace MVPN inter-AS auto discovery routes"; + } + enum "spmsi-ad" { + description "Trace MVPN SPMSI auto discovery routes"; + } + enum "leaf-ad" { + description "Trace MVPN leaf auto discovery routes"; + } + enum "source-active" { + description "Trace MVPN source active routes"; + } + enum "cmcast-join" { + description "Trace MVPN c-multicast join routes"; + } + enum "mdt-safi-ad" { + description "Trace MVPN MDT SAFI auto discovery routes"; + } + enum "mvpn-limit" { + description "Trace MVPN spmsi and cmcast limit events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + status deprecated; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + container family { + description "BGP-MVPN address family"; + uses apply-advanced; + container any { + presence "enable any"; + description "BGP-MVPN properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + description "IPv4 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + choice sender-receiver-site-choice { + case case_1 { + leaf receiver-site { + description "MVPN instance has sites only with multicast receivers"; + type empty; + } + } + case case_2 { + leaf sender-site { + description "MVPN instance has sites only with multicast sources"; + type empty; + } + } + } + leaf unicast-umh-election { + description "Upstream Multicast Hop election based on unicast route preference"; + type empty; + } + container static-umh { + description "Upstream Multicast Hop election based on static configuration"; + uses apply-advanced; + leaf primary { + description "Primary Upstream Multicast Hop"; + type jt:ipv4addr; + } + leaf backup { + description "Secondary Upstream Multicast Hop"; + type jt:ipv4addr; + } + choice source-tree_choice { + case case_1 { + leaf source-tree { + description "Mandatory attribute - static-umh applies only to MVPN source-tree c-multicast joins"; + type empty; + } + } + } + } + leaf cmcast-joins-limit-inet { + description "Maximum number of cmcast entries for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf cmcast-joins-limit-inet6 { + description "Maximum number of cmcast entries for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container mvpn-mode { + description "MVPN mode of operation"; + uses apply-advanced; + choice mode { + case case_1 { + container rpt-spt { + presence "enable rpt-spt"; + description "MVPN works in multicast RPT and SPT mode"; + uses apply-advanced; + leaf spt-switch-timer { + description "Timeout before a PE router switches between RPT and SPT"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + } + case case_2 { + container spt-only { + presence "enable spt-only"; + description "MVPN works in multicast SPT only mode (default mode)"; + uses apply-advanced; + container source-active-advertisement { + description "Attributes associated with advertising Source-Active A-D routes"; + uses apply-advanced; + leaf dampen { + description "Time to wait before re-advertising source-active route"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf min-rate { + description "Minimum traffic rate required to advertise Source-Active route"; + units "bits per second"; + type string; + } + } + leaf convert-sa-to-msdp { + description "Turn on MVPN SA route to MSDP SA conversion"; + type empty; + } + } + } + } + } + container route-target { + description "Configure route-targets for MVPN routes"; + uses apply-advanced; + container import-target { + description "Target communities used when importing routes"; + uses apply-advanced; + container unicast { + presence "enable unicast"; + description "Use the same target community as configured for unicast"; + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + container target { + presence "enable target"; + description "Target community"; + leaf target-value { + type string { + } + } + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + } + container export-target { + description "Target communities used when exporting routes"; + uses apply-advanced; + leaf unicast { + description "Use the same target community as configured for unicast"; + type empty; + } + leaf target { + description "Target community"; + type string { + } + } + } + } + container mvpn-join-load-balance { + description "MVPN Join Load Balancing Algorithm"; + uses apply-advanced; + choice algorithm { + case case_1 { + container bytewise-xor-hash { + presence "enable bytewise-xor-hash"; + description "Upstream selection using bytewise XOR hash"; + } + } + } + } + container hot-root-standby { + description "MVPN live-live - hot root standby"; + uses apply-advanced; + choice tree { + case case_1 { + container source-tree { + presence "enable source-tree"; + description "MVPN live-live - hot root standby for source tree"; + } + } + } + container min-rate { + description "Minimum traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + uses apply-advanced; + leaf rate { + description "Minium traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + units "bits per second"; + type string; + } + leaf revert-delay { + description "Time to delay updating of multicast routes to allow for multicast convergence"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + } + } + container inter-region-template { + description "MVPN inter-region tunnel mapping template"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Define a inter-region template"; + leaf name { + description "MVPN Template Name"; + type string; + } + uses apply-advanced; + list region { + key name; + ordered-by user; + description "BGP peer group names used as region"; + leaf name { + description "Region name"; + type string; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + container all-regions { + description "Used for all regions not specified"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + } + } + leaf source-redundancy { + description "Assume all the sources for a particular group is sending same data"; + type empty; + } + container umh-selection-additional-input { + description "Additional parameters to consider during UMH"; + uses apply-advanced; + leaf source-active-preference { + description "Use the preference set in the source active route"; + type empty; + } + leaf tunnel-status { + description "Use the RSVP tunnel status"; + type empty; + } + } + } + grouping juniper-protocols-mvrp { + description "MVRP Configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for MVRP"; + uses mrp-trace-options; + } + leaf join-timer { + description "Join timer interval"; + default "200"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + default "800"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf no-dynamic-vlan { + description "Disable dynamic VLAN creation"; + type empty; + } + leaf no-attribute-length-in-pdu { + description "No attribute length while sending pdu "; + type empty; + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the MVRP BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + list interface { + key name; + ordered-by user; + description "Configure interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf join-timer { + description "Join timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf point-to-point { + description "Port is point to point"; + type empty; + } + leaf registration { + description "Registration mode"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal registration mode"; + } + enum "restricted" { + description "Restricted registration mode"; + } + enum "forbidden" { + description "Forbidden registration mode"; + } + } + } + } + } + grouping juniper-protocols-ospf { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + grouping juniper-protocols-overlayd { + uses apply-advanced; + container traceoptions { + description "Overlayd trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "socket" { + description "Trace overlay daemon socket events"; + } + enum "rtsock" { + description "Trace overlay daemon rtsock events"; + } + enum "config" { + description "Trace overlay daemon config events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping juniper-protocols-pgm { + uses apply-advanced; + container traceoptions { + description "PGM trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping juniper-protocols-protection-group { + uses apply-advanced; + container ethernet-aps { + description "Ethernet APS configuration"; + uses juniper-protocols-protection-group-eaps; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses erp-trace-options; + } + leaf restore-interval { + description "Wait to restore interval"; + default "5"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms steps"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + list ethernet-ring { + key name; + ordered-by user; + description "Ethernet ring"; + uses juniper-protocols-protection-group-ethernet-ring; + } + } + grouping erp-trace-options { + description "Trace options for Ethernet Ring Protocol"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace R-APS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace R-APS state machine"; + } + enum "periodic-packet-management" { + description "Trace periodic packet management state and events"; + } + enum "config" { + description "Trace protocol configuration"; + } + enum "normal" { + description "Trace protocol general log messages"; + } + enum "debug" { + description "Trace protocol debug log messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + container file { + description "Trace file options"; + uses trace_file_type; + } + } + grouping juniper-protocols-protection-group-eaps { + uses apply-advanced; + list profile { + key name; + uses juniper-protocols-protection-group-eaps-profile; + } + } + grouping juniper-protocols-protection-group-eaps-profile { + description "Ethernet APS profile"; + leaf name { + description "Profile name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf protocol { + description "Protocol value"; + type enumeration { + enum "ccm" { + description "Use CCM packets for protection."; + } + enum "G.8031" { + description "Use G.8031 packets for protection."; + } + } + } + leaf revert-time { + description "Reversion time in minutes, 0 would mean no reversion"; + default "4"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf hold-time { + description "Hold time in seconds"; + default "0"; + units "milli seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf local-request { + description "Local APS request"; + type enumeration { + enum "lockout" { + description "Lockout protection"; + } + } + } + } + grouping juniper-protocols-protection-group-ethernet-ring { + description "Ethernet Ring protection group configuration"; + leaf name { + description "Name of Ethernet Ring protection group"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf node-id { + description "Node ID of the protection group, by default bridge's MAC"; + type jt:mac-unicast; + } + leaf ring-protection-link-owner { + description "Ring protection link owner flag, one ring should have only one node as a ring protection link owner"; + type empty; + } + leaf level { + description "MPG Level value for R-APS PDU"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf restore-interval { + description "Wait to restore interval"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container east-interface { + description "East interface configuration"; + presence "enable east-interface"; + uses erp-interface; + } + container west-interface { + description "West interface configuration"; + presence "enable west-interface"; + uses erp-interface; + } + leaf control-vlan { + description "Dedicated VLAN identifier - VLAN id or VLAN name"; + type string; + } + container data-channel { + description "Ring instance data channel"; + presence "enable data-channel"; + uses erp-data-channel; + } + } + grouping erp-data-channel { + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + } + grouping erp-interface { + uses apply-advanced; + container control-channel { + presence "enable control-channel"; + description "Control channel of ring port"; + uses apply-advanced; + leaf vlan { + description "Dedicated VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 4094"; + } + } + } + leaf control-channel-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ring-protection-link-end { + description "Port is connecting to ring protection link"; + type empty; + } + leaf interface-none { + description "Port is not used"; + type empty; + } + } + grouping juniper-protocols-rip { + uses apply-advanced; + container traceoptions { + description "Trace options for RIP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "auth" { + description "Trace RIP authentication"; + } + enum "error" { + description "Trace RIP errors"; + } + enum "expiration" { + description "Trace RIP route expiration processing"; + } + enum "holddown" { + description "Trace RIP hold-down processing"; + } + enum "packets" { + description "Trace all RIP packets"; + } + enum "request" { + description "Trace RIP information packets"; + } + enum "trigger" { + description "Trace RIP triggered updates"; + } + enum "update" { + description "Trace RIP update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses rip_filter_obj; + } + } + } + container rib-group { + description "Routing table group for importing RIP routes"; + uses rib_group_inet_type; + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv2 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv2 packets"; + type empty; + } + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a message in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf interface-type { + description "Interface type for the neighbor"; + type enumeration { + enum "p2mp" { + description "Point-to-multipoint link"; + } + } + } + leaf dynamic-peers { + description "Learn peers dynamically on a p2mp interface"; + type empty; + } + list peer { + key name; + ordered-by user; + description "P2MP peer"; + leaf name { + description "Address of peer"; + type jt:ipaddr; + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a msg in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv1 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv1 packets"; + type empty; + } + } + leaf any-sender { + description "Disable strict checks on sender address"; + type empty; + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIP is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-ripng { + uses apply-advanced; + container traceoptions { + description "Trace options for RIPng"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace RIPng errors"; + } + enum "expiration" { + description "Trace RIPng route expiration processing"; + } + enum "holddown" { + description "Trace RIPng hold-down processing"; + } + enum "packets" { + description "Trace all RIPng packets"; + } + enum "request" { + description "Trace RIPng information packets"; + } + enum "trigger" { + description "Trace RIPng triggered updates"; + } + enum "update" { + description "Trace RIPng update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIPng graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIPng is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-router-discovery { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable router discovery"; + type empty; + } + } + } + container traceoptions { + description "Trace options for router discovery"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router discovery"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf max-advertisement-interval { + description "Maximum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1800"; + } + } + } + leaf lifetime { + description "How long addresses in advertisements are valid"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 9000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "IP addresses to include in advertisements"; + leaf name { + description "IP addresses to include in router advertisements"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf advertise { + description "Advertise the IP address in advertisements"; + type empty; + } + leaf ignore { + description "Do not advertise the IP address in advertisements"; + type empty; + } + leaf broadcast { + description "Include IP address only in broadcast advertisements"; + type empty; + } + leaf multicast { + description "Include IP address only in multicast advertisements"; + type empty; + } + leaf ineligible { + description "IP address can never become a default router"; + type empty; + } + leaf priority { + description "Preference of the address to become a default router"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-rsvp { + description "RSVP options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP"; + type empty; + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP graceful restart capability"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf maximum-helper-restart-time { + description "Maximum wait time from down event to neighbor dead"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf maximum-helper-recovery-time { + description "Maximum time restarting neighbor states are kept"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container tunnel-services { + presence "enable tunnel-services"; + description "Use tunnel services for P2MP LSP ultimate-hop popping"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for P2MP LSPs"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf no-p2mp-sublsp { + description "Disable P2MP sub-LSP object generation"; + type empty; + } + leaf no-node-id-subobject { + description "Do not include the node-id sub-object in the RRO"; + type empty; + } + leaf no-interface-hello { + description "Disble interface Hellos on all RSVP interfaces"; + type empty; + } + container pop-and-forward { + description "RSVP pop-and-forward specific global parameters"; + uses apply-advanced; + container application-label { + description "Number of application labels under the RSVP transport"; + uses apply-advanced; + leaf depth { + description "Application label depth"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + } + } + leaf hello-acknowledgements { + description "Acknowledge Hellos on RSVP interfaces not having sessions"; + type empty; + } + leaf no-hello-acknowledgements { + description "Do not ack Hellos on RSVP interfaces not having sessions"; + type empty; + } + container node-hello { + presence "enable node-hello"; + description "Enable node-ID based Hellos on all RSVP interfaces"; + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + leaf no-node-hello { + description "Disable node-ID based Hellos on the router"; + type empty; + } + leaf allow-bidirectional { + description "Enable bidirectional support in RSVP"; + status deprecated; + type empty; + } + leaf local-reversion { + description "Enable local reversion at this Point of Local Repair"; + type empty; + } + leaf no-local-reversion { + description "Disable local reversion at this Point of Local Repair"; + type empty; + } + container fast-reroute { + description "One-to-one fast-reroute protection mechanism"; + uses apply-advanced; + leaf optimize-timer { + description "Frequency of reoptimization for fast-reroute detour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + container load-balance { + description "Per-packet load-balancing algorithm"; + uses apply-advanced; + leaf bandwidth { + description "Per-packet load balancing proportional to LSP bandwidth"; + type empty; + } + } + container traceoptions { + description "Trace options for RSVP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP trigger packets"; + } + enum "path" { + description "Trace RSVP trigger path messages"; + } + enum "resv" { + description "Trace RSVP trigger Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Refresh time in seconds"; + default "1200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keep-multiplier { + description "Keep multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf graceful-deletion-timeout { + description "Time to complete graceful deletion signaling"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf setup-protection { + description "Enable setup protection"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute CSPF paths spanning protocols for bypass LSP, detour LSP and loose hop expansion"; + type empty; + } + container preemption { + description "Set RSVP session preemption attributes"; + uses apply-advanced; + choice preemption-type { + case case_1 { + leaf disabled { + description "No RSVP session preemption"; + type empty; + } + } + case case_2 { + leaf normal { + description "Run RSVP session preemption to accommodate new sessions"; + type empty; + } + } + case case_3 { + leaf aggressive { + description "Run RSVP session preemption whenever necessary"; + type empty; + } + } + } + container soft-preemption { + description "Options for establishing new path before tearing down a preempted LSP"; + uses apply-advanced; + leaf cleanup-timer { + description "Time a soft-preempted LSP will be maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 180"; + } + } + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + leaf no-authentication-check { + description "Skip authentication check for received messages"; + type empty; + } + container associated-bidirectional-lsp { + description "Set associated bidirectional LSP attributes"; + uses apply-advanced; + leaf single-sided-provisioning { + description "Enable unidirectional reverse LSP setup for single sided provisioned forward LSP"; + type empty; + } + } + leaf no-enhanced-frr-bypass { + description "Disable enhanced facility backup FRR"; + type empty; + } + list interface { + key name; + ordered-by user; + description "RSVP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container subscription { + description "Link bandwidth percentage for RSVP reservation"; + uses subscription-type; + } + leaf bandwidth { + description "Available bandwidth for the interface units bps"; + type string; + } + leaf update-threshold { + description "Percentage change in reserved bandwidth to trigger IGP update"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + container update-threshold-max-reservable { + description "Change in non-rsvp bandwidth to trigger IGP update "; + uses apply-advanced; + leaf bandwidth { + description "Change in non-rsvp bandwidth to trigger IGP update units bps"; + type string; + } + leaf percent { + description "Percentage change in max-reservable bandwidth to trigger IGP update"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container link-protection { + presence "enable link-protection"; + description "Protect traffic with a label-stacked LSP"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link protection on this interface"; + type empty; + } + } + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf max-bypasses { + description "Max number of bypasses permitted for protecting this interface"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + leaf subscription { + description "Percent of bandwidth guaranteed when admitting protected LSPs into bypasses"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-node-protection { + description "Disallow node protection on this interface"; + type empty; + } + leaf optimize-timer { + description "Interval between bypass reoptimizations"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + container priority { + presence "enable priority"; + description "Preemption priorities for the bypass LSP"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + list bypass { + key name; + ordered-by user; + description "Bypass with specific constraints"; + leaf name { + description "Name of bypass"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf description { + description "Text description of bypass"; + type string { + length "1 .. 80"; + } + } + container priority { + presence "enable priority"; + description "Preemption priorities for bypass"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this control peer"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container dynamic-bidirectional-transport { + presence "enable dynamic-bidirectional-transport"; + description "Enable dynamic setup of bidirectional packet LSP for transporting non-packet GMPLS LSP"; + uses apply-advanced; + leaf template { + description "Template for the dynamic bidirectional packet LSP"; + type string { + } + } + } + } + list lsp-set { + key name; + ordered-by user; + description "Configuration for lsp set"; + leaf name { + description "Name of lsp set"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this lsp set"; + type empty; + } + } + } + container match-criteria { + description "Match criteria for this lsp set"; + uses lsp-set-match-type; + } + container traceoptions { + description "Trace options for this lsp set"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP packets"; + } + enum "path" { + description "Trace RSVP path messages"; + } + enum "resv" { + description "Trace RSVP Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + grouping juniper-protocols-stp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable STP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + leaf extended-system-id { + description "Extended system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 4095"; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + } + grouping juniper-protocols-vni-options { + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-vstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable VSTP"; + type empty; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + list vlan { + key name; + description "VLAN spanning tree options"; + leaf name { + description "VLAN id or all"; + type string; + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + container vlan-group { + presence "enable vlan-group"; + description "Spanning tree options for group of VLANs"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name if VLAN group"; + leaf name { + description "VLAN group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + } + } + grouping ldp-sync-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP synchronization"; + type empty; + } + } + } + leaf hold-time { + description "Time during which maximum metric is advertised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + grouping ldp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "fec" { + description "Filter based on FEC associated to the traced object."; + } + enum "address" { + description "Filter based on packet source and destination addresses."; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping lmp_control_channel_type { + leaf name { + description "Control channel interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf remote-address { + description "Control channel remote address"; + type jt:ipaddr; + } + } + grouping lsp-set-match-type { + uses apply-advanced; + leaf lsp-name { + description "LSP name that matches this string"; + type string; + } + leaf lsp-regex { + description "All LSPs that match this regular expression pattern"; + type string; + } + leaf p2mp-name { + description "P2MP names that match this string"; + type string; + } + leaf p2mp-regex { + description "P2MP names that match this regular expression pattern"; + type string; + } + choice router-type { + case case_1 { + leaf egress { + description "All LSPs for which this router is egress"; + type empty; + } + } + case case_2 { + leaf ingress { + description "All LSPs for which this router is ingress"; + type empty; + } + } + case case_3 { + leaf transit { + description "All LSPs for which this router is transit"; + type empty; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mrp-trace-options { + description "Trace options for MMRP Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace RAPS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace information of the state machine"; + } + enum "socket" { + description "Trace soccket activity"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping mstp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping pccd-traceoptions-type { + description "Trace options for PCCD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of PCCD to enable debugging output"; + leaf name { + type enumeration { + enum "pccd-main" { + description "Trace main module"; + } + enum "pccd-config" { + description "Trace configuration parsing operations"; + } + enum "pccd-core" { + description "Trace PCCD's core operations"; + } + enum "pccd-ui" { + description "Trace user interface handling"; + } + enum "pccd-rpd" { + description "Trace communication with RPD"; + } + enum "pccd-functions" { + description "Trace function entries/outs"; + } + enum "all" { + description "Trace all areas of PCCD code"; + } + } + } + } + } + grouping peer-group { + leaf name { + description "IP address for this peer"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use for this peer alone."; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with this peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf-list redundancy-group-id-list { + ordered-by user; + description "List of redundacy groups this peer is part of"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container backup-liveness-detection { + presence "enable backup-liveness-detection"; + description "Backup liveness detection"; + uses apply-advanced; + leaf backup-peer-ip { + description "Backup livelness detection peer's IP address"; + type jt:ipv4addr; + } + } + container liveness-detection { + presence "enable liveness-detection"; + description "Bidirectional Forwarding Detection options for the peer"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + grouping periodic_oam { + uses apply-advanced; + container mpls-tp-mode { + presence "enable mpls-tp-mode"; + description "MPLS-TP Mode, Do not use IP addressing for OAM"; + uses apply-advanced; + container lsping-channel-type { + description "Supported Control-channel types for MPLS-TP mode...."; + uses apply-advanced; + choice action-choice { + case case_1 { + leaf ipv4 { + description "Use channel-type IPv4(0x0021), With IP-UDP encapsulation"; + type empty; + } + } + case case_2 { + leaf on-demand-cv { + description "Use channel-type On-Demand-CV(0x0025), Without IP-UDP encapsulation"; + type empty; + } + } + } + } + } + container bfd-port { + description "Egress knob to select MHOP-BFD port for MPLS BFD"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf teardown { + description "Teardown label switched path and resignal"; + type empty; + } + } + case case_2 { + container make-before-break { + presence "enable make-before-break"; + description "Resignal the label switched path before teardown"; + uses apply-advanced; + leaf teardown-timeout { + description "Time to wait before teardown"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + } + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container performance-monitoring { + description "Performance monitoring options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace init commnad"; + } + enum "error" { + description "Trace error conditions"; + } + enum "event" { + description "Trace state machine events"; + } + enum "general" { + description "Trace general events"; + } + enum "packet" { + description "Trace various packets "; + } + enum "timer" { + description "Trace timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container querier { + description "Querier options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic class"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container loss-delay { + description "Combined loss-delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container responder { + description "Responder options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf lsp-ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container traceoptions { + description "Trace options for MPLSOAM process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "pipe" { + description "Trace pipe activity"; + } + enum "rpc-packet-details" { + description "Trace RPC packet details"; + } + enum "database" { + description "Trace database activity"; + } + enum "network" { + description "Trace network activity"; + } + enum "traceroute" { + description "Trace traceroute activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping ppp-traceoptions-type { + description "Trace options for PPP process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of PPP process to enable debugging output"; + leaf name { + type enumeration { + enum "access" { + description "Trace access code"; + } + enum "address-pool" { + description "Trace address pool code"; + } + enum "auth" { + description "Trace authentication code"; + } + enum "chap" { + description "Trace CHAP code"; + } + enum "pap" { + description "Trace PAP code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "lcp" { + description "Trace LCP state machine code"; + } + enum "memory" { + description "Trace memory management code"; + } + enum "message" { + description "Trace message processing code"; + } + enum "mlppp" { + description "Trace MLPPP code"; + } + enum "ncp" { + description "Trace NCP state machine code"; + } + enum "ppp" { + description "Trace PPP protocol processing code"; + } + enum "radius" { + description "Trace RADIUS processing code"; + } + enum "redundancy" { + description "Trace redundancy code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "session" { + description "Trace session management code"; + } + enum "signal" { + description "Trace signal handling code"; + } + enum "timer" { + description "Trace timer code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "ci" { + description "Trace ci code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping pppoe-traceoptions-type { + description "Trace options for PPPoE process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of PPPoE process to enable debugging output"; + leaf name { + type enumeration { + enum "config" { + description "Trace configuration code"; + } + enum "events" { + description "Trace event code"; + } + enum "gres" { + description "Trace GRES code"; + } + enum "init" { + description "Trace initialization code"; + } + enum "interface-db" { + description "Trace interface database code"; + } + enum "memory" { + description "Trace memory management code"; + } + enum "protocol" { + description "Trace PPPoE protocol processing code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "session-db" { + description "Trace Session DB code"; + } + enum "signal" { + description "Trace signal handling code"; + } + enum "state" { + description "Trace state handling code"; + } + enum "stats" { + description "Trace Stats Handling code"; + } + enum "timer" { + description "Trace timer code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + container filter { + presence "enable filter"; + description "Trace filtering"; + uses apply-advanced; + leaf aci { + description "Regular expression to match ACI"; + type string { + length "1 .. 64"; + } + } + leaf ari { + description "Regular expression to match ARI"; + type string { + length "1 .. 64"; + } + } + leaf service-name { + description "Service name"; + type string { + length "1 .. 64"; + } + } + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + } + } + grouping r2cp-traceoptions-type { + description "Trace options for R2CP process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of R2CP process to enable debugging output"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration code"; + } + enum "event" { + description "Trace events"; + } + enum "interface" { + description "Trace interface processing"; + } + enum "node" { + description "Trace node table code"; + } + enum "packet" { + description "Trace packet processing"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "session" { + description "Trace session events"; + } + enum "socket" { + description "Trace socket calls"; + } + enum "timer" { + description "Trace timer code"; + } + enum "virtual-channel" { + description "Trace virtual channel mapping code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rip_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping stp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping stp-trace-options { + description "Trace options for Spanning Tree Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "bpdu" { + description "Trace BPDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "port-information-state-machine" { + description "Trace port information state machine"; + } + enum "port-receive-state-machine" { + description "Trace port receive state machine"; + } + enum "port-role-select-state-machine" { + description "Trace port role selection state machine"; + } + enum "port-role-transit-state-machine" { + description "Trace port role transit state machine"; + } + enum "port-state-transit-state-machine" { + description "Trace port state transit state machine"; + } + enum "port-migration-state-machine" { + description "Trace port migration state machine"; + } + enum "port-transmit-state-machine" { + description "Trace port transmit state machine"; + } + enum "topology-change-state-machine" { + description "Trace topology change state machine"; + } + enum "bridge-detection-state-machine" { + description "Trace Bridge detection state machine"; + } + enum "state-machine-variables" { + description "Trace when state machine variables change"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "all-failures" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping subscription-type { + uses apply-advanced; + leaf link-subscription { + description "Link bandwidth percentage for RSVP reservation"; + default "100"; + type string; + } + leaf ct0 { + description "Subscription percentage for traffic class 0"; + default "100"; + type string; + } + leaf ct1 { + description "Subscription percentage for traffic class 1"; + default "100"; + type string; + } + leaf ct2 { + description "Subscription percentage for traffic class 2"; + default "100"; + type string; + } + leaf ct3 { + description "Subscription percentage for traffic class 3"; + default "100"; + type string; + } + } + grouping system-id-ip-map { + leaf name { + type jt:mac-unicast; + } + uses apply-advanced; + leaf ip-address { + description "Peer ID (IP Address)"; + type jt:ipv4prefix; + } + } + grouping te-class-object { + leaf traffic-class { + description "Traffic class"; + type enumeration { + enum "ct0" { + description "Traffic class 0"; + } + enum "ct1" { + description "Traffic class 1"; + } + enum "ct2" { + description "Traffic class 2"; + } + enum "ct3" { + description "Traffic class 3"; + } + } + } + leaf priority { + description "Preemption priority for this class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-root@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-root@2019-01-01.yang new file mode 100644 index 00000000..2a3697c5 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-root@2019-01-01.yang @@ -0,0 +1,535 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-root { + namespace "http://yang.juniper.net/junos-es/conf/root"; + + prefix jc; + + import junos-common-types { + prefix jt; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos YANG module for configuration hierarchies."; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + container configuration { + config true; + uses juniper-config; + list groups { + key name; + ordered-by user; + description "Configuration groups"; + uses juniper-group; + } + } + grouping juniper-config { + leaf rcsid { + description "Revision control system identifier"; + type string; + } + leaf version { + description "Software version information"; + type string; + } + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + container jsrc-partition { + description "JSRC partition configuration"; + leaf jsrc-partition-name { + description "JSRC partition name"; + type string { + length "1 .. 63"; + } + } + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container jsrc { + description "JSRC partition configuration"; + uses jsrc-options; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping jsrc-options { + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "JSRC partition definition"; + leaf name { + description "JSRC partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf diameter-instance { + description "JSRC diameter instance"; + type string { + length "1 .. 63"; + } + mandatory true; + } + leaf destination-realm { + description "JSRC destination realm"; + type string { + length "1 .. 63"; + } + mandatory true; + } + leaf destination-host { + description "JSRC destination host"; + type string { + length "1 .. 63"; + } + mandatory true; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping juniper-group { + description "Configuration groups"; + uses juniper-config; + leaf name { + description "Group name"; + type string { + length "1 .. 254"; + } + } + container when { + description "Specify additional conditions for groups"; + uses apply-advanced; + container time { + description "Time at which group should be effective"; + leaf start-time { + description "Start time([yyyy-mm-dd.]hh:mm)"; + type string; + } + container to { + description "End time"; + uses apply-advanced; + leaf end-time { + description "End time([yyyy-mm-dd.]hh:mm)"; + type string; + } + } + } + leaf-list peers { + ordered-by user; + description "Hosts on which this group should be effective"; + type string { + length "1 .. 255"; + } + } + leaf chassis { + description "Chassis id"; + type enumeration { + enum "lcc0" { + description "Chassis lcc0"; + } + enum "lcc1" { + description "Chassis lcc1"; + } + enum "lcc2" { + description "Chassis lcc2"; + } + enum "lcc3" { + description "Chassis lcc3"; + } + enum "lcc4" { + description "Chassis lcc4"; + } + enum "lcc5" { + description "Chassis lcc5"; + } + enum "lcc6" { + description "Chassis lcc6"; + } + enum "lcc7" { + description "Chassis lcc7"; + } + enum "scc" { + description "Chassis scc"; + } + enum "sfc0" { + description "Chassis sfc0"; + } + } + } + leaf model { + description "Model name"; + type string; + } + leaf routing-engine { + description "Routing Engine"; + type enumeration { + enum "re0" { + description "RE0"; + } + enum "re1" { + description "RE1"; + } + } + } + leaf member { + description "Member of virtual chassis"; + type string; + } + leaf node { + description "Node of cluster"; + type enumeration { + enum "node0" { + description "Node0"; + } + enum "node1" { + description "Node1"; + } + } + } + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container host-outbound-traffic { + description "Host generated protocol packets"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + leaf dot1p { + description "Dot1p bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + leaf ignore-stp-topology-change { + description "Don't process stp topology change"; + type empty; + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + mandatory true; + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-routing-instances@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-routing-instances@2019-01-01.yang new file mode 100644 index 00000000..41ef7301 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-routing-instances@2019-01-01.yang @@ -0,0 +1,53121 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-routing-instances { + namespace "http://yang.juniper.net/junos-es/conf/routing-instances"; + + prefix jc-routing-instances; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos routing-instances configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses routing-instances-group; + } + augment /jc:configuration/jc:groups { + uses routing-instances-group; + } + grouping routing-instances-group { + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + uses juniper-routing-instance; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-routing-instance { + description "Routing instance"; + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of routing instance"; + type string { + } + } + leaf vlan-model { + description "Subscriber vlan-model in L2Wholesale framework"; + type enumeration { + enum "one-to-one" { + description "Customer VLAN model (1:1)"; + } + } + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf-list remote-vtep-v6-list { + description "Configurate static ipv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + leaf instance-role { + description "Primary role of L2Backhaul-vpn router"; + type enumeration { + enum "access" { + description "Role of Access/Aggregation router"; + } + enum "nni" { + description "Role of Provider network interfacing router"; + } + } + } + leaf instance-type { + description "Type of routing instance"; + type enumeration { + enum "forwarding" { + description "Forwarding instance"; + } + enum "vrf" { + description "Virtual routing forwarding instance"; + } + enum "no-forwarding" { + description "Nonforwarding instance"; + } + enum "l2vpn" { + description "Layer 2 VPN routing instance"; + } + enum "vpls" { + description "VPLS routing instance"; + } + enum "virtual-switch" { + description "Virtual switch routing instance"; + } + enum "l2backhaul-vpn" { + description "L2Backhaul/L2Wholesale routing instance"; + } + enum "virtual-router" { + description "Virtual routing instance"; + } + enum "layer2-control" { + description "Layer 2 control protocols"; + } + enum "mpls-internet-multicast" { + description "Internet Multicast over MPLS routing instance"; + } + enum "evpn" { + description "EVPN routing instance"; + } + enum "mpls-forwarding" { + description "Routing instance provides a MPLS forwarding-context"; + } + enum "evpn-vpws" { + description "EVPN VPWS routing instance"; + } + } + } + choice vrf-propagate-ttl-or-no-vrf-propagate-ttl { + case case_1 { + leaf no-vrf-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + case case_2 { + leaf vrf-propagate-ttl { + description "Enable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + } + container egress-protection { + description "Egress instance protection"; + uses apply-advanced; + leaf protector { + description "Enable Edge Protector functionality for this VPN"; + type empty; + } + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + container system { + description "System parameters"; + uses apply-advanced; + container services { + description "System services"; + uses apply-advanced; + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + } + } + container access { + description "Network access configuration"; + uses apply-advanced; + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + } + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + list interface { + key name; + description "Interface name for this routing instance"; + leaf name { + type string; + } + uses apply-advanced; + choice mode { + case case_1 { + leaf any { + description "Interface used for both unicast and multicast traffic"; + type empty; + } + } + case case_2 { + leaf unicast { + description "Interface used for unicast traffic only"; + type empty; + } + } + case case_3 { + leaf multicast { + description "Interface used for multicast traffic only"; + type empty; + } + } + } + leaf primary { + description "Preferred multicast vt interface for the routing-instance"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this routing-instance"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf multicast-v6-group { + description "Multicast IPv6 group registered for VXLAN segment"; + type jt:ipv6addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf qualified-bum-pruning-mode { + description "Enable BUM pruning for VPLS instance"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + container l2vpn-id { + description "Layer-2 vpn-id for this instance"; + uses apply-advanced; + leaf community { + description "L2VPN ID community for FEC129 VPLS/VPWS with BGP auto-discovery"; + type string { + } + } + } + container provider-tunnel { + description "Provider tunnel configuration"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SSM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + } + container inter-region { + description "Inter-region segmented tunnels"; + uses apply-advanced; + choice segmented-or-not { + case case_1 { + leaf template { + description "Use inter-region segmentation template"; + type string; + } + } + case case_2 { + leaf no-inter-region-segmentation { + description "Do not participate in inter-region segmentation"; + type empty; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + container selective { + description "Selective tunnels"; + uses apply-advanced; + leaf tunnel-limit { + description "Maximum number of selective tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf leaf-tunnel-limit-inet { + description "Maximum number of selective leaf tunnels for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf leaf-tunnel-limit-inet6 { + description "Maximum number of selective leaf tunnels for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container wildcard-group-inet { + description "IPv4 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + container wildcard-group-inet6 { + description "IPv6 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + case case_4 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + } + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + } + container mdt { + description "Data MDT tunnels for PIM MVPN"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container family { + presence "enable family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv4 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + container inet6 { + presence "enable inet6"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv6 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + leaf auto { + description "Auto derive import and export target community from BGP AS & L2"; + type empty; + } + } + leaf no-vrf-advertise { + description "Don't advertise this instance to remote PEs"; + type empty; + } + leaf connector-id-advertise { + description "Advertise connector-id attribute"; + type empty; + } + container vrf-advertise-selective { + presence "enable vrf-advertise-selective"; + description "Override no-vrf-advertise knob for the specified address family"; + uses apply-advanced; + container family { + description "Protocol family to be selectively advertised"; + uses apply-advanced; + leaf inet-mvpn { + description "IPv4 MVPN Address Family"; + type empty; + } + leaf inet6-mvpn { + description "IPv6 MVPN Address Family"; + type empty; + } + } + } + container vrf-table-label { + presence "enable vrf-table-label"; + description "Advertise a single VPN label for all routes in the VRF"; + leaf static { + description "Specify label value to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf source-class-usage { + description "Enable source class usage"; + type empty; + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container igmp-snooping-options { + description "IGMP snooping option configuration"; + uses juniper-igmp-snooping-options; + } + container mld-snooping-options { + description "MLD snooping option configuration"; + uses juniper-mld-snooping-options; + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container mpls { + description "MPLS configuration"; + uses juniper-protocols-mpls; + } + container rsvp { + description "RSVP configuration"; + uses juniper-protocols-rsvp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPF3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container isis { + description "IS-IS configuration"; + uses juniper-protocols-isis; + } + container esis { + description "ES-IS configuration"; + uses juniper-protocols-esis; + } + container l2vpn { + description "Layer 2 VPN configuration"; + uses juniper-protocols-l2vpn; + } + container vpls { + description "VPLS configuration"; + presence "enable vpls"; + uses juniper-protocols-l2vpn; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container amt { + description "AMT relay configuration"; + uses juniper-protocols-amt; + } + container ldp { + description "LDP configuration"; + uses juniper-protocols-ldp; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container mvpn { + description "BGP-MVPN configuration"; + presence "enable mvpn"; + uses juniper-protocols-mvpn; + } + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-ri-protocols-mld-snooping; + } + container pim-snooping { + description "PIM snooping configuration"; + presence "enable pim-snooping"; + uses juniper-protocols-pim-snooping; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container rstp { + description "RSTP configuration"; + uses juniper-protocols-stp; + } + container mstp { + description "MSTP configuration"; + uses juniper-protocols-mstp; + } + container vstp { + description "VSTP configuration"; + uses juniper-protocols-vstp; + } + } + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + container switch-options { + description "L2 options for routing-instance of type virtual-switch"; + uses juniper-routing-instance-switch-options; + } + container pbb-options { + description "Provider backbone bridging options for routing-instance"; + uses juniper-routing-instance-pbb-options; + } + list service-groups { + key name; + description "Service group configuration for routing-instance"; + uses juniper-routing-instance-service-groups; + } + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping address-assignment-type { + description "Address assignment configuration"; + uses apply-advanced; + container neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this instance"; + leaf ndra-name { + description "Designated NDRA pool name"; + type string { + length "1 .. 63"; + } + } + } + leaf high-utilization { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + leaf high-utilization-v6 { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization-v6 { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + list dynamic-pool { + key name; + ordered-by user; + description "Dynamic address pool"; + leaf name { + description "Dynamic address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Address family"; + uses apply-advanced; + container inet6 { + description "IPv6"; + uses apply-advanced; + leaf delegated-prefix-length { + description "Delegated IPv6 network prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + leaf from-interface { + description "Get prefix from interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf masked-low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf masked-high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dynamic-dhcp-attribute-type; + } + } + } + } + list pool { + key name; + ordered-by user; + description "Address pool"; + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf active-drain { + description "Notify client of pool active drain mode"; + type empty; + } + leaf hold-down { + description "Place pool in passive drain mode"; + type empty; + } + leaf link { + description "Address pool link name"; + type string { + length "1 .. 63"; + } + } + container family { + presence "enable family"; + description "Address family"; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4"; + uses apply-advanced; + leaf network { + description "Network address"; + type jt:ipv4prefix; + } + list range { + key name; + ordered-by user; + description "Address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + container xauth-attributes { + description "Configure xauth attributes"; + uses apply-advanced; + leaf primary-dns { + description "Specify the primary-dns IP address"; + type jt:ipv4prefix; + } + leaf secondary-dns { + description "Specify the secondary-dns IP address"; + type jt:ipv4prefix; + } + leaf primary-wins { + description "Specify the primary-wins IP address"; + type jt:ipv4prefix; + } + leaf secondary-wins { + description "Specify the secondary-wins IP address"; + type jt:ipv4prefix; + } + } + list host { + key name; + ordered-by user; + description "Hostname for static reservations"; + leaf name { + description "Hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf hardware-address { + description "Hardware address"; + type jt:mac-addr; + } + leaf ip-address { + description "Reserved address"; + type jt:ipv4addr; + } + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv4addr; + } + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6"; + uses apply-advanced; + leaf prefix { + description "IPv6 network prefix"; + type jt:ipv6prefix-mandatory; + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv6addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv6addr; + } + } + } + } + } + } + } + list location-pool { + key name; + ordered-by user; + description "Location-based IP address pool"; + max-elements 10; + leaf name { + description "Pool name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Address family"; + container inet { + description "IPv4 location pool"; + uses apply-advanced; + list location { + key name; + description "Relative location of router"; + max-elements 32; + leaf name { + description "Location number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + uses apply-advanced; + leaf address { + description "IP address/destination prefix"; + type jt:ipv4prefix; + } + } + } + } + } + } + grouping dhcp-attribute-type { + uses apply-advanced; + container option-match { + description "Match"; + uses apply-advanced; + container option-82 { + uses apply-advanced; + list circuit-id { + key name; + ordered-by user; + description "Circuit ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + list remote-id { + key name; + ordered-by user; + description "Remote ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + } + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "Server Identifier - IP address value"; + type jt:ipv4addr; + } + leaf grace-period { + description "Grace period for leases"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "WINS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf tftp-server { + description "TFTP server IP address advertised to clients"; + type jt:ipv4addr; + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "SIP server domain name available to clients"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list ip-address { + key name; + ordered-by user; + description "SIP servers list of IPv4 addresses available to the client"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + leaf netbios-node-type { + description "Type of NETBIOS node advertised to clients"; + type enumeration { + enum "b-node" { + description "Broadcast node"; + } + enum "p-node" { + description "Peer-to-peer node"; + } + enum "m-node" { + description "Mixed Node"; + } + enum "h-node" { + description "Hybrid node"; + } + } + } + leaf sip-server-domain-name { + description "SIP server domain name available to clients"; + type string { + } + } + list sip-server-address { + key name; + ordered-by user; + description "SIP Servers list of IPv6 addresses available to the client"; + leaf name { + description "SIP Server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP Settings to pool"; + type string; + } + leaf-list propagate-ppp-settings { + ordered-by user; + description "PPP interface name for propagating DNS/WINS settings"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf hex-string { + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_10 { + leaf ipv6-address { + description "IPV6 address value"; + type jt:ipv6addr; + } + } + case case_11 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list hex-string { + ordered-by user; + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + case case_10 { + leaf-list ipv6-address { + ordered-by user; + description "Array of IPv6 address values"; + type jt:ipv6addr; + } + } + } + } + } + } + } + leaf valid-lifetime { + description "Valid lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf exclude-prefix-len { + description "Length of IPv6 prefix to be excluded from delegated prefix"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + leaf t1-renewal-time { + description "T1 renewal time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf t2-rebinding-time { + description "T2 rebinding time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping dynamic-dhcp-attribute-type { + uses apply-advanced; + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf valid-lifetime { + description "Preferred lifetime"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime"; + units "seconds"; + type string; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime advertised to clients"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime advertised to clients"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + grouping jdhcp-local-server-type { + uses apply-advanced; + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-local-server-type; + } + list pool-match-order { + key name; + ordered-by user; + description "Define order of attribute matching for pool selection"; + leaf name { + description "Match type"; + type enumeration { + enum "external-authority" { + description "External authority handles address selection"; + } + enum "ip-address-first" { + description "IP address used first to select a pool"; + } + enum "option-82" { + description "Option 82 used in matching of pool"; + } + enum "option-82-strict" { + description "Option 82 used in strict matching of pool"; + } + } + } + uses apply-advanced; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP local server group"; + uses dhcp-local-server-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-local-server-dual-stack-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and giaddr for passive clients"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + container allow-leasequery { + description "Allow DHCP leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-bulk-leasequery { + description "Allow DHCP bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + } + grouping dhcp-local-server-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf on-demand-address-allocation { + description "Allocate addresses on demand"; + type empty; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcpv6-local-server-type { + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 local server group"; + uses dhcpv6-local-server-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and link-address for passive clients"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container server-duid-type { + description "Define the DUID type to be used as the Server ID. Type supported is DUID-LL"; + uses duid-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCPv6 leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container allow-bulk-leasequery { + description "Allow DHCPv6 bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + container dynamic-server { + description "DHCPv6 dynamic server configuration"; + uses dhcpv6-dynamic-server-type; + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-dynamic-server-type { + uses apply-advanced; + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-dynamic-server-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 dynamic server group"; + uses dhcpv6-dynamic-server-group; + } + } + grouping dhcpv6-dynamic-server-group { + description "DHCP dynamic server groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this group"; + type string { + length "1 .. 64"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-dynamic-server-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-dynamic-server-type; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcpv6-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcpv6-override-dynamic-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf ia-na-pool { + description "IA_NA pool name for inet6"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + container delay-advertise { + description "Filter options for dhcp-server"; + presence "enable delay-advertise"; + uses dhcpv6-filter-option; + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf multi-address-embedded-option-response { + description "If the client requests multiple addresses place the options in each address"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf top-level-status-code { + description "A top level status code option rather than encapsulated in IA for NoAddrsAvail in Advertise PDUs"; + type empty; + } + leaf always-add-option-dns-server { + description "Add option-23, DNS recursive name server in Advertise and Reply"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv6 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-filter-option { + description "Generic DHCPv6 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between solicit and advertise"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-18 { + presence "enable option-18"; + description "Option 18"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-37 { + presence "enable option-37"; + description "Option 37"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-15 { + presence "enable option-15"; + description "Option 15"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-16 { + presence "enable option-16"; + description "Option 16"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping dhcpv6-reconfigure-type { + description "DHCPv6 reconfigure processing"; + uses apply-advanced; + leaf strict { + description "Only allow packets containing Reconfigure Accept Option"; + type empty; + } + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping duid-type { + uses apply-advanced; + leaf duid_ll { + description "Link Layer Address based DUID "; + type empty; + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jsscd-static-subscribers-type { + uses apply-advanced; + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list group { + key name; + ordered-by user; + description "Static Subscriber Client group configuration"; + uses jsscd-group-type; + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + leaf baseline-stats { + description "Baseline the statistics for static subscribers"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container subscriber-ip-address { + description "Assigned IP address to report externally"; + uses apply-advanced; + leaf address { + description "IPv4 address"; + type jt:ipv4addr; + } + } + container subscriber-ipv6-address { + description "Assigned IPv6 address to report externally"; + uses apply-advanced; + leaf address { + description "IPv6 Address or Prefix"; + type jt:ipv6prefix; + } + } + } + } + grouping jsscd-access-profile-type { + description "Access profile for static subscribers"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + grouping jsscd-authentication-type { + description "Static Subscriber Client authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type jt:unreadable; + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf interface { + description "Include interface name"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + } + } + grouping jsscd-dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile-name { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + grouping jsscd-group-type { + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf upto { + description "Interface up to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + } + grouping jsscd-service-profile-type { + description "Service profile for static subscribers"; + uses apply-advanced; + leaf service-profile-name { + description "Service profile name"; + type string { + length "1 .. 80"; + } + } + } + grouping juniper-bridge-domains { + description "Bridge domains"; + leaf name { + description "Bridge domain name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of bridge domain"; + type string { + } + } + leaf domain-type { + description "Type of bridge domain"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + case case_3 { + leaf-list vlan-id-list { + description "Create bridge-domain for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Create bridge-domain for isid (Valid isid:256..16777214)"; + type string; + } + leaf vlan-id-scope-local { + description "Enable the scope of vlan-id local to avoid transmitting vlan tagged packets"; + type empty; + } + leaf service-id { + description "Service id required if bridge-domain is of type MC-AE and vlan-id all or vlan-id none or vlan-tags"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf domain-id { + description "Domain-id for auto derived Route Target"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this bridge domain"; + type empty; + } + leaf mcae-mac-flush { + description "Enable MCAE MAC flush in a/s mode for a bridge domain on MCAE link up"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + leaf enable-mac-move-action { + description "Enable blocking action due to mac-move in this Bridge Domain"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface name for this bridge domain"; + leaf name { + type string; + } + uses apply-advanced; + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this bridge-domain"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-bridge-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container bridge-options { + description "Bridge domain configuration"; + uses juniper-protocols-bd; + } + container protocols { + presence "enable protocols"; + uses apply-advanced; + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-bd-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-bd-protocols-mld-snooping; + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf isolated-vlan { + description "Isolated VLAN ID for private vlan bridge domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list community-vlans { + description "List of Community VLANs for private vlan bridge domain"; + type jt:vlan-range; + } + } + grouping juniper-bd-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bd-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bridge-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for bridge forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for bridge flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for bridge flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "Dynamic ARP Inspection configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-forwarding-options { + uses apply-advanced; + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + choice sampling-or-packet-capture { + case case_1 { + container sampling { + description "Statistical traffic sampling options"; + uses juniper-sampling-options; + } + } + case case_2 { + container packet-capture { + description "Packet capture options"; + uses juniper-packet-capture-options; + } + } + } + list accounting { + key name; + description "Configure accounting of traffic"; + uses juniper-packet-accounting-options; + } + container port-mirroring { + description "Configure port mirroring of traffic"; + uses juniper-port-mirror-options; + } + container load-balance { + description "Configure load-balancing attributes on the forwarding path"; + uses apply-advanced; + container indexed-load-balance { + presence "enable indexed-load-balance"; + description "Use indexed permuted next hop lists for unilist and aggregate next hops"; + uses apply-advanced; + } + container per-flow { + uses apply-advanced; + } + container per-prefix { + presence "enable per-prefix"; + uses apply-advanced; + leaf hash-seed { + description "Specifies per-router input value for per-prefix load-balancing hash function"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + } + } + container hash-key { + description "Select data used in the hash key"; + uses junos_hash_key; + } + container enhanced-hash-key { + description "Select data used in the hash key for Enhanced IP Forwarding Engines"; + uses apply-advanced; + container hash-seed { + presence "enable hash-seed"; + description "Hash seed"; + uses apply-advanced; + } + container services-loadbalancing { + description "Select key to load balance across service PICs"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf src-prefix-len { + description "Enhanced hash key inet6 source prefix length"; + default "127"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "56 .. 127"; + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf type-of-service { + description "Include TOS byte in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf l2tp-tunnel-session-identifier { + description "Include TID SID in the hash key for L2TP packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class byte in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + leaf label-1-exp { + description "Include EXP of first MPLS label from the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + choice pseudowire_option { + case case_1 { + leaf no-ether-pseudowire { + description "Omit IP payload over ethernet PW from the hash-key"; + type empty; + } + } + case case_2 { + } + } + leaf no-payload { + description "Omit MPLS payload data from the hash key"; + type empty; + } + } + container multiservice { + description "Multiservice protocol (bridged/CCC/VPLS) family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in hash key"; + type empty; + } + leaf outer-priority { + description "Include Outer 802.1 Priority bits in the hash key"; + type empty; + } + leaf no-payload { + description "Omit payload data from the hash key"; + type empty; + } + leaf no-mac-addresses { + description "Omit source and destination MAC addresses from the hash key"; + type empty; + } + } + } + } + container next-hop { + description "Next hop throttle"; + uses apply-advanced; + leaf arp-throttle { + description "Change the arp throttling time(seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 100"; + } + } + } + leaf arp-detect { + description "Change the arp throttling detect time(milliseconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100000"; + } + } + } + } + container multicast { + description "Multicast resolve and mismatch rate"; + uses apply-advanced; + leaf resolve-rate { + description "Multicast resolve rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf mismatch-rate { + description "Multicast interface mismatch rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + } + container explicit-null-cos { + presence "enable explicit-null-cos"; + description "Configure to use MPLS explicit null exp for COS classification"; + uses apply-advanced; + leaf inet { + description "Include family inet"; + type empty; + } + leaf inet6 { + description "Include family inet6"; + type empty; + } + } + container helpers { + description "Port forwarding configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of UDP forwarding helper process on which to enable debugging output"; + leaf name { + type enumeration { + enum "trace" { + description "Trace tracing code"; + } + enum "address" { + description "Trace address management code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "util" { + description "Trace miscellaneous utility code"; + } + enum "gencfg" { + description "Trace fud gencfg message"; + } + enum "domain" { + description "Trace DNS service-specific code"; + } + enum "tftp" { + description "Trace TFTP service-specific code"; + } + enum "bootp" { + description "Trace BOOTP/DHCP service-specific code"; + } + enum "port" { + description "Trace arbitrary protocol code"; + } + enum "if-rtsdb" { + description "Trace interface hierarchy rtsdb"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + container rtsdb-client-traceoptions { + presence "enable rtsdb-client-traceoptions"; + description "SHM rtsock database client library trace options"; + status deprecated; + uses apply-advanced; + container if-rtsdb { + presence "enable if-rtsdb"; + description "Trace interface hierarchy rtsdb"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "map" { + description "Trace shared memory mapping"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container domain { + description "Incoming DNS request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming DNS request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container tftp { + description "Incoming TFTP request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming TFTP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container bootp { + description "Incoming BOOTP/DHCP request forwarding configuration"; + uses apply-advanced; + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vpn { + description "Enable vpn encryption "; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on all interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Incoming BOOTP/DHCP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vpn { + description "Enable vpn encryption "; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on this interface"; + type empty; + } + } + } + list port { + key name; + ordered-by user; + description "Incoming arbitrary protocol request forwarding configuration"; + leaf name { + description "Port number of the protocol to listen"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container inet6 { + description "IPv6 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + leaf source-checking { + description "Discard IPv6 packet when source address type is unspecified, loopback, multicast or link-local "; + type empty; + } + } + container mpls { + description "MPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container vpls { + description "VPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for VPLS DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for VPLS flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for VPLS flood packets"; + type string; + } + } + } + container evpn { + description "EVPN parameters"; + uses apply-advanced; + container filter { + description "Filtering for EVPN DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for EVPN flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for EVPN flood packets"; + type string; + } + } + } + } + list next-hop-group { + key name; + description "Next hop group forwarding option"; + uses juniper-next-hop-group-options; + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + choice load-balance-label-capability-choice { + leaf load-balance-label-capability { + description "Load balance label capability"; + type empty; + } + leaf no-load-balance-label-capability { + description "Don't load balance label capability"; + type empty; + } + } + list ip-options-protocol-queue { + key name; + ordered-by user; + description "IP Options protocol logical queue parameters"; + leaf name { + description "Protocol name"; + type string; + } + uses apply-advanced; + leaf protocol-id { + description "Protocol Identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + leaf queue-depth { + description "Size of the protocol logical options queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 807"; + } + } + } + } + container access-security { + description "Access security configuration"; + uses jdhcp-access-security-type; + } + } + grouping jdhcp-access-security-type { + description "Access security configuration"; + uses apply-advanced; + container router-advertisement-guard { + presence "enable router-advertisement-guard"; + description "Router Advertisement Guard Configuration"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Router Advertisement Guard policy"; + leaf name { + description "Router Advertisement Guard policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container discard { + description "Discard parameters"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + } + container accept { + description "Accept parameters"; + uses apply-advanced; + container match-list { + description "List of parameters to check"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + leaf match-criteria { + description "Match Criteria"; + type enumeration { + enum "match-all" { + description "A match from every list"; + } + enum "match-any" { + description "A match from any list"; + } + } + } + } + container match-options { + presence "enable match-options"; + description "List of Options to check"; + uses apply-advanced; + container hop-limit { + description "Hop limit"; + uses apply-advanced; + leaf maximum { + description "Maximum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf minimum { + description "Minimum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container route-preference { + description "Accept route preference"; + uses apply-advanced; + leaf maximum { + description "Maximum route preference"; + type enumeration { + enum "low" { + description "Route preference low"; + } + enum "medium" { + description "Route preference medium"; + } + enum "high" { + description "Route preference high"; + } + } + } + } + leaf managed-config-flag { + description "Check Managed config flag"; + type empty; + } + leaf other-config-flag { + description "Check Other config flag"; + type empty; + } + } + } + } + container interface { + description "RA Guard config on Interface"; + uses apply-advanced; + list intf-config { + key name; + description "Interface Configuration"; + uses interface-policy; + } + } + container vlans { + description "RA Guard config on Vlan"; + uses apply-advanced; + list vlan-config { + key name; + description "Virtual LAN Configuration"; + uses vlan-policy; + } + } + } + } + grouping interface-policy { + description "Interface Name"; + leaf name { + description "Interface Name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + container mark-interface { + description "Mark interface"; + uses apply-advanced; + choice mark-intf-type { + case case_1 { + leaf trusted { + description "Mark interface trusted"; + type empty; + } + } + case case_2 { + leaf block { + description "Block router-advertisement"; + type empty; + } + } + } + } + } + grouping juniper-igmp-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-mld-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container host-outbound-traffic { + description "Host generated protocol packets"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + leaf dot1p { + description "Dot1p bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + leaf ignore-stp-topology-change { + description "Don't process stp topology change"; + type empty; + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-next-hop-group-options { + leaf name { + description "Next hop group name"; + type string; + } + uses apply-advanced; + leaf group-type { + description "Next hop group type"; + default "inet"; + type enumeration { + enum "inet" { + description "Group of family inet next-hops"; + } + enum "layer-2" { + description "Layer-2 next-hop group"; + } + enum "inet6" { + description "Group of family inet6 next-hops"; + } + } + } + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses next_hop_group_intf_type; + } + list next-hop-subgroup { + key name; + description "Group of interfaces through which to send sampled traffic"; + uses juniper-next-hop-subgroup-options; + } + } + grouping juniper-next-hop-subgroup-options { + leaf name { + description "Next-hop sub-group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "Interface through which to send the sampled traffic"; + max-elements 16; + uses next_hop_subgroup_intf_type; + } + } + grouping juniper-ospf-authentication { + description "Authentication information"; + uses apply-advanced; + choice authentication-type { + case case_1 { + leaf simple-password { + description "Authentication key"; + type jt:unreadable; + } + } + case case_2 { + list md5 { + key name; + ordered-by user; + description "MD5 authentication key"; + leaf name { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf key { + description "MD5 authentication key value"; + type jt:unreadable; + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + } + } + } + } + grouping juniper-packet-accounting-options { + leaf name { + description "Name for accounting group"; + type string; + } + uses apply-advanced; + container output { + description "Accounting data disposition"; + uses packet_accounting_output_type; + } + } + grouping juniper-packet-capture-options { + description "Packet capture options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable packet-capture"; + type empty; + } + } + } + container file { + description "Parameters for file that contains captured packets"; + leaf filename { + description "Name of file"; + type string { + length "1 .. 900"; + } + } + leaf files { + description "Maximum number of files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read packet-capture files"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read packet-capture files"; + type empty; + } + } + } + leaf maximum-capture-size { + description "Maximum packet size to capture"; + default "68"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "68 .. 1520"; + } + } + } + } + grouping juniper-port-mirror-options { + uses apply-advanced; + container traceoptions { + description "Port-mirroring trace options"; + uses sampling_traceoptions_type; + } + leaf disable { + description "Disable the global port-mirroring instance"; + type empty; + } + leaf disable-all-instances { + description "Disable the all port-mirroring instances"; + type empty; + } + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container any { + description "Mirror any packets"; + uses apply-advanced; + container output { + description "One or more next hops for port-mirrored packets"; + uses any_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of port-mirroring parameters"; + leaf name { + description "Name for port-mirroring instance"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf disable { + description "Disable the this port-mirroring instance"; + type empty; + } + choice input_params_or_instance { + case case_1 { + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + } + case case_2 { + leaf input-parameters-instance { + description "Name of port-mirroring instance to use for input parameters"; + type string; + } + } + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container any { + description "Mirror any packets"; + uses apply-advanced; + container output { + description "One or more next hops for port-mirrored packets"; + uses any_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + } + } + grouping any_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses any_pm_intf_type; + } + } + case case_2 { + } + } + container hosted-service { + description "Configure Hosted Service"; + uses apply-advanced; + leaf server-profile { + description "Server profile name"; + type string { + length "3 .. 32"; + } + } + } + } + grouping any_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping inet_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv4addr; + } + uses apply-advanced; + } + grouping inet_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + grouping inet_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping juniper-protocols-amt { + uses apply-advanced; + container traceoptions { + description "Trace options for AMT"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all AMT packets"; + } + enum "errors" { + description "Trace all error messages"; + } + enum "tunnels" { + description "Trace all AMT tunnel messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container relay { + description "AMT relay"; + presence "enable relay"; + uses juniper-protocols-amt-relay; + } + } + grouping juniper-protocols-amt-relay { + uses apply-advanced; + container family { + presence "enable family"; + description "Protocol family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + leaf anycast-prefix { + description "IPv4 anycast prefix"; + type jt:ipv4prefix; + } + leaf local-address { + description "IPv4 local address"; + type jt:ipv4addr; + } + } + } + leaf secret-key-timeout { + description "Time interval for the secret key to expire"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 1440"; + } + } + } + leaf tunnel-limit { + description "Number of AMT tunnels"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf unicast-stream-limit { + description "Maximum number of AMT unicast streams(s,g,intf)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf accounting { + description "Enable AMT accounting"; + type empty; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating ud interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping juniper-protocols-bd { + description "Bridging configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container traceoptions { + description "Trace options for this bridge domain"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-protocols-esis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for ES-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "esh" { + description "Trace end system hello packets"; + } + enum "ish" { + description "Trace intermediate system hello packets"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf preference { + description "Preference of routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container graceful-restart { + description "ES-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf end-system-configuration-timer { + description "Suggested end system configuration timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS on this interface"; + type empty; + } + } + } + } + } + grouping juniper-protocols-isis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for IS-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "spf" { + description "Trace SPF events"; + } + enum "packets" { + description "Trace IS-IS packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "lsp" { + description "Trace link-state packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "layer2-map" { + description "Trace ARP/ND kernel state manipulation"; + } + enum "lsp-generation" { + description "Trace LSP generation"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "ldp-synchronization" { + description "Trace synchronization between IS-IS and LDP"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "spring" { + description "Trace source packet routing"; + } + enum "traffic-statistics" { + description "Trace traffic-statistics related events"; + } + enum "prefix-sid" { + description "Trace source packet routing, prefix-sids"; + } + enum "adj-sid" { + description "Trace adj-sid related events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + leaf lsp-lifetime { + description "Lifetime of LSPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "350 .. 65535"; + } + } + } + leaf max-lsp-size { + description "Maximum size allowed for LSPs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1492"; + } + } + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf max-snp-size { + description "Maximum size allowed for Sequence Number (Complete/Partial) PDUs"; + default "1400"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1400"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 120000"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf loose-authentication-check { + description "Verify authentication only if PDU has authentication TLV"; + type empty; + } + leaf max-areas { + description "Maximum number of advertised Areas"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 36"; + } + } + } + leaf no-authentication-check { + description "Disable authentication checking"; + type empty; + } + leaf no-ipv4-routing { + description "Disable IPv4 routing"; + type empty; + } + leaf no-ipv6-routing { + description "Disable IPv6 routing"; + type empty; + } + leaf clns-routing { + description "Enable CLNS routing"; + type empty; + } + leaf clns-updown-compatibility { + description "Set the Up/Down Bit in place of the I/E bit in CLNS TLVs"; + type empty; + } + leaf no-adjacency-holddown { + description "Disable adjacency hold down"; + type empty; + } + leaf multicast-topology { + description "Enable multicast topology"; + status deprecated; + type empty; + } + leaf ignore-attached-bit { + description "Ignore the attached bit in Level 1 LSPs"; + type empty; + } + container rib-group { + description "Routing table group for importing IS-IS routes"; + uses rib_group_type; + } + container spf-options { + description "Configure SPF attributes"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf rapid-runs { + description "Number of rapid SPF runs before SPF holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container multipath { + description "Configure multipath options"; + uses apply-advanced; + container weighted { + description "Weighted multipath options"; + uses apply-advanced; + leaf one-hop { + description "Enable load balancing on onehop multipath based on interface bandwidth"; + type empty; + } + } + } + } + container backup-spf-options { + description "Configure backup SPF attributes"; + uses apply-advanced; + leaf per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate Post Convergence Backup Nexthops"; + uses apply-advanced; + leaf maximum-labels { + description "Set maximum number of label supported for post convergence path calculations"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Set maximum equal cost backup post convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + container use-source-packet-routing { + presence "enable use-source-packet-routing"; + description "Use SPRING routed paths for protection"; + uses apply-advanced; + } + } + container topologies { + description "Enable topologies"; + uses apply-advanced; + leaf ipv4-multicast { + description "Enable IPv4-multicast topology"; + type empty; + } + leaf ipv6-unicast { + description "Enable IPv6-unicast topology"; + type empty; + } + leaf ipv6-multicast { + description "Enable IPv6-multicast topology"; + type empty; + } + } + container overload { + presence "enable overload"; + description "Set the overload bit (no transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload bit is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf advertise-high-metrics { + description "Advertise high metrics instead of setting the overload bit"; + type empty; + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + } + container traffic-engineering { + description "Configure traffic engineering attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable traffic engineering"; + type empty; + } + } + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf credibility-protocol-preference { + description "Follow IGP protocol preference for TED protocol credibility"; + type empty; + } + leaf ipv4-multicast-rpf-routes { + description "Install IPv4 routes for multicast RPF checks into inet.2"; + status deprecated; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family specific traffic-engineering attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet-mpls" { + description "IPv4-MPLS family"; + } + enum "inet6-mpls" { + description "IPv6-MPLS family"; + } + } + } + uses apply-advanced; + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into multicast RIB"; + type empty; + } + } + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + status deprecated; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + } + container multipath { + description "Configure label-switched-path multipath behavior"; + uses apply-advanced; + leaf lsp-equal-cost { + description "Include equal cost label-switched-paths"; + type empty; + } + } + } + container graceful-restart { + description "IS-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + container adjacency-segment { + description "Configure attributes for Adjacency Segments in SPRING"; + uses apply-advanced; + leaf hold-time { + description "Duration(ms) for which adjacency segments will be retained after isolating from an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180000 .. 900000"; + } + } + } + } + container sensor-based-stats { + description "Configure sensor based stats in SPRING"; + uses apply-advanced; + container per-interface-per-member-link { + description "Configure sensor based stats per nexthop"; + leaf ingress { + description "Enable sensor based stats on ingress interface"; + type empty; + } + leaf egress { + description "Enable sensor based stats on egress interface"; + type empty; + } + } + container per-sid { + description "Configure sensor based stats per spring route"; + leaf ingress { + description "Enable sensor based stats for per-sid ingress accounting"; + type empty; + } + } + } + container srgb { + description "Set the SRGB global block in SPRING"; + leaf start-label { + description "Start range for SRGB label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf index-range { + description "Index to the SRGB start label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container node-segment { + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set IPv4 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf ipv6-index { + description "Set IPv6 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf index-range { + description "Set Range of Node Segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16385"; + } + } + } + } + container traffic-statistics { + description "Enable support for traffic statistics in SPRING"; + uses apply-advanced; + container statistics-granularity { + description "Granularity for traffic statistics in SPRING"; + uses apply-advanced; + leaf per-interface { + description "Interface Based traffic statistics in SPRING"; + type empty; + } + } + leaf auto-bandwidth { + description "Auto bandwidth name"; + type string; + } + } + leaf explicit-null { + description "Set E and P bits in all Prefix SID advertisements"; + type empty; + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf ldp-stitching { + description "Enable SR to LDP stitching"; + type empty; + } + } + list level { + key name; + ordered-by user; + description "Configure global level attributes"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this level"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf purge-originator { + description "Add Purge Originator information"; + type enumeration { + enum "self" { + description "Add POI only for self-originated purge LSPs"; + } + enum "empty" { + description "Add POI for purge LSPs who do not have POI information"; + } + } + } + leaf no-hello-authentication { + description "Disable authentication for hello packets"; + type empty; + } + leaf no-csnp-authentication { + description "Disable authentication for CSN packets"; + type empty; + } + leaf no-psnp-authentication { + description "Disable authentication for PSN packets"; + type empty; + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf wide-metrics-only { + description "Generate wide metrics only"; + type empty; + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled IS-IS routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix-export-limit { + description "Maximum number of external prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source Packet Routing on this level"; + type empty; + } + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + container auto-bandwidth { + description "Auto bandwidth configuration"; + uses apply-advanced; + leaf template-name { + description "Auto bandwidth template name"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Auto bandwidth on this interface"; + type empty; + } + } + } + } + leaf flood-group { + description "ISO Area that this interface should send LSPs to"; + type string { + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + status deprecated; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-padding-type { + description "Type of padding for hello packets"; + default "loose"; + type enumeration { + enum "strict" { + description "Padding for all adjacency states"; + } + enum "adaptive" { + description "Padding until state of neighbor adjacency is 'up'"; + } + enum "loose" { + description "Padding until state of adjacency is 'initializing'"; + } + enum "disable" { + description "Do not add any padding for hello packets"; + } + } + } + leaf interface-group-holddown-delay { + description "Time to wait before including in BBM calculation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf lsp-interval { + description "Interval between LSP transmissions"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + container csnp-interval { + description "Rate of CSN packets (for LAN interfaces only)"; + choice csnp_interval_option { + case case_1 { + leaf csnp-interval-number { + description "Interval between CSN packets"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + leaf disable { + description "Do not send CSN packets on this interface"; + type empty; + } + } + } + } + container mesh-group { + description "Add the interface to a mesh group"; + choice mesh_group_option { + case case_1 { + leaf mesh-group-number { + description "Mesh group number for this interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf blocked { + description "Do not flood new LSPs on this interface"; + type empty; + } + } + } + } + leaf point-to-point { + description "Treat interface as point to point"; + type empty; + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible for backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run IS-IS, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + leaf checksum { + description "Enable checksum for packets on this interface"; + type empty; + } + leaf no-unicast-topology { + description "Do not include this interface in the unicast topology"; + type empty; + } + leaf no-ipv4-multicast { + description "Do not include this interface in the IPv4 multicast topology"; + type empty; + } + leaf no-ipv6-unicast { + description "Do not include this interface in the IPv6 unicast topology"; + type empty; + } + leaf no-ipv6-multicast { + description "Do not include this interface in the IPv6 multicast topology"; + type empty; + } + leaf no-adjacency-down-notification { + description "Do not inform other protocols about adjacency down events"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list family { + key name; + ordered-by user; + description "Address family specific interface attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS for this level"; + type empty; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Configure backup along post convergence on this interface"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Enable node protection"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + leaf fate-sharing-protection { + description "Enable fate-sharing protection"; + type empty; + } + } + leaf metric { + description "Metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv4-multicast-metric { + description "IPv4 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-unicast-metric { + description "IPv6 unicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-multicast-metric { + description "IPv6 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this level"; + type empty; + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf hello-authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf hello-interval { + description "Interval between hello packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 21845"; + } + } + } + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "Designated router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container passive { + presence "enable passive"; + description "Do not run IS-IS at this level, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + list lan-neighbor { + key name; + ordered-by user; + description "Configuration specific to a LAN neighbor"; + leaf name { + description "Neighbor's sysid"; + type jt:sysid; + } + uses apply-advanced; + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + } + container link-degradation-threshold { + presence "enable link-degradation-threshold"; + description "Link up and down thresholds (in %) for proactive link protection"; + leaf link-down { + description "Signal degradation threshold above which link marked down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf link-up { + description "Signal degradation threshold below which link is marked up."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list interface-group { + key name; + description "Interface grouping configuration"; + leaf name { + description "Interface group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "List interfaces for this group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf weight { + description "Interface weight for adjacency set"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface-group"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + container link-group-protection { + description "Configure link group protection"; + uses apply-advanced; + leaf minimum-bandwidth { + description "Minimum bandwidth to carry traffic"; + type string; + } + leaf revert-bandwidth { + description "Revert bandwidth to carry traffic"; + type string; + } + } + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this label-switched path"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + leaf metric { + description "SPF metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + list context-identifier { + key name; + ordered-by user; + description "Configuration for advertisement of a context-identifier "; + leaf name { + description "Context identifier range"; + type jt:ipprefix; + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this context-identifier"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + } + } + } + grouping juniper-protocols-l2vpn { + description "Layer 2 VPN, VPLS or EVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + choice cword { + case case_1 { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control word on the Layer 2 encapsulation"; + type empty; + } + } + } + leaf site-range { + description "Maximum site identifier in this VPLS domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf bum-hashing { + description "Enable BUM hashing feature in the instance"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf label-block-size { + description "Label block size for this VPLS instance"; + type enumeration { + enum "2" { + description "Label block size of 2"; + } + enum "4" { + description "Label block size of 4"; + } + enum "8" { + description "Label block size of 8"; + } + enum "16" { + description "Label block size of 16"; + } + } + } + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + choice tunnel-services-choice { + case case_1 { + container tunnel-services { + description "Use tunnel services for this VPLS instance"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for this VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf primary { + description "Primary tunnel services device to use for VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + leaf no-tunnel-services { + description "Do not use tunnel services for this VPLS instance"; + type empty; + } + } + } + list site { + key name; + ordered-by user; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + choice site-identifier-mode { + case case_1 { + leaf site-identifier { + description "Layer 2 VPN or VPLS site identifier (unique in the VPN)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + case case_2 { + container automatic-site-id { + presence "enable automatic-site-id"; + description "Enable automatic assignment of site identifier"; + uses apply-advanced; + leaf startup-wait-time { + description "Time to wait at startup before claming a site identifier (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf new-site-wait-time { + description "Time to wait before claiming a site identifier"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf collision-detect-time { + description "Time to wait for detecting a collision"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container reclaim-wait-time { + presence "enable reclaim-wait-time"; + description "Time to wait for reclaiming a site identifier"; + leaf minimum { + description "Minimum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum { + description "Maximum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + leaf source-attachment-identifier { + description "FEC 129 VPWS source attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this site"; + type string; + } + container multi-homing { + presence "enable multi-homing"; + description "Enable multi-homing functionality for this site"; + uses apply-advanced; + leaf hold-time { + description "Enable multi-homing non-designated forwarder hold time (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf site-preference { + description "Layer 2 VPN or VPLS site preference"; + type string; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + list mesh-group { + key name; + ordered-by user; + description "Mesh-groups that are part of this site"; + leaf name { + description "Mesh-group name"; + type string; + } + uses apply-advanced; + } + container active-interface { + description "Configure interface to designate as active"; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf best-site { + description "Activates best-site functionality for this instance"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + leaf community { + description "Community associated with this VPLS instance"; + type string; + } + leaf vpls-id { + description "Identifier for this VPLS instance"; + type string; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor for this VPLS instance"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + list mesh-group { + key name; + description "Mesh-group under this VPLS instance"; + leaf name { + description "Mesh-group name"; + type string { + } + } + uses apply-advanced; + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + choice peer-as-choice { + case case_1 { + container peer-as { + description "Autonomous system of the peer"; + uses apply-advanced; + leaf all { + description "Include peers from all autonomous systems"; + type empty; + } + } + } + } + leaf vpls-id { + description "LDP VPLS Identifier for this mesh-group"; + type string; + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf local-switching { + description "Allow local-switching within interfaces in this mesh-group"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor belonging to this mesh-group"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + leaf-list vpls-id-list { + ordered-by user; + description "LDP VPLS Identifier list for this neighbor"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + list interface { + key name; + description "Interfaces belonging to this flood group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container route-distinguisher { + description "Route distinguisher for this mesh-group"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + } + leaf connectivity-type { + description "Specify type of interface sufficient to bring vpls connection up"; + type enumeration { + enum "ce" { + description "CE interface is required"; + } + enum "irb" { + description "IRB interface is sufficient"; + } + enum "permanent" { + description "Pseudowire permanently up"; + } + } + } + list import-labeled-routes { + key name; + ordered-by user; + description "Import ingress label route to instance.mpls.0 from mpls.0"; + leaf name { + description "Routing instance name where label route has to be imported"; + type string; + } + } + container multi-homing { + description "Multi-homing configuration for FEC129 VPLS"; + uses apply-advanced; + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + list site { + key name; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + leaf identifier { + description "Layer 2 VPN or VPLS multi-homing identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference"; + type string; + } + container active-interface { + description "Configure interface to designate as active"; + uses apply-advanced; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connects this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference for the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + } + } + container evi-options { + description "EVI options"; + uses juniper-protocols-evi-options; + } + leaf p2mp-bud-support { + description "Enable EVPN to act as P2MP transit and egress PE (bud)"; + type empty; + } + leaf pbb-evpn-core { + description "Configure PBB EVPN core"; + type empty; + } + leaf label-allocation { + description "Label allocation policy"; + type enumeration { + enum "per-instance" { + description "Allocate one label for the entire instance"; + } + } + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf evpn-etree { + description "Evpn etree mode"; + type empty; + } + leaf igmp-id { + description "EVPN IGMP Identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf designated-forwarder-preference-least { + description "Use least preference in DF election"; + type empty; + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + choice extended-attributes { + case case_1 { + leaf-list extended-vlan-list { + description "List of VLAN identifiers that are to be EVPN extended"; + type jt:vlan-range; + } + } + case case_2 { + leaf-list extended-vni-list { + description "List of VNI identifiers (1..16777214) or all, that are to be EVPN extended"; + type string; + } + } + case case_3 { + leaf-list extended-isid-list { + description "Configure list of isids or all for extending to PBB EVPN"; + type string; + } + } + } + container vni-options { + description "VNI options"; + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + container ip-prefix-routes { + presence "enable ip-prefix-routes"; + description "Advertise IP prefixes through EVPN"; + uses apply-advanced; + leaf advertise { + description "Advertisement attributes for IP prefixes"; + type enumeration { + enum "gateway-address" { + description "Advertise a gateway address in exported IP prefix routes"; + } + enum "direct-nexthop" { + description "Advertise a direct nexthop in exported IP prefix routes"; + } + } + } + leaf gateway-interface { + description "Gateway interface used when gateway address is advertised"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf encapsulation { + description "Encapsulation used for IP prefixes"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf vni { + description "VXLAN network identifier used for IP prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777214"; + } + } + } + leaf-list import { + ordered-by user; + description "Policy to control import of IP prefixes from EVPN"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Policy to control export of IP prefixes through EVPN"; + type jt:policy-algebra; + } + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + } + leaf default-gateway { + description "Default gateway mode"; + type enumeration { + enum "advertise" { + description "Advertise IRB MACs with default gateway community"; + } + enum "no-gateway-community" { + description "Advertise IRB MACs without default gateway community"; + } + enum "do-not-advertise" { + description "Do not advertise IRB MACs"; + } + } + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + container duplicate-mac-detection { + description "Duplicate MAC detection settings"; + uses apply-advanced; + leaf detection-threshold { + description "Number of moves to trigger duplicate MAC detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + leaf detection-window { + description "Time window for detection of duplicate MACs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + leaf auto-recovery-time { + description "Automatically unblock duplicate MACs after a time delay"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 360"; + } + } + } + } + choice flexible-cross-connect-type { + case case_1 { + leaf flexible-cross-connect-vlan-aware { + description "Enable EVPN flexible cross-connect VLAN aware Service"; + type empty; + } + } + case case_2 { + leaf flexible-cross-connect-vlan-unaware { + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + type empty; + } + } + } + leaf auto-service-id { + description "Enable auto-derivation of VPWS service instance identifier"; + type empty; + } + leaf hot-standby-on { + description "Activate evpn vpws upon becoming DF"; + type empty; + } + list group { + key name; + ordered-by user; + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + leaf name { + description "Group name to group vlan unaware cross connects"; + type string; + } + uses apply-advanced; + container esi { + presence "enable esi"; + description "ESI configuration to group vlan unaware cross connects"; + uses apply-advanced; + leaf identifier { + description "ESI value for grouping of vlan unaware cross connects"; + type jt:esi; + } + } + list interface { + key name; + ordered-by user; + description "Name of the interface part of vlan unaware fxc"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container service-id { + presence "enable service-id"; + description "Service-id for vlan unaware cross connects for EVPN VPWS"; + uses apply-advanced; + leaf local { + description "Local service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + } + } + grouping juniper-protocols-evi-options { + uses apply-advanced; + list isid { + key name; + description "Per-evi options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "256 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-ldp { + uses apply-advanced; + container traceoptions { + description "Trace options for LDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace LDP state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "packets" { + description "Trace all LDP packets"; + } + enum "periodic" { + description "Trace periodic (hello and keepalive) packets"; + } + enum "initialization" { + description "Trace initialization packets"; + } + enum "notification" { + description "Trace notification packets"; + } + enum "address" { + description "Trace address packets"; + } + enum "label" { + description "Trace label packets"; + } + enum "binding" { + description "Trace label binding state"; + } + enum "path" { + description "Trace label path state"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "link-protection" { + description "Trace link protection events"; + } + enum "p2mp-nsr-synchronization" { + description "Trace p2mp NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses ldp_filter_obj; + } + } + } + container traffic-statistics { + description "Collect statistics for LDP label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + leaf no-penultimate-hop { + description "No penultimate hop statistics collection"; + type empty; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable the graceful restart helper capability"; + type empty; + } + leaf recovery-time { + description "Time required for recovery"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1800"; + } + } + } + leaf maximum-neighbor-recovery-time { + description "Maximum time stale mappings are maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "140 .. 1900"; + } + } + } + leaf reconnect-time { + description "Time required to reestablish session after graceful restart"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf maximum-neighbor-reconnect-time { + description "Maximum reconnect time allowed from a restarting neighbor"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container auto-targeted-session { + presence "enable auto-targeted-session"; + description "Configure auto targeted session parameters for rLFA only"; + uses apply-advanced; + leaf teardown-delay { + description "Auto targeted session tear down delay"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf maximum-sessions { + description "Auto targeted maximum sessions"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + leaf preference { + description "Route preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-forwarding { + description "Do not use LDP ingress routes for forwarding"; + type empty; + } + leaf rib-group { + description "Routing table group for importing ingress routes"; + type string; + } + leaf l2-smart-policy { + description "Do not export or import Layer 3 FECs for Layer 2 sessions"; + type empty; + } + leaf track-igp-metric { + description "Track the IGP metric"; + type empty; + } + leaf strict-targeted-hellos { + description "Do not send targeted hellos to unconfigured neighbors"; + type empty; + } + container longest-match { + presence "enable longest-match"; + description "Configure longest match"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Longest match import policy"; + type jt:policy-algebra; + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list egress-policy { + ordered-by user; + description "Configure LSP egress policy"; + type jt:policy-algebra; + } + leaf-list dod-request-policy { + ordered-by user; + description "Configure DoD label request policy"; + type jt:policy-algebra; + } + container next-hop { + description "LDP next-hop control"; + uses apply-advanced; + container merged { + description "Merged next hop"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Merged next-hop policy"; + type jt:policy-algebra; + } + } + container no-rsvp-tunneling { + description "No rsvp tunneling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "No rsvp tunneling next-hop policy"; + type jt:policy-algebra; + } + } + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + choice deaggregate-choice { + leaf deaggregate { + description "Deaggregate FECs into separate labels"; + type empty; + } + leaf no-deaggregate { + description "Don't deaggregate FECs into separate labels"; + type empty; + } + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label for egress FECs"; + type empty; + } + leaf label-withdrawal-delay { + description "Delay label withdrawal for FECs to avoid label churn"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + container make-before-break { + presence "enable make-before-break"; + description "Configure make before break"; + uses apply-advanced; + leaf timeout { + description "Make before break timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf switchover-delay { + description "Make before break switchover delay"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container transport-address { + description "Address used for TCP sessions"; + choice address-choice { + case case_1 { + leaf router-id { + description "Use router ID for TCP connections"; + type empty; + } + } + case case_2 { + leaf interface { + description "Use interface address for TCP connections"; + type empty; + } + } + case case_3 { + leaf address { + description "Use specified address for TCP connections"; + type jt:ipaddr; + } + } + } + } + leaf keepalive-interval { + description "Keepalive interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keepalive-timeout { + description "Keepalive timeout (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list interface { + key name; + description "Enable LDP on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP on this interface"; + type empty; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hello hold time (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection to protect interface for link faults only"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link-protection"; + type empty; + } + } + } + leaf dynamic-rsvp-lsp { + description "Enable setup of dynamic rsvp lsp for link protection"; + type empty; + } + } + leaf transport-address { + description "Address used for TCP sessions"; + type enumeration { + enum "router-id" { + description "Use router ID for TCP connections"; + } + enum "interface" { + description "Use interface address for TCP connections"; + } + } + } + choice allow-subnet-mismatch-choice { + leaf allow-subnet-mismatch { + description "Allow subnet mismatch for source address in hello packet"; + type empty; + } + leaf no-allow-subnet-mismatch { + description "Don't allow subnet mismatch for source address in hello packet"; + type empty; + } + } + } + list neighbor { + key name; + description "Configure a remote LDP neighbor"; + leaf name { + description "Neighbor address"; + type jt:ipaddr; + } + uses apply-advanced; + } + list session { + key name; + description "Configure session parameters"; + leaf name { + description "Session destination address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + list session-group { + key name; + description "Configure session group parameters"; + leaf name { + description "Session destination address/prefix length"; + type jt:ipprefix; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + container session-protection { + presence "enable session-protection"; + description "Configure session protection"; + leaf timeout { + description "Session protection timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container igp-synchronization { + description "Configure IGP synchronization parameters"; + uses apply-advanced; + leaf holddown-interval { + description "Time to hold the up notification to the IGPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + container trap { + description "SNMP traps options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP LSP up/down trap"; + type empty; + } + } + } + } + } + container policing { + description "Configure policing for an LDP FEC"; + uses apply-advanced; + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf ingress-traffic { + description "Name of filter to use for policing ingress LDP traffic"; + type string { + } + } + leaf transit-traffic { + description "Name of filter to use for policing transit LDP traffic"; + type string { + } + } + } + } + container entropy-label { + description "Insert entropy label for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "Entropy label ingress policy"; + type jt:policy-algebra; + } + } + container oam { + description "Configure periodic OAM for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "OAM ingress policy"; + type jt:policy-algebra; + } + leaf-list bfd-port-egress-policy { + ordered-by user; + description "OAM egress policy"; + type jt:policy-algebra; + } + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice bfd_liveness_detection_type { + case case_1 { + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + } + case case_2 { + leaf no-bfd-liveness-detection { + description "Disable BFD liveness detection"; + type empty; + } + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + leaf disable { + description "Disable periodic traceroute for a FEC"; + type empty; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + } + container targeted-hello { + description "Configure targeted hello parameters"; + uses apply-advanced; + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hold interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Advertise P2MP capability to peers"; + uses apply-advanced; + container recursive { + description "Configure P2MP recursive parameters"; + uses apply-advanced; + leaf route { + description "Allow recursive route resolution to signal P2MP FEC"; + type empty; + } + } + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + list lsp-id { + key name; + description "Configure the generic LSP identifier"; + leaf name { + description "Generic LSP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + leaf no-rsvp-tunneling { + description "Do not allow LDP P2MP to use RSVP-TE LSPs for tunneling"; + type empty; + } + } + container sr-mapping-client { + presence "enable sr-mapping-client"; + description "Enable LDP to SR mapping-client functionality"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "SR mapping-client policy"; + type jt:policy-algebra; + } + } + leaf upstream-label-assignment { + description "Allow Upstream Label Assignment capability"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + } + leaf transport-preference { + description "TCP transport preference"; + type enumeration { + enum "ipv4" { + description "Use IPv4 for TCP connections"; + } + enum "ipv6" { + description "Use IPv6 for TCP connections"; + } + } + } + container dual-transport { + presence "enable dual-transport"; + description "Use separate IPv4 and IPv6 TCP transport"; + uses apply-advanced; + leaf inet-lsr-id { + description "LSR identifier for address family inet"; + type jt:ipv4addr; + } + leaf inet6-lsr-id { + description "LSR identifier for address family inet6"; + type jt:ipv4addr; + } + } + } + grouping juniper-protocols-mpls { + description "Multiprotocol Label Switching options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS"; + type empty; + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list pce-controlled-lsp { + key name; + ordered-by user; + description "Template for externally provisioned LSP using regular expression"; + leaf name { + description "Template regular expression"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + } + } + container path-mtu { + presence "enable path-mtu"; + description "Path MTU configuration"; + uses apply-advanced; + leaf allow-fragmentation { + description "If needed, fragment IP before encapsulating in MPLS"; + type empty; + } + container rsvp { + presence "enable rsvp"; + description "RSVP-specific path MTU options"; + uses apply-advanced; + leaf mtu-signaling { + description "Enable RSVP path MTU signaling"; + type empty; + } + } + } + container diffserv-te { + description "Global diffserv-traffic-engineering options"; + uses apply-advanced; + leaf bandwidth-model { + description "Bandwidth constraint model supported"; + type enumeration { + enum "extended-mam" { + description "Maximum allocation model with support for E-LSPs"; + } + enum "mam" { + description "Maximum allocation model"; + } + enum "rdm" { + description "Russian dolls model"; + } + } + } + container te-class-matrix { + description "Supported combinations of traffic-class and preemption"; + uses apply-advanced; + container te0 { + description "Definition for traffic-engineering class te0"; + uses te-class-object; + } + container te1 { + description "Definition for traffic-engineering class te1"; + uses te-class-object; + } + container te2 { + description "Definition for traffic-engineering class te2"; + uses te-class-object; + } + container te3 { + description "Definition for traffic-engineering class te3"; + uses te-class-object; + } + container te4 { + description "Definition for traffic-engineering class te4"; + uses te-class-object; + } + container te5 { + description "Definition for traffic-engineering class te5"; + uses te-class-object; + } + container te6 { + description "Definition for traffic-engineering class te6"; + uses te-class-object; + } + container te7 { + description "Definition for traffic-engineering class te7"; + uses te-class-object; + } + } + } + container auto-policing { + description "Automatic policing of LSPs"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + type enumeration { + enum "all" { + description "All forwarding classes"; + } + enum "ct0" { + description "Forwarding class 0"; + } + enum "ct1" { + description "Forwarding class 1"; + } + enum "ct2" { + description "Forwarding class 2"; + } + enum "ct3" { + description "Forwarding class 3"; + } + } + } + uses apply-advanced; + choice policing-action { + case case_1 { + leaf drop { + description "Drop packets if bandwidth is exceeded"; + type empty; + } + } + case case_2 { + leaf loss-priority-high { + description "Set loss priority to high if bandwidth is exceeded"; + type empty; + } + } + case case_3 { + leaf loss-priority-low { + description "Set loss priority to low if bandwidth is exceeded"; + type empty; + } + } + } + } + } + container statistics { + description "Collect statistics for signaled label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + presence "enable file"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf auto-bandwidth { + description "Enable auto bandwidth allocation"; + type empty; + } + leaf no-transit-statistics { + description "Disable transit LSP statistics collection"; + type empty; + } + choice transit-polling-type { + case case_1 { + leaf no-transit-statistics-polling { + description "Disable polling and display of transit lsp statistics"; + status deprecated; + type empty; + } + } + case case_2 { + leaf transit-statistics-polling { + description "Enable polling and display of transit lsp statistics"; + type empty; + } + } + } + leaf statistics-query-batch-size { + description "Number of LSPs for which statistics will be queried together"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 25"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Send syslog messages"; + type empty; + } + leaf no-syslog { + description "Don't send syslog messages"; + type empty; + } + } + choice trap-choice { + case case_1 { + leaf trap { + description "Send SNMP traps"; + type empty; + } + } + case case_2 { + container no-trap { + presence "enable no-trap"; + description "Don't send SNMP traps"; + uses apply-advanced; + leaf mpls-lsp-traps { + description "Dont send mpls lsp up/down traps"; + type empty; + } + leaf rfc3812-traps { + description "Dont send rfc3812 traps"; + type empty; + } + } + } + } + leaf trap-path-down { + description "Send SNMP traps when a path goes down"; + type empty; + } + leaf trap-path-up { + description "Send SNMP traps when a path goes up"; + type empty; + } + } + container optimize-adaptive-teardown { + description "Post make before break adaptive teardown"; + uses apply-advanced; + leaf p2p { + description "Turn on post make before break adaptive teardown for p2p"; + type empty; + } + leaf timeout { + description "Timeout for adaptive teardown to clean up LSP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-engineering control"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf bgp { + description "BGP destinations only"; + type empty; + } + } + case case_2 { + leaf bgp-igp { + description "BGP and IGP destinations"; + type empty; + } + } + case case_3 { + leaf bgp-igp-both-ribs { + description "BGP and IGP destinations with routes in both routing tables"; + type empty; + } + } + case case_4 { + leaf mpls-forwarding { + description "Use MPLS routes for forwarding, not routing"; + type empty; + } + } + } + container database { + description "Traffic engineering database"; + uses apply-advanced; + container import { + description "Configure TED import parameters"; + uses apply-advanced; + container igp-topology { + presence "enable igp-topology"; + description "Download IGP topology into RIB"; + uses apply-advanced; + leaf bgp-link-state { + description "Export IGP topology, instead of TE topology, into BGP-LS"; + type empty; + } + } + leaf-list policy { + ordered-by user; + description "Configure import policy"; + type jt:policy-algebra; + } + leaf identifier { + description "BGP-TE identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "2 .. 18446744073709551615"; + } + } + } + leaf bgp-ls-identifier { + description "BGP-TE domain identifier"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container export { + description "Configure TED export related parameters"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + container credibility { + description "TED credibility value for entries from BGP-TE"; + uses apply-advanced; + leaf unknown { + description "Entries sourced from unknown entities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf direct { + description "Entries sourced from directly connected links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf static { + description "Entries sourced from static configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf ospf { + description "Entries sourced from ospf"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-1 { + description "Entries sourced from ISIS Level 1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-2 { + description "Entries sourced from ISIS Level 2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + } + } + } + } + container traceoptions { + description "Trace options for MPLS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "connection" { + description "Trace CCC activity"; + } + enum "connection-detail" { + description "Trace CCC activity in detail"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "lsping" { + description "Trace LSP ping packets received"; + } + enum "graceful-restart" { + description "Trace graceful-restart-related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-synchronization-detail" { + description "Trace NSR synchronization events in detail"; + } + enum "static" { + description "Trace static label-switched path"; + } + enum "egress-protection" { + description "Trace egress protection events"; + } + enum "all" { + description "Trace everything"; + } + enum "autobw-state" { + description "Trace autobandwidth events in mpls trace"; + } + enum "externally-controlled-lsp" { + description "Trace externally controlled LSP events in mpls trace"; + } + enum "ted-import" { + description "Trace leaking TED entries into lsdist.0 table"; + } + enum "ted-export" { + description "Trace leaking of entries from lsdist.0 table into TED"; + } + enum "lsp-history" { + description "Trace LSP history events"; + } + enum "abstract-hop" { + description "Trace abstract hop related events"; + } + } + } + } + } + list admin-groups { + key name; + ordered-by user; + description "Administrative groups"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf group-value { + description "Group bit position"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + leaf advertisement-hold-time { + description "Time that an 'LSP down' advertisement will be delayed"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf rsvp-error-hold-time { + description "Time that RSVP PathErr events will be remembered"; + default "25"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 240"; + } + } + } + leaf optimize-aggressive { + description "Run aggressive optimization algorithm based on IGP metric only"; + type empty; + } + leaf smart-optimize-timer { + description "Path optimization interval after a link traversed by the path goes down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-switchover-delay { + description "Delay before switching LSP to newly optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 900"; + } + } + } + leaf no-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label when the router is the egress"; + type empty; + } + leaf ipv6-tunneling { + description "Allow MPLS LSPs to be used for tunneling IPv6 traffic"; + type empty; + } + leaf icmp-tunneling { + description "Allow MPLS LSPs to be used for tunneling ICMP error packets"; + type empty; + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf expand-loose-hop { + description "Perform CSPF path computation to expand loose hops"; + type empty; + } + leaf mib-mpls-show-p2mp { + description "Show p2mp tunnels entries in mpls mib walk"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + list label-switched-path { + key name; + ordered-by user; + description "Label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS label-switched path"; + type empty; + } + } + } + container traceoptions { + description "Trace options for MPLS label-switched path"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + leaf backup { + description "Use LSP for IGP backup"; + type empty; + } + leaf from { + description "Address of ingress router"; + type jt:ipv4addr; + } + container pop-and-forward { + presence "enable pop-and-forward"; + description "Enable LSP as pop-and-forward with auto-delegation"; + } + choice label-switched-path-or-template { + case case_1 { + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + } + case case_2 { + leaf template { + description "Template for dynamic lsp paramaters"; + type empty; + } + } + } + leaf corouted-bidirectional { + description "Setup the LSP as a corouted bidirectional LSP"; + type empty; + } + leaf corouted-bidirectional-passive { + description "Associate LSP with incoming corouted bidirectional LSP"; + type empty; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf ldp-tunneling { + description "Allow LDP to use this LSP for tunneling"; + type empty; + } + leaf soft-preemption { + description "Attempt make-before-break service while preempting this LSP"; + type empty; + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf retry-timer { + description "Time before retrying the primary path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf retry-limit { + description "Maximum number of times to retry primary path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container lsp-attributes { + description "Attributes for generalized LSP"; + uses apply-advanced; + leaf signal-bandwidth { + description "Signal bandwidth for the LSP"; + type enumeration { + enum "ds1" { + description "1.544 Mbps"; + } + enum "vt1-5" { + description "1.728 Mbps"; + } + enum "e1" { + description "2.048 Mbps"; + } + enum "vt2" { + description "2.304 Mbps"; + } + enum "ethernet" { + description "10 Mbps"; + } + enum "e3" { + description "34.368 Mbps"; + } + enum "ds3" { + description "44.736 Mbps"; + } + enum "sts-1" { + description "51.84 Mbps"; + } + enum "fastether" { + description "100.00 Mbps"; + } + enum "stm-1" { + description "155.52 Mbps"; + } + enum "stm-4" { + description "622.08 Mbps"; + } + enum "gigether" { + description "1000.00 Mbps"; + } + enum "stm-16" { + description "2488.32 Mbps"; + } + enum "stm-64" { + description "9953.28 Mbps"; + } + enum "10gigether" { + description "10000.00 Mbps"; + } + enum "stm-256" { + description "39813.12 Mbps"; + } + enum "100gige" { + description "100000.00 Mbps"; + } + } + } + leaf switching-type { + description "LSP switching type desired"; + type enumeration { + enum "psc-1" { + description "Packet switching"; + } + enum "lambda" { + description "Lambda switching"; + } + enum "fiber" { + description "Fiber switching"; + } + enum "tdm" { + description "TDM switching"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN switching"; + } + } + } + leaf encoding-type { + description "LSP encoding type desired"; + type enumeration { + enum "packet" { + description "Packet encoding"; + } + enum "ethernet" { + description "Ethernet encoding"; + } + enum "pdh" { + description "PDH encoding"; + } + enum "sonet-sdh" { + description "SONET-SDH encoding"; + } + } + } + leaf gpid { + description "Generalized PID"; + type enumeration { + enum "ipv4" { + } + enum "ethernet" { + } + enum "ppp" { + } + enum "hdlc" { + } + enum "pos-no-scrambling-crc-16" { + } + enum "pos-no-scrambling-crc-32" { + } + enum "pos-scrambling-crc-16" { + } + enum "pos-scrambling-crc-32" { + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + leaf self-ping-duration { + description "Duration over which to run self-ping (65535 = until success). Default = 1800s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf no-self-ping { + description "Do not run self-ping for this LSP"; + type empty; + } + choice cspf-attribute { + case case_1 { + leaf random { + description "Randomly select among equal-cost paths"; + type empty; + } + } + case case_2 { + leaf least-fill { + description "Select the least filled among equal-cost paths"; + type empty; + } + } + case case_3 { + leaf most-fill { + description "Select the most filled among equal-cost paths"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + choice lp-type { + case case_1 { + leaf link-protection { + description "Protect LSP from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect LSP from both link and node faults"; + type empty; + } + } + } + leaf intra-domain { + description "Intra-domain LSP"; + status deprecated; + type empty; + } + leaf inter-domain { + description "Inter-domain LSP"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + container fast-reroute { + presence "enable fast-reroute"; + description "Fast reroute"; + uses apply-advanced; + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + choice bw-attribute { + case case_1 { + leaf bandwidth { + description "Bandwidth to reserve (bps)"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Percentage of main path bandwidth to reserve"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + } + } + choice include_any_or_no_include_any { + case case_1 { + leaf no-include-any { + description "Disable include-any checking"; + type empty; + } + } + case case_2 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include_all_or_no_include_all { + case case_1 { + leaf no-include-all { + description "Disable include-all checking"; + type empty; + } + } + case case_2 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude_or_no_exclude { + case case_1 { + leaf no-exclude { + description "Disable exclude checking"; + type empty; + } + } + case case_2 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Point-to-multipoint label-switched path"; + leaf path_name { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Do auto bandwidth allocation for this LSP"; + uses apply-advanced; + leaf adjust-interval { + description "Time to adjust LSP bandwidth"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf adjust-threshold { + description "Percentage change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50"; + } + } + } + leaf adjust-threshold-absolute { + description "Change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "bps"; + type string; + } + leaf adjust-threshold-activate-bandwidth { + description "Adjusts signaled bw if greater than this value"; + units "bps"; + type string; + } + leaf minimum-bandwidth { + description "Minimum LSP bandwidth"; + units "bps"; + type string; + } + leaf maximum-bandwidth { + description "Maximum LSP bandwidth"; + units "bps"; + type string; + } + leaf minimum-bandwidth-adjust-interval { + description "Duration for which minimum bandwidth will be frozen"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 31536000"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-change { + description "Change in max average bandwidth to freeze min bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-value { + description "Freeze min bandwidth if max average bandwidth falls below this bw"; + status deprecated; + units "bps"; + type string; + } + leaf monitor-bandwidth { + description "Monitor LSP bandwidth without adjustments"; + type empty; + } + leaf adjust-threshold-overflow-limit { + description "Number of consecutive overflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf adjust-threshold-underflow-limit { + description "Number of consecutive underflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf resignal-minimum-bandwidth { + description "Resignal the LSP using minimum-bandwidth"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this LSP"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + container associate-lsp { + description "Associate the LSP for OAM"; + uses apply-advanced; + leaf lsp-name { + description "Name of assocation LSP"; + type string { + } + } + leaf from { + description "Address of ingress router of associated LSP"; + type jt:ipv4addr; + } + } + list primary { + key name; + ordered-by user; + description "Preferred path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + list secondary { + key name; + ordered-by user; + description "Backup path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + leaf associate-backup-pe-groups { + description "Associate this LSP with backup-pe groups"; + type empty; + } + leaf egress-protection { + description "Use this LSP for egress protection data transport"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + list container-label-switched-path { + key name; + ordered-by user; + leaf name { + description "Name of container-lsp"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS container-label-switched path"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf suffix { + description "Suffix to generate names of members of container LSP"; + type string { + } + } + container splitting-merging { + description "Do splitting and merging"; + uses apply-advanced; + leaf maximum-member-lsps { + description "Maximum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf minimum-member-lsps { + description "Minimum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf splitting-bandwidth { + description "Maximum bandwidth threshold for splitting"; + units "bps"; + type string; + } + leaf merging-bandwidth { + description "Minimum bandwidth threshold for merging"; + units "bps"; + type string; + } + leaf maximum-signaling-bandwidth { + description "Maximum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf minimum-signaling-bandwidth { + description "Minimum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf splitting-merging-threshold { + description "Change in aggregate LSP utilization to trigger splitting or merging"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container normalization { + description "Do normalization"; + uses apply-advanced; + leaf normalize-interval { + description "Time to normalize container LSP"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf failover-normalization { + description "Do pre-mature normalization in case some LSPs go down before next normalization"; + type empty; + } + leaf no-incremental-normalize { + description "Do not normalize unless all LSPs are successfully signaled"; + type empty; + } + leaf normalization-retry-duration { + description "Time before retrying the container LSP normalization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf normalization-retry-limits { + description "Maximum number of times to retry container LSP normalization"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container sampling { + description "Sampling information"; + uses apply-advanced; + leaf cut-off-threshold { + description "Cut-off percentile to remove outliers from aggregate samples"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice sampling-mode { + case case_1 { + leaf use-average-aggregate { + description "Use average of the samples"; + type empty; + } + } + case case_2 { + leaf use-percentile { + description "Use a percentile of the samples"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + } + list transit-lsp-association { + key name; + ordered-by user; + description "Transit label switch path assoication"; + leaf name { + description "Name of transit assocation LSP group"; + type string { + } + } + uses apply-advanced; + leaf lsp-name-1 { + description "Name of assocation LSP 1"; + type string { + } + } + leaf from-1 { + description "Address of associated LSP 1"; + type jt:ipv4addr; + } + leaf lsp-name-2 { + description "Name of assocation LSP 2"; + type string { + } + } + leaf from-2 { + description "Address of associated LSP 2"; + type jt:ipv4addr; + } + } + list path { + key name; + ordered-by user; + description "Route of a label-switched path"; + leaf name { + description "Name of label-switched path"; + type string { + } + } + uses apply-advanced; + list path-list { + key name; + ordered-by user; + description "List of routers in the label-switched path"; + leaf name { + description "Address of next system in path"; + type string { + } + } + leaf abstract { + description "Next system in path is abstract"; + type empty; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf loose-link { + description "Next hop link might not be adjacent"; + type empty; + } + } + case case_3 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + } + list static-label-switched-path { + key name; + ordered-by user; + description "Static label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice lsp-type { + case case_1 { + container bypass { + description "Bypass ingress label-switched path"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf next-table { + description "Next-table for lookup"; + type string; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipaddr; + } + } + } + case case_2 { + list transit { + key name; + ordered-by user; + description "Transit label-switched path"; + leaf name { + description "Incoming label value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf member-interface { + description "AE member interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap top label with this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the top label"; + type empty; + } + } + case case_3 { + leaf stitch { + description "Swap top label with the resolved LSP"; + type empty; + } + } + } + } + } + case case_3 { + container ingress { + description "Ingress LSR configuration for a static LSP"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipv4prefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + } + } + case case_4 { + container segment { + description "Segment for segment routing"; + uses apply-advanced; + leaf sid-label { + description "Segment identifier (SID) label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap the SID label to this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the SID label"; + type empty; + } + } + } + } + } + } + } + list constituent-list { + key name; + ordered-by user; + description "MPLS constituent list for abstract hops"; + leaf name { + description "Constituent list name"; + type string { + } + } + uses apply-advanced; + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 16; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + max-elements 16; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + max-elements 16; + } + } + list abstract-hop { + key name; + ordered-by user; + description "MPLS abstract hop"; + leaf name { + description "Abstract hop name"; + type string { + } + } + uses apply-advanced; + leaf operator { + description "Operation among constituent lists"; + type enumeration { + enum "AND" { + description "AND"; + } + enum "OR" { + description "OR"; + } + } + } + list constituent-list { + key name; + ordered-by user; + description "Building abstract hop using constituent lists"; + leaf name { + description "Constituent list name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice list-type { + case case_1 { + leaf include-any-list { + description "Include any"; + type empty; + } + } + case case_2 { + leaf include-all-list { + description "Include all"; + type empty; + } + } + case case_3 { + leaf exclude-any-list { + description "Exclude any"; + type empty; + } + } + case case_4 { + leaf exclude-all-list { + description "Exclude all"; + type empty; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "MPLS interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS on this interface"; + type empty; + } + } + } + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 64; + } + leaf always-mark-connection-protection-tlv { + description "Mark connection protection tlv on this interface"; + type empty; + } + leaf switch-away-lsps { + description "Switch away protected LSPs to their bypass LSPs"; + type empty; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + } + container static { + description "Static label-switch path related configurations"; + uses apply-advanced; + leaf protection-revert-time { + description "FRR revert wait time, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container egress-protection { + description "Egress router protection"; + uses apply-advanced; + list context-identifier { + key name; + description "Context identifier"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice context-type { + case case_1 { + leaf primary { + description "Primary"; + type empty; + } + } + case case_2 { + leaf protector { + description "Protector"; + type empty; + } + } + } + leaf metric { + description "IGP metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 16777215"; + } + } + } + leaf advertise-mode { + description "Advertise mode"; + type enumeration { + enum "stub-proxy" { + description "Proxy"; + } + enum "stub-alias" { + description "Alias"; + } + } + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + } + container traceoptions { + description "Trace options for egress-protection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "state" { + description "Trace state transitions"; + } + enum "route" { + description "Trace route transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container label-history { + presence "enable label-history"; + description "MPLS label history recording"; + uses apply-advanced; + leaf max-entries { + description "Limit for the number of history entry per label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container label-range { + description "MPLS labels ranges"; + uses apply-advanced; + list lsi-label-range { + key name; + ordered-by user; + description "LSI-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list block-label-range { + key name; + ordered-by user; + description "Block-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list dynamic-label-range { + key name; + ordered-by user; + description "Dynamic-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list static-label-range { + key name; + ordered-by user; + description "Static-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf label-limit { + description "Limit for the number of concurrent active labels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping admin_group_include_exclude { + uses apply-advanced; + choice include-any-choice { + case case_1 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include-all-choice { + case case_1 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude-choice { + case case_1 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + grouping bandwidth-type { + uses apply-advanced; + leaf per-traffic-class-bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf ct0 { + description "Bandwidth from traffic class 0"; + units "bps"; + type string; + } + leaf ct1 { + description "Bandwidth from traffic class 1"; + units "bps"; + type string; + } + leaf ct2 { + description "Bandwidth from traffic class 2"; + units "bps"; + type string; + } + leaf ct3 { + description "Bandwidth from traffic class 3"; + units "bps"; + type string; + } + } + grouping juniper-protocols-msdp { + uses apply-advanced; + leaf data-encapsulation { + description "Set encapsulation of data packets"; + type enumeration { + enum "disable" { + description "Disable data encapsulation"; + } + enum "enable" { + description "Enable data encapsulation"; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + list source { + key name; + ordered-by user; + description "Configure parameters for each source"; + leaf name { + description "Source address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + } + list group { + key name; + ordered-by user; + description "Configure MSDP peer groups"; + leaf name { + description "MSDP peer group name"; + type string; + } + uses apply-advanced; + leaf mode { + description "MSDP group source-active flooding mode"; + default "standard"; + type enumeration { + enum "standard" { + description "Use standard MSDP source-active flooding rules"; + } + enum "mesh-group" { + description "Group peers are mesh group members"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + } + } + grouping juniper-protocols-mstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSTP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf configuration-name { + description "Configuration name (part of MST configuration identifier)"; + type string { + length "1 .. 32"; + } + } + leaf revision-level { + description "Revision level (part of MST configuration identifier)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf max-hops { + description "Maximum number of hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + list msti { + key name; + description "Per-MSTI options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + } + } + grouping juniper-protocols-mvpn { + description "BGP-MVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for BGP-MVPN"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "nlri" { + description "Trace MVPN advertisements"; + } + enum "topology" { + description "Trace MVPN topology changes"; + } + enum "tunnel" { + description "Trace provider tunnel events"; + } + enum "umh" { + description "Trace Upstream Multicast Hop (UMH) events"; + } + enum "intra-as-ad" { + description "Trace MVPN intra-AS auto discovery routes"; + } + enum "inter-as-ad" { + description "Trace MVPN inter-AS auto discovery routes"; + } + enum "spmsi-ad" { + description "Trace MVPN SPMSI auto discovery routes"; + } + enum "leaf-ad" { + description "Trace MVPN leaf auto discovery routes"; + } + enum "source-active" { + description "Trace MVPN source active routes"; + } + enum "cmcast-join" { + description "Trace MVPN c-multicast join routes"; + } + enum "mdt-safi-ad" { + description "Trace MVPN MDT SAFI auto discovery routes"; + } + enum "mvpn-limit" { + description "Trace MVPN spmsi and cmcast limit events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + status deprecated; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + container family { + description "BGP-MVPN address family"; + uses apply-advanced; + container any { + presence "enable any"; + description "BGP-MVPN properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + description "IPv4 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + choice sender-receiver-site-choice { + case case_1 { + leaf receiver-site { + description "MVPN instance has sites only with multicast receivers"; + type empty; + } + } + case case_2 { + leaf sender-site { + description "MVPN instance has sites only with multicast sources"; + type empty; + } + } + } + leaf unicast-umh-election { + description "Upstream Multicast Hop election based on unicast route preference"; + type empty; + } + container static-umh { + description "Upstream Multicast Hop election based on static configuration"; + uses apply-advanced; + leaf primary { + description "Primary Upstream Multicast Hop"; + type jt:ipv4addr; + } + leaf backup { + description "Secondary Upstream Multicast Hop"; + type jt:ipv4addr; + } + choice source-tree_choice { + case case_1 { + leaf source-tree { + description "Mandatory attribute - static-umh applies only to MVPN source-tree c-multicast joins"; + type empty; + } + } + } + } + leaf cmcast-joins-limit-inet { + description "Maximum number of cmcast entries for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf cmcast-joins-limit-inet6 { + description "Maximum number of cmcast entries for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container mvpn-mode { + description "MVPN mode of operation"; + uses apply-advanced; + choice mode { + case case_1 { + container rpt-spt { + presence "enable rpt-spt"; + description "MVPN works in multicast RPT and SPT mode"; + uses apply-advanced; + leaf spt-switch-timer { + description "Timeout before a PE router switches between RPT and SPT"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + } + case case_2 { + container spt-only { + presence "enable spt-only"; + description "MVPN works in multicast SPT only mode (default mode)"; + uses apply-advanced; + container source-active-advertisement { + description "Attributes associated with advertising Source-Active A-D routes"; + uses apply-advanced; + leaf dampen { + description "Time to wait before re-advertising source-active route"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf min-rate { + description "Minimum traffic rate required to advertise Source-Active route"; + units "bits per second"; + type string; + } + } + leaf convert-sa-to-msdp { + description "Turn on MVPN SA route to MSDP SA conversion"; + type empty; + } + } + } + } + } + container route-target { + description "Configure route-targets for MVPN routes"; + uses apply-advanced; + container import-target { + description "Target communities used when importing routes"; + uses apply-advanced; + container unicast { + presence "enable unicast"; + description "Use the same target community as configured for unicast"; + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + container target { + presence "enable target"; + description "Target community"; + leaf target-value { + type string { + } + } + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + } + container export-target { + description "Target communities used when exporting routes"; + uses apply-advanced; + leaf unicast { + description "Use the same target community as configured for unicast"; + type empty; + } + leaf target { + description "Target community"; + type string { + } + } + } + } + container mvpn-join-load-balance { + description "MVPN Join Load Balancing Algorithm"; + uses apply-advanced; + choice algorithm { + case case_1 { + container bytewise-xor-hash { + presence "enable bytewise-xor-hash"; + description "Upstream selection using bytewise XOR hash"; + } + } + } + } + container hot-root-standby { + description "MVPN live-live - hot root standby"; + uses apply-advanced; + choice tree { + case case_1 { + container source-tree { + presence "enable source-tree"; + description "MVPN live-live - hot root standby for source tree"; + } + } + } + container min-rate { + description "Minimum traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + uses apply-advanced; + leaf rate { + description "Minium traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + units "bits per second"; + type string; + } + leaf revert-delay { + description "Time to delay updating of multicast routes to allow for multicast convergence"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + } + } + container inter-region-template { + description "MVPN inter-region tunnel mapping template"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Define a inter-region template"; + leaf name { + description "MVPN Template Name"; + type string; + } + uses apply-advanced; + list region { + key name; + ordered-by user; + description "BGP peer group names used as region"; + leaf name { + description "Region name"; + type string; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + container all-regions { + description "Used for all regions not specified"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + } + } + leaf source-redundancy { + description "Assume all the sources for a particular group is sending same data"; + type empty; + } + container umh-selection-additional-input { + description "Additional parameters to consider during UMH"; + uses apply-advanced; + leaf source-active-preference { + description "Use the preference set in the source active route"; + type empty; + } + leaf tunnel-status { + description "Use the RSVP tunnel status"; + type empty; + } + } + } + grouping juniper-protocols-mvrp { + description "MVRP Configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for MVRP"; + uses mrp-trace-options; + } + leaf join-timer { + description "Join timer interval"; + default "200"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + default "800"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf no-dynamic-vlan { + description "Disable dynamic VLAN creation"; + type empty; + } + leaf no-attribute-length-in-pdu { + description "No attribute length while sending pdu "; + type empty; + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the MVRP BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + list interface { + key name; + ordered-by user; + description "Configure interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf join-timer { + description "Join timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf point-to-point { + description "Port is point to point"; + type empty; + } + leaf registration { + description "Registration mode"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal registration mode"; + } + enum "restricted" { + description "Restricted registration mode"; + } + enum "forbidden" { + description "Forbidden registration mode"; + } + } + } + } + } + grouping juniper-protocols-ospf { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping juniper-protocols-pim-snooping { + description "PIM snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PIM Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "join" { + description "Trace join messages"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM designated router port"; + type empty; + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan_id of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM DR port"; + type empty; + } + } + } + grouping juniper-protocols-rip { + uses apply-advanced; + container traceoptions { + description "Trace options for RIP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "auth" { + description "Trace RIP authentication"; + } + enum "error" { + description "Trace RIP errors"; + } + enum "expiration" { + description "Trace RIP route expiration processing"; + } + enum "holddown" { + description "Trace RIP hold-down processing"; + } + enum "packets" { + description "Trace all RIP packets"; + } + enum "request" { + description "Trace RIP information packets"; + } + enum "trigger" { + description "Trace RIP triggered updates"; + } + enum "update" { + description "Trace RIP update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses rip_filter_obj; + } + } + } + container rib-group { + description "Routing table group for importing RIP routes"; + uses rib_group_inet_type; + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv2 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv2 packets"; + type empty; + } + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a message in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf interface-type { + description "Interface type for the neighbor"; + type enumeration { + enum "p2mp" { + description "Point-to-multipoint link"; + } + } + } + leaf dynamic-peers { + description "Learn peers dynamically on a p2mp interface"; + type empty; + } + list peer { + key name; + ordered-by user; + description "P2MP peer"; + leaf name { + description "Address of peer"; + type jt:ipaddr; + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a msg in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv1 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv1 packets"; + type empty; + } + } + leaf any-sender { + description "Disable strict checks on sender address"; + type empty; + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIP is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-ripng { + uses apply-advanced; + container traceoptions { + description "Trace options for RIPng"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace RIPng errors"; + } + enum "expiration" { + description "Trace RIPng route expiration processing"; + } + enum "holddown" { + description "Trace RIPng hold-down processing"; + } + enum "packets" { + description "Trace all RIPng packets"; + } + enum "request" { + description "Trace RIPng information packets"; + } + enum "trigger" { + description "Trace RIPng triggered updates"; + } + enum "update" { + description "Trace RIPng update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIPng graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIPng is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-router-discovery { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable router discovery"; + type empty; + } + } + } + container traceoptions { + description "Trace options for router discovery"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router discovery"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf max-advertisement-interval { + description "Maximum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1800"; + } + } + } + leaf lifetime { + description "How long addresses in advertisements are valid"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 9000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "IP addresses to include in advertisements"; + leaf name { + description "IP addresses to include in router advertisements"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf advertise { + description "Advertise the IP address in advertisements"; + type empty; + } + leaf ignore { + description "Do not advertise the IP address in advertisements"; + type empty; + } + leaf broadcast { + description "Include IP address only in broadcast advertisements"; + type empty; + } + leaf multicast { + description "Include IP address only in multicast advertisements"; + type empty; + } + leaf ineligible { + description "IP address can never become a default router"; + type empty; + } + leaf priority { + description "Preference of the address to become a default router"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-rsvp { + description "RSVP options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP"; + type empty; + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP graceful restart capability"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf maximum-helper-restart-time { + description "Maximum wait time from down event to neighbor dead"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf maximum-helper-recovery-time { + description "Maximum time restarting neighbor states are kept"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container tunnel-services { + presence "enable tunnel-services"; + description "Use tunnel services for P2MP LSP ultimate-hop popping"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for P2MP LSPs"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf no-p2mp-sublsp { + description "Disable P2MP sub-LSP object generation"; + type empty; + } + leaf no-node-id-subobject { + description "Do not include the node-id sub-object in the RRO"; + type empty; + } + leaf no-interface-hello { + description "Disble interface Hellos on all RSVP interfaces"; + type empty; + } + container pop-and-forward { + description "RSVP pop-and-forward specific global parameters"; + uses apply-advanced; + container application-label { + description "Number of application labels under the RSVP transport"; + uses apply-advanced; + leaf depth { + description "Application label depth"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + } + } + leaf hello-acknowledgements { + description "Acknowledge Hellos on RSVP interfaces not having sessions"; + type empty; + } + leaf no-hello-acknowledgements { + description "Do not ack Hellos on RSVP interfaces not having sessions"; + type empty; + } + container node-hello { + presence "enable node-hello"; + description "Enable node-ID based Hellos on all RSVP interfaces"; + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + leaf no-node-hello { + description "Disable node-ID based Hellos on the router"; + type empty; + } + leaf allow-bidirectional { + description "Enable bidirectional support in RSVP"; + status deprecated; + type empty; + } + leaf local-reversion { + description "Enable local reversion at this Point of Local Repair"; + type empty; + } + leaf no-local-reversion { + description "Disable local reversion at this Point of Local Repair"; + type empty; + } + container fast-reroute { + description "One-to-one fast-reroute protection mechanism"; + uses apply-advanced; + leaf optimize-timer { + description "Frequency of reoptimization for fast-reroute detour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + container load-balance { + description "Per-packet load-balancing algorithm"; + uses apply-advanced; + leaf bandwidth { + description "Per-packet load balancing proportional to LSP bandwidth"; + type empty; + } + } + container traceoptions { + description "Trace options for RSVP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP trigger packets"; + } + enum "path" { + description "Trace RSVP trigger path messages"; + } + enum "resv" { + description "Trace RSVP trigger Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Refresh time in seconds"; + default "1200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keep-multiplier { + description "Keep multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf graceful-deletion-timeout { + description "Time to complete graceful deletion signaling"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf setup-protection { + description "Enable setup protection"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute CSPF paths spanning protocols for bypass LSP, detour LSP and loose hop expansion"; + type empty; + } + container preemption { + description "Set RSVP session preemption attributes"; + uses apply-advanced; + choice preemption-type { + case case_1 { + leaf disabled { + description "No RSVP session preemption"; + type empty; + } + } + case case_2 { + leaf normal { + description "Run RSVP session preemption to accommodate new sessions"; + type empty; + } + } + case case_3 { + leaf aggressive { + description "Run RSVP session preemption whenever necessary"; + type empty; + } + } + } + container soft-preemption { + description "Options for establishing new path before tearing down a preempted LSP"; + uses apply-advanced; + leaf cleanup-timer { + description "Time a soft-preempted LSP will be maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 180"; + } + } + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + leaf no-authentication-check { + description "Skip authentication check for received messages"; + type empty; + } + container associated-bidirectional-lsp { + description "Set associated bidirectional LSP attributes"; + uses apply-advanced; + leaf single-sided-provisioning { + description "Enable unidirectional reverse LSP setup for single sided provisioned forward LSP"; + type empty; + } + } + leaf no-enhanced-frr-bypass { + description "Disable enhanced facility backup FRR"; + type empty; + } + list interface { + key name; + ordered-by user; + description "RSVP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container subscription { + description "Link bandwidth percentage for RSVP reservation"; + uses subscription-type; + } + leaf bandwidth { + description "Available bandwidth for the interface units bps"; + type string; + } + leaf update-threshold { + description "Percentage change in reserved bandwidth to trigger IGP update"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + container update-threshold-max-reservable { + description "Change in non-rsvp bandwidth to trigger IGP update "; + uses apply-advanced; + leaf bandwidth { + description "Change in non-rsvp bandwidth to trigger IGP update units bps"; + type string; + } + leaf percent { + description "Percentage change in max-reservable bandwidth to trigger IGP update"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container link-protection { + presence "enable link-protection"; + description "Protect traffic with a label-stacked LSP"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link protection on this interface"; + type empty; + } + } + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf max-bypasses { + description "Max number of bypasses permitted for protecting this interface"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + leaf subscription { + description "Percent of bandwidth guaranteed when admitting protected LSPs into bypasses"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-node-protection { + description "Disallow node protection on this interface"; + type empty; + } + leaf optimize-timer { + description "Interval between bypass reoptimizations"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + container priority { + presence "enable priority"; + description "Preemption priorities for the bypass LSP"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + list bypass { + key name; + ordered-by user; + description "Bypass with specific constraints"; + leaf name { + description "Name of bypass"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf description { + description "Text description of bypass"; + type string { + length "1 .. 80"; + } + } + container priority { + presence "enable priority"; + description "Preemption priorities for bypass"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this control peer"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container dynamic-bidirectional-transport { + presence "enable dynamic-bidirectional-transport"; + description "Enable dynamic setup of bidirectional packet LSP for transporting non-packet GMPLS LSP"; + uses apply-advanced; + leaf template { + description "Template for the dynamic bidirectional packet LSP"; + type string { + } + } + } + } + list lsp-set { + key name; + ordered-by user; + description "Configuration for lsp set"; + leaf name { + description "Name of lsp set"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this lsp set"; + type empty; + } + } + } + container match-criteria { + description "Match criteria for this lsp set"; + uses lsp-set-match-type; + } + container traceoptions { + description "Trace options for this lsp set"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP packets"; + } + enum "path" { + description "Trace RSVP path messages"; + } + enum "resv" { + description "Trace RSVP Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + grouping juniper-protocols-stp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable STP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + leaf extended-system-id { + description "Extended system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 4095"; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + } + grouping juniper-protocols-vstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable VSTP"; + type empty; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + list vlan { + key name; + description "VLAN spanning tree options"; + leaf name { + description "VLAN id or all"; + type string; + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + container vlan-group { + presence "enable vlan-group"; + description "Spanning tree options for group of VLANs"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name if VLAN group"; + leaf name { + description "VLAN group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + } + } + grouping juniper-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-routing-instance-pbb-options { + description "PBB options for the routing instance"; + uses apply-advanced; + leaf peer-instance { + description "Set the peer-pbbn routing instance"; + type string; + } + list vlan-id { + key name; + ordered-by user; + description "Set B-VLAN to ISID mapping"; + leaf name { + description "Configure B-Vlan"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Configure ISID(Valid Range:256..16777214) for the B-VLAN"; + type string; + } + } + leaf default-bvlan { + description "Default B-VLAN for all un-mapped ISIDs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + grouping juniper-routing-instance-service-groups { + description "Service-groups configuration"; + leaf name { + description "Service-group name"; + type string; + } + uses apply-advanced; + leaf service-type { + description "Service type as ethernet LAN or point-to-point"; + type enumeration { + enum "eline" { + description "Ethernet point-to-point"; + } + enum "elan" { + description "Ethernet LAN service"; + } + } + } + container pbb-service-options { + presence "enable pbb-service-options"; + description "Provider backbone instance service options"; + uses apply-advanced; + list isid { + key name; + ordered-by user; + description "ISID to S-VLAN configuration"; + leaf name { + description "Configure ISID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16777214"; + } + } + } + choice service-data { + case case_1 { + leaf-list vlan-id-list { + description "List of S-VLANs"; + type jt:vlan-range; + } + } + case case_2 { + leaf interface { + description "Point to point interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf default-isid { + description "Default ISID for all un-mapped S-VLANs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16777214"; + } + } + } + leaf mac-address { + description "Unicast or multicast mac address"; + type jt:mac-addr; + } + leaf source-bmac { + description "Unicast Source B Mac address"; + type jt:mac-addr; + } + } + } + grouping juniper-routing-instance-switch-options { + description "Bridge options for the routing instance"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Layer 2 trace options for this routing instance"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-routing-options { + uses apply-advanced; + leaf no-soft-core { + description "Disable soft assert to generate core and just log the event"; + type empty; + } + leaf med-igp-update-interval { + description "Delay (in minutes) in updating MED IGP for bgp groups with 'delay-med-update' "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container bmp { + presence "enable bmp"; + description "BGP Monitoring Protocol (BMP) configuration"; + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list station { + key name; + description "Define a BMP station"; + leaf name { + description "Station name"; + type string; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container ppm { + presence "enable ppm"; + description "Set periodic packet management properties"; + uses apply-advanced; + leaf delegate-processing { + description "Enable distribution of PPM sessions"; + status deprecated; + type empty; + } + leaf no-delegate-processing { + description "Disable PPM sessions distribution"; + type empty; + } + leaf redistribution-timer { + description "Time to wait after switchover before starting timers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 120"; + } + } + } + } + leaf no-bfd-triggered-local-repair { + description "Disable bfd triggered local repair"; + type empty; + } + container source-routing { + description "Source-routing options"; + uses apply-advanced; + leaf ip { + description "Enable IP Source Routing"; + type empty; + } + leaf ipv6 { + description "Enable Type 0 RouteHeader processing"; + type empty; + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Auto bandwidth"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Auto bandwidth template"; + leaf name { + description "Auto bandwidth template name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf adjust-interval { + description "Adjust interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + leaf adjust-threshold { + description "Percentage threshhold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf statistic-collection-interval { + description "Collection interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 300"; + } + } + } + leaf auto-bandwidth-subscription { + description "Percentage threshhold for subscription"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 200"; + } + } + } + } + container traceoptions { + description "Trace options for sr stats"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace All"; + } + enum "timer" { + description "Trace traffic recv by periodic timer"; + } + enum "state" { + description "Trace state of sensor"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + list srlg { + key name; + ordered-by user; + description "SRLG configuration"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf srlg-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf srlg-cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container admin-groups-extended-range { + description "Extended administrative groups range"; + uses apply-advanced; + leaf minimum { + description "Minimum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + leaf maximum { + description "Maximum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + list admin-groups-extended { + key name; + ordered-by user; + description "Extended administrative groups"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf group-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + container source-packet-routing { + description "Source packet routing (SPRING)"; + uses apply-advanced; + list mapping-server-entry { + key name; + ordered-by user; + description "Mapping server entry"; + leaf name { + description "Mapping server entry name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list prefix-segment { + key name; + ordered-by user; + description "Prefix segment"; + max-elements 64; + leaf name { + description "Prefix segment prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf index { + description "Prefix segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + list prefix-segment-range { + key name; + ordered-by user; + description "Prefix segment range"; + max-elements 64; + leaf name { + description "Prefix segment range name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-prefix { + description "Start prefix"; + type jt:ipprefix; + } + leaf start-index { + description "Start index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf size { + description "Size of prefix segment range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container options { + description "Miscellaneous options"; + uses apply-advanced; + leaf no-send { + description "Listen only; do not send protocol packets"; + status deprecated; + type empty; + } + leaf no-resolve { + description "Do not use DNS name resolution"; + status deprecated; + type empty; + } + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + container interface-routes { + description "Define routing table groups for interface routes"; + uses apply-advanced; + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + container export { + description "Control exportability of local routes"; + uses apply-advanced; + leaf point-to-point { + description "Make point-to-point routes exportable"; + type empty; + } + leaf lan { + description "Make LAN routes exportable"; + type empty; + } + } + } + } + leaf loopback-strict-disable { + description "Completely disable lo0 host prefix when in admin-down state"; + type empty; + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + leaf firewall-install-disable { + description "Disable installing flowspec firewall filters in dfwd "; + type empty; + } + leaf term-order { + description "Term evaluation order for flow routes"; + type enumeration { + enum "legacy" { + description "Legacy term order (default)"; + } + enum "standard" { + description "RFC compliant term order"; + } + } + } + } + list rib-groups { + key name; + ordered-by user; + description "Group of routing tables"; + uses rpd_rib_group_type; + } + leaf route-record { + description "Enable route recording"; + type empty; + } + leaf router-id { + description "Router identifier"; + type jt:ipv4addr; + } + leaf route-distinguisher-id { + description "Identifier used in route distinguishers for routing instances"; + type jt:ipv4addr; + } + container autonomous-system { + description "Autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf asdot-notation { + description "Use AS-Dot notation to display true 4 byte AS numbers"; + type empty; + } + container independent-domain { + presence "enable independent-domain"; + description "Independent autonomous-system domain from master instance"; + leaf no-attrset { + description "Do not tunnel ce bgp attributes across provider network"; + type empty; + } + } + } + container confederation { + description "Confederation autonomous system number"; + leaf confederation-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf-list members { + ordered-by user; + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Direct/Host route FRR protection"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf arp-prefix-limit { + description "Max ARP/Host FRR routes allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf supplementary-blackout-timer { + description "ARP plimit blackout timer = kernel ARP timeout + supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + } + } + container host-fast-reroute { + presence "enable host-fast-reroute"; + description "Host Fast Re-route global values. Applies to all host FRR profiles."; + uses apply-advanced; + leaf global-arp-prefix-limit { + description "Max ARP/Host FRR routes allowed per protected IFL"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf global-supplementary-blackout-timer { + description "ARP plimit global blackout timer = kernel ARP timeout + global-supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + leaf-list tracefilter { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table resolution options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list resolution-family { + ordered-by user; + description "Family of resultion tree"; + type string; + } + leaf-list resolution-ribs { + ordered-by user; + description "Routing tables to use for default routing table family resolution"; + type string; + } + leaf-list inet-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv4 family protocol-next-hop resolution"; + type string; + } + leaf-list inet6-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv6 family protocol-next-hop resolution"; + type string; + } + leaf-list iso-resolution-ribs { + ordered-by user; + description "Routing tables to use for iso family protocol-next-hop resolution"; + type string; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list inet-import { + ordered-by user; + description "Import policy for IPV4 family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6-import { + ordered-by user; + description "Import policy for IPV6 family resolution tree"; + type jt:policy-algebra; + } + leaf-list iso-import { + ordered-by user; + description "Import policy for ISO family resolution tree"; + type jt:policy-algebra; + } + leaf-list inetcolor-import { + ordered-by user; + description "Import policy for INETCOLOR family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6color-import { + ordered-by user; + description "Import policy for INET6COLOR family resolution tree"; + type jt:policy-algebra; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + leaf-list instance-import { + ordered-by user; + description "Import policy for instance RIBs"; + type jt:policy-algebra; + } + leaf-list instance-export { + ordered-by user; + description "Export policy for instance RIBs"; + type jt:policy-algebra; + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export"; + type empty; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container family { + container inet { + description "IPv4 parameters"; + uses export-af-obj; + } + container inet6 { + description "IPv6 parameters"; + uses export-af-obj; + } + container iso { + description "ISO parameters"; + uses export-af-obj; + } + } + } + container dynamic-tunnels { + description "Dynamic tunnel definitions"; + uses apply-advanced; + list tunnel-attributes { + key name; + ordered-by user; + description "Dynamic tunnel attributes definition"; + leaf name { + description "Dynamic Tunnel attribute name"; + type string { + } + } + uses apply-advanced; + leaf dynamic-tunnel-source-prefix { + description "Tunnel source address"; + type jt:ipaddr; + } + leaf dynamic-tunnel-type { + type enumeration { + enum "GRE" { + description "Tunnel type GRE"; + } + enum "V4oV6" { + description "Tunnel type is IPV4oIPV6"; + } + enum "UDP" { + description "Tunnel type UDP"; + } + enum "BGP-SIGNAL" { + description "Tunnel type BGP-SIGNAL"; + } + } + } + leaf dynamic-tunnel-mtu { + description "Dynamic Tunnel MTU value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "296 .. 9232"; + } + } + } + leaf dynamic-tunnel-anchor-pfe { + description "Dynamic Tunnel anchor PFE name of format pfe-x/y/z"; + type string { + } + } + leaf dynamic-tunnel-anti-spoof { + type enumeration { + enum "on" { + description "Enable antispoofing check. Default is enabled"; + } + enum "off" { + description "Disable antispoofing check"; + } + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "kernel" { + description "Trace kernel communication"; + } + enum "tunnel" { + description "Trace tunnel addition, change, or deletion"; + } + enum "task" { + description "Trace task or job processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf gre { + description "Enable dynamic gre tunnel mode"; + type enumeration { + enum "next-hop-based-tunnel" { + description "Enable nh base dynamic-tunnel"; + } + } + } + list dynamic-tunnel { + key name; + ordered-by user; + uses dynamic_tunnel_type; + } + } + container logical-system-mux { + description "Logical system control daemon information"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug-level lrmuxd activities"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container programmable-rpd { + description "RPD Server module management options"; + uses programmable-rpd-type; + } + container topologies { + description "Define routing topologies"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology information"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + } + } + } + container backup-selection { + presence "enable backup-selection"; + description "Backup selection options"; + uses apply-advanced; + list destination { + key name; + description "IP/IPv6 prefix for which backup selection policy is configured"; + leaf name { + description "IP/IPv6 address (and optional prefix length)"; + type jt:ipprefix-mandatory; + } + uses apply-advanced; + list interface { + key name; + description "Primary nexthop interface for which backup selection policy is configured"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container admin-group { + description "Administrative group policies for backup-selection"; + uses apply-advanced; + leaf-list exclude { + description "Do not use interface if any admin group available"; + type string; + } + leaf-list include-all { + description "Use interface if admin groups available entirely"; + type string; + } + leaf-list include-any { + description "Use interface if any admin group is available"; + type string; + } + leaf-list preference { + ordered-by user; + description "Administrative groups in descending preference order"; + type string; + } + } + leaf srlg { + description "Evaluate Shared Risk Link Group(SRLG) characteristics for backup selection"; + default "loose"; + type enumeration { + enum "loose" { + description "Loose SRLG"; + } + enum "strict" { + description "Strict SRLG"; + } + } + } + leaf protection-type { + description "Type of protection to be considered"; + type enumeration { + enum "link" { + description "Protect the primary interface from link faults only"; + } + enum "node" { + description "Protect the primary interface from node faults only"; + } + enum "node-link" { + description "Protect the primary interface from either link or node faults; prefer node protection"; + } + } + } + leaf downstream-paths-only { + description "Choose only the downstream nodes for backup"; + type empty; + } + leaf bandwidth-greater-equal-primary { + description "Use backup nexthop only if bandwidth is >= bandwidth of primary nexthop"; + type empty; + } + container backup-neighbor { + description "Backup Neighbor ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of backup neighbors to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of backup neighbors in descending order preference"; + type jt:ipv4addr; + } + } + container node { + description "Node ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of nodes to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of nodes in the descending order of preference"; + type jt:ipv4addr; + } + } + container node-tag { + description "Node tag policies"; + uses apply-advanced; + leaf-list exclude { + description "The set of node tags to be excluded"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list preference { + ordered-by user; + description "The set of node tags in the descending order of preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf root-metric { + description "Root metric"; + type enumeration { + enum "lowest" { + description "Choose lowest root metric"; + } + enum "highest" { + description "Choose highest root metric"; + } + } + } + leaf dest-metric { + description "Destination metric"; + type enumeration { + enum "lowest" { + description "Choose lowest destination metric"; + } + enum "highest" { + description "Choose highest destination metric"; + } + } + } + leaf-list metric-order { + ordered-by user; + description "Metric evaluation order"; + type enumeration { + enum "root" { + } + enum "dest" { + } + } + max-elements 2; + } + leaf-list evaluation-order { + ordered-by user; + description "Interface policy criteria evaluation order"; + type enumeration { + enum "admin-group" { + description "Administrative Group/Link Color"; + } + enum "srlg" { + description "SRLG"; + } + enum "bandwidth" { + description "Bandwidth"; + } + enum "protection-type" { + description "Type of protection"; + } + enum "backup-neighbor" { + description "Backup Neighbor"; + } + enum "node" { + description "Node"; + } + enum "node-tag" { + description "Node tag"; + } + enum "metric" { + description "Metric related parameters"; + } + } + } + } + } + } + container fate-sharing { + description "Fate-sharing links or nodes database"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group of objects sharing common characteristics"; + leaf name { + description "Name of object groups sharing the same fate"; + type string { + } + } + uses apply-advanced; + leaf cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf use-for-post-convergence-lfa { + description "Use this fate-sharing group as a constraint for post-convergence-lfa"; + type empty; + } + list from { + key name; + uses fate_sharing_links; + } + } + } + container validation { + description "Define Route validation"; + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list notification-rib { + ordered-by user; + description "Define routing tables that get notified upon validation state change"; + type string; + } + list group { + key name; + description "Define a group of sessions"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf max-sessions { + description "Maximum connected session in this group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 63"; + } + } + } + list session { + key name; + description "Configure a session"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Interval between keepalive packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf hold-time { + description "Time after which the session is declared down."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + leaf record-lifetime { + description "Lifetime of route validation records"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 604800"; + } + } + } + leaf preference { + description "Preference for session establishment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf port { + description "Portnumber to connect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf local-address { + type jt:ipaddr; + } + } + } + container static { + description "Define static route validation record"; + uses apply-advanced; + list record { + key name; + description "Static route validation record"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + list maximum-length { + key name; + ordered-by user; + leaf name { + description "Maximum prefix-length for route validation record"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + uses apply-advanced; + list origin-autonomous-system { + key name; + ordered-by user; + leaf name { + description "Legitimate Origin Autonomous System"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf validation-state { + description "Validation state for route validation record"; + type enumeration { + enum "invalid" { + description "Invalid route validation state"; + } + enum "valid" { + description "Valid route validation state"; + } + } + } + } + } + } + } + } + } + grouping dynamic_tunnel_type { + description "Dynamic tunnel definition"; + leaf name { + description "Tunnel name"; + type string { + } + } + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipaddr; + } + choice tunnel-type { + case case_1 { + list rsvp-te { + key name; + ordered-by user; + description "RSVP-TE point-to-point LSP"; + leaf name { + description "Configure multiple entries for RSVP tunnel"; + type string; + } + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + } + case case_2 { + leaf gre { + description "Generic routing encapsulation type for IPv4"; + type empty; + } + } + case case_3 { + leaf udp { + description "UDP encapsulation type for IPv4"; + type empty; + } + } + case case_4 { + leaf bgp-signal { + description "BGP signals the encapsulation type for IPv4"; + type empty; + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + grouping export-af-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export for address family"; + type empty; + } + } + } + container unicast { + description "Unicast routing information"; + presence "enable unicast"; + uses export-subaf-obj; + } + container multicast { + description "Multicast routing information"; + presence "enable multicast"; + uses export-subaf-obj; + } + container flow { + description "Flow routing information"; + presence "enable flow"; + uses export-subaf-obj; + } + } + grouping export-subaf-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance export"; + type empty; + } + } + } + leaf rib-group { + description "Auxiliary rib-group of additional RIBs to consider"; + type string; + } + } + grouping fate_sharing_links { + leaf name { + description "Router ID or LAN interface address"; + type jt:ipv4addr; + } + leaf to { + description "Point-to-point links"; + type jt:ipv4addr; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + leaf destination { + description "Destination prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf source { + description "Source prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf-list icmp-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list icmp-type { + ordered-by user; + description "ICMP message type"; + type string; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + } + grouping juniper-sampling-options { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable global sampling instance"; + type empty; + } + } + } + container traceoptions { + description "Traffic sampling trace options"; + uses sampling_traceoptions_type; + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_input_type; + } + container output { + description "Traffic sampling data disposition"; + status deprecated; + uses sampling_output_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_global_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet6"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_family_inet6_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_instance_input_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet6"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family mpls"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_mpls_output_type; + } + } + container vpls { + description "Sample vpls packets"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family vpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_vpls_output_type; + } + } + container bridge { + description "Sample bridge packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family bridge"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_bridge_output_type; + } + } + } + } + container jflow-service { + description "Jflow service configuration"; + uses apply-advanced; + container traceoptions { + description "Jflow service trace options"; + uses jflow_service_traceoptions; + } + } + container route-record { + description "Sampling route record configuration"; + uses apply-advanced; + container traceoptions { + description "Sampling route record trace options"; + uses route_record_traceoptions; + } + } + } + grouping jflow_service_traceoptions { + description "Traceoptions for jflow-service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of jflow-service to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "sm" { + description "Trace State machine code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping junos_hash_key { + description "Select data used in the hash key"; + uses apply-advanced; + container family { + description "Protocol family"; + container fcoe { + description "FCoE protocol family"; + uses apply-advanced; + container ethernet-interfaces { + description "FCoE hash-key configuration on ethernet interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container fabric-interfaces { + description "FCoE hash-key configuration on fabric interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + } + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + } + leaf session-id { + description "Include session ID in the hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf next-header { + description "Include IP Next Header field in the hash key"; + type empty; + } + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class field in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + leaf destination-port { + description "Include IP destination port in the hash key"; + type empty; + } + leaf source-port { + description "Include IP source port in the hash key"; + type empty; + } + } + leaf session-id { + description "Include session ID in the hash key"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + choice label { + case case_1 { + leaf label-1 { + description "Include the first MPLS label in the hash key"; + type empty; + } + } + case case_2 { + leaf all-labels { + description "Include all MPLS labels in hash key"; + type empty; + } + } + case case_3 { + leaf no-labels { + description "Exclude all MPLS labels from hash key"; + type empty; + } + } + case case_4 { + leaf bottom-label-1 { + description "Include the first MPLS label from bottom-of-stack in the hash key"; + type empty; + } + } + } + leaf label-2 { + description "Include the second MPLS label in the hash key"; + type empty; + } + leaf label-3 { + description "Include the third MPLS label in the hash key"; + type empty; + } + container payload { + description "Include payload data in the hash key"; + uses apply-advanced; + container ip { + presence "enable ip"; + description "Include IPv4 or IPv6 payload data in the hash key"; + uses apply-advanced; + choice layer-4-select { + case case_1 { + choice ip-payload { + case case_1 { + leaf layer-3-only { + description "Include only layer-3 IP information"; + type empty; + } + } + case case_2 { + leaf enable { + description "Include layer3/4 IP payload in the hash key"; + type empty; + } + } + case case_3 { + leaf disable { + description "Exclude layer3/4 IP payload in the hash key"; + type empty; + } + } + } + } + case case_2 { + container port-data { + presence "enable port-data"; + uses apply-advanced; + leaf source-msb { + description "Include the most significant byte of the source port"; + type empty; + } + leaf source-lsb { + description "Include the least significant byte of the source port"; + type empty; + } + leaf destination-msb { + description "Include the most significant byte of the destination port"; + type empty; + } + leaf destination-lsb { + description "Include the least significant byte of the destination port"; + type empty; + } + } + } + } + } + } + } + container multiservice { + description "Multiservice protocol family"; + uses apply-advanced; + leaf source-mac { + description "Include source MAC address in hash key"; + type empty; + } + leaf destination-mac { + description "Include destination MAC address in hash key"; + type empty; + } + } + } + } + grouping layer2_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + leaf interface { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_3 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses layer2_pm_output-routing-instance-type; + } + } + case case_4 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_5 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping layer2_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping ldp-sync-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP synchronization"; + type empty; + } + } + } + leaf hold-time { + description "Time during which maximum metric is advertised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + grouping ldp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "fec" { + description "Filter based on FEC associated to the traced object."; + } + enum "address" { + description "Filter based on packet source and destination addresses."; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping lsp-set-match-type { + uses apply-advanced; + leaf lsp-name { + description "LSP name that matches this string"; + type string; + } + leaf lsp-regex { + description "All LSPs that match this regular expression pattern"; + type string; + } + leaf p2mp-name { + description "P2MP names that match this string"; + type string; + } + leaf p2mp-regex { + description "P2MP names that match this regular expression pattern"; + type string; + } + choice router-type { + case case_1 { + leaf egress { + description "All LSPs for which this router is egress"; + type empty; + } + } + case case_2 { + leaf ingress { + description "All LSPs for which this router is ingress"; + type empty; + } + } + case case_3 { + leaf transit { + description "All LSPs for which this router is transit"; + type empty; + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping mpls_pm_family_output_type { + uses apply-advanced; + } + grouping mrp-trace-options { + description "Trace options for MMRP Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace RAPS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace information of the state machine"; + } + enum "socket" { + description "Trace soccket activity"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping mstp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping network_type { + leaf name { + description "Network prefix"; + type jt:ipprefix; + } + uses apply-advanced; + } + grouping next_hop_group_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_subgroup_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + } + grouping override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf bootp-support { + description "Allow processing of bootp requests"; + type empty; + } + container delay-offer { + description "Filter options for dhcp-server"; + uses dhcpv4-filter-option; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORM PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet"; + type string { + length "1 .. 64"; + } + } + } + container include-option-82 { + description "Include option-82 in reply packets"; + uses apply-advanced; + leaf nak { + description "Include option-82 in NAK"; + type empty; + } + leaf forcerenew { + description "Include option-82 in FORCERENEW"; + type empty; + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv4 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv4-filter-option { + description "Generic DHCPv4 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between discover and offer"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-82 { + presence "enable option-82"; + description "Option 82"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-60 { + presence "enable option-60"; + description "Option 60"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-77 { + presence "enable option-77"; + description "Option 77"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping packet_accounting_output_type { + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list cflowd { + key name; + description "Cflowd collector where flow records are sent"; + uses cflowd_packet_accounting_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + uses packet_export_intf_type; + } + } + grouping cflowd_packet_accounting_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + } + grouping aggregation_type { + uses apply-advanced; + leaf autonomous-system { + description "Aggregate by autonomous system number"; + type empty; + } + leaf protocol-port { + description "Aggregate by protocol and port number"; + type empty; + } + leaf source-prefix { + description "Aggregate by source prefix"; + type empty; + } + leaf destination-prefix { + description "Aggregate by destination prefix"; + type empty; + } + container source-destination-prefix { + presence "enable source-destination-prefix"; + description "Aggregate by source and destination prefix"; + uses apply-advanced; + leaf caida-compliant { + description "Compatible with Caida record format for prefix aggregation (v8)"; + type empty; + } + } + } + grouping packet_export_intf_type { + leaf name { + description "Interfaces used to send monitored information"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf engine-id { + description "Identity (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf engine-type { + description "Type (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + } + grouping periodic_oam { + uses apply-advanced; + container mpls-tp-mode { + presence "enable mpls-tp-mode"; + description "MPLS-TP Mode, Do not use IP addressing for OAM"; + uses apply-advanced; + container lsping-channel-type { + description "Supported Control-channel types for MPLS-TP mode...."; + uses apply-advanced; + choice action-choice { + case case_1 { + leaf ipv4 { + description "Use channel-type IPv4(0x0021), With IP-UDP encapsulation"; + type empty; + } + } + case case_2 { + leaf on-demand-cv { + description "Use channel-type On-Demand-CV(0x0025), Without IP-UDP encapsulation"; + type empty; + } + } + } + } + } + container bfd-port { + description "Egress knob to select MHOP-BFD port for MPLS BFD"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf teardown { + description "Teardown label switched path and resignal"; + type empty; + } + } + case case_2 { + container make-before-break { + presence "enable make-before-break"; + description "Resignal the label switched path before teardown"; + uses apply-advanced; + leaf teardown-timeout { + description "Time to wait before teardown"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + } + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container performance-monitoring { + description "Performance monitoring options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace init commnad"; + } + enum "error" { + description "Trace error conditions"; + } + enum "event" { + description "Trace state machine events"; + } + enum "general" { + description "Trace general events"; + } + enum "packet" { + description "Trace various packets "; + } + enum "timer" { + description "Trace timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container querier { + description "Querier options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic class"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container loss-delay { + description "Combined loss-delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container responder { + description "Responder options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf lsp-ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container traceoptions { + description "Trace options for MPLSOAM process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "pipe" { + description "Trace pipe activity"; + } + enum "rpc-packet-details" { + description "Trace RPC packet details"; + } + enum "database" { + description "Trace database activity"; + } + enum "network" { + description "Trace network activity"; + } + enum "traceroute" { + description "Trace traceroute activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping pm-rspan-vlan { + description "RSPAN vlan for pm"; + leaf name { + description "VLAN name or VLAN id"; + type string { + } + } + uses apply-advanced; + leaf no-tag { + description "Removes extra RSPAN tag from mirrored packets"; + type empty; + } + } + grouping pm_family_input_type { + description "Input options for port mirroring"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + } + grouping programmable-rpd-type { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "client" { + description "Client events"; + } + enum "japi" { + description "JAPI related traces"; + } + enum "routing-interface" { + description "Routing interface traces"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container purge-timeout { + presence "enable purge-timeout"; + description "Purge timeout for all programmable-rpd clients in seconds"; + choice purge-parm { + case case_1 { + leaf timeout { + description "Timeout value, in seconds, for purging client programmed objects"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Programmable-rpd client options"; + leaf name { + description "Client ID"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + list interface-notification { + key name; + ordered-by user; + description "Interfaces for notification"; + leaf name { + description "Interface"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping reconfigure-trigger-type { + description "DHCP reconfigure trigger"; + uses apply-advanced; + leaf radius-disconnect { + description "Trigger DHCP reconfigure by radius initiated disconnect"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping rip_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping route_record_traceoptions { + description "Traceoptions for sampling route record"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of route-record to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping rpd_rib_group_type { + description "Routing table group"; + leaf name { + description "Routing table group"; + type string; + } + uses apply-advanced; + leaf export-rib { + description "Export routing table"; + type string; + } + leaf-list import-rib { + ordered-by user; + description "Import routing table"; + type string; + } + leaf-list import-policy { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + grouping sampling_family_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet6_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_family_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + container family { + presence "enable family"; + description "Protocol family"; + status deprecated; + container inet { + description "Sampling parameters for IPv4"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + container mpls { + description "Sampling parameters for MPLS"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + } + } + grouping sampling_instance_bridge_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_bridge_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_bridge_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline_instance { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_instance_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet6_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_inet_global_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_instance_inet_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + } + grouping sampling_instance_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_instance_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_mpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_vpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_vpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_vpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_traceoptions_type { + description "Configure packet sampling traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-bulk-leasequery-type { + description "Allow bulk leasequery"; + uses apply-advanced; + leaf max-connections { + description "Max TCP connections allowed at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Timeout for blocked connection"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf max-empty-replies { + description "Maximum number of empty replies for a connection"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf restricted-requestor { + description "Allow bulk leasequery only from restricted requestors"; + type empty; + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-leasequery-type { + description "Allow leasequery"; + uses apply-advanced; + leaf restricted-requestor { + description "Allow leasequery only from restricted requestors"; + type empty; + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping server-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + } + } + grouping stp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping stp-trace-options { + description "Trace options for Spanning Tree Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "bpdu" { + description "Trace BPDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "port-information-state-machine" { + description "Trace port information state machine"; + } + enum "port-receive-state-machine" { + description "Trace port receive state machine"; + } + enum "port-role-select-state-machine" { + description "Trace port role selection state machine"; + } + enum "port-role-transit-state-machine" { + description "Trace port role transit state machine"; + } + enum "port-state-transit-state-machine" { + description "Trace port state transit state machine"; + } + enum "port-migration-state-machine" { + description "Trace port migration state machine"; + } + enum "port-transmit-state-machine" { + description "Trace port transmit state machine"; + } + enum "topology-change-state-machine" { + description "Trace topology change state machine"; + } + enum "bridge-detection-state-machine" { + description "Trace Bridge detection state machine"; + } + enum "state-machine-variables" { + description "Trace when state machine variables change"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "all-failures" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping subscription-type { + uses apply-advanced; + leaf link-subscription { + description "Link bandwidth percentage for RSVP reservation"; + default "100"; + type string; + } + leaf ct0 { + description "Subscription percentage for traffic class 0"; + default "100"; + type string; + } + leaf ct1 { + description "Subscription percentage for traffic class 1"; + default "100"; + type string; + } + leaf ct2 { + description "Subscription percentage for traffic class 2"; + default "100"; + type string; + } + leaf ct3 { + description "Subscription percentage for traffic class 3"; + default "100"; + type string; + } + } + grouping system-id-ip-map { + leaf name { + type jt:mac-unicast; + } + uses apply-advanced; + leaf ip-address { + description "Peer ID (IP Address)"; + type jt:ipv4prefix; + } + } + grouping te-class-object { + leaf traffic-class { + description "Traffic class"; + type enumeration { + enum "ct0" { + description "Traffic class 0"; + } + enum "ct1" { + description "Traffic class 1"; + } + enum "ct2" { + description "Traffic class 2"; + } + enum "ct3" { + description "Traffic class 3"; + } + } + } + leaf priority { + description "Preemption priority for this class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping vlan-policy { + description "Virtual LAN"; + leaf name { + description "VLAN id"; + type string; + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + } + grouping vlan-types { + description "Virtual LAN"; + leaf name { + description "VLAN name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of VLANs"; + type string { + } + } + choice vlan-identifier-choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for VLAN"; + type string; + } + } + case case_2 { + leaf-list vlan-id-list { + description "Create VLAN for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + case case_3 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for VLANs"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface name for this VLAN"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf l3-interface { + description "L3 interface name for this vlans"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-ethernet-switching-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container switch-options { + description "VLANs switch-options configuration"; + uses juniper-protocols-vlan; + } + leaf domain-type { + description "Type of VLANs SVLAN/DVLAN"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of IRB routing-interface"; + type empty; + } + leaf service-id { + description "Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this VLAN"; + type empty; + } + leaf mcae-mac-flush { + description "Enable IRB MAC flush in a/s mode for this VLAN on MCAE link up"; + type empty; + } + leaf private-vlan { + description "Type of secondary vlan for private vlan"; + type enumeration { + enum "isolated" { + description "Isolated vlan"; + } + enum "community" { + description "Community vlan"; + } + } + } + leaf isolated-vlan { + description "VLAN id or name"; + type string { + } + } + leaf-list community-vlans { + ordered-by user; + description "List of VLAN id or name"; + type string; + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + } + } + grouping juniper-ethernet-switching-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for ethernet switching forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for ethernet switching flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for ethernet switching flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "DHCP access security configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping juniper-protocols-vlan { + description "VLANs switch-options configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-routing-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-routing-options@2019-01-01.yang new file mode 100644 index 00000000..3406f244 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-routing-options@2019-01-01.yang @@ -0,0 +1,7195 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-routing-options { + namespace "http://yang.juniper.net/junos-es/conf/routing-options"; + + prefix jc-routing-options; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos routing-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses routing-options-group; + } + augment /jc:configuration/jc:groups { + uses routing-options-group; + } + grouping routing-options-group { + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + } + grouping juniper-routing-options { + uses apply-advanced; + leaf no-soft-core { + description "Disable soft assert to generate core and just log the event"; + type empty; + } + leaf med-igp-update-interval { + description "Delay (in minutes) in updating MED IGP for bgp groups with 'delay-med-update' "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container bmp { + presence "enable bmp"; + description "BGP Monitoring Protocol (BMP) configuration"; + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list station { + key name; + description "Define a BMP station"; + leaf name { + description "Station name"; + type string; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container ppm { + presence "enable ppm"; + description "Set periodic packet management properties"; + uses apply-advanced; + leaf delegate-processing { + description "Enable distribution of PPM sessions"; + status deprecated; + type empty; + } + leaf no-delegate-processing { + description "Disable PPM sessions distribution"; + type empty; + } + leaf redistribution-timer { + description "Time to wait after switchover before starting timers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 120"; + } + } + } + } + leaf no-bfd-triggered-local-repair { + description "Disable bfd triggered local repair"; + type empty; + } + container source-routing { + description "Source-routing options"; + uses apply-advanced; + leaf ip { + description "Enable IP Source Routing"; + type empty; + } + leaf ipv6 { + description "Enable Type 0 RouteHeader processing"; + type empty; + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Auto bandwidth"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Auto bandwidth template"; + leaf name { + description "Auto bandwidth template name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf adjust-interval { + description "Adjust interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + leaf adjust-threshold { + description "Percentage threshhold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf statistic-collection-interval { + description "Collection interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 300"; + } + } + } + leaf auto-bandwidth-subscription { + description "Percentage threshhold for subscription"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 200"; + } + } + } + } + container traceoptions { + description "Trace options for sr stats"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace All"; + } + enum "timer" { + description "Trace traffic recv by periodic timer"; + } + enum "state" { + description "Trace state of sensor"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + list srlg { + key name; + ordered-by user; + description "SRLG configuration"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf srlg-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf srlg-cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container admin-groups-extended-range { + description "Extended administrative groups range"; + uses apply-advanced; + leaf minimum { + description "Minimum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + leaf maximum { + description "Maximum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + list admin-groups-extended { + key name; + ordered-by user; + description "Extended administrative groups"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf group-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + container source-packet-routing { + description "Source packet routing (SPRING)"; + uses apply-advanced; + list mapping-server-entry { + key name; + ordered-by user; + description "Mapping server entry"; + leaf name { + description "Mapping server entry name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list prefix-segment { + key name; + ordered-by user; + description "Prefix segment"; + max-elements 64; + leaf name { + description "Prefix segment prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf index { + description "Prefix segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + list prefix-segment-range { + key name; + ordered-by user; + description "Prefix segment range"; + max-elements 64; + leaf name { + description "Prefix segment range name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-prefix { + description "Start prefix"; + type jt:ipprefix; + } + leaf start-index { + description "Start index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf size { + description "Size of prefix segment range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container options { + description "Miscellaneous options"; + uses apply-advanced; + leaf no-send { + description "Listen only; do not send protocol packets"; + status deprecated; + type empty; + } + leaf no-resolve { + description "Do not use DNS name resolution"; + status deprecated; + type empty; + } + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + container interface-routes { + description "Define routing table groups for interface routes"; + uses apply-advanced; + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + container export { + description "Control exportability of local routes"; + uses apply-advanced; + leaf point-to-point { + description "Make point-to-point routes exportable"; + type empty; + } + leaf lan { + description "Make LAN routes exportable"; + type empty; + } + } + } + } + leaf loopback-strict-disable { + description "Completely disable lo0 host prefix when in admin-down state"; + type empty; + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list iso-route { + key name; + ordered-by user; + description "ISO family static route"; + leaf name { + type jt:isoprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + leaf firewall-install-disable { + description "Disable installing flowspec firewall filters in dfwd "; + type empty; + } + leaf term-order { + description "Term evaluation order for flow routes"; + type enumeration { + enum "legacy" { + description "Legacy term order (default)"; + } + enum "standard" { + description "RFC compliant term order"; + } + } + } + } + list rib-groups { + key name; + ordered-by user; + description "Group of routing tables"; + uses rpd_rib_group_type; + } + leaf route-record { + description "Enable route recording"; + type empty; + } + leaf router-id { + description "Router identifier"; + type jt:ipv4addr; + } + leaf route-distinguisher-id { + description "Identifier used in route distinguishers for routing instances"; + type jt:ipv4addr; + } + container autonomous-system { + description "Autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf asdot-notation { + description "Use AS-Dot notation to display true 4 byte AS numbers"; + type empty; + } + container independent-domain { + presence "enable independent-domain"; + description "Independent autonomous-system domain from master instance"; + leaf no-attrset { + description "Do not tunnel ce bgp attributes across provider network"; + type empty; + } + } + } + container confederation { + description "Confederation autonomous system number"; + leaf confederation-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf-list members { + ordered-by user; + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Direct/Host route FRR protection"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf arp-prefix-limit { + description "Max ARP/Host FRR routes allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf supplementary-blackout-timer { + description "ARP plimit blackout timer = kernel ARP timeout + supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + } + } + container host-fast-reroute { + presence "enable host-fast-reroute"; + description "Host Fast Re-route global values. Applies to all host FRR profiles."; + uses apply-advanced; + leaf global-arp-prefix-limit { + description "Max ARP/Host FRR routes allowed per protected IFL"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf global-supplementary-blackout-timer { + description "ARP plimit global blackout timer = kernel ARP timeout + global-supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + leaf-list tracefilter { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table resolution options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list resolution-family { + ordered-by user; + description "Family of resultion tree"; + type string; + } + leaf-list resolution-ribs { + ordered-by user; + description "Routing tables to use for default routing table family resolution"; + type string; + } + leaf-list inet-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv4 family protocol-next-hop resolution"; + type string; + } + leaf-list inet6-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv6 family protocol-next-hop resolution"; + type string; + } + leaf-list iso-resolution-ribs { + ordered-by user; + description "Routing tables to use for iso family protocol-next-hop resolution"; + type string; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list inet-import { + ordered-by user; + description "Import policy for IPV4 family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6-import { + ordered-by user; + description "Import policy for IPV6 family resolution tree"; + type jt:policy-algebra; + } + leaf-list iso-import { + ordered-by user; + description "Import policy for ISO family resolution tree"; + type jt:policy-algebra; + } + leaf-list inetcolor-import { + ordered-by user; + description "Import policy for INETCOLOR family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6color-import { + ordered-by user; + description "Import policy for INET6COLOR family resolution tree"; + type jt:policy-algebra; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + leaf-list instance-import { + ordered-by user; + description "Import policy for instance RIBs"; + type jt:policy-algebra; + } + leaf-list instance-export { + ordered-by user; + description "Export policy for instance RIBs"; + type jt:policy-algebra; + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export"; + type empty; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container family { + container inet { + description "IPv4 parameters"; + uses export-af-obj; + } + container inet6 { + description "IPv6 parameters"; + uses export-af-obj; + } + container iso { + description "ISO parameters"; + uses export-af-obj; + } + } + } + container dynamic-tunnels { + description "Dynamic tunnel definitions"; + uses apply-advanced; + list tunnel-attributes { + key name; + ordered-by user; + description "Dynamic tunnel attributes definition"; + leaf name { + description "Dynamic Tunnel attribute name"; + type string { + } + } + uses apply-advanced; + leaf dynamic-tunnel-source-prefix { + description "Tunnel source address"; + type jt:ipaddr; + } + leaf dynamic-tunnel-type { + type enumeration { + enum "GRE" { + description "Tunnel type GRE"; + } + enum "V4oV6" { + description "Tunnel type is IPV4oIPV6"; + } + enum "UDP" { + description "Tunnel type UDP"; + } + enum "BGP-SIGNAL" { + description "Tunnel type BGP-SIGNAL"; + } + } + } + leaf dynamic-tunnel-mtu { + description "Dynamic Tunnel MTU value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "296 .. 9232"; + } + } + } + leaf dynamic-tunnel-anchor-pfe { + description "Dynamic Tunnel anchor PFE name of format pfe-x/y/z"; + type string { + } + } + leaf dynamic-tunnel-anti-spoof { + type enumeration { + enum "on" { + description "Enable antispoofing check. Default is enabled"; + } + enum "off" { + description "Disable antispoofing check"; + } + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "kernel" { + description "Trace kernel communication"; + } + enum "tunnel" { + description "Trace tunnel addition, change, or deletion"; + } + enum "task" { + description "Trace task or job processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf gre { + description "Enable dynamic gre tunnel mode"; + type enumeration { + enum "next-hop-based-tunnel" { + description "Enable nh base dynamic-tunnel"; + } + } + } + list dynamic-tunnel { + key name; + ordered-by user; + uses dynamic_tunnel_type; + } + } + container logical-system-mux { + description "Logical system control daemon information"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug-level lrmuxd activities"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container programmable-rpd { + description "RPD Server module management options"; + uses programmable-rpd-type; + } + container topologies { + description "Define routing topologies"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology information"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + } + } + } + container backup-selection { + presence "enable backup-selection"; + description "Backup selection options"; + uses apply-advanced; + list destination { + key name; + description "IP/IPv6 prefix for which backup selection policy is configured"; + leaf name { + description "IP/IPv6 address (and optional prefix length)"; + type jt:ipprefix-mandatory; + } + uses apply-advanced; + list interface { + key name; + description "Primary nexthop interface for which backup selection policy is configured"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container admin-group { + description "Administrative group policies for backup-selection"; + uses apply-advanced; + leaf-list exclude { + description "Do not use interface if any admin group available"; + type string; + } + leaf-list include-all { + description "Use interface if admin groups available entirely"; + type string; + } + leaf-list include-any { + description "Use interface if any admin group is available"; + type string; + } + leaf-list preference { + ordered-by user; + description "Administrative groups in descending preference order"; + type string; + } + } + leaf srlg { + description "Evaluate Shared Risk Link Group(SRLG) characteristics for backup selection"; + default "loose"; + type enumeration { + enum "loose" { + description "Loose SRLG"; + } + enum "strict" { + description "Strict SRLG"; + } + } + } + leaf protection-type { + description "Type of protection to be considered"; + type enumeration { + enum "link" { + description "Protect the primary interface from link faults only"; + } + enum "node" { + description "Protect the primary interface from node faults only"; + } + enum "node-link" { + description "Protect the primary interface from either link or node faults; prefer node protection"; + } + } + } + leaf downstream-paths-only { + description "Choose only the downstream nodes for backup"; + type empty; + } + leaf bandwidth-greater-equal-primary { + description "Use backup nexthop only if bandwidth is >= bandwidth of primary nexthop"; + type empty; + } + container backup-neighbor { + description "Backup Neighbor ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of backup neighbors to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of backup neighbors in descending order preference"; + type jt:ipv4addr; + } + } + container node { + description "Node ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of nodes to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of nodes in the descending order of preference"; + type jt:ipv4addr; + } + } + container node-tag { + description "Node tag policies"; + uses apply-advanced; + leaf-list exclude { + description "The set of node tags to be excluded"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list preference { + ordered-by user; + description "The set of node tags in the descending order of preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf root-metric { + description "Root metric"; + type enumeration { + enum "lowest" { + description "Choose lowest root metric"; + } + enum "highest" { + description "Choose highest root metric"; + } + } + } + leaf dest-metric { + description "Destination metric"; + type enumeration { + enum "lowest" { + description "Choose lowest destination metric"; + } + enum "highest" { + description "Choose highest destination metric"; + } + } + } + leaf-list metric-order { + ordered-by user; + description "Metric evaluation order"; + type enumeration { + enum "root" { + } + enum "dest" { + } + } + max-elements 2; + } + leaf-list evaluation-order { + ordered-by user; + description "Interface policy criteria evaluation order"; + type enumeration { + enum "admin-group" { + description "Administrative Group/Link Color"; + } + enum "srlg" { + description "SRLG"; + } + enum "bandwidth" { + description "Bandwidth"; + } + enum "protection-type" { + description "Type of protection"; + } + enum "backup-neighbor" { + description "Backup Neighbor"; + } + enum "node" { + description "Node"; + } + enum "node-tag" { + description "Node tag"; + } + enum "metric" { + description "Metric related parameters"; + } + } + } + } + } + } + container fate-sharing { + description "Fate-sharing links or nodes database"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group of objects sharing common characteristics"; + leaf name { + description "Name of object groups sharing the same fate"; + type string { + } + } + uses apply-advanced; + leaf cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf use-for-post-convergence-lfa { + description "Use this fate-sharing group as a constraint for post-convergence-lfa"; + type empty; + } + list from { + key name; + uses fate_sharing_links; + } + } + } + container validation { + description "Define Route validation"; + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list notification-rib { + ordered-by user; + description "Define routing tables that get notified upon validation state change"; + type string; + } + list group { + key name; + description "Define a group of sessions"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf max-sessions { + description "Maximum connected session in this group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 63"; + } + } + } + list session { + key name; + description "Configure a session"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Interval between keepalive packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf hold-time { + description "Time after which the session is declared down."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + leaf record-lifetime { + description "Lifetime of route validation records"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 604800"; + } + } + } + leaf preference { + description "Preference for session establishment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf port { + description "Portnumber to connect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf local-address { + type jt:ipaddr; + } + } + } + container static { + description "Define static route validation record"; + uses apply-advanced; + list record { + key name; + description "Static route validation record"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + list maximum-length { + key name; + ordered-by user; + leaf name { + description "Maximum prefix-length for route validation record"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + uses apply-advanced; + list origin-autonomous-system { + key name; + ordered-by user; + leaf name { + description "Legitimate Origin Autonomous System"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf validation-state { + description "Validation state for route validation record"; + type enumeration { + enum "invalid" { + description "Invalid route validation state"; + } + enum "valid" { + description "Valid route validation state"; + } + } + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping dynamic_tunnel_type { + description "Dynamic tunnel definition"; + leaf name { + description "Tunnel name"; + type string { + } + } + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipaddr; + } + choice tunnel-type { + case case_1 { + list rsvp-te { + key name; + ordered-by user; + description "RSVP-TE point-to-point LSP"; + leaf name { + description "Configure multiple entries for RSVP tunnel"; + type string; + } + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + } + case case_2 { + leaf gre { + description "Generic routing encapsulation type for IPv4"; + type empty; + } + } + case case_3 { + leaf udp { + description "UDP encapsulation type for IPv4"; + type empty; + } + } + case case_4 { + leaf bgp-signal { + description "BGP signals the encapsulation type for IPv4"; + type empty; + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + grouping export-af-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export for address family"; + type empty; + } + } + } + container unicast { + description "Unicast routing information"; + presence "enable unicast"; + uses export-subaf-obj; + } + container multicast { + description "Multicast routing information"; + presence "enable multicast"; + uses export-subaf-obj; + } + container flow { + description "Flow routing information"; + presence "enable flow"; + uses export-subaf-obj; + } + } + grouping export-subaf-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance export"; + type empty; + } + } + } + leaf rib-group { + description "Auxiliary rib-group of additional RIBs to consider"; + type string; + } + } + grouping fate_sharing_links { + leaf name { + description "Router ID or LAN interface address"; + type jt:ipv4addr; + } + leaf to { + description "Point-to-point links"; + type jt:ipv4addr; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + leaf destination { + description "Destination prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf source { + description "Source prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf-list icmp-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list icmp-type { + ordered-by user; + description "ICMP message type"; + type string; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping network_type { + leaf name { + description "Network prefix"; + type jt:ipprefix; + } + uses apply-advanced; + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping programmable-rpd-type { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "client" { + description "Client events"; + } + enum "japi" { + description "JAPI related traces"; + } + enum "routing-interface" { + description "Routing interface traces"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container purge-timeout { + presence "enable purge-timeout"; + description "Purge timeout for all programmable-rpd clients in seconds"; + choice purge-parm { + case case_1 { + leaf timeout { + description "Timeout value, in seconds, for purging client programmed objects"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Programmable-rpd client options"; + leaf name { + description "Client ID"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + list interface-notification { + key name; + ordered-by user; + description "Interfaces for notification"; + leaf name { + description "Interface"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping rpd_rib_group_type { + description "Routing table group"; + leaf name { + description "Routing table group"; + type string; + } + uses apply-advanced; + leaf export-rib { + description "Export routing table"; + type string; + } + leaf-list import-rib { + ordered-by user; + description "Import routing table"; + type string; + } + leaf-list import-policy { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-schedulers@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-schedulers@2019-01-01.yang new file mode 100644 index 00000000..10929877 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-schedulers@2019-01-01.yang @@ -0,0 +1,186 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-schedulers { + namespace "http://yang.juniper.net/junos-es/conf/schedulers"; + + prefix jc-schedulers; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos schedulers configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses schedulers-group; + } + augment /jc:configuration/jc:groups { + uses schedulers-group; + } + grouping schedulers-group { + container schedulers { + description "Security scheduler"; + uses apply-advanced; + list scheduler { + key name; + ordered-by user; + description "Scheduler configuration"; + uses scheduler_object_type; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping scheduler_object_type { + leaf name { + description "Name of security scheduler"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of scheduler"; + type string { + length "1 .. 900"; + } + } + list start-date { + key "start-date stop-date"; + ordered-by user; + description "Start date and time ([YYYY-]MM-DD.hh:mm)"; + max-elements 2; + leaf start-date { + description "Start date and time ([YYYY-]MM-DD.hh:mm)"; + type string { + } + } + leaf stop-date { + description "Stop date and time ([YYYY-]MM-DD.hh:mm)"; + type string { + } + } + uses apply-advanced; + } + container daily { + description "Everyday; can be overwritten by specific weekday"; + uses daily-object; + } + container sunday { + description "Every Sunday"; + uses daily-object; + } + container monday { + description "Every Monday"; + uses daily-object; + } + container tuesday { + description "Every Tuesday"; + uses daily-object; + } + container wednesday { + description "Every Wednesday"; + uses daily-object; + } + container thursday { + description "Every Thursday"; + uses daily-object; + } + container friday { + description "Every Friday"; + uses daily-object; + } + container saturday { + description "Every Saturday"; + uses daily-object; + } + } + grouping daily-object { + description "Daily schedule"; + uses apply-advanced; + choice daily_type { + case case_1 { + list start-time { + key "start-time-value stop-time"; + description "Time range for day"; + max-elements 2; + leaf start-time-value { + description "Start time for day (hh:mm)"; + type string { + } + } + leaf stop-time { + description "Stop time for day (hh:mm)"; + type string { + } + } + uses apply-advanced; + } + } + case case_2 { + leaf exclude { + description "Exclude day from week"; + type empty; + } + } + case case_3 { + leaf all-day { + description "Include complete day"; + type empty; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-security@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-security@2019-01-01.yang new file mode 100644 index 00000000..7cf87ed6 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-security@2019-01-01.yang @@ -0,0 +1,23619 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-security { + namespace "http://yang.juniper.net/junos-es/conf/security"; + + prefix jc-security; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos security configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses security-group; + } + augment /jc:configuration/jc:groups { + uses security-group; + } + grouping security-group { + container security { + description "Security configuration"; + uses apply-advanced; + container alarms { + description "Configure security alarms"; + uses apply-advanced; + container audible { + presence "enable audible"; + description "Beep when new security alarms arrive"; + uses apply-advanced; + leaf continuous { + description "Keep beeping until all security alarms have been cleared"; + type empty; + } + } + container potential-violation { + description "Configure potential security violations"; + uses apply-advanced; + leaf authentication { + description "Raise alarm for specified number of authentication failures"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf cryptographic-self-test { + description "Raise alarm for cryptographic self test failures"; + type empty; + } + container decryption-failures { + presence "enable decryption-failures"; + description "No. of decryption failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 1000]"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + container encryption-failures { + presence "enable encryption-failures"; + description "No. of encryption failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 1000]"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + container ike-phase1-failures { + presence "enable ike-phase1-failures"; + description "No. of IKE Phase-1 failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 20]"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + container ike-phase2-failures { + presence "enable ike-phase2-failures"; + description "No. of IKE Phase-2 failures before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Threshold value [default is 20]"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + leaf key-generation-self-test { + description "Raise alarm for key generation self test failures"; + type empty; + } + leaf non-cryptographic-self-test { + description "Raise alarm for non-cryptographic self test failures"; + type empty; + } + container policy { + description "Raise alarm for flow policy violations"; + uses apply-advanced; + container source-ip { + presence "enable source-ip"; + description "Configure source address type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of source IP address matches to raise alarm"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total source IP address number that can be done policy violation check concurrently"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container destination-ip { + presence "enable destination-ip"; + description "Configure destination address type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of destination IP address matches to raise alarm"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total destination IP address number that can be done policy violation check concurrently"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container application { + presence "enable application"; + description "Configure application type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of application matches to raise alarm"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total application number that can be done policy violation check concurrently"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container policy-match { + presence "enable policy-match"; + description "Configure policy type of policy violation"; + uses apply-advanced; + leaf threshold { + description "Number of policy matches to raise alarm"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf duration { + description "Time window matches must occur within"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf size { + description "Total concurrent number of policy check violations"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + } + container replay-attacks { + presence "enable replay-attacks"; + description "No. of Replay attacks before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Replay threshold value"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + leaf security-log-percent-full { + description "Raise alarm when security log exceeds this percent capacity"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 100"; + } + } + } + leaf idp { + description "Raise alarm for idp attack"; + type empty; + } + } + } + container log { + description "Configure security log"; + uses apply-advanced; + list exclude { + key name; + ordered-by user; + description "List of security log criteria to exclude from the audit log"; + status deprecated; + leaf name { + description "Exclude criteria name"; + type string; + } + uses apply-advanced; + leaf destination-address { + description "Destination address"; + type jt:ipaddr; + } + leaf destination-port { + description "Destination port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf event-id { + description "Event ID filter"; + type string; + } + leaf failure { + description "Event was a failure"; + type empty; + } + leaf interface-name { + description "Name of interface"; + type string; + } + leaf policy-name { + description "Policy name filter"; + type string; + } + leaf process { + description "Process that generated the event"; + type string; + } + leaf protocol { + description "Protocol filter"; + type string; + } + leaf source-address { + description "Source address"; + type jt:ipaddr; + } + leaf source-port { + description "Source port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf success { + description "Event was successful"; + type empty; + } + leaf username { + description "Username filter"; + type string; + } + } + leaf limit { + description "Limit number of security log entries to keep in memory"; + status deprecated; + default "10000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container cache { + presence "enable cache"; + description "Cache security log events in the audit log buffer"; + uses apply-advanced; + list exclude { + key name; + ordered-by user; + description "List of security log criteria to exclude from the audit log"; + leaf name { + description "Exclude criteria name"; + type string; + } + uses apply-advanced; + leaf destination-address { + description "Destination address"; + type jt:ipaddr; + } + leaf destination-port { + description "Destination port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf event-id { + description "Event ID filter"; + type string; + } + leaf failure { + description "Event was a failure"; + type empty; + } + leaf interface-name { + description "Name of interface"; + type string; + } + leaf policy-name { + description "Policy name filter"; + type string; + } + leaf process { + description "Process that generated the event"; + type string; + } + leaf protocol { + description "Protocol filter"; + type string; + } + leaf source-address { + description "Source address"; + type jt:ipaddr; + } + leaf source-port { + description "Source port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf success { + description "Event was successful"; + type empty; + } + leaf username { + description "Username filter"; + type string; + } + } + leaf limit { + description "Limit number of security log entries to keep in memory"; + default "10000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf disable { + description "Disable security logging for the device"; + type empty; + } + leaf utc-timestamp { + description "Use UTC time for security log timestamps"; + type empty; + } + leaf mode { + description "Controls how security logs are processed and exported"; + type enumeration { + enum "stream" { + description "Process security logs directly in the forwarding plane"; + } + enum "event" { + description "Process security logs in the control plane"; + } + } + } + leaf event-rate { + description "Control plane event rate"; + units "logs per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1500"; + } + } + } + leaf format { + description "Set security log format for the device"; + type enumeration { + enum "syslog" { + description "Traditional syslog"; + } + enum "sd-syslog" { + description "Structured syslog"; + } + enum "binary" { + description "Binary log"; + } + } + } + leaf rate-cap { + description "Data plane event rate"; + units "logs per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5000"; + } + } + } + leaf max-database-record { + description "Maximum records in database"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container report { + presence "enable report"; + description "Set security log report settings"; + } + choice source { + case case_1 { + leaf source-address { + description "Source ip address used when exporting security logs"; + type jt:ipaddr; + } + } + case case_2 { + leaf source-interface { + description "Source interface used when exporting security logs"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container transport { + presence "enable transport"; + description "Set security log transport settings"; + uses apply-advanced; + leaf tcp-connections { + description "Set tcp connection number per-stream"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf protocol { + description "Set security log transport protocol for the device"; + type enumeration { + enum "udp" { + description "UDP transfer for log"; + } + enum "tcp" { + description "TCP transfer for log"; + } + enum "tls" { + description "TLS transfer for log"; + } + } + } + leaf tls-profile { + description "TLS profile"; + type string; + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + list stream { + key name; + ordered-by user; + description "Set security log stream settings"; + max-elements 8; + leaf name { + description "Name of security log stream"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf severity { + description "Severity threshold for security logs"; + type enumeration { + enum "emergency" { + description "Conditions that cause security functions to stop"; + } + enum "alert" { + description "Conditions that require immediate attention"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "General error conditions"; + } + enum "warning" { + description "General warning conditions"; + } + enum "notice" { + description "Non-error conditions that are of interest"; + } + enum "info" { + description "Information about normal security operations"; + } + enum "debug" { + description "Information normally used in debugging"; + } + } + } + leaf format { + description "Specify the log stream format"; + type enumeration { + enum "syslog" { + description "Traditional syslog"; + } + enum "sd-syslog" { + description "Structured syslog"; + } + enum "welf" { + description "Web Trends Extended Log Format"; + } + enum "binary" { + description "Binary log"; + } + } + } + list category { + key name; + ordered-by user; + description "Selects the type of events that may be logged"; + leaf name { + type enumeration { + enum "all" { + description "All events are logged"; + } + enum "content-security" { + description "Content security events are logged"; + } + enum "fw-auth" { + description "Fw-auth events are logged"; + } + enum "screen" { + description "Screen events are logged"; + } + enum "alg" { + description "Alg events are logged"; + } + enum "nat" { + description "Nat events are logged"; + } + enum "flow" { + description "Flow events are logged"; + } + enum "sctp" { + description "Sctp events are logged"; + } + enum "gtp" { + description "Gtp events are logged"; + } + enum "ipsec" { + description "Ipsec events are logged"; + } + enum "idp" { + description "Idp events are logged"; + } + enum "rtlog" { + description "Rtlog events are logged"; + } + enum "pst-ds-lite" { + description "Pst-ds-lite events are logged"; + } + enum "appqos" { + description "Appqos events are logged"; + } + enum "secintel" { + description "Secintel events are logged"; + } + enum "aamw" { + description "AAMW events are logged"; + } + } + } + uses apply-advanced; + } + list filter { + key name; + ordered-by user; + description "Selects the filter to filter the logs to be logged"; + leaf name { + type enumeration { + enum "threat-attack" { + description "Threat-attack security events are logged"; + } + } + } + uses apply-advanced; + } + container host { + description "Destination to send security logs to"; + uses host-object; + } + container rate-limit { + description "Rate-limit for security logs"; + uses apply-advanced; + leaf rate { + description "Log rate"; + units "logs per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container file { + description "Security log file options for logs in local file"; + uses apply-advanced; + leaf localfilename { + description "Name of local log file"; + type string { + length "1 .. 256"; + } + } + leaf size { + description "Maximum size of local log file in megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf rotation { + description "Maximum number of rotate files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 19"; + } + } + } + leaf allow-duplicates { + description "To disable log consolidation"; + type empty; + } + } + } + container file { + description "Security log file options for logs in binary format"; + uses apply-advanced; + leaf filename { + description "Name of binary log file"; + type string { + length "1 .. 256"; + } + } + leaf size { + description "Maximum size of binary log file in megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf path { + description "Path to binary log files"; + type string { + length "1 .. 256"; + } + } + leaf files { + description "Maximum number of binary log files"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + } + container traceoptions { + description "Security log daemon trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "List of things to include in trace"; + leaf name { + type enumeration { + enum "source" { + description "Communication with security log forwarder"; + } + enum "configuration" { + description "Reading of configuration"; + } + enum "all" { + description "Everything"; + } + enum "report" { + description "Trace report"; + } + enum "hpl" { + description "Trace HPL logging"; + } + } + } + } + } + } + container certificates { + description "X.509 certificate configuration"; + uses apply-advanced; + list local { + key name; + ordered-by user; + description "Local X.509 certificate configuration"; + uses certificate-object; + } + leaf path-length { + description "Maximum certificate path length"; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf maximum-certificates { + description "Maximum number of certificates to cache"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4294967295"; + } + } + } + leaf cache-size { + description "Maximum size of certificate cache"; + units "bytes"; + type string; + } + leaf cache-timeout-negative { + description "Time in seconds to cache negative responses"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 4294967295"; + } + } + } + leaf enrollment-retry { + description "Number of retry attempts for an enrollment request"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1080"; + } + } + } + list certification-authority { + key name; + ordered-by user; + description "CA X.509 certificate configuration"; + leaf name { + description "CA profile name"; + type string { + } + } + uses apply-advanced; + leaf ca-name { + description "CA name"; + type string; + } + leaf file { + description "File to read certificate from"; + type string; + } + leaf crl { + description "File to read crl from"; + type string; + } + leaf enrollment-url { + description "URL"; + type string; + } + leaf ldap-url { + description "URL"; + type string; + } + leaf encoding { + description "Encoding to use for certificate or CRL on disk"; + default "binary"; + type enumeration { + enum "binary" { + description "DER encoding"; + } + enum "pem" { + description "Privacy-enhanced-mail encoding, base64"; + } + } + } + } + } + container authentication-key-chains { + description "Authentication key chain configuration"; + uses security-authentication-key-chains; + } + container ssh-known-hosts { + description "SSH known host list"; + uses apply-advanced; + list host { + key name; + ordered-by user; + description "SSH known host entry"; + leaf name { + description "Host name"; + type string; + } + uses apply-advanced; + leaf rsa1-key { + description "Base64 encoded RSA key (protocol version 1)"; + type string; + } + leaf rsa-key { + description "Base64 encoded RSA key"; + type string; + } + leaf dsa-key { + description "Base64 encoded DSA key"; + type string; + } + leaf ecdsa-key { + description "Base64 encoded ECDSA key"; + status deprecated; + type string; + } + leaf ecdsa-sha2-nistp256-key { + description "Base64 encoded ECDSA-SHA2-NIST256 key"; + type string; + } + leaf ecdsa-sha2-nistp384-key { + description "Base64 encoded ECDSA-SHA2-NIST384 key"; + type string; + } + leaf ecdsa-sha2-nistp521-key { + description "Base64 encoded ECDSA-SHA2-NIST521 key"; + type string; + } + leaf ed25519-key { + description "Base64 encoded ED25519 key"; + type string; + } + } + } + leaf key-protection { + description "Common-Criteria key-protection configuration"; + type empty; + } + container pki { + description "PKI service configuration"; + presence "enable pki"; + uses security-pki; + } + container ike { + description "IKE configuration"; + uses security-ike; + } + container ipsec { + description "IPSec configuration"; + uses security-ipsec-vpn; + } + container group-vpn { + description "Group VPN configuration"; + uses security-group-vpn; + } + container ipsec-policy { + description "IPSec policy configuration"; + uses security-ipsec-policies; + } + container idp { + description "Configure IDP"; + list idp-policy { + key name; + ordered-by user; + description "Configure IDP policy"; + uses idp-policy-type; + } + leaf active-policy { + description "Set active policy"; + status deprecated; + type string; + } + list custom-attack { + key name; + ordered-by user; + description "Configure custom attacks"; + uses custom-attack-type; + } + list custom-attack-group { + key name; + ordered-by user; + description "Configure custom attack groups"; + uses custom-attack-group-type; + } + list dynamic-attack-group { + key name; + ordered-by user; + description "Configure dynamic attack groups"; + uses dynamic-attack-group-type; + } + container traceoptions { + description "Trace options for idp services"; + uses idpd-traceoptions-type; + } + container security-package { + description "Security package options"; + uses apply-advanced; + leaf url { + description "URL of Security package download"; + type string; + } + leaf source-address { + description "Source address to be used for sending download request"; + type jt:ipv4addr; + } + container install { + presence "enable install"; + description "Configure install command"; + uses apply-advanced; + leaf ignore-version-check { + description "Skip version check when attack database gets installed"; + type empty; + } + } + container automatic { + presence "enable automatic"; + description "Scheduled download and update"; + uses apply-advanced; + leaf start-time { + description "Start time (YYYY-MM-DD.HH:MM:SS)"; + type jt:time; + } + leaf interval { + description "Interval"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "24 .. 336"; + } + } + } + leaf download-timeout { + description "Maximum time for download to complete"; + status deprecated; + default "1"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable"; + type empty; + } + } + } + } + } + container sensor-configuration { + description "IDP Sensor Configuration"; + container log { + description "IDP Log Configuration"; + uses apply-advanced; + leaf cache-size { + description "Log cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container suppression { + presence "enable suppression"; + description "Log suppression"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable log suppression"; + type empty; + } + } + } + choice include-destination-address-choice { + leaf include-destination-address { + description "Include destination address while performing a log suppression"; + type empty; + } + leaf no-include-destination-address { + description "Don't include destination address while performing a log suppression"; + type empty; + } + } + leaf start-log { + description "Suppression start log"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-logs-operate { + description "Maximum logs can be operate on"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-time-report { + description "Time after suppressed logs will be reported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + container packet-log { + description "IDP Packetlog Configuration"; + uses apply-advanced; + leaf total-memory { + description "Total memory unit(%)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-sessions { + description "Max num of sessions in unit(%)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf threshold-logging-interval { + description "Interval of logs for max limit session/memory reached in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf source-address { + description "Source IP address used to transport packetlog to a host"; + type jt:ipv4addr; + } + container host { + description "Destination host to send packetlog to"; + uses apply-advanced; + leaf ipaddr { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "UDP port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container application-identification { + presence "enable application-identification"; + description "Application identification"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable application identification"; + type empty; + } + } + } + choice application-system-cache-choice { + leaf application-system-cache { + description "Application system cache"; + type empty; + } + leaf no-application-system-cache { + description "Don't application system cache"; + type empty; + } + } + leaf max-tcp-session-packet-memory { + description "Max TCP session memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-udp-session-packet-memory { + description "Max UDP session memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-sessions { + description "Max sessions that can run AI at the same time"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-memory { + description "Max packet memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-memory-ratio { + description "Max packet memory ratio"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-reass-packet-memory-ratio { + description "Max reass packet memory ratio"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf application-system-cache-timeout { + description "Application system cache timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container flow { + description "Flow configuration"; + uses apply-advanced; + choice log-errors-choice { + leaf log-errors { + description "Flow log errors"; + type empty; + } + leaf no-log-errors { + description "Don't flow log errors"; + type empty; + } + } + choice reset-on-policy-choice { + leaf reset-on-policy { + description "Flow reset-on-policy"; + type empty; + } + leaf no-reset-on-policy { + description "Don't flow reset-on-policy"; + type empty; + } + } + choice allow-icmp-without-flow-choice { + leaf allow-icmp-without-flow { + description "Allow icmp without flow"; + type empty; + } + leaf no-allow-icmp-without-flow { + description "Don't allow icmp without flow"; + type empty; + } + } + leaf hash-table-size { + description "Flow hash table size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reject-timeout { + description "Flow reject timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-timers-poll-ticks { + description "Maximum timers poll ticks"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf fifo-max-size { + description "Maximum fifo size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf udp-anticipated-timeout { + description "Maximum udp anticipated timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf drop-on-limit { + description "Drop connections on exceeding resource limits"; + type empty; + } + leaf drop-on-failover { + description "Drop traffic on HA failover sessions"; + type empty; + } + leaf drop-if-no-policy-loaded { + description "Drop all traffic till IDP policy gets loaded"; + type empty; + } + leaf max-sessions-offset { + description "Maximum session offset limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf min-objcache-limit-lt { + description "Memory lower threshold limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf min-objcache-limit-ut { + description "Memory upper threshold limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-steering { + description "Session steering for session anticipation"; + type empty; + } + leaf idp-bypass-cpu-usg-overload { + description "Enable IDP bypass of sessions/packets on CPU usage overload"; + type empty; + } + leaf idp-bypass-cpu-threshold { + description "Threshold of CPU usage in percentage for IDP bypass"; + default "85"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf idp-bypass-cpu-tolerance { + description "Tolerance of CPU usage in percentage for IDP bypass"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container re-assembler { + description "Re-assembler configuration"; + uses apply-advanced; + choice drop-on-syn-in-window-choice { + leaf drop-on-syn-in-window { + description "Drop session when SYN is seen in the window"; + type empty; + } + leaf no-drop-on-syn-in-window { + description "Don't drop session when SYN is seen in the window"; + type empty; + } + } + choice ignore-memory-overflow-choice { + leaf ignore-memory-overflow { + description "Ignore memory overflow"; + type empty; + } + leaf no-ignore-memory-overflow { + description "Don't ignore memory overflow"; + type empty; + } + } + choice ignore-reassembly-memory-overflow-choice { + leaf ignore-reassembly-memory-overflow { + description "Ignore packet reassembly memory overflow"; + type empty; + } + leaf no-ignore-reassembly-memory-overflow { + description "Don't ignore packet reassembly memory overflow"; + type empty; + } + } + leaf ignore-reassembly-overflow { + description "Ignore global reassembly overflow"; + type empty; + } + leaf max-packet-mem { + description "Maximum packet memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-flow-mem { + description "Maximum flow memory"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-mem-ratio { + description "Maximum packet memory ratio"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf action-on-reassembly-failure { + description "Select the action on reassembly failures"; + default "drop"; + type enumeration { + enum "ignore" { + description "No action is taken."; + } + enum "drop" { + description "Drop the packet."; + } + enum "drop-session" { + description "Drop the session."; + } + } + } + choice tcp-error-logging-choice { + leaf tcp-error-logging { + description "Enable logging on tcp errors"; + type empty; + } + leaf no-tcp-error-logging { + description "Don't enable logging on tcp errors"; + type empty; + } + } + leaf max-synacks-queued { + description "Maximum syn-acks queued with different SEQ numbers "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice force-tcp-window-checks-choice { + leaf force-tcp-window-checks { + description "Force TCP window checks if uni-directional policy is configured"; + type empty; + } + leaf no-force-tcp-window-checks { + description "Don't force TCP window checks if uni-directional policy is configured"; + type empty; + } + } + } + container ips { + description "Ips configuration"; + uses apply-advanced; + choice process-override-choice { + leaf process-override { + description "Process override"; + type empty; + } + leaf no-process-override { + description "Don't process override"; + type empty; + } + } + choice detect-shellcode-choice { + leaf detect-shellcode { + description "Detect shellcode"; + type empty; + } + leaf no-detect-shellcode { + description "Don't detect shellcode"; + type empty; + } + } + choice process-ignore-s2c-choice { + leaf process-ignore-s2c { + description "Process ignore s2c"; + type empty; + } + leaf no-process-ignore-s2c { + description "Don't process ignore s2c"; + type empty; + } + } + choice ignore-regular-expression-choice { + leaf ignore-regular-expression { + description "Ignore regular expression"; + type empty; + } + leaf no-ignore-regular-expression { + description "Don't ignore regular expression"; + type empty; + } + } + leaf process-port { + description "Process port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf fifo-max-size { + description "Maximum fifo size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf log-supercede-min { + description "Minimum log supercede"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf content-decompression-max-memory-kb { + description "Maximum memory usage in kilo bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf content-decompression-max-ratio { + description "Maximum decompression ratio supported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-pkt-depth { + description "Session pkt scanning depth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container global { + description "Global configuration"; + uses apply-advanced; + choice enable-packet-pool-choice { + leaf enable-packet-pool { + description "Enable packet pool"; + type empty; + } + leaf no-enable-packet-pool { + description "Don't enable packet pool"; + type empty; + } + } + choice enable-all-qmodules-choice { + leaf enable-all-qmodules { + description "Enable all qmodules"; + type empty; + } + leaf no-enable-all-qmodules { + description "Don't enable all qmodules"; + type empty; + } + } + choice policy-lookup-cache-choice { + leaf policy-lookup-cache { + description "Policy lookup cache"; + type empty; + } + leaf no-policy-lookup-cache { + description "Don't policy lookup cache"; + type empty; + } + } + leaf memory-limit-percent { + description "Memory limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container detector { + description "Detector Configuration"; + uses apply-advanced; + list protocol-name { + key name; + ordered-by user; + description "Apropriate help string"; + uses proto-object; + } + } + container ssl-inspection { + description "SSL inspection"; + uses apply-advanced; + leaf sessions { + description "Number of SSL sessions to inspect"; + default "10000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-id-cache-timeout { + description "Timeout value for SSL session ID cache"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf maximum-cache-size { + description "Maximum SSL session ID cache size"; + default "100000"; + units "sessions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf cache-prune-chunk-size { + description "Number of cache entries to delete when pruning SSL session ID cache"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf key-protection { + description "Enable SSL key protection"; + type empty; + } + } + leaf disable-low-memory-handling { + description "Do not abort IDP operations under low memory condition"; + type empty; + } + container high-availability { + description "High availability configuration"; + uses apply-advanced; + leaf no-policy-cold-synchronization { + description "Disable policy cold synchronization"; + type empty; + } + } + container security-configuration { + description "IDP security configuration"; + uses apply-advanced; + leaf protection-mode { + description "Enable security protection mode"; + type enumeration { + enum "datacenter" { + description "Security protection mode for datacenter"; + } + enum "datacenter-full" { + description "Full security protection mode for datacenter"; + } + enum "perimeter" { + description "Security protection mode for perimeter"; + } + enum "perimeter-full" { + description "Full security protection mode for perimeter"; + } + } + } + } + } + uses apply-advanced; + container processes { + description "Configure IDP Processes"; + uses apply-advanced; + } + } + list address-book { + key name; + ordered-by user; + description "Security address book"; + max-elements 4096; + uses named-address-book-type; + } + container alg { + description "Configure ALG security options"; + uses alg-object; + } + container application-firewall { + presence "enable application-firewall"; + description "Configure application-firewall rule-sets"; + status deprecated; + uses apply-advanced; + container traceoptions { + description "Rule-sets Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "lookup" { + description "Trace lookup events"; + } + enum "compilation" { + description "Rule-sets compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list profile { + key name; + ordered-by user; + description "Configure application-firewall profile"; + leaf name { + description "Surf control integrated profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container block-message { + description "Block message settings"; + uses apply-advanced; + container type { + description "Type of block message desired"; + uses apply-advanced; + choice type-choice { + case case_1 { + container custom-text { + description "Custom defined block message"; + uses apply-advanced; + leaf content { + description "Content of custom-text"; + type string { + length "1 .. 511"; + } + } + } + } + case case_2 { + container custom-redirect-url { + description "Custom redirect URL server"; + uses apply-advanced; + leaf content { + description "URL of block message"; + type string { + length "1 .. 1023"; + } + } + } + } + } + } + } + } + list rule-sets { + key name; + ordered-by user; + description "Configure application-firewall rule-sets"; + leaf name { + description "Application firewall rule-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule"; + uses appfw_rule_type; + } + container default-rule { + presence "enable default-rule"; + description "Specify default rule for a rule-set"; + uses apply-advanced; + choice action { + case case_1 { + leaf permit { + description "Permit packets"; + type empty; + } + } + case case_2 { + container deny { + presence "enable deny"; + description "Deny packets"; + uses apply-advanced; + leaf block-message { + description "Block message"; + type empty; + } + } + } + case case_3 { + container reject { + presence "enable reject"; + description "Reject packets"; + uses apply-advanced; + leaf block-message { + description "Block message"; + type empty; + } + } + } + } + } + leaf profile { + description "Profile for block message"; + type string; + } + } + container nested-application { + presence "enable nested-application"; + description "Configure nested application dynamic lookup"; + status deprecated; + uses apply-advanced; + container dynamic-lookup { + presence "enable dynamic-lookup"; + description "Configure dynamic lookup"; + uses apply-advanced; + leaf enable { + description "Enable dynamic lookup"; + type empty; + } + } + } + } + container application-tracking { + presence "enable application-tracking"; + description "Application tracking configuration"; + uses apply-advanced; + leaf disable { + description "Disable Application tracking"; + type empty; + } + choice update-interval { + case case_1 { + leaf first-update-interval { + description "Interval when the first update message is sent"; + units "minutes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf first-update { + description "Generate Application tracking initial message when a session is created"; + type empty; + } + } + } + leaf session-update-interval { + description "Frequency in which Application tracking update messages are generated"; + units "minutes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container utm { + description "Content security service configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for utm"; + uses utm-traceoptions; + } + container application-proxy { + description "Application proxy settings"; + uses apply-advanced; + container traceoptions { + description "Trace options for application proxy"; + uses utm-apppxy-traceoptions; + } + } + container ipc { + description "IPC settings"; + uses apply-advanced; + container traceoptions { + description "Trace options for IPC"; + uses utm-ipc-traceoptions; + } + } + container custom-objects { + description "Custom-objects settings"; + uses apply-advanced; + container category-package { + description "Category package download and install options"; + uses apply-advanced; + leaf url { + description "HTTPS URL of category package download"; + type string; + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + container automatic { + description "Scheduled download and install"; + uses apply-advanced; + leaf start-time { + description "Start time (YYYY-MM-DD.HH:MM:SS)"; + type jt:time; + } + leaf interval { + description "Interval in hours"; + default "168"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 336"; + } + } + } + leaf enable { + description "Enable automatic download and install"; + type empty; + } + } + } + list mime-pattern { + key name; + ordered-by user; + description "Configure mime-list object"; + uses mime-list-type; + } + list filename-extension { + key name; + ordered-by user; + description "Configure extension-list object"; + uses extension-list-type; + } + list url-pattern { + key name; + ordered-by user; + description "Configure url-list object"; + uses url-list-type; + } + list custom-url-category { + key name; + ordered-by user; + description "Configure category-list object"; + uses category-list-type; + } + list protocol-command { + key name; + ordered-by user; + description "Configure command-list object"; + uses command-list-type; + } + list custom-message { + key name; + ordered-by user; + description "Configure custom-message object"; + uses custom-message-type; + } + } + container default-configuration { + description "Global default UTM configurations"; + uses apply-advanced; + container anti-virus { + description "Configure anti-virus feature"; + uses default-anti-virus-feature; + } + container web-filtering { + description "Configure web-filtering feature"; + uses default-webfilter-feature; + } + container anti-spam { + description "Configure anti-spam feature"; + uses default-anti-spam-feature; + } + container content-filtering { + description "Configure content filtering feature"; + uses default-content-filtering-feature; + } + } + container feature-profile { + description "Feature-profile settings"; + uses apply-advanced; + container anti-virus { + description "Configure anti-virus feature"; + uses anti-virus-feature; + } + container web-filtering { + description "Configure web-filtering feature"; + uses webfilter-feature; + } + container anti-spam { + description "Configure anti-spam feature"; + uses anti-spam-feature; + } + container content-filtering { + description "Configure content filtering feature"; + uses content-filtering-feature; + } + } + list utm-policy { + key name; + ordered-by user; + description "Configure profile "; + uses profile-setting; + } + } + container dynamic-address { + presence "enable dynamic-address"; + description "Configure security dynamic address"; + uses apply-advanced; + container traceoptions { + description "Security dynamic address tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration details"; + } + enum "control" { + description "Daemon control message"; + } + enum "ipc" { + description "IPC message sending and receiving"; + } + enum "ip-entry" { + description "IP entry management"; + } + enum "file-retrieval" { + description "File retrieval"; + } + enum "lookup" { + description "Lookup detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list feed-server { + key name; + ordered-by user; + description "Security dynamic address feed-server"; + max-elements 2; + leaf name { + description "Security dynamic address feed-server name"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + leaf description { + description "Text description of feed-server"; + type string { + length "1 .. 900"; + } + } + leaf hostname { + description "Hostname or IP address of feed-server"; + type string { + length "1 .. 256"; + } + } + leaf update-interval { + description "Interval to retrieve update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf hold-interval { + description "Time to keep IP entry when update failed"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list feed-name { + key name; + ordered-by user; + description "Feed name in feed-server"; + leaf name { + description "Security dynamic address feed name in feed-server"; + type string { + length "1 .. 240"; + } + } + uses apply-advanced; + leaf description { + description "Text description of feed in feed-server"; + type string { + length "1 .. 900"; + } + } + leaf path { + description "Path of feed, appended to feed-server to form a complete URL"; + type string { + length "1 .. 1024"; + } + } + leaf update-interval { + description "Interval to retrieve update"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf hold-interval { + description "Time to keep IP entry when update failed"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + } + list address-name { + key name; + ordered-by user; + description "Security dynamic address name"; + leaf name { + description "Security dynamic address name"; + type string { + length "1 .. 240"; + } + } + uses apply-advanced; + leaf description { + description "Text description of dynamic address"; + type string { + length "1 .. 900"; + } + } + container profile { + presence "enable profile"; + description "Information to categorize feed data into this dynamic address"; + uses apply-advanced; + list feed-name { + key name; + ordered-by user; + description "Name of feed in feed-server for this dynamic address"; + max-elements 1; + leaf name { + description "Name of feed in feed-server which is mapped to this dynamic address"; + type string { + length "1 .. 240"; + } + } + uses apply-advanced; + } + list category { + key name; + ordered-by user; + description "Name of category"; + max-elements 1; + leaf name { + description "Name of category"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf feed { + description "Name of feed under category"; + type string { + length "1 .. 32"; + } + } + list property { + key name; + ordered-by user; + description "Property to match"; + max-elements 3; + leaf name { + description "Name of property"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + choice property-value { + case case_1 { + list string { + key name; + ordered-by user; + description "Value type is strings"; + max-elements 256; + leaf name { + description "String value"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + } + } + } + } + } + container dynamic-vpn { + description "Configure dynamic VPN"; + uses apply-advanced; + container traceoptions { + description "Dynamic-vpn trace options"; + uses httpd_dvpn_traceoptions_type; + } + leaf force-upgrade { + description "Force Upgrade"; + type empty; + } + leaf access-profile { + description "Configure access"; + type string; + } + leaf-list interface { + ordered-by user; + description "Interfaces that accept Dynamic-VPN client access"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list clients { + key name; + ordered-by user; + description "Configure for remote access client"; + uses clients-object; + } + leaf config-check { + description "Perform extra configuration validation"; + type empty; + } + } + container dynamic-application { + presence "enable dynamic-application"; + description "Configure dynamic-application"; + uses apply-advanced; + container traceoptions { + description "Dynamic application tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "lookup" { + description "Trace lookup events"; + } + enum "compilation" { + description "Rule-sets compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list profile { + key name; + ordered-by user; + description "Configure application-firewall profile"; + leaf name { + description "Surf control integrated profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container redirect-message { + description "Redirect message settings"; + uses apply-advanced; + container type { + description "Type of redirect message desired"; + uses apply-advanced; + choice type-choice { + case case_1 { + container custom-text { + description "Custom defined text block message"; + uses apply-advanced; + leaf content { + description "Content of custom-text"; + type string { + length "1 .. 511"; + } + } + } + } + case case_2 { + container redirect-url { + description "Custom redirect URL server"; + uses apply-advanced; + leaf content { + description "URL of block message"; + type string { + length "1 .. 1023"; + } + } + } + } + } + } + } + } + } + container softwires { + description "Configure softwire feature"; + uses apply-advanced; + list softwire-name { + key name; + description "Configure softwire object"; + uses softwire-option-type; + } + container traceoptions { + description "Trace options for Network Security DS-Lite"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container forwarding-options { + description "Security-forwarding-options configuration"; + uses apply-advanced; + container family { + description "Security forwarding-options for family"; + uses apply-advanced; + container inet6 { + description "Family IPv6"; + uses apply-advanced; + leaf mode { + description "Forwarding mode"; + type enumeration { + enum "packet-based" { + description "Enable packet-based forwarding"; + } + enum "flow-based" { + description "Enable flow-based forwarding"; + } + enum "drop" { + description "Disable forwarding"; + } + } + } + } + container mpls { + description "Family MPLS"; + uses apply-advanced; + leaf mode { + description "Forwarding mode"; + type enumeration { + enum "packet-based" { + description "Enable packet-based forwarding"; + } + } + } + } + container iso { + description "Family ISO"; + uses apply-advanced; + leaf mode { + description "Forwarding mode"; + type enumeration { + enum "packet-based" { + description "Enable packet-based forwarding"; + } + } + } + } + } + list mirror-filter { + key name; + ordered-by user; + description "Security mirror filters"; + max-elements 15; + uses mirror-filter-type; + } + list secure-wire { + key name; + description "Secure-wire cross connections"; + uses secure-wire-type; + } + } + container advanced-services { + description "Advanced services configuration"; + uses apply-advanced; + container data-plane { + description "Data plane configuration"; + uses apply-advanced; + container memory { + description "Data plane memory configuration"; + uses apply-advanced; + leaf low { + description "Reduce data plane memory"; + type empty; + } + } + } + } + container flow { + description "FLOW configuration"; + uses apply-advanced; + leaf enhanced-routing-mode { + description "Enable enhanced route scaling"; + type empty; + } + container traceoptions { + description "Trace options for flow services"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + type enumeration { + enum "all" { + description "All events"; + } + enum "basic-datapath" { + description "Basic packet flow"; + } + enum "high-availability" { + description "Flow high-availability information"; + } + enum "host-traffic" { + description "Flow host-traffic information"; + } + enum "fragmentation" { + description "Ip fragmentation and reassembly events"; + } + enum "multicast" { + description "Multicast flow information"; + } + enum "route" { + description "Route lookup information"; + } + enum "session" { + description "Session creation and deletion events"; + } + enum "session-scan" { + description "Session scan information"; + } + enum "tcp-basic" { + description "TCP packet flow"; + } + enum "tunnel" { + description "Tunnel information"; + } + } + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list packet-filter { + key name; + ordered-by user; + description "Flow packet debug filters"; + max-elements 64; + uses flow-filter-type; + } + container trace-level { + description "FLow trace level"; + uses apply-advanced; + choice level { + case case_1 { + leaf error { + description "Error messages"; + type empty; + } + } + case case_2 { + leaf brief { + description "Brief messages"; + type empty; + } + } + case case_3 { + leaf detail { + description "Detail messages"; + type empty; + } + } + } + } + } + leaf pending-sess-queue-length { + description "Maximum queued length per pending session"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal number of sessions queued"; + } + enum "moderate" { + description "Allow more queued sessions than normal"; + } + enum "high" { + description "Maximum number of queued sessions"; + } + } + } + leaf allow-dns-reply { + description "Allow unmatched incoming DNS reply packet"; + type empty; + } + leaf route-change-timeout { + description "Timeout value for route change to nonexistent route"; + default "6"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 1800"; + } + } + } + leaf syn-flood-protection-mode { + description "TCP SYN flood protection mode"; + default "syn-cookie"; + type enumeration { + enum "syn-cookie" { + description "Enable SYN cookie protection"; + } + enum "syn-proxy" { + description "Enable SYN proxy protection"; + } + } + } + leaf allow-embedded-icmp { + description "Allow embedded ICMP packets not matching a session to pass through"; + type empty; + } + leaf mcast-buffer-enhance { + description "Allow to hold more packets during multicast session creation"; + type empty; + } + leaf allow-reverse-ecmp { + description "Allow reverse ECMP route lookup"; + type empty; + } + leaf sync-icmp-session { + description "Allow icmp sessions to sync to peer node"; + type empty; + } + leaf ipsec-performance-acceleration { + description "Accelerate the IPSec traffic performance"; + type empty; + } + container aging { + description "Aging configuration"; + uses apply-advanced; + leaf early-ageout { + description "Delay before device declares session invalid"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf low-watermark { + description "Percentage of session-table capacity at which aggressive aging-out ends"; + default "100"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-watermark { + description "Percentage of session-table capacity at which aggressive aging-out starts"; + default "100"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container ethernet-switching { + description "Ethernet-switching configuration for flow"; + uses apply-advanced; + leaf block-non-ip-all { + description "Block all non-IP and non-ARP traffic including broadcast/multicast"; + type empty; + } + leaf bypass-non-ip-unicast { + description "Allow all non-IP (including unicast) traffic"; + type empty; + } + container no-packet-flooding { + presence "enable no-packet-flooding"; + description "Stop IP flooding, send ARP/ICMP to trigger MAC learning"; + uses apply-advanced; + leaf no-trace-route { + description "Don't send ICMP to trigger MAC learning"; + type empty; + } + } + leaf bpdu-vlan-flooding { + description "Set 802.1D BPDU flooding based on VLAN"; + type empty; + } + } + container tcp-mss { + description "TCP maximum segment size configuration"; + uses apply-advanced; + container all-tcp { + description "Enable MSS override for all packets"; + uses apply-advanced; + leaf mss { + description "MSS value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + container ipsec-vpn { + presence "enable ipsec-vpn"; + description "Enable MSS override for all packets entering IPSec tunnel"; + uses apply-advanced; + leaf mss { + description "MSS value"; + default "1320"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + container gre-in { + presence "enable gre-in"; + description "Enable MSS override for all GRE packets coming out of an IPSec tunnel"; + uses apply-advanced; + leaf mss { + description "MSS value"; + default "1320"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + container gre-out { + presence "enable gre-out"; + description "Enable MSS override for all GRE packets entering an IPsec tunnel"; + uses apply-advanced; + leaf mss { + description "MSS value"; + default "1320"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + } + } + container tcp-session { + description "Transmission Control Protocol session configuration"; + uses apply-advanced; + leaf rst-invalidate-session { + description "Immediately end session on receipt of reset (RST) segment"; + type empty; + } + leaf fin-invalidate-session { + description "Immediately end session on receipt of fin (FIN) segment"; + type empty; + } + leaf rst-sequence-check { + description "Check sequence number in reset (RST) segment"; + type empty; + } + leaf no-syn-check { + description "Disable creation-time SYN-flag check"; + type empty; + } + leaf strict-syn-check { + description "Enable strict syn check"; + type empty; + } + leaf no-syn-check-in-tunnel { + description "Disable creation-time SYN-flag check for tunnel packets"; + type empty; + } + leaf no-sequence-check { + description "Disable sequence-number checking"; + type empty; + } + leaf tcp-initial-timeout { + description "Timeout for TCP session when initialization fails"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf maximum-window { + description "Maximum TCP proxy scaled receive window, default 256K bytes"; + default "256K"; + type enumeration { + enum "64K" { + description "64K bytes receive window"; + } + enum "128K" { + description "128K bytes receive window"; + } + enum "256K" { + description "256K bytes receive window"; + } + enum "512K" { + description "512K bytes receive window"; + } + enum "1M" { + description "1M bytes receive window"; + } + } + } + container time-wait-state { + presence "enable time-wait-state"; + description "Session timeout value in time-wait state, default 150 seconds"; + uses apply-advanced; + choice session-age-option { + case case_1 { + leaf session-ageout { + description "Allow session to ageout using service based timeout values"; + type empty; + } + } + case case_2 { + leaf session-timeout { + description "Configure session timeout value for time-wait state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 600"; + } + } + } + } + } + leaf apply-to-half-close-state { + description "Apply time-wait-state timeout to half-close state"; + type empty; + } + } + } + leaf force-ip-reassembly { + description "Force to reassemble ip fragments"; + type empty; + } + leaf preserve-incoming-fragment-size { + description "Preserve incoming fragment size for egress MTU"; + type empty; + } + container log { + description "Enable log"; + uses apply-advanced; + leaf dropped-icmp-packet { + description "Log dropped ICMPv4 packet"; + type empty; + } + leaf dropped-illegal-packet { + description "Log dropped illegal packet"; + type empty; + } + } + container advanced-options { + description "Flow config advanced options"; + uses apply-advanced; + leaf drop-matching-reserved-ip-address { + description "Drop matching reserved source IP address"; + type empty; + } + leaf drop-matching-link-local-address { + description "Drop matching link local address"; + type empty; + } + leaf reverse-route-packet-mode-vr { + description "Allow reverse route lookup with packet mode vr"; + type empty; + } + } + container load-distribution { + description "Flow config SPU load distribution"; + uses apply-advanced; + container session-affinity { + description "SPU load distribution based on the service anchor SPU"; + uses apply-advanced; + leaf ipsec { + description "IPsec service"; + type empty; + } + } + } + container packet-log { + description "Configure flow packet log"; + uses apply-advanced; + leaf enable { + description "Enable log for dropped packet"; + type empty; + } + leaf throttle-interval { + description "Interval should be configured as a power of two"; + default "1024"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32768"; + } + } + } + list packet-filter { + key name; + ordered-by user; + description "Configure packet log filter"; + max-elements 64; + uses flow-filter-type; + } + } + leaf power-mode-ipsec { + description "Enable power mode ipsec processing"; + type empty; + } + } + container firewall-authentication { + description "Firewall authentication parameters"; + uses apply-advanced; + container traceoptions { + description "Data-plane firewall authentication tracing options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Events to include in trace output"; + leaf name { + type enumeration { + enum "authentication" { + description "Data-plane firewall authentication events"; + } + enum "proxy" { + description "Data-plane firewall authentication proxy events"; + } + enum "all" { + description "All events"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Include terse amount of output in trace"; + type empty; + } + } + case case_2 { + leaf detail { + description "Include detailed amount of output in trace"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Include extensive amount of output in trace"; + type empty; + } + } + } + } + } + } + container screen { + description "Configure screen feature"; + uses apply-advanced; + container trap { + presence "enable trap"; + description "Configure trap interval"; + leaf interval { + description "Trap interval"; + default "2"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + list ids-option { + key name; + description "Configure ids-option"; + uses ids-option-type; + } + container traceoptions { + description "Trace options for Network Security Screen"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list white-list { + key name; + description "Set of IP addresses for white list"; + max-elements 32; + uses ids-wlist-type; + } + } + container nat { + description "Configure Network Address Translation"; + uses nat-object; + } + container forwarding-process { + description "Configure security forwarding-process options"; + uses apply-advanced; + leaf enhanced-services-mode { + description "Enable enhanced application services mode"; + type empty; + } + container application-services { + description "Configure application service options"; + uses apply-advanced; + leaf maximize-alg-sessions { + description "Maximize ALG session capacity"; + type empty; + } + leaf maximize-persistent-nat-capacity { + description "Increase persistent NAT capacity by reducing maximum flow sessions"; + type empty; + } + container maximize-cp-sessions { + presence "enable maximize-cp-sessions"; + description "Maximize CP session capacity"; + status deprecated; + uses apply-advanced; + } + leaf session-distribution-mode { + description "Session distribution mode"; + status deprecated; + type enumeration { + enum "normal" { + description "Normal mode"; + status deprecated; + } + enum "hash-based" { + description "Hash mode"; + status deprecated; + } + } + } + leaf enable-gtpu-distribution { + description "Enable GTP-U distribution"; + type empty; + } + leaf packet-ordering-mode { + description "Packet ordering mode"; + type enumeration { + enum "hardware" { + description "Hardware mode"; + } + enum "software" { + description "Software mode"; + } + } + } + container maximize-idp-sessions { + presence "enable maximize-idp-sessions"; + description "Run security services in dedicated processes to maximize IDP session capacity"; + uses apply-advanced; + container weight { + description "Adjust the weighting of the resources available for idp"; + uses apply-advanced; + choice weight { + case case_1 { + leaf equal { + description "Equal resources to IDP and firewall"; + status deprecated; + type empty; + } + } + case case_2 { + container idp { + presence "enable idp"; + description "IDP has more resources than firewall"; + uses apply-advanced; + } + } + case case_3 { + leaf firewall { + description "Firewall has more resources than IDP"; + type empty; + } + } + } + } + leaf inline-tap { + description "Configure IDP in inline tap mode"; + type empty; + } + } + } + } + container policies { + description "Configure Network Security Policies"; + presence "enable policies"; + uses policy-object-type; + } + container tcp-encap { + presence "enable tcp-encap"; + description "Configure TCP Encapsulation."; + uses apply-advanced; + container traceoptions { + description "Trace options for TCP encapsulation service"; + uses ragw-traceoptions; + } + list profile { + key name; + ordered-by user; + description "Configure profile."; + leaf name { + description "Profile name identifier."; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf ssl-profile { + description "SSL Termination profile"; + type string; + } + leaf log { + description "Enable logging for remote-access"; + type empty; + } + } + container global-options { + description "Global settings for TCP encapsulation"; + leaf enable-tunnel-tracking { + description "Track ESP tunnels"; + type empty; + } + } + } + container resource-manager { + description "Configure resource manager security options"; + uses apply-advanced; + container traceoptions { + description "Traceoptions for resource manager"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Resource manager objects and events to include in trace"; + leaf name { + type enumeration { + enum "client" { + description "Trace resource manager client"; + } + enum "group" { + description "Trace resource manager group"; + } + enum "resource" { + description "Trace resource manager resource"; + } + enum "gate" { + description "Trace resource manager created gates"; + } + enum "session" { + description "Trace resource manager created session"; + } + enum "chassis cluster" { + description "Trace resource manager's chassis cluster events"; + } + enum "messaging" { + description "Trace resource manager messaging"; + } + enum "service pinhole" { + description "Trace resource manager created service pinholes"; + } + enum "error" { + description "Trace all resource manager errors"; + } + enum "all" { + description "Trace all resource manager objects and events"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Set trace verbosity level to terse"; + type empty; + } + } + case case_2 { + leaf detail { + description "Set trace verbosity level to detail"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container analysis { + description "Configure security analysis"; + uses apply-advanced; + leaf no-report { + description "Stops security analysis reporting"; + type empty; + } + } + container traceoptions { + description "Network security daemon tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "compilation" { + description "Trace compilation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container datapath-debug { + description "Datapath debug options"; + uses apply-advanced; + container traceoptions { + description "End to end debug trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + container capture-file { + description "Packet capture options"; + leaf filename { + description "Capture file name"; + type string; + } + leaf format { + description "Capture file format"; + type enumeration { + enum "pcap" { + description "PCAP capture format"; + } + } + } + leaf size { + description "Maximum file size"; + type string; + } + leaf files { + description "Maximum number of files"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read packet-capture files"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read packet-capture files"; + type empty; + } + } + } + leaf maximum-capture-size { + description "Max packet capture length"; + default "68"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "68 .. 10000"; + } + } + } + list action-profile { + key name; + ordered-by user; + description "Action profile definitions"; + uses e2e-action-profile; + } + list packet-filter { + key name; + ordered-by user; + description "Packet filter configuration"; + max-elements 4; + uses end-to-end-debug-filter; + } + } + container user-identification { + description "Configure user-identification"; + uses apply-advanced; + container traceoptions { + description "User-identification Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + } + } + list authentication-source { + key name; + description "Configure user-identification authentication-source"; + uses authentication-source-type; + } + } + container zones { + description "Zone configuration"; + uses apply-advanced; + container functional-zone { + presence "enable functional-zone"; + description "Functional zone"; + container management { + presence "enable management"; + description "Host for out of band management interfaces"; + uses apply-advanced; + list interfaces { + key name; + ordered-by user; + description "Interfaces that are part of this zone"; + uses zone-interface-list-type; + } + leaf screen { + description "Name of ids option object applied to the zone"; + type string { + length "1 .. 64"; + } + } + container host-inbound-traffic { + description "Allowed system services & protocols"; + uses zone_host_inbound_traffic_t; + } + leaf description { + description "Text description of zone"; + type string { + length "1 .. 900"; + } + } + } + } + list security-zone { + key name; + ordered-by user; + description "Security zones"; + uses security-zone-type; + } + } + container advance-policy-based-routing { + presence "enable advance-policy-based-routing"; + description "Configure Network Security APBR Policies"; + uses apply-advanced; + container traceoptions { + description "Advance policy based routing tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "lookup" { + description "Trace lookup events"; + } + enum "compilation" { + description "Rule-sets compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container tunables { + description "Configure advance policy based routing tunables"; + uses apply-advanced; + leaf max-route-change { + description "Maximum route change"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + leaf drop-on-zone-mismatch { + description "Drop session if zone mismatches"; + type empty; + } + leaf enable-logging { + description "Enable AppTrack logging"; + type empty; + } + } + list profile { + key name; + ordered-by user; + description "Configure advance-policy-based-routing profile"; + leaf name { + description "Advance policy based routing profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Specify an advance policy based routing rule"; + uses apbr_rule_type; + } + } + list active-probe-params { + key name; + ordered-by user; + description "Active probe's settings"; + max-elements 32; + leaf name { + description "Active probe setting name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container settings { + description "Settings"; + uses appqoe-probe-params; + } + } + list metrics-profile { + key name; + ordered-by user; + description "Configure metric profiles"; + max-elements 32; + leaf name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container sla-threshold { + description "Configure SLA metric threshold"; + uses appqoe_sla_metric_profile; + } + } + list overlay-path { + key name; + ordered-by user; + description "List of overlay paths"; + max-elements 100; + leaf name { + description "Create a single instance of overlay path"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container tunnel-path { + description "Tunnel start & end ip addresses"; + presence "enable tunnel-path"; + uses appqoe-probe-path; + } + container probe-path { + description "Probe start & end ip addresses"; + presence "enable probe-path"; + uses appqoe-probe-path; + } + } + list destination-path-group { + key name; + ordered-by user; + description "Group of tunnels to a particular destination"; + max-elements 50; + leaf name { + description "Destination group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container probe-routing-instance { + presence "enable probe-routing-instance"; + description "Set routing instance for the probe-path"; + uses apply-advanced; + leaf routing-instance-name { + description "Name of routing instance"; + type string; + } + } + list overlay-path { + key name; + ordered-by user; + description "List of paths"; + max-elements 20; + leaf name { + description "Name of Overlay Path"; + type string; + } + uses apply-advanced; + } + } + container sla-options { + presence "enable sla-options"; + description "Global SLA options"; + uses apply-advanced; + container local-route-switch { + presence "enable local-route-switch"; + description "Enable/disable Automatic local route switching"; + uses apply-advanced; + leaf switch-type { + type enumeration { + enum "enabled" { + description "Enable"; + } + enum "disabled" { + description "Disable"; + } + } + } + } + container log-type { + presence "enable log-type"; + description "Choose the logging mechanism"; + uses apply-advanced; + leaf log { + type enumeration { + enum "syslog" { + description "Choose syslog"; + } + } + } + } + container max-passive-probe-limit { + presence "enable max-passive-probe-limit"; + description "Set max passive probe limits"; + uses apply-advanced; + container number-of-probes { + presence "enable number-of-probes"; + description "Number of passive probes to be sent"; + uses apply-advanced; + leaf probes { + description "Number of probes"; + default "5000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 5000"; + } + } + } + } + container interval { + presence "enable interval"; + description "Interval within which to send"; + uses apply-advanced; + leaf refresh-interval { + description "Interval in milli seconds"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 1000"; + } + } + } + } + } + } + list sla-rule { + key name; + ordered-by user; + description "Create SLA rule"; + max-elements 640; + leaf name { + description "Set rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container switch-idle-time { + presence "enable switch-idle-time"; + description "Idle timeout period where no SLA violation will be detected once path switch has happened"; + uses apply-advanced; + leaf timeout { + description "Idle timeout period (in seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container metrics-profile { + presence "enable metrics-profile"; + description "Set metrics profile for the SLA"; + uses apply-advanced; + leaf metrics-profile-name { + description "Metrics Profile name"; + type string; + } + } + container active-probe-params { + presence "enable active-probe-params"; + description "Set Probe params for the overlay-path"; + uses apply-advanced; + leaf probe-params-name { + description "Probe parameter's name"; + type string; + } + } + container passive-probe-params { + presence "enable passive-probe-params"; + description "Passive probe settings"; + uses apply-advanced; + container sampling-percentage { + presence "enable sampling-percentage"; + description "Mininmum percentage of Sessions to be evaluated for the application"; + uses apply-advanced; + leaf percentage { + description "Percentage"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container violation-count { + presence "enable violation-count"; + description "Number of SLA violations within sampling period to be considered as a violation."; + uses apply-advanced; + leaf count { + description "Count"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + container sampling-period { + presence "enable sampling-period"; + description "Time period in which the sampling is done"; + uses apply-advanced; + leaf period { + description "Period (in milli-sec)"; + default "5000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 60000"; + } + } + } + } + container sla-export-factor { + presence "enable sla-export-factor"; + description "Enabled sampling window based SLA exporting"; + uses apply-advanced; + leaf factor { + description "No of sampling windows after which to report"; + default "25"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 200"; + } + } + } + } + container type { + presence "enable type"; + description "Choose type of SLA measurement"; + uses apply-advanced; + leaf type-val { + type enumeration { + enum "book-ended" { + description "Choose custom method of probing within WAN link"; + } + } + } + } + container sampling-frequency { + presence "enable sampling-frequency"; + description "Sampling frequency settings"; + uses apply-advanced; + container interval { + presence "enable interval"; + description "Time based sampling interval"; + uses apply-advanced; + leaf sampling-interval { + description "Interval in milli seconds"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 500"; + } + } + } + } + container ratio { + presence "enable ratio"; + description "1:N based sampling ratio"; + uses apply-advanced; + leaf sampling-ratio { + description "Value of N"; + default "200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + } + } + } + } + list policy { + key name; + ordered-by user; + description "Define a policy context from this zone"; + leaf name { + description "Source zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Define security policy in specified zone-to-zone direction"; + uses sla_policy_type; + } + } + } + container gprs { + presence "enable gprs"; + description "GPRS configuration"; + uses apply-advanced; + container gtp { + description "GPRS tunneling protocol configuration"; + uses apply-advanced; + list profile { + key name; + description "Configure GTP Profile"; + leaf name { + description "GTP profile name"; + type string { + length "1 .. 24"; + } + } + uses apply-advanced; + leaf min-message-length { + description "Minimum message length, from 0 to 65535 "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf max-message-length { + description "Maximum message length, from 1 to 65535"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf timeout { + description "Tunnel idle timeout"; + units "hour"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf rate-limit { + description "Limit messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 80000"; + } + } + } + container log { + presence "enable log"; + description "GPRS tunneling protocol logs"; + uses apply-advanced; + leaf forwarded { + description "Log passed good packets"; + type enumeration { + enum "basic" { + description "Basic logs"; + } + enum "detail" { + description "Detailed logs"; + } + } + } + leaf state-invalid { + description "Dropped by state-inspection or sanity failure"; + type enumeration { + enum "basic" { + description "Basic logs"; + } + enum "detail" { + description "Detailed logs"; + } + } + } + leaf prohibited { + description "Dropped for type/length/version filtering"; + type enumeration { + enum "basic" { + description "Basic logs"; + } + enum "detail" { + description "Detailed logs"; + } + } + } + list gtp-u { + key name; + description "Logs for gtp-u"; + leaf name { + description "Logs for gtp-u"; + type enumeration { + enum "all" { + description "All gtp-u logs"; + } + enum "dropped" { + description "Dropped gtp-u logs"; + } + } + } + uses apply-advanced; + } + container rate-limited { + presence "enable rate-limited"; + description "Dropped for rate-limit"; + uses apply-advanced; + choice rate-limited-attr { + case case_1 { + leaf basic { + description "Basic logs"; + type empty; + } + } + case case_2 { + leaf detail { + description "Detailed logs"; + type empty; + } + } + } + leaf frequency-number { + description "Logging frequency over threshold, set by rate-limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 500"; + } + } + } + } + } + container remove-ie { + presence "enable remove-ie"; + description "Remove information elements"; + uses apply-advanced; + list version { + key name; + description "GTP version"; + leaf name { + description "Version name"; + type enumeration { + enum "v1" { + description "GTP v1"; + } + } + } + uses apply-advanced; + list release { + key name; + description "Remove information elements by release"; + leaf name { + description "Release name"; + type enumeration { + enum "R6" { + description "Release 6"; + } + enum "R7" { + description "Release 7"; + } + enum "R8" { + description "Release 8"; + } + enum "R9" { + description "Release 9"; + } + } + } + uses apply-advanced; + } + list number { + key name; + description "Remove information elements by number"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + } + } + } + container path-rate-limit { + description "Limit control messages based on IP pairs"; + uses apply-advanced; + list message-type { + key name; + description "Specific group of control messages"; + leaf name { + description "Specific group of control messages"; + type enumeration { + enum "create-req" { + description "Limit packet-per-second of GTP create request"; + } + enum "delete-req" { + description "Limit packet-per-second of GTP delete request"; + } + enum "echo-req" { + description "Limit packet-per-minute of GTP echo request"; + } + enum "other" { + description "Limit packet-per-second of all other GTP control messages"; + } + } + } + uses apply-advanced; + container drop-threshold { + description "Set drop threshold for path rate limiting"; + uses apply-advanced; + leaf forward { + description "Limit messages of forward direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf reverse { + description "Limit messages of reverse direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + container alarm-threshold { + description "Set alarm threshold for path rate limiting"; + uses apply-advanced; + leaf forward { + description "Limit messages of forward direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf reverse { + description "Limit messages of reverse direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + container drop { + description "Drop certain type of messages"; + uses apply-advanced; + list aa-create-pdp { + key name; + ordered-by user; + description "Create AA pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + } + } + uses apply-advanced; + } + list aa-delete-pdp { + key name; + ordered-by user; + description "Delete AA pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + } + } + uses apply-advanced; + } + list bearer-resource { + key name; + ordered-by user; + description "Bearer resource command/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list change-notification { + key name; + ordered-by user; + description "Change notification request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list config-transfer { + key name; + ordered-by user; + description "Configuration transfer message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list context { + key name; + ordered-by user; + description "Context request/response/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-bearer { + key name; + ordered-by user; + description "Create bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-data-forwarding { + key name; + ordered-by user; + description "Create indirect data forwarding tunnel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-pdp { + key name; + ordered-by user; + description "Create pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list create-session { + key name; + ordered-by user; + description "Create session request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list create-tnl-forwarding { + key name; + ordered-by user; + description "Create forwarding tunnel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list cs-paging { + key name; + ordered-by user; + description "CS paging indication message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list data-record { + key name; + ordered-by user; + description "Data record request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list delete-bearer { + key name; + ordered-by user; + description "Delete bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-command { + key name; + ordered-by user; + description "Delete bearer command/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-data-forwarding { + key name; + ordered-by user; + description "Delete indirect data forwarding tunnel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-pdn { + key name; + ordered-by user; + description "Delete PDN connection set request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list delete-pdp { + key name; + ordered-by user; + description "Delete pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list delete-session { + key name; + ordered-by user; + description "Delete session request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list detach { + key name; + ordered-by user; + description "Detach notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list downlink-notification { + key name; + ordered-by user; + description "Downlink data notification/ack/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list echo { + key name; + ordered-by user; + description "Echo request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list error-indication { + key name; + ordered-by user; + description "Error indication message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list failure-report { + key name; + ordered-by user; + description "Failure report request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list fwd-access { + key name; + ordered-by user; + description "Forward access context notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list fwd-relocation { + key name; + ordered-by user; + description "Forward relocation request/response/comp/comp-ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list fwd-srns-context { + key name; + ordered-by user; + description "Forward SRNS context/context-ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + } + } + uses apply-advanced; + } + list g-pdu { + key name; + ordered-by user; + description "G-PDU (user PDU) message/T-PDU"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list identification { + key name; + ordered-by user; + description "Identification request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list mbms-session-start { + key name; + ordered-by user; + description "MBMS session start request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list mbms-session-stop { + key name; + ordered-by user; + description "MBMS session stop request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list mbms-session-update { + key name; + ordered-by user; + description "MBMS session update request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list modify-bearer { + key name; + ordered-by user; + description "Modify bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list modify-command { + key name; + ordered-by user; + description "Modify bearer command/failure message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list node-alive { + key name; + ordered-by user; + description "Node alive request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list note-ms-present { + key name; + ordered-by user; + description "Note MS GPRS present request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list pdu-notification { + key name; + ordered-by user; + description "PDU notification requst/response/reject/reject-response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list ran-info { + key name; + ordered-by user; + description "RAN info relay message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list redirection { + key name; + ordered-by user; + description "Redirection request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list release-access { + key name; + ordered-by user; + description "Release access-bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list relocation-cancel { + key name; + ordered-by user; + description "Relocation cancel request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list resume { + key name; + ordered-by user; + description "Resume notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list send-route { + key name; + ordered-by user; + description "Send route info request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list sgsn-context { + key name; + ordered-by user; + description "SGSN context request/response/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list stop-paging { + key name; + ordered-by user; + description "Stop paging indication message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list supported-extension { + key name; + ordered-by user; + description "Supported extension headers notification message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "1" { + description "Version 1"; + } + } + } + uses apply-advanced; + } + list suspend { + key name; + ordered-by user; + description "Suspend notification/ack message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list trace-session { + key name; + ordered-by user; + description "Trace session activation/deactivation message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list update-bearer { + key name; + ordered-by user; + description "Update bearer request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list update-pdn { + key name; + ordered-by user; + description "Update PDN connection set request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "2" { + description "Version 2"; + } + } + } + uses apply-advanced; + } + list update-pdp { + key name; + ordered-by user; + description "Update pdp request/response message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + list ver-not-supported { + key name; + ordered-by user; + description "Version not supported message"; + leaf name { + description "GTP version for message"; + type enumeration { + enum "0" { + description "Version 0"; + } + enum "1" { + description "Version 1"; + } + enum "2" { + description "Version 2"; + } + enum "all" { + description "All versions"; + } + } + } + uses apply-advanced; + } + } + list apn { + key name; + description "GTP Access Point Name (APN) filter"; + leaf name { + description "Specific APN pattern string"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list imsi-prefix { + key name; + description "Specific filter prefix digits for International Mobile Subscriber Identification(IMSI)"; + leaf name { + description "IMSI prefix should be * or 5-15 digits"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + container action { + description "Configure GTP profile APN action"; + uses apply-advanced; + choice action-c { + case case_1 { + leaf pass { + description "Pass all selection modes for this APN"; + type empty; + } + } + case case_2 { + leaf drop { + description "Drop all selection modes for this APN"; + type empty; + } + } + case case_3 { + container selection { + presence "enable selection"; + description "Allowed selection modes for this APN"; + uses apply-advanced; + leaf ms { + description "Mobile Station selection mode"; + type empty; + } + leaf net { + description "Network selection mode"; + type empty; + } + leaf vrf { + description "Subscriber verified mode"; + type empty; + } + } + } + } + } + } + } + leaf restart-path { + description "Restart GTP paths"; + type enumeration { + enum "echo" { + description "Restart GTP paths by detecting restart number stored in the Echo messages"; + } + enum "create" { + description "Restart GTP paths by detecting restart number stored in the Create messages"; + } + enum "all" { + description "Restart GTP paths by detecting restart number stored in the Echo or Create messages"; + } + } + } + leaf seq-number-validated { + description "Validate G-PDU sequence number"; + type empty; + } + leaf gtp-in-gtp-denied { + description "Deny nested GTP"; + type empty; + } + leaf u-tunnel-validated { + description "Validate GTP-u tunnel"; + type empty; + } + leaf end-user-address-validated { + description "Validate end user address"; + type empty; + } + leaf req-timeout { + description "Request message timeout, default timeout value 5 seconds"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 30"; + } + } + } + leaf handover-on-roaming-intf { + description "Enable tunnel setup by Handover messages on roaming interface"; + type empty; + } + container handover-group { + description "SGSN handover group configuration"; + uses apply-advanced; + leaf group-name { + description "SGSN handover group name"; + type string { + length "1 .. 24"; + } + } + } + } + container traceoptions { + description "Trace options for GPRS tunneling protocol"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "parser" { + description "Trace parser events"; + } + enum "chassis-cluster" { + description "Trace chassis cluster events"; + } + enum "gsn" { + description "Trace gsn events"; + } + enum "jmpi" { + description "Trace jmpi events"; + } + enum "tnl" { + description "Trace tnl events"; + } + enum "req" { + description "Trace req events"; + } + enum "path" { + description "Trace path events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container trace-level { + description "GTP trace level"; + uses apply-advanced; + choice level { + case case_1 { + leaf error { + description "Match error conditions"; + type empty; + } + } + case case_2 { + leaf warning { + description "Match warning messages"; + type empty; + } + } + case case_3 { + leaf notice { + description "Match conditions that should be handled specially"; + type empty; + } + } + case case_4 { + leaf info { + description "Match informational messages"; + type empty; + } + } + case case_5 { + leaf verbose { + description "Match verbose messages"; + type empty; + } + } + } + } + } + list handover-group { + key name; + description "Set handover group"; + leaf name { + description "Set handover group name"; + type string { + length "1 .. 24"; + } + } + uses apply-advanced; + list address-book { + key name; + description "Set addreess book"; + leaf name { + description "Set address book name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container address-set { + description "Set address set"; + uses apply-advanced; + leaf set-name { + description "Set address set name"; + type string { + length "1 .. 63"; + } + } + } + } + } + container handover-default { + description "Set handover default deny"; + uses apply-advanced; + leaf deny { + description "Handover default deny"; + type empty; + } + } + } + container sctp { + presence "enable sctp"; + description "GPRS stream control transmission protocol configuration"; + uses apply-advanced; + list profile { + key name; + description "Configure stream transmission protocol"; + leaf name { + description "SCTP configuration name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf nat-only { + description "Only do payload IPs translation for SCTP packet"; + type empty; + } + leaf association-timeout { + description "SCTP association timeout length, in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf handshake-timeout { + description "SCTP handshake timeout, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 30"; + } + } + } + container drop { + description "Disallowed SCTP payload message"; + uses apply-advanced; + list m3ua-service { + key name; + ordered-by user; + description "MTP level 3 (MTP3) user adaptation layer service"; + leaf name { + type enumeration { + enum "sccp" { + description "Signaling connection control part"; + } + enum "tup" { + description "Telephone user part"; + } + enum "isup" { + description "ISDN user part"; + } + } + } + } + list payload-protocol { + key name; + ordered-by user; + description "SCTP payload protocol identifier"; + leaf name { + type string; + } + } + } + container permit { + description "Permit SCTP payload message"; + uses apply-advanced; + list payload-protocol { + key name; + ordered-by user; + description "SCTP payload protocol identifier"; + leaf name { + type string; + } + } + } + container limit { + description "Packet limits"; + uses apply-advanced; + list payload-protocol { + key name; + ordered-by user; + description "Payload Rate limit"; + leaf name { + type string; + } + leaf rate { + description "Rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "Rate limit for a list of IP addresses"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + list payload-protocol { + key name; + ordered-by user; + description "Payload Rate limit"; + leaf name { + type string; + } + leaf rate { + description "Rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + } + } + container rate { + description "Rate limit"; + uses apply-advanced; + leaf sccp { + description "Global SCCP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf ssp { + description "Global SSP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf sst { + description "Global SST messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + list address { + key name; + ordered-by user; + description "Rate limit for a list of IP addresses"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf sccp { + description "SCCP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf ssp { + description "SSP messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + leaf sst { + description "SST messages rate limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 12000"; + } + } + } + } + } + } + } + container multichunk-inspection { + description "Configure for SCTP multi chunks inspection"; + uses apply-advanced; + choice multichunk-flag { + case case_1 { + leaf disable { + description "Set multichunk inspection flag to disable"; + type empty; + } + } + } + } + container nullpdu { + description "Configure for SCTP NULLPDU protocol value"; + uses apply-advanced; + container protocol { + description "SCTP NULLPDU payload protocol identifier"; + uses apply-advanced; + choice nullpdu-protocol { + case case_1 { + leaf ID-0x0000 { + description "Set 0x0000 to be NULLPDU ID value"; + type empty; + } + } + case case_2 { + leaf ID-0xFFFF { + description "Set 0xFFFF to be NULLPDU ID value"; + type empty; + } + } + } + } + } + list log { + key name; + ordered-by user; + description "GPRS stream control transmission protocol logs"; + leaf name { + type enumeration { + enum "configuration" { + description "Log CLI configuration"; + } + enum "rate-limit" { + description "Log exceeding rate limits"; + } + enum "association" { + description "Log association event"; + } + enum "data-message-drop" { + description "Log the drop of SCTP data message"; + } + enum "control-message-drop" { + description "Log the drop of SCTP control message"; + } + enum "control-message-all" { + description "Log SCTP control message both drop and pass"; + } + } + } + } + container traceoptions { + description "Trace options for GPRS stream control transmission protocol"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "detail" { + description "Trace detail events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "parser" { + description "Trace parser events"; + } + enum "chassis-cluster" { + description "Trace chassis cluster events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + container ngfw { + description "Next generation unified L4/L7 firewall"; + uses apply-advanced; + container default-profile { + description "Unified L4/L7 firewall default profile configuration"; + uses apply-advanced; + container ssl-proxy { + presence "enable ssl-proxy"; + description "SSL proxy services"; + uses apply-advanced; + leaf profile-name { + description "Specify SSL proxy service profile name"; + type string; + } + } + container application-traffic-control { + description "Application traffic control services"; + uses jsf_application_traffic_control_rule_set_type; + } + } + } + container macsec { + description "MAC Security configuration"; + uses security-macsec; + } + } + } + grouping alg-object { + uses apply-advanced; + container traceoptions { + description "ALG trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Set level of tracing output"; + default "brief"; + type enumeration { + enum "brief" { + description "Brief messages"; + } + enum "detail" { + description "Detail messages"; + } + enum "extensive" { + description "Extensive messages"; + } + enum "verbose" { + description "Verbose messages"; + } + } + } + } + container alg-manager { + description "Configure ALG-MANAGER"; + container traceoptions { + description "ALG-MANAGER trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "ALG-MANAGER trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container alg-support-lib { + description "Configure ALG-SUPPORT-LIB"; + container traceoptions { + description "ALG-SUPPORT-LIB trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "ALG-SUPPORT-LIB trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container dns { + description "Configure DNS ALG"; + uses apply-advanced; + leaf disable { + description "Disable DNS ALG"; + type empty; + } + leaf maximum-message-length { + description "Set maximum message length"; + default "512"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 8192"; + } + } + } + leaf oversize-message-drop { + description "Drop oversized DNS packets"; + type empty; + } + container doctoring { + description "Configure DNS ALG doctoring"; + uses apply-advanced; + choice type { + case case_1 { + leaf none { + description "Disable all DNS ALG Doctoring"; + type empty; + } + } + case case_2 { + leaf sanity-check { + description "Perform only DNS ALG sanity checks"; + type empty; + } + } + } + } + container traceoptions { + description "DNS ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "DNS ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container ftp { + description "Configure FTP ALG"; + leaf disable { + description "Disable FTP ALG"; + type empty; + } + leaf ftps-extension { + description "Enable secure FTP and FTP-ssl protocols"; + type empty; + } + leaf line-break-extension { + description "Enable CR+LF line termination"; + type empty; + } + leaf allow-mismatch-ip-address { + description "Pass FTP packets with mismatched ip address headers and payload"; + type empty; + } + container traceoptions { + description "FTP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "FTP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container h323 { + presence "enable h323"; + description "Configure H.323 ALG"; + uses apply-advanced; + leaf disable { + description "Disable H.323 ALG"; + type empty; + } + leaf endpoint-registration-timeout { + description "Timeout for endpoints"; + default "64800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + leaf media-source-port-any { + description "Permit media from any source port on the endpoint"; + type empty; + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container message-flood { + description "Configure Message flood ALG options"; + uses apply-advanced; + container gatekeeper { + description "Set options for gatekeeper messages"; + leaf threshold { + description "Message flood gatekeeper threshold"; + default "1000"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "H.323 ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "H.323 ALG trace flags"; + leaf name { + type enumeration { + enum "q931" { + description "Enable tracing for Q.931 processing"; + } + enum "h245" { + description "Enable tracing for H.245 processing"; + } + enum "ras" { + description "Enable tracing for RAS processing"; + } + enum "h225-asn1" { + description "Enable tracing for H.225 ASN.1 processing"; + } + enum "h245-asn1" { + description "Enable tracing for H.245 ASN.1 processing"; + } + enum "ras-asn1" { + description "Enable tracing for RAS ASN.1 processing"; + } + enum "chassis-cluster" { + description "Enable tracing for H.323 chassis cluster functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Set trace verbosity level to terse"; + type empty; + } + } + case case_2 { + leaf detail { + description "Set trace verbosity level to detail"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container mgcp { + presence "enable mgcp"; + description "Configure MGCP ALG"; + uses apply-advanced; + leaf disable { + description "Disable MGCP ALG"; + type empty; + } + leaf inactive-media-timeout { + description "Set inactive media timeout"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2550"; + } + } + } + leaf transaction-timeout { + description "Set transaction timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 50"; + } + } + } + leaf maximum-call-duration { + description "Set maximum call duration"; + default "720"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 720"; + } + } + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container message-flood { + description "Set message flood ALG options"; + leaf threshold { + description "Message flood threshold"; + default "100"; + units "messages per second per MG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 50000"; + } + } + } + } + container connection-flood { + description "Set connection flood options"; + leaf threshold { + description "Connection flood threshold"; + default "10"; + units "connection requests per second per MG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "MGCP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "MGCP ALG trace flags"; + leaf name { + type enumeration { + enum "call" { + description "Enable tracing for MGCP call processing"; + } + enum "decode" { + description "Enable tracing for MGCP decoder operations"; + } + enum "error" { + description "Enable tracing for MGCP processing errors"; + } + enum "chassis-cluster" { + description "Enable tracing for MGCP chassis cluster functions"; + } + enum "nat" { + description "Enable tracing for MGCP Network Address Translation (NAT) processing"; + } + enum "packet" { + description "Enable tracing for MGCP protocol packet processing"; + } + enum "rm" { + description "Enable tracing MGCP Resource Management (Resmgr) functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container msrpc { + description "Configure MSRPC ALG"; + leaf disable { + description "Disable MSRPC ALG"; + type empty; + } + leaf group-max-usage { + description "Set maximum group usage percentage, default 80"; + default "80"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 100"; + } + } + } + leaf map-entry-timeout { + description "Set entry timeout, default 8hour"; + default "480"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4320"; + } + } + } + container traceoptions { + description "MSRPC ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "MSRPC ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sunrpc { + description "Configure SUNRPC ALG"; + leaf disable { + description "Disable SUNRPC ALG"; + type empty; + } + leaf group-max-usage { + description "Set maximum group usage percentage, default 80"; + default "80"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 100"; + } + } + } + leaf map-entry-timeout { + description "Set entry timeout, default 8hour"; + default "480"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4320"; + } + } + } + container traceoptions { + description "SUNRPC ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SUNRPC ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container rsh { + presence "enable rsh"; + description "Configure RSH ALG"; + uses apply-advanced; + leaf disable { + description "Disable RSH ALG"; + type empty; + } + container traceoptions { + description "RSH ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "RSH ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container rtsp { + presence "enable rtsp"; + description "Configure RTSP ALG"; + leaf disable { + description "Disable RTSP ALG"; + type empty; + } + container traceoptions { + description "RTSP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "RTSP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sccp { + presence "enable sccp"; + description "Configure SCCP ALG"; + uses apply-advanced; + leaf disable { + description "Disable SCCP ALG"; + type empty; + } + leaf inactive-media-timeout { + description "Set inactive media timeout"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container call-flood { + description "Configure call flood thresholds"; + leaf threshold { + description "Calls per second per client"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "SCCP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SCCP ALG trace flags"; + leaf name { + type enumeration { + enum "call" { + description "Enable tracing SCCP call processing"; + } + enum "cli" { + description "Enable tracing SCCP cli processing"; + } + enum "decode" { + description "Enable tracing for SCCP decoder operations"; + } + enum "error" { + description "Enable tracing for SCCP processing errors"; + } + enum "chassis-cluster" { + description "Enable tracing for SCCP chassis cluster functions"; + } + enum "init" { + description "Enable tracing for SCCP initialization errors"; + } + enum "nat" { + description "Enable tracing for SCCP Network Address Translation (NAT) processing"; + } + enum "rm" { + description "Enable tracing SCCP Resource Management (Resmgr) functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sip { + presence "enable sip"; + description "Configure SIP ALG"; + uses apply-advanced; + leaf disable { + description "Disable SIP ALG"; + type empty; + } + leaf inactive-media-timeout { + description "Set inactive media timeout"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2550"; + } + } + } + leaf maximum-call-duration { + description "Set maximum call duration"; + default "720"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 720"; + } + } + } + leaf t1-interval { + description "Set T1 interval"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 5000"; + } + } + } + leaf t4-interval { + description "Set T4 interval"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 10"; + } + } + } + leaf c-timeout { + description "Set C timeout"; + default "3"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 10"; + } + } + } + leaf disable-call-id-hiding { + description "Disable translation of host IP in Call-ID header"; + status deprecated; + type empty; + } + leaf retain-hold-resource { + description "Retain SDP resources during call hold"; + type empty; + } + container hide-via-headers { + description "Hide via headers options"; + uses apply-advanced; + leaf disable { + description "Disable hide via headers function"; + type empty; + } + } + list distribution-ip { + key name; + ordered-by user; + description "Configure SIP distribute server IPV6 or IPV4 ip"; + leaf name { + description "Distribution IP address"; + type jt:ipaddr; + } + uses apply-advanced; + container distribute-to { + description "Distribute sip packet"; + uses apply-advanced; + container fpc { + description "FPC card number"; + uses apply-advanced; + leaf slot { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container pic { + description "PIC card number"; + uses apply-advanced; + leaf slot { + description "Physical Interface Card number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + } + } + } + } + container application-screen { + description "Configure application screens"; + uses apply-advanced; + container unknown-message { + description "Configure ALG action on receiving an unknown message"; + uses apply-advanced; + leaf permit-nat-applied { + description "Permit unknown messages on packets that are NATed"; + type empty; + } + leaf permit-routed { + description "Permit unknown messages on routed packets"; + type empty; + } + } + container protect { + description "Configure Protect options"; + uses apply-advanced; + container deny { + presence "enable deny"; + description "Protect deny options"; + uses apply-advanced; + choice deny-choice { + case case_1 { + list destination-ip { + key name; + ordered-by user; + description "List of protected destination server IP"; + leaf name { + description "Protected destination server IPv4 or IPv6 entry"; + type jt:ipprefix; + } + uses apply-advanced; + } + } + case case_2 { + leaf all { + description "Enable attack protection for all servers"; + type empty; + } + } + } + leaf timeout { + description "Timeout value for SIP INVITE attack table entry"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + } + } + container dscp-rewrite { + description "DSCP code rewrite"; + uses apply-advanced; + leaf code-point { + description "Set dscp codepoint 6-bit string"; + type string { + } + } + } + container traceoptions { + description "SIP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SIP ALG trace flags"; + leaf name { + type enumeration { + enum "call" { + description "Enable tracing for SIP call processing"; + } + enum "chassis-cluster" { + description "Enable tracing for SIP chassis cluster functions"; + } + enum "nat" { + description "Enable tracing for SIP Network Address Translation (NAT) processing"; + } + enum "parser" { + description "Enable tracing for SIP parser operations"; + } + enum "rm" { + description "Enable tracing SIP Resource Management (Resmgr) functions"; + } + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf terse { + description "Set trace verbosity level to terse"; + type empty; + } + } + case case_2 { + leaf detail { + description "Set trace verbosity level to detail"; + type empty; + } + } + case case_3 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container sql { + presence "enable sql"; + description "Configure SQL ALG"; + leaf disable { + description "Disable SQL ALG"; + type empty; + } + container traceoptions { + description "SQL ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "SQL ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container talk { + description "Configure Talk ALG"; + leaf disable { + description "Disable Talk ALG"; + type empty; + } + container traceoptions { + description "TALK ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "TALK ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container tftp { + description "Configure TFTP ALG"; + leaf disable { + description "Disable TFTP ALG"; + type empty; + } + container traceoptions { + description "TFTP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "TFTP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container pptp { + description "Configure PPTP ALG"; + leaf disable { + description "Disable PPTP ALG"; + type empty; + } + container traceoptions { + description "PPTP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "PPTP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container ike-esp-nat { + description "Configure IKE-ESP ALG with NAT"; + uses apply-advanced; + leaf enable { + description "Enable IKE-ESP ALG"; + type empty; + } + leaf esp-gate-timeout { + description "Set ESP gate timeout"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 30"; + } + } + } + leaf esp-session-timeout { + description "Set ESP session timeout"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2400"; + } + } + } + leaf state-timeout { + description "Set ALG state timeout"; + default "14400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + container traceoptions { + description "IKE-ESP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "IKE-ESP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Set trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + container twamp { + presence "enable twamp"; + description "Configure TWAMP ALG"; + uses apply-advanced; + container traceoptions { + description "TWAMP ALG trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "TWAMP ALG trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + } + } + choice level { + case case_1 { + leaf extensive { + description "Trace verbosity level to extensive"; + type empty; + } + } + } + } + } + } + } + grouping anti-spam-feature { + description "Anti-spam feature"; + uses apply-advanced; + container sbl { + description "SBL settings"; + presence "enable sbl"; + uses sbl-type; + } + } + grouping anti-virus-feature { + description "Anti-virus feature"; + uses apply-advanced; + container sophos-engine { + description "Anti-virus sophos-engine"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Anti-virus sophos-engine profile"; + leaf name { + description "Anti-virus sophos-engine profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + container fallback-options { + description "Anti-virus sophos-engine fallback options"; + presence "enable fallback-options"; + uses sophos-fallback-settings; + } + container scan-options { + description "Anti-virus sophos-engine scan options"; + presence "enable scan-options"; + uses sophos-scan-options; + } + container trickling { + description "Anti-virus trickling"; + presence "enable trickling"; + uses anti-virus-trickling; + } + container notification-options { + description "Anti-virus notification options"; + presence "enable notification-options"; + uses anti-virus-notification-options; + } + } + } + } + grouping anti-virus-notification-options { + description "Anti-virus notification options"; + uses apply-advanced; + container virus-detection { + presence "enable virus-detection"; + description "Virus detection notification"; + uses apply-advanced; + leaf type { + description "Virus detection notification type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level only"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notify mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notify mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + container fallback-block { + presence "enable fallback-block"; + description "Fallback block notification"; + uses apply-advanced; + leaf type { + description "Fallback block notification type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level only"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notify mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notify mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + container fallback-non-block { + presence "enable fallback-non-block"; + description "Fallback non block notification"; + uses apply-advanced; + choice notify-mail-recipient-choice { + leaf notify-mail-recipient { + description "Notify mail recipient"; + type empty; + } + leaf no-notify-mail-recipient { + description "Don't notify mail recipient"; + type empty; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + } + grouping anti-virus-trickling { + description "Anti-virus trickling"; + leaf timeout { + description "Trickling timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + } + grouping apbr_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + presence "enable match"; + description "Specify security rule match-criteria"; + uses apply-advanced; + leaf-list dynamic-application { + ordered-by user; + type string; + } + leaf-list dynamic-application-group { + ordered-by user; + description "Specify dynamic application group name to match"; + type string; + } + } + container then { + presence "enable then"; + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + container sla-rule { + presence "enable sla-rule"; + description "SLA Rule"; + uses apply-advanced; + leaf sla-rule-name { + description "SLA rule name"; + type string; + } + } + } + } + grouping appfw_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + presence "enable match"; + description "Specify security rule match-criteria"; + uses apply-advanced; + leaf-list dynamic-application { + ordered-by user; + type string; + } + leaf-list dynamic-application-group { + ordered-by user; + description "Specify dynamic application group name to match"; + type string; + } + leaf ssl-encryption { + description "Select SSL encryption rules"; + type enumeration { + enum "any" { + description "Encrypted and non-encrypted rule"; + } + enum "yes" { + description "Encrypted rule"; + } + enum "no" { + description "Non-encrypted rule"; + } + } + } + } + container then { + presence "enable then"; + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + choice action { + case case_1 { + leaf permit { + description "Permit packets"; + type empty; + } + } + case case_2 { + container deny { + presence "enable deny"; + description "Deny packets"; + uses apply-advanced; + leaf block-message { + description "Redirect sessions"; + type empty; + } + } + } + case case_3 { + container reject { + presence "enable reject"; + description "Reject packets"; + uses apply-advanced; + leaf block-message { + description "Redirect sessions"; + type empty; + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping appqoe-probe-params { + description "Active probe parameters"; + uses apply-advanced; + container data-fill { + description "Probe Data Payload content"; + uses apply-advanced; + leaf fill { + description "Repetitive payload string "; + type string { + length "1 .. 63"; + } + } + } + container data-size { + presence "enable data-size"; + description "Probe data size"; + uses apply-advanced; + leaf size { + description "Data Payload size of probe packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 256"; + } + } + } + } + container probe-interval { + presence "enable probe-interval"; + description "Time interval between 2 consecutive probes"; + uses apply-advanced; + leaf interval { + description "Interval value in sec"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + container probe-count { + presence "enable probe-count"; + description "Minimum number of samples to be collected to evaluate SLA measurement"; + uses apply-advanced; + leaf count { + description "Sample count"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container burst-size { + presence "enable burst-size"; + description "Number of probes out of probe count to be sent as a burst"; + uses apply-advanced; + leaf size { + description "Burst size"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container sla-export-interval { + description "Enabled time based SLA exporting"; + uses apply-advanced; + leaf interval { + description "Interval (sec)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 600"; + } + } + } + } + container dscp-code-points { + description "Mapping of code point aliases to bit strings"; + uses apply-advanced; + leaf dscp { + description "DSCP"; + type string; + } + } + } + grouping appqoe-probe-path { + description "Set probe path details"; + uses apply-advanced; + container local { + description "Local node's info"; + presence "enable local"; + uses appqoe-node; + } + container remote { + description "Remote node's info"; + presence "enable remote"; + uses appqoe-node; + } + } + grouping appqoe-node { + description "Set node info"; + uses apply-advanced; + container ip-address { + presence "enable ip-address"; + description "Set IP address"; + uses apply-advanced; + leaf ip_address { + description "IP address"; + type jt:ipv4addr; + } + } + } + grouping appqoe_sla_metric_profile { + description "Metric Name"; + uses apply-advanced; + container delay-round-trip { + presence "enable delay-round-trip"; + description "Maximum acceptable delay"; + uses apply-advanced; + leaf delay-val { + description "Delay value(micor-sec)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + container jitter { + presence "enable jitter"; + description "Maximum acceptable jitter"; + uses apply-advanced; + leaf jitter-val { + description "Jitter value(micro-sec)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + container jitter-type { + presence "enable jitter-type"; + description "Type of Jitter"; + uses apply-advanced; + leaf type { + description "Jitter Type"; + type enumeration { + enum "two-way-jitter" { + description "Two-way-jitter-type"; + } + enum "egress-jitter" { + description "Egress-jitter-type"; + } + enum "ingress-jitter" { + description "Ingress-jitter-type"; + } + } + } + } + container packet-loss { + presence "enable packet-loss"; + description "Maximum acceptable packet-loss"; + uses apply-advanced; + leaf loss { + description "Packet loss percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container match { + presence "enable match"; + description "Type of SLA match"; + uses apply-advanced; + leaf sla_match { + type enumeration { + enum "any-one" { + description "Match any one strings"; + } + enum "all" { + description "Match all metrics"; + } + } + } + } + } + grouping authentication-source-type { + description "Configure user-identification authentication-source"; + leaf name { + description "User-identification authentication-source name"; + type enumeration { + enum "local-authentication-table" { + description "Local-authentication-table, default priority is 100."; + } + enum "unified-access-control" { + description "Unified-access-control, default priority is 200."; + } + enum "firewall-authentication" { + description "Firewall-authentication, default priority is 150."; + } + enum "active-directory-authentication-table" { + description "Active-directory-authentication-table, default priority is 125."; + } + enum "aruba-clearpass" { + description "ClearPass-authentication-table, default priority is 110."; + } + } + } + uses apply-advanced; + choice authentication-source-option { + case case_1 { + leaf priority { + description "Larger number means lower priority, 0 for disable"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + } + } + } + grouping category-list-type { + description "Configure category-list object"; + leaf name { + description "Configure name of category-list object"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of category-list object"; + type string; + } + } + grouping certificate-object { + leaf name { + description "Simple name to identify this certificate"; + type string; + } + uses apply-advanced; + leaf certificate { + description "Certificate and private key string"; + type string; + } + } + grouping clients-object { + leaf name { + description "Client config name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + list remote-protected-resources { + key name; + ordered-by user; + description "IP/mask of remote protected resources"; + leaf name { + description "IP/mask of remote protected resources"; + type jt:ipv4prefix-mandatory; + } + } + list remote-exceptions { + key name; + ordered-by user; + description "Ip/mask of exceptions being passthru"; + leaf name { + description "Ip/mask of exceptions being passthru"; + type jt:ipv4prefix-mandatory; + } + } + leaf ipsec-vpn { + description "IPSec VPN assigned to remote access client"; + type string; + } + list user { + key name; + description "Remote IPSec VPN users"; + leaf name { + description "User name"; + type string; + } + uses apply-advanced; + } + list user-groups { + key name; + description "Remote IPSec VPN usergroups"; + leaf name { + description "Usergroup name"; + type string; + } + uses apply-advanced; + } + } + grouping command-list-type { + description "Configure command-list object"; + leaf name { + description "Configure name of command-list object"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of command-list object"; + type string { + length "1 .. 64"; + } + } + } + grouping content-filtering-feature { + description "Content-filtering feature"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Content filtering profile"; + leaf name { + description "Content-filtering feature profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf permit-command { + description "Permit command list"; + type string; + } + leaf block-command { + description "Block command list"; + type string; + } + leaf block-extension { + description "Block extension list"; + type string; + } + container block-mime { + presence "enable block-mime"; + description "Content-filtering feature block MIME"; + uses apply-advanced; + leaf list { + description "Block MIME list"; + type string; + } + leaf exception { + description "Exception of block MIME list"; + type string; + } + } + container block-content-type { + description "Content-filtering feature block content type"; + uses apply-advanced; + leaf activex { + description "Block activex"; + type empty; + } + leaf java-applet { + description "Block Java-applet"; + type empty; + } + leaf exe { + description "Block Windows/dos exe file"; + type empty; + } + leaf zip { + description "Block zip file"; + type empty; + } + leaf http-cookie { + description "Block HTTP cookie"; + type empty; + } + } + container notification-options { + presence "enable notification-options"; + description "Notification options"; + uses apply-advanced; + leaf type { + description "Notification options type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notifiy mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notifiy mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom notification message"; + type string { + length "1 .. 512"; + } + } + } + } + } + grouping custom-attack-group-type { + description "Define custom attack group"; + leaf name { + description "Custom attack group name"; + type string; + } + uses apply-advanced; + leaf attack-group-description { + description "Attack group description in xml format"; + status deprecated; + type string; + } + leaf-list group-members { + ordered-by user; + description "List of attacks/attack groups belonging to this group"; + type string; + } + } + grouping custom-attack-type { + description "Define custom attack"; + leaf name { + description "Custom attack name"; + type string { + } + } + uses apply-advanced; + leaf attack-description { + description "Attack description in xml format"; + status deprecated; + type string; + } + leaf recommended-action { + description "Recommended Action"; + type enumeration { + enum "none" { + description "No action"; + } + enum "ignore" { + description "No further inspection on the flow"; + } + enum "drop-packet" { + description "Drop the packet"; + } + enum "drop" { + description "Drop the packet and subsequent packets of the flow"; + } + enum "close-client" { + description "Reset the client side"; + } + enum "close-server" { + description "Reset the server side"; + } + enum "close" { + description "Reset both client and server"; + } + } + } + leaf severity { + description "Select the severity that matches the lethality of this attack on your network"; + type enumeration { + enum "info" { + description "Provide information of attack when it matches."; + } + enum "warning" { + description "Issue a warning when attack matches."; + } + enum "minor" { + description "The attack is a minor one."; + } + enum "major" { + description "The attack is a major one."; + } + enum "critical" { + description "The attack is a critical one."; + } + } + } + container time-binding { + description "Time binding params"; + leaf count { + description "Number of times this attack is to be triggered"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf scope { + description "Scope within which the count occurs"; + type enumeration { + enum "peer" { + description "If the attack is between a single source and single destination"; + } + enum "source" { + description "If the attack is from one source and multiple destination"; + } + enum "destination" { + description "If the attack is from multiple sources to one destination"; + } + } + } + } + container attack-type { + description "Type of attack"; + uses apply-advanced; + container signature { + description "Signature based attack"; + uses apply-advanced; + container protocol-binding { + description "Protocol binding over which attack will be detected"; + uses apply-advanced; + choice protocol { + case case_1 { + container tcp { + presence "enable tcp"; + description "Attack is for TCP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Multiple sets of (single port/port ranges) can be specified"; + uses port-range; + } + } + } + case case_2 { + container udp { + presence "enable udp"; + description "Attack is for UDP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Either single port or port ranges can be specified"; + uses port-range; + } + } + } + case case_3 { + container rpc { + presence "enable rpc"; + description "Attack is for RPC packets only"; + uses apply-advanced; + leaf program-number { + description "RPC Program Number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_4 { + leaf icmp { + description "Attack is for ICMP packets only"; + type empty; + } + } + case case_5 { + leaf icmpv6 { + description "Attack is for ICMPv6 packets only"; + type empty; + } + } + case case_6 { + container ip { + presence "enable ip"; + description "Attack is for all IP based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_7 { + container ipv6 { + presence "enable ipv6"; + description "Attack is for all IPv6 based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_8 { + leaf application { + description "Application name"; + type string; + } + } + case case_9 { + leaf nested-application { + description "Nested application name"; + status deprecated; + type string; + } + } + } + } + leaf context { + description "Context"; + type string; + } + leaf pattern { + description "Pattern is the signature of the attack you want to detect"; + type string { + length "0 .. 511"; + } + } + leaf pattern-pcre { + description "Attack signature pattern in PCRE format"; + type string { + length "0 .. 511"; + } + } + leaf regexp { + description "Regular expression used for matching repetition of patterns"; + type string { + length "0 .. 511"; + } + } + leaf negate { + description "Trigger the attack if condition is not met"; + type empty; + } + leaf direction { + description "Connection direction of the attack"; + type enumeration { + enum "client-to-server" { + description "Client to Server"; + } + enum "server-to-client" { + description "Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + container protocol { + description "Protocol header matches"; + uses apply-advanced; + container ipv4 { + description "IPv4 protocol parameters"; + uses apply-advanced; + container tos { + presence "enable tos"; + description "Type of Service"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container ihl { + presence "enable ihl"; + description "Header length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container total-length { + presence "enable total-length"; + description "Total Length of IP datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container identification { + presence "enable identification"; + description "Fragment Identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container ip-flags { + presence "enable ip-flags"; + description "IP Flag bits"; + choice rb-choice { + leaf rb { + description "Reserved bit"; + type empty; + } + leaf no-rb { + description "Don't reserved bit"; + type empty; + } + } + choice mf-choice { + leaf mf { + description "More Fragment bit"; + type empty; + } + leaf no-mf { + description "Don't more Fragment bit"; + type empty; + } + } + choice df-choice { + leaf df { + description "Don't Fragment bit"; + type empty; + } + leaf no-df { + description "Don't don't Fragment bit"; + type empty; + } + } + } + container ttl { + presence "enable ttl"; + description "Time to live"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container protocol { + presence "enable protocol"; + description "Transport layer protocol"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container ipv6 { + description "IPv6 protocol parameters"; + uses apply-advanced; + container traffic-class { + presence "enable traffic-class"; + description "Traffic class. Similar to TOS in IPv4"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container payload-length { + presence "enable payload-length"; + description "Length of the payload in the IPv6 datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container flow-label { + presence "enable flow-label"; + description "Flow label identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + container hop-limit { + presence "enable hop-limit"; + description "Hop limit"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container next-header { + presence "enable next-header"; + description "The header following the basic IPv6 header"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container extension-header { + description "IPv6 Extension headers"; + uses apply-advanced; + container routing-header { + presence "enable routing-header"; + description "IPv6 Routing extension header"; + uses apply-advanced; + container header-type { + description "Routing header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + container destination-option { + description "IPv6 Destination option extension header"; + uses apply-advanced; + container option-type { + description "Destination option header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container home-address { + description "IPv6 Home address of the mobile node"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + } + } + } + container tcp { + description "TCP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container ack-number { + presence "enable ack-number"; + description "Acknowledgement Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container header-length { + presence "enable header-length"; + description "Header Length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container reserved { + presence "enable reserved"; + description "Three reserved bits"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container window-size { + presence "enable window-size"; + description "Window Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container urgent-pointer { + presence "enable urgent-pointer"; + description "Urgent Pointer"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container tcp-flags { + presence "enable tcp-flags"; + description "TCP header flags"; + choice r1-choice { + leaf r1 { + description "Set Reserverd bit 1"; + type empty; + } + leaf no-r1 { + description "Don't set Reserverd bit 1"; + type empty; + } + } + choice r2-choice { + leaf r2 { + description "Set Reserved bit 2"; + type empty; + } + leaf no-r2 { + description "Don't set Reserved bit 2"; + type empty; + } + } + choice urg-choice { + leaf urg { + description "Set Urgent bit"; + type empty; + } + leaf no-urg { + description "Don't set Urgent bit"; + type empty; + } + } + choice ack-choice { + leaf ack { + description "Set Acknowledge bit"; + type empty; + } + leaf no-ack { + description "Don't set Acknowledge bit"; + type empty; + } + } + choice psh-choice { + leaf psh { + description "Set Push bit"; + type empty; + } + leaf no-psh { + description "Don't set Push bit"; + type empty; + } + } + choice rst-choice { + leaf rst { + description "Set Reset bit"; + type empty; + } + leaf no-rst { + description "Don't set Reset bit"; + type empty; + } + } + choice syn-choice { + leaf syn { + description "Set SYN bit"; + type empty; + } + leaf no-syn { + description "Don't set SYN bit"; + type empty; + } + } + choice fin-choice { + leaf fin { + description "Set FINish bit"; + type empty; + } + leaf no-fin { + description "Don't set FINish bit"; + type empty; + } + } + } + container option { + presence "enable option"; + description "Kind"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by TCP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + } + container window-scale { + presence "enable window-scale"; + description "Window scale"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container mss { + presence "enable mss"; + description "Maximum Segment Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container udp { + description "UDP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by UDP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmp { + description "ICMP protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by ICMP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmpv6 { + description "ICMPv6 protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IPv6 datagram subtracted by ICMPv6 header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + } + } + container anomaly { + description "Protocol anomaly"; + uses apply-advanced; + leaf service { + description "Service name"; + type string; + } + leaf test { + description "Protocol anomaly condition to be checked"; + type string; + } + leaf direction { + description "Direction"; + type enumeration { + enum "client-to-server" { + description "From Client to Server"; + } + enum "server-to-client" { + description "From Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + } + container chain { + description "Chain attack"; + uses apply-advanced; + container protocol-binding { + description "Protocol binding over which attack will be detected"; + uses apply-advanced; + choice protocol { + case case_1 { + container tcp { + presence "enable tcp"; + description "Attack is for TCP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Multiple sets of (single port/port ranges) can be specified"; + uses port-range; + } + } + } + case case_2 { + container udp { + presence "enable udp"; + description "Attack is for UDP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Either single port or port ranges can be specified"; + uses port-range; + } + } + } + case case_3 { + container rpc { + presence "enable rpc"; + description "Attack is for RPC packets only"; + uses apply-advanced; + leaf program-number { + description "RPC Program Number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_4 { + leaf icmp { + description "Attack is for ICMP packets only"; + type empty; + } + } + case case_5 { + leaf icmpv6 { + description "Attack is for ICMPv6 packets only"; + type empty; + } + } + case case_6 { + container ip { + presence "enable ip"; + description "Attack is for all IP based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_7 { + container ipv6 { + presence "enable ipv6"; + description "Attack is for all IPv6 based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_8 { + leaf application { + description "Application name"; + type string; + } + } + case case_9 { + leaf nested-application { + description "Nested application name"; + status deprecated; + type string; + } + } + } + } + leaf scope { + description "Scope of the attack"; + type enumeration { + enum "session" { + description "Allow matches across transactions within the same session"; + } + enum "transaction" { + description "Allow matches in single transactions within the same session"; + } + } + } + leaf order { + description "Attacks should match in the order in which they are defined"; + type empty; + } + leaf reset { + description "Repeat match should generate a new alert"; + type empty; + } + leaf expression { + description "Boolean Expression"; + type string; + } + list member { + key name; + ordered-by user; + description "List of member attacks."; + uses chain-member-type; + } + } + } + } + grouping chain-member-type { + description "Chain member"; + leaf name { + description "Custom attack name"; + type string; + } + uses apply-advanced; + container attack-type { + presence "enable attack-type"; + description "Type of attack"; + uses apply-advanced; + container signature { + description "Signature based attack"; + uses apply-advanced; + leaf context { + description "Context"; + type string; + } + leaf pattern { + description "Pattern is the signature of the attack you want to detect"; + type string { + length "0 .. 511"; + } + } + leaf pattern-pcre { + description "Attack signature pattern in PCRE format"; + type string { + length "0 .. 511"; + } + } + leaf regexp { + description "Regular expression used for matching repetition of patterns"; + type string { + length "0 .. 511"; + } + } + leaf negate { + description "Trigger the attack if condition is not met"; + type empty; + } + leaf direction { + description "Connection direction of the attack"; + type enumeration { + enum "client-to-server" { + description "Client to Server"; + } + enum "server-to-client" { + description "Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + container protocol { + description "Protocol header matches"; + uses apply-advanced; + container ipv4 { + description "IPv4 protocol parameters"; + uses apply-advanced; + container tos { + presence "enable tos"; + description "Type of Service"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container ihl { + presence "enable ihl"; + description "Header length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container total-length { + presence "enable total-length"; + description "Total Length of IP datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container identification { + presence "enable identification"; + description "Fragment Identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container ip-flags { + presence "enable ip-flags"; + description "IP Flag bits"; + choice rb-choice { + leaf rb { + description "Reserved bit"; + type empty; + } + leaf no-rb { + description "Don't reserved bit"; + type empty; + } + } + choice mf-choice { + leaf mf { + description "More Fragment bit"; + type empty; + } + leaf no-mf { + description "Don't more Fragment bit"; + type empty; + } + } + choice df-choice { + leaf df { + description "Don't Fragment bit"; + type empty; + } + leaf no-df { + description "Don't don't Fragment bit"; + type empty; + } + } + } + container ttl { + presence "enable ttl"; + description "Time to live"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container protocol { + presence "enable protocol"; + description "Transport layer protocol"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container ipv6 { + description "IPv6 protocol parameters"; + uses apply-advanced; + container traffic-class { + presence "enable traffic-class"; + description "Traffic class. Similar to TOS in IPv4"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container payload-length { + presence "enable payload-length"; + description "Length of the payload in the IPv6 datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container flow-label { + presence "enable flow-label"; + description "Flow label identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + container hop-limit { + presence "enable hop-limit"; + description "Hop limit"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container next-header { + presence "enable next-header"; + description "The header following the basic IPv6 header"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container extension-header { + description "IPv6 Extension headers"; + uses apply-advanced; + container routing-header { + presence "enable routing-header"; + description "IPv6 Routing extension header"; + uses apply-advanced; + container header-type { + description "Routing header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + container destination-option { + description "IPv6 Destination option extension header"; + uses apply-advanced; + container option-type { + description "Destination option header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container home-address { + description "IPv6 Home address of the mobile node"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + } + } + } + container tcp { + description "TCP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container ack-number { + presence "enable ack-number"; + description "Acknowledgement Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container header-length { + presence "enable header-length"; + description "Header Length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container reserved { + presence "enable reserved"; + description "Three reserved bits"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container window-size { + presence "enable window-size"; + description "Window Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container urgent-pointer { + presence "enable urgent-pointer"; + description "Urgent Pointer"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container tcp-flags { + presence "enable tcp-flags"; + description "TCP header flags"; + choice r1-choice { + leaf r1 { + description "Set Reserverd bit 1"; + type empty; + } + leaf no-r1 { + description "Don't set Reserverd bit 1"; + type empty; + } + } + choice r2-choice { + leaf r2 { + description "Set Reserved bit 2"; + type empty; + } + leaf no-r2 { + description "Don't set Reserved bit 2"; + type empty; + } + } + choice urg-choice { + leaf urg { + description "Set Urgent bit"; + type empty; + } + leaf no-urg { + description "Don't set Urgent bit"; + type empty; + } + } + choice ack-choice { + leaf ack { + description "Set Acknowledge bit"; + type empty; + } + leaf no-ack { + description "Don't set Acknowledge bit"; + type empty; + } + } + choice psh-choice { + leaf psh { + description "Set Push bit"; + type empty; + } + leaf no-psh { + description "Don't set Push bit"; + type empty; + } + } + choice rst-choice { + leaf rst { + description "Set Reset bit"; + type empty; + } + leaf no-rst { + description "Don't set Reset bit"; + type empty; + } + } + choice syn-choice { + leaf syn { + description "Set SYN bit"; + type empty; + } + leaf no-syn { + description "Don't set SYN bit"; + type empty; + } + } + choice fin-choice { + leaf fin { + description "Set FINish bit"; + type empty; + } + leaf no-fin { + description "Don't set FINish bit"; + type empty; + } + } + } + container option { + presence "enable option"; + description "Kind"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by TCP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + } + container window-scale { + presence "enable window-scale"; + description "Window scale"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container mss { + presence "enable mss"; + description "Maximum Segment Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container udp { + description "UDP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by UDP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmp { + description "ICMP protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by ICMP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmpv6 { + description "ICMPv6 protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IPv6 datagram subtracted by ICMPv6 header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + } + } + container anomaly { + description "Protocol anomaly"; + uses apply-advanced; + leaf test { + description "Protocol anomaly condition to be checked"; + type string; + } + leaf direction { + description "Direction"; + type enumeration { + enum "client-to-server" { + description "From Client to Server"; + } + enum "server-to-client" { + description "From Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + } + } + } + grouping custom-message-type { + description "Configure custom-message object"; + leaf name { + description "Configure name of custom-message object"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf type { + description "Type of custom message"; + type enumeration { + enum "redirect-url" { + description "Redirect URL"; + } + enum "user-message" { + description "User message"; + } + } + } + leaf content { + description "Content of custom message"; + type string { + length "1 .. 1024"; + } + } + } + grouping default-anti-spam-feature { + description "Anti-spam feature"; + uses apply-advanced; + leaf type { + description "Anti-spam type"; + type enumeration { + enum "sbl" { + description "Anti-spam sophos sbl"; + } + enum "anti-spam-none" { + } + } + } + leaf address-whitelist { + description "Anti-spam whitelist"; + type string; + } + leaf address-blacklist { + description "Anti-spam blacklist"; + type string; + } + container traceoptions { + description "Trace options for anti-spam feature"; + uses anti-spam-traceoptions; + } + container sbl { + description "SBL settings"; + presence "enable sbl"; + uses default-sbl-type; + } + } + grouping anti-spam-traceoptions { + description "Trace options for anti-spam feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for anti-spam feature flag"; + leaf name { + description "Trace options for anti-spam feature flag name"; + type enumeration { + enum "manager" { + description "Trace anti-spam manager information"; + } + enum "sbl" { + description "Trace SBL server information"; + } + enum "all" { + description "Enable trace all anti-spam trace options"; + } + } + } + } + } + grouping default-anti-virus-feature { + description "Anti-virus feature"; + uses apply-advanced; + container mime-whitelist { + description "Anti-virus MIME whitelist"; + uses apply-advanced; + leaf list { + description "MIME list"; + type string; + } + leaf exception { + description "Exception settings for MIME white list"; + type string; + } + } + leaf url-whitelist { + description "Anti-virus URL white list"; + type string; + } + leaf type { + description "Anti-virus engine type"; + default "anti-virus-none"; + type enumeration { + enum "sophos-engine" { + description "Anti-virus sophos-engine"; + } + enum "anti-virus-none" { + } + } + } + container traceoptions { + description "Trace options for anti-virus feature"; + uses anti-virus-traceoptions; + } + container sophos-engine { + description "Anti-virus sophos-engine"; + uses apply-advanced; + container server { + description "SAV and Anti-Spam first hop DNS server"; + uses apply-advanced; + leaf ip { + description "SAV and Anti-Spam first hop DNS server ip"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + leaf sxl-timeout { + description "Sxl sophos anti-virus engine timeout"; + default "2"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf sxl-retry { + description "Sxl sophos anti-virus engine query retry (number of times)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + container pattern-update { + description "Anti-virus sophos-engine pattern update"; + presence "enable pattern-update"; + uses anti-virus-pattern-update; + } + container fallback-options { + description "Anti-virus sophos-engine fallback options"; + presence "enable fallback-options"; + uses sophos-fallback-settings; + } + container scan-options { + description "Anti-virus sophos-engine scan options"; + presence "enable scan-options"; + uses default-sophos-scan-options; + } + container trickling { + description "Anti-virus trickling"; + presence "enable trickling"; + uses anti-virus-trickling; + } + container notification-options { + description "Anti-virus notification options"; + presence "enable notification-options"; + uses anti-virus-notification-options; + } + } + } + grouping anti-virus-pattern-update { + description "Anti-virus pattern update"; + uses apply-advanced; + container email-notify { + presence "enable email-notify"; + description "Virus pattern file updated notification"; + uses apply-advanced; + leaf admin-email { + description "Admin emails to be notified about pattern file update"; + type string { + length "1 .. 255"; + } + } + leaf custom-message { + description "Custom message for notification"; + type string { + length "1 .. 512"; + } + } + leaf custom-message-subject { + description "Custom message subject for notification"; + type string { + length "1 .. 255"; + } + } + } + container proxy { + presence "enable proxy"; + description "Pattern update proxy server."; + uses apply-advanced; + leaf server { + description "URL or IP address of the proxy server host"; + type string { + length "1 .. 256"; + } + } + leaf port { + description "Proxy server port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf username { + description "Username for proxy server"; + type string { + length "1 .. 256"; + } + } + leaf password { + description "Proxy server password"; + type jt:unreadable; + } + } + leaf url { + description "Server URL"; + type string { + length "1 .. 256"; + } + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + leaf interval { + description "Interval to check the update"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 10080"; + } + } + } + leaf no-autoupdate { + description "Don't automatically update anti-virus pattern"; + type empty; + } + } + grouping anti-virus-traceoptions { + description "Trace options for anti-virus feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for anti-virus feature flag"; + leaf name { + description "Trace options for anti-virus feature flag name"; + type enumeration { + enum "basic" { + description "Trace anti-virus module generic basic information"; + } + enum "detail" { + description "Trace anti-virus module generic detail information"; + } + enum "engine" { + description "Trace scan engine information"; + } + enum "pattern" { + description "Trace detail information of pattern loading"; + } + enum "updater" { + description "Trace pattern updater process activities"; + } + enum "manager" { + description "Trace anti-virus manager process activities"; + } + enum "worker" { + description "Trace anti-virus worker process activities"; + } + enum "sendmail" { + description "Trace mail notifier process activities"; + } + enum "ipc" { + description "Trace communication events with PFE"; + } + enum "event" { + description "Trace communication events between RE side processes"; + } + enum "statistics" { + description "Trace statistics information"; + } + enum "all" { + description "Enable trace all anti-virus trace options"; + } + } + } + } + } + grouping default-content-filtering-feature { + description "Content-filtering feature"; + uses apply-advanced; + leaf type { + description "Content-filtering type"; + default "local"; + type enumeration { + enum "local" { + description "Content-filtering local"; + } + enum "content-filtering-none" { + } + } + } + container traceoptions { + description "Trace options for content-filtering feature"; + uses content-filtering-traceoptions; + } + leaf permit-command { + description "Permit command list"; + type string; + } + leaf block-command { + description "Block command list"; + type string; + } + leaf block-extension { + description "Block extension list"; + type string; + } + container block-mime { + presence "enable block-mime"; + description "Content-filtering feature block MIME"; + uses apply-advanced; + leaf list { + description "Block MIME list"; + type string; + } + leaf exception { + description "Exception of block MIME list"; + type string; + } + } + container block-content-type { + description "Content-filtering feature block content type"; + uses apply-advanced; + leaf activex { + description "Block activex"; + type empty; + } + leaf java-applet { + description "Block Java-applet"; + type empty; + } + leaf exe { + description "Block Windows/dos exe file"; + type empty; + } + leaf zip { + description "Block zip file"; + type empty; + } + leaf http-cookie { + description "Block HTTP cookie"; + type empty; + } + } + container notification-options { + presence "enable notification-options"; + description "Notification options"; + uses apply-advanced; + leaf type { + description "Notification options type"; + type enumeration { + enum "protocol-only" { + description "Notification in protocol level"; + } + enum "message" { + description "Notification in message"; + } + } + } + choice notify-mail-sender-choice { + leaf notify-mail-sender { + description "Notifiy mail sender"; + type empty; + } + leaf no-notify-mail-sender { + description "Don't notifiy mail sender"; + type empty; + } + } + leaf custom-message { + description "Custom notification message"; + type string { + length "1 .. 512"; + } + } + } + } + grouping content-filtering-traceoptions { + description "Trace options for content-filtering feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for content-filtering feature flag"; + leaf name { + description "Trace options for content-filtering feature flag name"; + type enumeration { + enum "basic" { + description "Trace content-filtering basic information"; + } + enum "detail" { + description "Trace content-filtering detail information"; + } + enum "all" { + description "Enable trace all content-filtering trace options"; + } + } + } + } + } + grouping default-sbl-type { + description "SBL type"; + uses apply-advanced; + choice sbl-default-server-choice { + leaf sbl-default-server { + description "Default SBL server"; + type empty; + } + leaf no-sbl-default-server { + description "Don't default SBL server"; + type empty; + } + } + leaf spam-action { + description "Anti-spam actions"; + default "tag-subject"; + type enumeration { + enum "block" { + description "Block e-mail"; + } + enum "tag-header" { + description "Tag header of e-mail"; + } + enum "tag-subject" { + description "Tag subject of e-mail"; + } + } + } + leaf custom-tag-string { + description "Custom tag string"; + type string { + length "1 .. 512"; + } + } + } + grouping default-sophos-scan-options { + description "Anti-virus scan options"; + uses apply-advanced; + choice uri-check-choice { + leaf uri-check { + description "Anti-virus uri-check"; + type empty; + } + leaf no-uri-check { + description "Don't anti-virus uri-check"; + type empty; + } + } + leaf content-size-limit { + description "Content size limit"; + default "10000"; + type string; + } + leaf timeout { + description "Scan engine timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + grouping default-webfilter-feature { + description "Web-filtering feature settings"; + uses apply-advanced; + leaf url-whitelist { + description "Configure custom URL for whitelist category"; + type string; + } + leaf url-blacklist { + description "Configure custom URL for blacklist category"; + type string; + } + leaf http-reassemble { + description "Reassemble HTTP request segments"; + type empty; + } + leaf http-persist { + description "Check all HTTP request in a connection"; + type empty; + } + leaf type { + description "Configure web-filtering engine type"; + default "web-filtering-none"; + type enumeration { + enum "websense-redirect" { + } + enum "juniper-local" { + } + enum "juniper-enhanced" { + } + enum "web-filtering-none" { + } + } + } + container traceoptions { + description "Trace options for web-filtering feature"; + uses web-filtering-traceoptions; + } + container websense-redirect { + description "Configure web-filtering websense redirect engine"; + uses default-websense-type; + } + container juniper-local { + description "Configure web-filtering juniper local engine"; + uses default-juniper-local-type; + } + container juniper-enhanced { + description "Configure web-filtering juniper enhanced engine"; + uses default-juniper-enhanced-type; + } + } + grouping default-juniper-enhanced-type { + description "Juniper Enhanced"; + uses apply-advanced; + container cache { + presence "enable cache"; + uses apply-advanced; + leaf timeout { + description "Juniper enhanced cache timeout"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf size { + description "Juniper enhanced cache size"; + default "1024"; + units "kilobytes"; + type string; + } + } + container server { + description "Juniper enhanced server"; + presence "enable server"; + uses juniper-enhanced-server; + } + container reputation { + presence "enable reputation"; + description "Customize reputation level"; + uses apply-advanced; + leaf reputation-very-safe { + description "Base-reputation-value"; + default "90"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reputation-moderately-safe { + description "Base-reputation-value"; + default "80"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reputation-fairly-safe { + description "Base-reputation-value"; + default "70"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reputation-suspicious { + description "Base-reputation-value"; + default "60"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf query-type { + description "Juniper enhanced query type"; + type enumeration { + enum "url-ip" { + description "Query category by URL and IP address"; + } + enum "url" { + description "Query category by URL only"; + } + } + } + leaf base-filter { + description "Juniper base filter"; + type string; + } + list category { + key name; + ordered-by user; + description "Juniper enhanced category"; + uses juniper-enhanced-category-type; + } + container site-reputation-action { + description "Juniper enhanced site reputation action"; + presence "enable site-reputation-action"; + uses juniper-enhanced-site-reputation-setting; + } + leaf default { + description "Juniper enhanced profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + enum "quarantine" { + description "Quarantine action"; + } + } + } + leaf custom-block-message { + description "Juniper enhanced custom block message sent to HTTP client"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper enhanced quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container fallback-settings { + description "Juniper enhanced fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper enhanced timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-safe-search { + description "Do not perform safe-search for Juniper enhanced protocol"; + type empty; + } + container block-message { + description "Juniper enhanced block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper enhanced quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + } + grouping default-juniper-local-type { + description "Juniper local"; + uses apply-advanced; + leaf default { + description "Juniper local profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Juniper local custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper local quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Juniper local block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper local quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Juniper local fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper local timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + grouping custom-category-type { + description "Custom category type"; + leaf name { + description "Name of custom category"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf action { + description "Action to perform when web traffic matches category"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf custom-message { + description "Custom message"; + type string; + } + } + grouping default-websense-type { + description "Websense redirect"; + uses apply-advanced; + container server { + description "Websense redirect server"; + presence "enable server"; + uses server; + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Websense redirect custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Websense redirect quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Websense redirect block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Websense redirect quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Websense redirect fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Websense redirect timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf sockets { + description "Websense redirect sockets number"; + default "32"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf account { + description "Websense redirect account"; + type string { + length "1 .. 28"; + } + } + } + grouping dynamic-attack-group-type { + description "Define dynamic attack group"; + leaf name { + description "Name of the dynamic attack group"; + type string; + } + uses apply-advanced; + leaf attack-group-description { + description "Filter name/value in xml format"; + status deprecated; + type string; + } + container filters { + description "Configure filters"; + uses apply-advanced; + container direction { + presence "enable direction"; + description "Direction of attack"; + uses apply-advanced; + leaf expression { + description "Boolean AND/OR to be used for values"; + default "or"; + type enumeration { + enum "and" { + description "AND values together (recommended if 'exclude-*' values are set)"; + } + enum "or" { + description "OR values together"; + } + } + } + leaf-list values { + ordered-by user; + description "Values for direction field"; + type enumeration { + enum "client-to-server" { + description "Select attacks from client to server"; + } + enum "server-to-client" { + description "Select attacks from server to client"; + } + enum "any" { + description "Select attacks which are in any direction"; + } + enum "exclude-client-to-server" { + description "Filter out attacks from client to server"; + } + enum "exclude-server-to-client" { + description "Filter out attacks from server to client"; + } + enum "exclude-any" { + description "Filter out attacks which are in any direction"; + } + } + } + } + container severity { + presence "enable severity"; + description "Severity of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for severity field"; + type enumeration { + enum "info" { + description "Provide information of attack when it matches."; + } + enum "warning" { + description "Issue a warning when attack matches."; + } + enum "minor" { + description "The attack is a minor one."; + } + enum "major" { + description "The attack is a major one."; + } + enum "critical" { + description "The attack is a critical one."; + } + } + } + } + container type { + presence "enable type"; + description "Type of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for type field"; + type enumeration { + enum "signature" { + description "Signature based attacks"; + } + enum "anomaly" { + description "Protocol anomalies"; + } + } + } + } + choice recommended-choice { + leaf recommended { + description "Recommended flag"; + type empty; + } + leaf no-recommended { + description "Don't recommended flag"; + type empty; + } + } + container performance { + presence "enable performance"; + description "Performance of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for performance field"; + type enumeration { + enum "unknown" { + description "Performance level unknown"; + } + enum "fast" { + description "Fast performance"; + } + enum "normal" { + description "Normal performance"; + } + enum "slow" { + description "Slow performance"; + } + } + } + } + container category { + presence "enable category"; + description "Category of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for category field"; + type string; + } + } + container service { + presence "enable service"; + description "Service/Application of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for service field"; + type string; + } + } + container false-positives { + presence "enable false-positives"; + description "False positive field in attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for false-positives field"; + type enumeration { + enum "unknown" { + description "Unknown information"; + } + enum "rarely" { + description "Rare false positives occurrence"; + } + enum "occasionally" { + description "Ocassional false positives occurrence"; + } + enum "frequently" { + description "Frequent false positives occurrence"; + } + } + } + } + list vendor { + key name; + ordered-by user; + description "Vendor/Product the attack belongs to"; + uses vendor-object; + } + container file-type { + presence "enable file-type"; + description "File type the attack is valid for"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for file-type field"; + type string; + } + } + container vulnerability-type { + presence "enable vulnerability-type"; + description "Vulnariability type of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for vulnariability-type field"; + type string; + } + } + list cvss-score { + key name; + ordered-by user; + description "CVSS score of Attack "; + leaf name { + description "Match condition of CVSS score"; + type enumeration { + enum "greater-than" { + description "Match when cvss score is greater"; + } + enum "less-than" { + description "Match when cvss score is less"; + } + } + } + uses apply-advanced; + leaf value { + description "Match value"; + type decimal64 { + fraction-digits 2; + range "0 .. 10"; + } + } + } + list age-of-attack { + key name; + ordered-by user; + description "Age of an Attack "; + leaf name { + description "Match condition of Age of Attack"; + type enumeration { + enum "greater-than" { + description "Match when Age of Attack is greater"; + } + enum "less-than" { + description "Match when Age of Attack is less"; + } + } + } + uses apply-advanced; + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + grouping e2e-action-profile { + leaf name { + description "Name of the action profile"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf preserve-trace-order { + description "Preserve trace order (has performance overhead)"; + type empty; + } + leaf record-pic-history { + description "Record the PIC(s) in which the packet has been processed"; + type empty; + } + list event { + key name; + ordered-by user; + uses e2e-event; + } + list module { + key name; + ordered-by user; + uses e2e-module; + } + } + grouping e2e-event { + leaf name { + description "Name of the event"; + type enumeration { + enum "np-ingress" { + description "NP ingress"; + } + enum "np-egress" { + description "NP egress"; + } + enum "mac-ingress" { + description "SRX1K/3K IOC Mac ingress"; + } + enum "mac-egress" { + description "SRX1K/3K IOC Mac egress"; + } + enum "lbt" { + description "Load-Balance-Thread"; + } + enum "pot" { + description "Packet-Order-Thread"; + } + enum "jexec" { + description "JExec"; + } + enum "lt-enter" { + description "LT(Logical Tunnel) enter"; + } + enum "lt-leave" { + description "LT(Logical Tunnel) leave"; + } + } + } + uses apply-advanced; + leaf trace { + description "Trace action"; + type empty; + } + leaf count { + description "Count action"; + type empty; + } + leaf packet-summary { + description "Packet summary action"; + type empty; + } + leaf packet-dump { + description "Packet dump action"; + type empty; + } + } + grouping e2e-module { + leaf name { + description "Name of the module"; + type enumeration { + enum "flow" { + description "Flow module"; + } + } + } + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + type enumeration { + enum "all" { + description "All flow trace"; + } + } + } + } + } + grouping end-to-end-debug-filter { + description "End to end debug packer filter settings"; + leaf name { + description "Name of the filter"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf action-profile { + description "Actions to take with this filter"; + type string; + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-prefix { + description "Source IPv4/IPv6 address prefix"; + type jt:ipprefix; + } + leaf destination-prefix { + description "Destination IPv4/IPv6 address prefix"; + type jt:ipprefix; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf interface { + description "Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping extension-list-type { + description "Configure extension-list object"; + leaf name { + description "Configure name of extension-list object"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of extension-list object"; + type string { + length "1 .. 29"; + } + } + } + grouping flow-filter-type { + description "Flow filter settings"; + leaf name { + description "Name of the filter"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-prefix { + description "Source IP address prefix"; + type jt:ipprefix; + } + leaf destination-prefix { + description "Destination IP address prefix"; + type jt:ipprefix; + } + leaf conn-tag { + description "Session connection tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf logical-system { + description "Logical system"; + type string { + length "1 .. 63"; + } + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf interface { + description "Source logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping host-object { + uses apply-advanced; + leaf ipaddr { + description "IP address"; + type jt:ipaddr; + } + leaf port { + description "Host port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping httpd_dvpn_traceoptions_type { + description "Trace options for dynamic-vpn process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of HTTPD process to enable debugging output"; + leaf name { + type enumeration { + enum "all" { + description "Trace all areas"; + } + } + } + } + } + grouping idp-policy-type { + leaf name { + description "IDP policy name"; + type string; + } + container rulebase-ips { + description "IPS rulebase"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Configure IPS rule"; + leaf name { + description "Rule name"; + type string; + } + uses apply-advanced; + leaf description { + description "Rule description"; + type string; + } + container match { + description "Rule match criteria"; + uses apply-advanced; + leaf from-zone { + description "Match from zone"; + default "any"; + type string; + } + choice source { + case case_1 { + leaf-list source-address { + ordered-by user; + description "Match source address"; + type string; + } + } + case case_2 { + leaf-list source-except { + ordered-by user; + description "Don't match source address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf to-zone { + description "Match to zone"; + default "any"; + type string; + } + choice destination { + case case_1 { + leaf-list destination-address { + ordered-by user; + description "Match destination address"; + type string; + } + } + case case_2 { + leaf-list destination-except { + ordered-by user; + description "Don't match destination address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf application { + description "Specify application or application-set name to match"; + type string; + } + container attacks { + description "Match attack objects"; + uses apply-advanced; + leaf-list custom-attacks { + ordered-by user; + description "Custom attacks"; + type string; + } + leaf-list custom-attack-groups { + ordered-by user; + description "Custom attack groups"; + type string; + } + leaf-list dynamic-attack-groups { + ordered-by user; + description "Dynamic attack groups"; + type string; + } + leaf-list predefined-attacks { + ordered-by user; + description "Predefined attacks"; + type string; + } + leaf-list predefined-attack-groups { + ordered-by user; + description "Predefined attack groups"; + type string; + } + } + } + container then { + uses apply-advanced; + container action { + choice action { + case case_1 { + leaf no-action { + description "No action"; + type empty; + } + } + case case_2 { + leaf ignore-connection { + description "Ignore"; + type empty; + } + } + case case_3 { + container mark-diffserv { + description "Mark differentiated services codepoint (DSCP)"; + uses apply-advanced; + leaf codepoint { + description "Codepoint value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + } + } + case case_4 { + container class-of-service { + description "Classification of traffic based on class-of-service"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "Differentiated services code point value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + } + } + case case_5 { + leaf drop-packet { + description "Drop packet"; + type empty; + } + } + case case_6 { + leaf drop-connection { + description "Drop connection"; + type empty; + } + } + case case_7 { + leaf close-client { + description "Close client"; + type empty; + } + } + case case_8 { + leaf close-server { + description "Close server"; + type empty; + } + } + case case_9 { + leaf close-client-and-server { + description "Close client and server"; + type empty; + } + } + case case_10 { + leaf recommended { + description "Recommended"; + type empty; + } + } + } + } + container ip-action { + uses apply-advanced; + choice ip-action { + case case_1 { + leaf ip-notify { + description "Notify about future traffic"; + type empty; + } + } + case case_2 { + leaf ip-close { + description "Close future connections"; + type empty; + } + } + case case_3 { + leaf ip-block { + description "Block future connections"; + type empty; + } + } + } + leaf target { + type enumeration { + enum "service" { + description "Match source, destination, dst-port and protocol"; + } + enum "source-zone-address" { + description "Match source-zone and source-address"; + } + enum "source-address" { + description "Match source"; + } + enum "destination-address" { + description "Match destination"; + } + enum "zone-service" { + description "Match source-zone, destination, dst-port, protocol"; + } + enum "source-zone" { + description "Match source-zone"; + } + } + } + leaf log { + description "Log IP action taken"; + type empty; + } + leaf log-create { + description "Log IP action creation"; + type empty; + } + leaf timeout { + description "Number of seconds IP action should remain effective"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64800"; + } + } + } + leaf refresh-timeout { + description "Refresh timeout when future connections match installed ip-action filter"; + type empty; + } + } + container notification { + presence "enable notification"; + description "Configure notification/logging options"; + uses apply-advanced; + container log-attacks { + presence "enable log-attacks"; + description "Enable attack logging"; + uses apply-advanced; + leaf alert { + description "Set alert flag in attack log"; + type empty; + } + } + container packet-log { + presence "enable packet-log"; + uses apply-advanced; + leaf pre-attack { + description "No of packets to capture before attack"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf post-attack { + description "No of packets to capture after attack"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf post-attack-timeout { + description "Timeout (seconds) after attack before stopping packet capture"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1800"; + } + } + } + } + } + leaf severity { + description "Set rule severity level"; + type enumeration { + enum "info" { + } + enum "warning" { + } + enum "minor" { + } + enum "major" { + } + enum "critical" { + } + } + } + } + leaf terminal { + description "Set/Unset terminal flag"; + type empty; + } + } + } + container rulebase-exempt { + description "Exempt rulebase"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Configure exempt rule"; + leaf name { + description "Rule name"; + type string; + } + uses apply-advanced; + leaf description { + description "Rule description"; + type string; + } + container match { + description "Rule match criteria"; + uses apply-advanced; + leaf from-zone { + description "Match from zone"; + default "any"; + type string; + } + choice source { + case case_1 { + leaf-list source-address { + ordered-by user; + description "Match source address"; + type string; + } + } + case case_2 { + leaf-list source-except { + ordered-by user; + description "Don't match source address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf to-zone { + description "Match to zone"; + default "any"; + type string; + } + choice destination { + case case_1 { + leaf-list destination-address { + ordered-by user; + description "Match destination address"; + type string; + } + } + case case_2 { + leaf-list destination-except { + ordered-by user; + description "Don't match destination address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + container attacks { + description "Match attack objects"; + uses apply-advanced; + leaf-list custom-attacks { + ordered-by user; + description "Custom attacks"; + type string; + } + leaf-list custom-attack-groups { + ordered-by user; + description "Custom attack groups"; + type string; + } + leaf-list dynamic-attack-groups { + ordered-by user; + description "Dynamic attack groups"; + type string; + } + leaf-list predefined-attacks { + ordered-by user; + description "Predefined attacks"; + type string; + } + leaf-list predefined-attack-groups { + ordered-by user; + description "Predefined attack groups"; + type string; + } + } + } + } + } + } + grouping idpd-traceoptions-type { + description "Trace options for idpd"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping ids-option-type { + description "Configure screen object"; + leaf name { + description "Screen object name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of screen"; + type string { + length "1 .. 900"; + } + } + leaf alarm-without-drop { + description "Do not drop packet, only generate alarm"; + type empty; + } + container icmp { + description "Configure ICMP ids options"; + uses apply-advanced; + container ip-sweep { + presence "enable ip-sweep"; + description "Configure ip sweep ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 ICMP packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + leaf fragment { + description "Enable ICMP fragment ids option"; + type empty; + } + leaf large { + description "Enable large ICMP packet (size > 1024) ids option"; + type empty; + } + container flood { + presence "enable flood"; + description "Configure icmp flood ids option"; + leaf threshold { + description "Threshold"; + default "1000"; + units "ICMP packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf ping-death { + description "Enable ping of death ids option"; + type empty; + } + leaf icmpv6-malformed { + description "Enable icmpv6 malformed ids option"; + type empty; + } + } + container ip { + description "Configure IP layer ids options"; + uses apply-advanced; + leaf bad-option { + description "Enable ip with bad option ids option"; + type empty; + } + leaf record-route-option { + description "Enable ip with record route option ids option"; + type empty; + } + leaf timestamp-option { + description "Enable ip with timestamp option ids option"; + type empty; + } + leaf security-option { + description "Enable ip with security option ids option"; + type empty; + } + leaf stream-option { + description "Enable ip with stream option ids option"; + type empty; + } + leaf spoofing { + description "Enable IP address spoofing ids option"; + type empty; + } + leaf source-route-option { + description "Enable ip source route ids option"; + type empty; + } + leaf loose-source-route-option { + description "Enable ip with loose source route ids option"; + type empty; + } + leaf strict-source-route-option { + description "Enable ip with strict source route ids option"; + type empty; + } + leaf unknown-protocol { + description "Enable ip unknown protocol ids option"; + type empty; + } + leaf block-frag { + description "Enable ip fragment blocking ids option"; + type empty; + } + leaf tear-drop { + description "Enable tear drop ids option"; + type empty; + } + container ipv6-extension-header { + description "Configure ipv6 extension header ids option"; + uses apply-advanced; + container hop-by-hop-header { + presence "enable hop-by-hop-header"; + description "Enable ipv6 hop by hop option header ids option"; + uses apply-advanced; + leaf jumbo-payload-option { + description "Enable jumbo payload option ids option"; + type empty; + } + leaf router-alert-option { + description "Enable router alert option ids option"; + type empty; + } + leaf quick-start-option { + description "Enable quick start option ids option"; + type empty; + } + leaf CALIPSO-option { + description "Enable Common Architecture Label ipv6 Security Option ids option"; + type empty; + } + leaf SMF-DPD-option { + description "Enable Simplified Multicast Forwarding ipv6 Duplicate Packet Detection option ids option"; + type empty; + } + leaf RPL-option { + description "Enable Routing Protocol for Low-power and Lossy networks option ids option"; + type empty; + } + list user-defined-option-type { + key name; + ordered-by user; + description "User-defined option type range"; + max-elements 256; + leaf name { + description "User-defined option type low value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container to { + description "Upper limit of option type range"; + uses apply-advanced; + leaf type-high { + description "User-defined option type high value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + } + leaf routing-header { + description "Enable ipv6 routing header ids option"; + type empty; + } + leaf fragment-header { + description "Enable ipv6 fragment header ids option"; + type empty; + } + leaf ESP-header { + description "Enable ipv6 Encapsulating Security Payload header ids option"; + type empty; + } + leaf AH-header { + description "Enable ipv6 Authentication Header ids option"; + type empty; + } + leaf no-next-header { + description "Enable ipv6 no next header ids option"; + type empty; + } + container destination-header { + presence "enable destination-header"; + description "Enable ipv6 destination option header ids option"; + uses apply-advanced; + leaf tunnel-encapsulation-limit-option { + description "Enable tunnel encapsulation limit option ids option"; + type empty; + } + leaf home-address-option { + description "Enable home address option ids option"; + type empty; + } + leaf ILNP-nonce-option { + description "Enable Identifier-Locator Network Protocol Nonce option ids option"; + type empty; + } + leaf line-identification-option { + description "Enable line identification option ids option"; + type empty; + } + list user-defined-option-type { + key name; + ordered-by user; + description "User-defined option type range"; + max-elements 256; + leaf name { + description "User-defined option type low value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container to { + description "Upper limit of option type range"; + uses apply-advanced; + leaf type-high { + description "User-defined option type high value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + } + leaf shim6-header { + description "Enable ipv6 shim header ids option"; + type empty; + } + leaf mobility-header { + description "Enable ipv6 mobility header ids option"; + type empty; + } + leaf HIP-header { + description "Enable ipv6 Host Identify Protocol header ids option"; + type empty; + } + list user-defined-header-type { + key name; + ordered-by user; + description "User-defined header type range"; + max-elements 256; + leaf name { + description "User-defined header type low value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container to { + description "Upper limit of header type range"; + uses apply-advanced; + leaf type-high { + description "User-defined header type high value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf ipv6-extension-header-limit { + description "Enable ipv6 extension header limit ids option"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf ipv6-malformed-header { + description "Enable ipv6 malformed header ids option"; + type empty; + } + container tunnel { + description "Configure IP tunnel ids options"; + uses apply-advanced; + leaf bad-inner-header { + description "Enable IP tunnel bad inner header ids option"; + type empty; + } + container gre { + description "Configure IP tunnel GRE ids option"; + uses apply-advanced; + leaf gre-6in4 { + description "Enable IP tunnel GRE 6in4 ids option"; + type empty; + } + leaf gre-4in6 { + description "Enable IP tunnel GRE 4in6 ids option"; + type empty; + } + leaf gre-6in6 { + description "Enable IP tunnel GRE 6in6 ids option"; + type empty; + } + leaf gre-4in4 { + description "Enable IP tunnel GRE 4in4 ids option"; + type empty; + } + } + container ip-in-udp { + description "Configure IP tunnel IPinUDP ids option"; + uses apply-advanced; + leaf teredo { + description "Enable IP tunnel IPinUDP Teredo ids option"; + type empty; + } + } + container ipip { + description "Configure IP tunnel IPIP ids option"; + uses apply-advanced; + leaf ipip-6to4relay { + description "Enable IP tunnel IPIP 6to4 Relay ids option"; + type empty; + } + leaf ipip-6in4 { + description "Enable IP tunnel IPIP 6in4 ids option"; + type empty; + } + leaf ipip-4in6 { + description "Enable IP tunnel IPIP 4in6 ids option"; + type empty; + } + leaf ipip-4in4 { + description "Enable IP tunnel IPIP 4in4 ids option"; + type empty; + } + leaf ipip-6in6 { + description "Enable IP tunnel IPIP 6in6 ids option"; + type empty; + } + leaf ipip-6over4 { + description "Enable IP tunnel IPIP 6over4 ids option"; + type empty; + } + leaf isatap { + description "Enable IP tunnel IPIP ISATAP ids option"; + type empty; + } + leaf dslite { + description "Enable IP tunnel IPIP DS-Lite ids option"; + type empty; + } + } + } + } + container tcp { + description "Configure TCP Layer ids options"; + uses apply-advanced; + leaf syn-fin { + description "Enable SYN and FIN bits set attack ids option"; + type empty; + } + leaf fin-no-ack { + description "Enable Fin bit with no ACK bit ids option"; + type empty; + } + leaf tcp-no-flag { + description "Enable TCP packet without flag ids option"; + type empty; + } + leaf syn-frag { + description "Enable SYN fragment ids option"; + type empty; + } + container port-scan { + presence "enable port-scan"; + description "Configure TCP port scan ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 attack packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + container syn-ack-ack-proxy { + presence "enable syn-ack-ack-proxy"; + description "Configure syn-ack-ack proxy ids option"; + leaf threshold { + description "Threshold"; + default "512"; + units "un-authenticated connections"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250000"; + } + } + } + } + container syn-flood { + presence "enable syn-flood"; + description "Configure SYN flood ids option"; + uses apply-advanced; + leaf alarm-threshold { + description "Alarm threshold"; + default "512"; + units "requests per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf attack-threshold { + description "Attack threshold"; + default "200"; + units "proxied requests per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf source-threshold { + description "Source threshold"; + default "4000"; + units "SYN pps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf destination-threshold { + description "Destination threshold"; + default "4000"; + units "SYN pps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf queue-size { + description "Queue size"; + status deprecated; + default "1024"; + units "proxied requests in queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "200 .. 20000"; + } + } + } + leaf timeout { + description "SYN flood ager timeout"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50"; + } + } + } + list white-list { + key name; + description "Set of IP addresses that will not trigger a screen"; + max-elements 2; + leaf name { + description "White-list name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 32; + } + leaf-list destination-address { + ordered-by user; + description "Destination address"; + type jt:ipprefix; + max-elements 32; + } + } + } + leaf land { + description "Enable land attack ids option"; + type empty; + } + leaf winnuke { + description "Enable winnuke attack ids option"; + type empty; + } + container tcp-sweep { + presence "enable tcp-sweep"; + description "Configure TCP sweep ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 TCP packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + } + container udp { + description "Configure UDP layer ids options"; + uses apply-advanced; + container flood { + presence "enable flood"; + description "Configure UDP flood ids option"; + uses apply-advanced; + leaf threshold { + description "Threshold"; + default "1000"; + units "UDP packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf-list white-list { + ordered-by user; + description "Configure UDP flood white list group name"; + type string; + max-elements 2; + } + } + container udp-sweep { + presence "enable udp-sweep"; + description "Configure UDP sweep ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 UDP packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + container port-scan { + presence "enable port-scan"; + description "Configure UDP port scan ids option"; + leaf threshold { + description "Threshold"; + default "5000"; + units "microseconds in which 10 attack packets are detected"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 1000000"; + } + } + } + } + } + container limit-session { + description "Limit sessions"; + uses apply-advanced; + leaf source-ip-based { + description "Limit sessions from the same source IP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf destination-ip-based { + description "Limit sessions to the same destination IP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping ids-wlist-type { + leaf name { + description "White-list name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf-list address { + ordered-by user; + description "Address"; + type jt:ipprefix; + max-elements 32; + } + } + grouping jsf_application_traffic_control_rule_set_type { + description "Define service application traffic rule-set reference"; + uses apply-advanced; + leaf rule-set { + description "Service rule-set name"; + type string { + length "1 .. 64"; + } + } + } + grouping juniper-enhanced-category-type { + description "Juniper enhanced category type"; + leaf name { + description "Name of Juniper enhanced category"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf action { + description "Action to perform when web traffic matches category"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf custom-message { + description "Custom message"; + type string; + } + } + grouping juniper-enhanced-server { + description "Server handling categorization requests"; + uses apply-advanced; + leaf host { + description "Server host IP address or string host name"; + type string; + } + leaf port { + description "Server port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + grouping juniper-enhanced-site-reputation-setting { + description "Juniper enhanced site reputation settings"; + uses apply-advanced; + leaf very-safe { + description "Action when site reputation is very safe"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf moderately-safe { + description "Action when site reputation is moderately safe"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf fairly-safe { + description "Action when site reputation is fairly safe"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf suspicious { + description "Action when site reputation is suspicious"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + leaf harmful { + description "Action when site reputation is harmful"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + enum "quarantine" { + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mime-list-type { + description "Configure mime-list object"; + leaf name { + description "Configure name of mime-list object"; + type string { + length "1 .. 40"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure MIME value"; + type string { + length "1 .. 255"; + } + } + } + grouping mirror-filter-type { + description "Secuirty mirror filter settings"; + leaf name { + description "Name of the filter"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-prefix { + description "Source IP address prefix"; + type jt:ipprefix; + } + leaf destination-prefix { + description "Destination IP address prefix"; + type jt:ipprefix; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf interface-in { + description "Incoming Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface-out { + description "Outgoing Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + container output { + description "Configure output interface and MAC address"; + uses apply-advanced; + leaf interface { + description "Outgoing Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-mac { + description "MAC address to match"; + type string; + } + } + } + grouping named-address-book-type { + description "Configure global address book"; + leaf name { + description "Address book name"; + type string; + } + uses apply-advanced; + leaf description { + description "Text description of address book"; + type string { + length "1 .. 900"; + } + } + list address { + key name; + ordered-by user; + description "Define a security address"; + uses address_type; + } + list address-set { + key name; + ordered-by user; + description "Define a security address set"; + uses address_set_type; + } + container attach { + description "Attach this address book to interface, zone or routing-instance"; + uses apply-advanced; + list zone { + key name; + ordered-by user; + description "Define a zone to be attached"; + leaf name { + description "Security zone name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + } + grouping address_set_type { + leaf name { + description "Security address-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of address set"; + type string { + length "1 .. 900"; + } + } + list address { + key name; + ordered-by user; + description "Address to be included in this set"; + max-elements 4096; + leaf name { + description "Security address name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list address-set { + key name; + ordered-by user; + description "Define an address-set name"; + max-elements 4096; + leaf name { + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping address_type { + leaf name { + description "Security address name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of address"; + type string { + length "1 .. 900"; + } + } + choice address-content { + case case_1 { + leaf ip-prefix { + description "Numeric IPv4 or IPv6 address with prefix"; + type jt:ipprefix; + } + } + case case_2 { + list dns-name { + key name; + ordered-by user; + description "DNS address name"; + max-elements 1; + uses dns-name-type; + } + } + case case_3 { + list wildcard-address { + key name; + ordered-by user; + description "Numeric IPv4 wildcard address with in the form of a.d.d.r/netmask"; + max-elements 1; + uses wildcard-address-type; + } + } + case case_4 { + list range-address { + key name; + ordered-by user; + description "Address range"; + max-elements 1; + uses range-address-type; + } + } + } + } + grouping dns-name-type { + description "DNS address name"; + leaf name { + description "Fully qualified hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf ipv4-only { + description "IPv4 dns address"; + type empty; + } + leaf ipv6-only { + description "IPv6 dns address"; + type empty; + } + } + grouping nat-object { + description "Configure Network Address Translation"; + uses apply-advanced; + container source { + description "Configure Source NAT"; + uses ssg-source-nat-object; + } + container destination { + description "Configure Destination NAT"; + uses ssg-destination-nat-object; + } + container static { + description "Configure Static NAT"; + uses ssg-static-nat-object; + } + container proxy-arp { + description "Configure Proxy ARP"; + uses ssg-proxy-arp-object; + } + container proxy-ndp { + description "Configure Proxy NDP"; + uses ssg-proxy-ndp-object; + } + container natv6v4 { + description "Configure NAT between IPv6 and IPv4 options"; + uses apply-advanced; + leaf no-v6-frag-header { + description "V6 packet does not always add fragment header when performing nat translation from v4 side to v6 side "; + type empty; + } + } + container traceoptions { + description "NAT trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "flow" { + description "Trace flow events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "routing-protocol" { + description "Trace routing protocol events"; + } + enum "all" { + description "Trace everything"; + } + enum "source-nat-re" { + description "Trace source nat events on RE side"; + } + enum "source-nat-rt" { + description "Trace source nat events on PFE-RT side"; + } + enum "source-nat-pfe" { + description "Trace source nat events on PFE-ukernel side"; + } + enum "destination-nat-re" { + description "Trace destination nat events on RE side"; + } + enum "destination-nat-rt" { + description "Trace destination nat events on PFE-RT side"; + } + enum "destination-nat-pfe" { + description "Trace destination nat events on PFE-ukernel side"; + } + enum "static-nat-re" { + description "Trace static nat events on RE side"; + } + enum "static-nat-rt" { + description "Trace static nat events on PFE-RT side"; + } + enum "static-nat-pfe" { + description "Trace static nat events on PFE-ukernel side"; + } + enum "nat-svc-set-re" { + description "Trace NAT and svc-set events on RE side"; + } + } + } + leaf syslog { + description "Write NAT flow traces to system log also"; + type empty; + } + } + } + list ipv6-multicast-interfaces { + key name; + ordered-by user; + description "Enable IPv6 multicast filter for IPv6 NAT"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable IPv6 multicast filter for IPv6 NAT"; + type empty; + } + } + list port-forwarding { + key name; + ordered-by user; + description "Define a port-forwarding pool"; + uses pf_mapping; + } + } + grouping pf_mapping { + leaf name { + description "Port Forwarding name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list destined-port { + key "port translated-port"; + ordered-by user; + description "Port forwarding mappings"; + max-elements 32; + leaf port { + description "Destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf translated-port { + description "Translated port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + grouping policy-object-type { + uses apply-advanced; + container traceoptions { + description "Network Security Policy Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "compilation" { + description "Policy compilation events"; + } + enum "ipc" { + description "Inter-process communication events"; + } + enum "rules" { + description "Policy rules related events"; + } + enum "lookup" { + description "Policy lookup events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list policy { + key "from-zone-name to-zone-name"; + ordered-by user; + description "Define a policy context from this zone"; + leaf from-zone-name { + description "Source zone"; + type string { + length "1 .. 63"; + } + } + leaf to-zone-name { + description "Destination zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Define security policy in specified zone-to-zone direction"; + uses policy_type; + } + } + container global { + description "Define a global policy context"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Define security policy in global context"; + uses policy_type; + } + } + container default-policy { + description "Configure default action when no user-defined policy match"; + uses apply-advanced; + leaf default-action { + description "Default action"; + default "deny-all"; + type enumeration { + enum "permit-all" { + description "Permit all traffic if no policy match"; + } + enum "deny-all" { + description "Deny all traffic if no policy match"; + } + } + } + } + container policy-rematch { + presence "enable policy-rematch"; + description "Re-evaluate the policy when changed"; + leaf extensive { + description "Perform policy extensive rematch"; + type empty; + } + } + container policy-stats { + presence "enable policy-stats"; + description "Parameters for policy statistics"; + uses apply-advanced; + leaf system-wide { + description "Enable/Disable system-wide policy statistics"; + type enumeration { + enum "enable" { + description "Enable policy system-wide statistics"; + } + enum "disable" { + description "Disable policy system-wide statistics"; + } + } + } + } + container pre-id-default-policy { + description "Configure default policy action before dynamic application is finally identified"; + uses apply-advanced; + container then { + description "Specify policy action to take when packet match criteria"; + uses apply-advanced; + container log { + description "Enable log"; + uses log_type; + } + container session-timeout { + description "Session timeout"; + uses session_timeout_type; + } + } + } + list stateful-firewall-rule { + key name; + ordered-by user; + description "Define a stateful-firewall-rule"; + max-elements 16960; + leaf name { + description "Stateful-firewall-rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf match-direction { + description "Direction for which the rule match is applied"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + enum "input-output" { + description "Match on input to or output from interface"; + } + } + } + list policy { + key name; + ordered-by user; + description "Define a stateful-firewall policy"; + uses policy_type; + } + } + list stateful-firewall-rule-set { + key name; + ordered-by user; + description "Defines a set of stateful firewall rules"; + max-elements 16960; + leaf name { + description "Name of the stateful firewall rule set"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list stateful-firewall-rule { + key name; + ordered-by user; + description "Rule to be included in this stateful firewall rule set"; + max-elements 16960; + leaf name { + description "Stateful-firewall-rule name"; + type string { + } + } + uses apply-advanced; + } + } + } + grouping log_type { + uses apply-advanced; + leaf session-init { + description "Log at session init time"; + type empty; + } + leaf session-close { + description "Log at session close time"; + type empty; + } + } + grouping policy_type { + leaf name { + description "Security policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of policy"; + type string { + length "1 .. 900"; + } + } + container match { + description "Specify security policy match-criteria"; + uses apply-advanced; + choice source-address_choice { + case case_1 { + leaf-list source-address { + ordered-by user; + type string; + } + } + } + choice destination-address_choice { + case case_1 { + leaf-list destination-address { + ordered-by user; + type string; + } + } + } + leaf source-address-excluded { + description "Exclude source addresses"; + type empty; + } + leaf destination-address-excluded { + description "Exclude destination addresses"; + type empty; + } + choice application_type_choice { + case case_1 { + leaf-list application { + ordered-by user; + type string; + } + } + } + choice source_identity_choice { + case case_1 { + leaf-list source-identity { + ordered-by user; + type string; + } + } + } + choice source_end_user_profile_choice { + case case_1 { + container source-end-user-profile { + description "Match source end user profile"; + uses match_source_end_user_profile_value; + } + } + } + choice dynamic_application_type_choice { + case case_1 { + leaf-list dynamic-application { + ordered-by user; + type string; + } + } + } + choice from_zone_choice { + case case_1 { + leaf-list from-zone { + ordered-by user; + type string; + } + } + } + choice to_zone_choice { + case case_1 { + leaf-list to-zone { + ordered-by user; + type string; + } + } + } + } + container then { + description "Specify policy action to take when packet match criteria"; + uses apply-advanced; + choice action { + case case_1 { + leaf deny { + description "Deny packets"; + type empty; + } + } + case case_2 { + container reject { + presence "enable reject"; + description "Reject packets"; + uses apply-advanced; + leaf profile { + description "Profile for redirect HTTP/S traffic"; + type string; + } + container ssl-proxy { + presence "enable ssl-proxy"; + description "SSL proxy services"; + uses apply-advanced; + leaf profile-name { + description "Specify SSL proxy service profile name"; + type string; + } + } + } + } + case case_3 { + container permit { + presence "enable permit"; + description "Permit packets"; + uses apply-advanced; + container tunnel { + description "Tunnel packets"; + uses tunnel_type; + } + container firewall-authentication { + description "Enable authentication for this policy if permit or tunnel"; + uses firewall_authentication_type; + } + container destination-address { + description "Enable destination address translation"; + presence "enable destination-address"; + uses destination_nat_enable_type; + } + container application-services { + description "Application Services"; + uses application_services_type; + } + container tcp-options { + description "Transmission Control Protocol session configuration"; + uses apply-advanced; + leaf syn-check-required { + description "Enable per policy SYN-flag check"; + type empty; + } + leaf sequence-check-required { + description "Enable per policy sequence-number checking"; + type empty; + } + leaf initial-tcp-mss { + description "Override MSS value for initial direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + leaf reverse-tcp-mss { + description "Override MSS value for reverse direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + leaf window-scale { + description "Enable per policy window-scale"; + type empty; + } + } + leaf services-offload { + description "Enable services offloading"; + type empty; + } + } + } + } + container log { + description "Enable log"; + uses log_type; + } + container count { + description "Enable count"; + presence "enable count"; + uses count_type; + } + } + leaf scheduler-name { + description "Name of scheduler"; + type string { + length "1 .. 63"; + } + } + } + grouping application_services_type { + description "Application Services"; + uses apply-advanced; + leaf gprs-gtp-profile { + description "Specify GPRS Tunneling Protocol profile name"; + type string { + length "1 .. 63"; + } + } + leaf gprs-sctp-profile { + description "Specify GPRS stream control protocol profile name"; + type string { + length "1 .. 63"; + } + } + leaf idp { + description "Intrusion detection and prevention"; + type empty; + } + leaf idp-policy { + description "Specify idp policy name"; + type string { + length "1 .. 255"; + } + } + container ssl-proxy { + presence "enable ssl-proxy"; + description "SSL proxy services"; + uses apply-advanced; + leaf profile-name { + description "Specify SSL proxy service profile name"; + type string; + } + } + container uac-policy { + presence "enable uac-policy"; + description "Enable unified access control enforcement of policy"; + uses apply-advanced; + leaf captive-portal { + type string { + length "1 .. 128"; + } + } + } + leaf utm-policy { + description "Specify utm policy name"; + type string { + length "1 .. 255"; + } + } + leaf icap-redirect { + description "Specify icap redirect profile name"; + type string { + length "1 .. 31"; + } + } + container application-firewall { + description "Application firewall services"; + status deprecated; + uses jsf_service_rule_set_type; + } + container application-traffic-control { + description "Application traffic control services"; + uses jsf_application_traffic_control_rule_set_type; + } + choice wx-redirection { + case case_1 { + leaf redirect-wx { + description "Set WX redirection"; + type empty; + } + } + case case_2 { + leaf reverse-redirect-wx { + description "Set WX reverse redirection"; + type empty; + } + } + } + leaf security-intelligence-policy { + description "Specify security-intelligence policy name"; + type string { + length "1 .. 255"; + } + } + leaf advanced-anti-malware-policy { + description "Specify advanced-anti-malware policy name"; + type string { + length "1 .. 255"; + } + } + } + grouping count_type { + uses apply-advanced; + } + grouping destination_nat_enable_type { + description "Enable Destination NAT"; + uses apply-advanced; + choice destination_nat { + case case_1 { + leaf drop-translated { + description "Drop the policy if NAT translated"; + type empty; + } + } + case case_2 { + leaf drop-untranslated { + description "Drop the policy if NAT untranslated"; + type empty; + } + } + } + } + grouping firewall_authentication_type { + uses apply-advanced; + choice auth-type { + case case_1 { + container pass-through { + presence "enable pass-through"; + description "Pass-through firewall authentication settings"; + uses apply-advanced; + leaf access-profile { + description "Specify access profile name"; + type string { + length "1 .. 63"; + } + } + leaf-list client-match { + ordered-by user; + description "Name of user or group to match"; + type string { + length "1 .. 63"; + } + } + leaf web-redirect { + description "Redirect unauthenticated HTTP requests to the device's internal web server"; + type empty; + } + leaf web-redirect-to-https { + description "Redirect unauthenticated HTTP requests to the device's internal HTTPS web server"; + type empty; + } + leaf ssl-termination-profile { + description "Specify SSL termination profile used to the SSL offload"; + type string { + length "1 .. 63"; + } + } + leaf auth-only-browser { + description "Authenticate only browser traffic"; + type empty; + } + list auth-user-agent { + key name; + ordered-by user; + description "Authenticate HTTP traffic with specified user agent"; + leaf name { + description "Authenticate HTTP traffic with specified user agent"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + } + } + } + case case_2 { + container web-authentication { + presence "enable web-authentication"; + description "Web-authentication settings"; + uses apply-advanced; + leaf-list client-match { + ordered-by user; + description "Name of user or group to match"; + type string { + length "1 .. 63"; + } + } + } + } + case case_3 { + container user-firewall { + description "User-firewall firewall authentication settings"; + uses apply-advanced; + leaf access-profile { + description "Specify access profile name"; + type string { + length "1 .. 63"; + } + } + leaf web-redirect { + description "Redirect unauthenticated HTTP req to web server"; + type empty; + } + leaf web-redirect-to-https { + description "Redirect unauthenticated HTTP req to HTTPS web server"; + type empty; + } + leaf ssl-termination-profile { + description "Specify SSL termination profile used to the SSL offload"; + type string { + length "1 .. 63"; + } + } + leaf auth-only-browser { + description "Authenticate only browser traffic"; + type empty; + } + list auth-user-agent { + key name; + ordered-by user; + description "Authenticate HTTP traffic with specified user agent"; + leaf name { + description "Authenticate HTTP traffic with specified user agent"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + } + leaf domain { + description "Specify domain name"; + type string { + length "1 .. 64"; + } + } + } + } + } + leaf push-to-identity-management { + description "Push auth entry to identity management server"; + type empty; + } + } + grouping jsf_service_rule_set_type { + description "Define service rule set reference"; + uses apply-advanced; + leaf rule-set { + description "Service rule set name"; + type string { + length "1 .. 64"; + } + } + } + grouping match_source_end_user_profile_value { + uses apply-advanced; + leaf source-end-user-profile-name { + description "Specify source-end-user-profile name from list to match"; + type string; + } + } + grouping port-range { + description "Port ranges"; + leaf name { + description "Single port/minimum port in the port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum-port { + description "Maximum port in the port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping profile-setting { + description "UTM policy settings"; + leaf name { + description "UTM policy name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + container anti-virus { + description "UTM policy anti-virus profile"; + uses apply-advanced; + leaf http-profile { + description "Anti-virus profile"; + type string; + } + container ftp { + description "FTP profile"; + uses apply-advanced; + leaf upload-profile { + description "Anti-virus profile"; + type string; + } + leaf download-profile { + description "Anti-virus profile"; + type string; + } + } + leaf smtp-profile { + description "Anti-virus profile"; + type string; + } + leaf pop3-profile { + description "Anti-virus profile"; + type string; + } + leaf imap-profile { + description "Anti-virus profile"; + type string; + } + } + container content-filtering { + description "Content-filtering profile"; + uses apply-advanced; + leaf http-profile { + description "Content-filtering profile"; + type string; + } + container ftp { + description "FTP profile"; + uses apply-advanced; + leaf upload-profile { + description "Content-filtering FTP upload profile"; + type string; + } + leaf download-profile { + description "Content-filtering FTP download profile"; + type string; + } + } + leaf smtp-profile { + description "Content-filtering SMTP profile"; + type string; + } + leaf pop3-profile { + description "Content-filtering POP3 profile"; + type string; + } + leaf imap-profile { + description "Content-filtering IMAP profile"; + type string; + } + } + container web-filtering { + description "Web-filtering profile"; + uses apply-advanced; + leaf http-profile { + description "Web-filtering HTTP profile"; + type string; + } + } + container anti-spam { + description "Anti-spam profile"; + uses apply-advanced; + leaf smtp-profile { + description "Anti-spam profile"; + type string; + } + } + container traffic-options { + description "Traffic options"; + status deprecated; + uses apply-advanced; + container sessions-per-client { + description "Sessions per client"; + uses apply-advanced; + leaf limit { + description "Sessions limit"; + default "2000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf over-limit { + description "Over limit number"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + } + } + } + grouping proto-object { + leaf name { + type string; + } + uses apply-advanced; + list tunable-name { + key name; + ordered-by user; + description "Protocol tunable name"; + uses tunable-object; + } + } + grouping ragw-traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "brief"; + type enumeration { + enum "brief" { + description "Brief debugging output"; + } + enum "detail" { + description "Detailed debugging output"; + } + enum "extensive" { + description "Extensive debugging output"; + } + enum "verbose" { + description "Verbose debugging output"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace CLI configuration events"; + } + enum "tunnel" { + description "Trace tunnel install/encap/decap events"; + } + enum "session" { + description "Trace session related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping range-address-type { + description "Range address"; + leaf name { + description "Lower limit of address range"; + type jt:ipv4addr; + } + uses apply-advanced; + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf range-high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + } + grouping sbl-type { + description "SBL type"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "SBL profile"; + leaf name { + description "SBL profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + choice sbl-default-server-choice { + leaf sbl-default-server { + description "Default SBL server"; + type empty; + } + leaf no-sbl-default-server { + description "Don't default SBL server"; + type empty; + } + } + leaf spam-action { + description "Anti-spam actions"; + type enumeration { + enum "block" { + description "Block e-mail"; + } + enum "tag-header" { + description "Tag header of e-mail"; + } + enum "tag-subject" { + description "Tag subject of e-mail"; + } + } + } + leaf custom-tag-string { + description "Custom tag string"; + type string { + length "1 .. 512"; + } + } + } + } + grouping secure-wire-type { + description "Secure-wire cross connection"; + leaf name { + description "Secure-wire name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list interface { + description "Secure-wire logical interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping security-authentication-key-chains { + uses apply-advanced; + list key-chain { + key name; + description "Key chain configuration"; + leaf name { + description "Name of authentication key chain"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of this authentication-key-chain"; + type string { + length "1 .. 80"; + } + } + leaf tolerance { + description "Clock skew tolerance"; + default "3600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list key { + key name; + description "Authentication element configuration"; + leaf name { + description "Authentication element identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + uses apply-advanced; + leaf secret { + description "Authentication key"; + type string { + length "1 .. 126"; + } + } + leaf key-name { + description "Key name in hexadecimal format used for macsec"; + type string { + length "2 .. 64"; + } + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + leaf algorithm { + description "Authentication algorithm"; + default "md5"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + } + } + leaf options { + description "Protocol's transmission encoding format"; + default "basic"; + type enumeration { + enum "basic" { + description "Rudimentary encoding format"; + } + enum "isis-enhanced" { + description "RFC 5310 based encoding"; + } + } + } + } + } + } + grouping security-group-vpn { + uses apply-advanced; + container member { + description "Group VPN member configuration"; + uses gvpn-member; + } + container server { + description "Group VPN server configuration"; + uses gvpn-server; + } + } + grouping gvpn-member { + uses apply-advanced; + container ike { + description "Group VPN IKE configuration"; + uses gvpn-member-ike; + } + container ipsec { + description "Group VPN IPsec configuration"; + uses gvpn-member-ipsec-vpn; + } + } + grouping gvpn-member-ike { + uses apply-advanced; + container traceoptions { + description "Trace options for Group VPN Member"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container gateway-filter { + description "Set gateway filter for trace"; + uses apply-advanced; + leaf local-address { + description "Use an IP address to identify the local gateway"; + type jt:ipv4addr; + } + leaf remote-address { + description "Use an IP address to identify the remote gateway"; + type jt:ipv4addr; + } + } + } + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses gvpn-member-ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses gvpn-ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + leaf-list server-address { + ordered-by user; + description "Server Addresses upto 4"; + type jt:ipv4addr; + max-elements 4; + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + } + } + leaf local-address { + description "Local IPv4 address for group member"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Name of routing instance that hosts local address"; + default "default"; + type string; + } + } + } + grouping gvpn-ike-policy { + leaf name { + description "Name of policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf mode { + description "Define the IKE mode for Phase 1"; + default "main"; + type enumeration { + enum "main" { + description "Main mode"; + } + enum "aggressive" { + description "Aggressive mode"; + } + } + } + leaf description { + description "Text description of IKE policy"; + type string { + length "1 .. 80"; + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + container pre-shared-key { + description "Define a preshared key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping gvpn-member-ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping gvpn-member-ipsec-vpn { + uses apply-advanced; + list vpn { + key name; + ordered-by user; + description "Define an IPSec VPN"; + uses ipsec-gvpn-member-template; + } + } + grouping gvpn-server { + uses apply-advanced; + container traceoptions { + description "Trace options for Group VPN debug"; + uses gvpn-server-traceoptions; + } + container ike { + description "Group VPN IKE configuration"; + uses gvpn-server-ike; + } + container ipsec { + description "Group VPN IPsec configuration"; + uses gvpn-server-ipsec-vpn; + } + list group { + key name; + ordered-by user; + description "Define a Group VPN group"; + max-elements 50; + uses gvpn-server-group-template; + } + } + grouping gvpn-server-group-template { + description "Configure a Group VPN group"; + leaf name { + description "Name of the group"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of Group VPN group"; + type string { + length "1 .. 80"; + } + } + leaf group-id { + description "Enable Group VPN by defining group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf member-threshold { + description "Maximum number of members in this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container server-cluster { + description "Enable server cluster for this group"; + uses gvpn-server-cluster; + } + list ike-gateway { + key name; + ordered-by user; + description "Name of the IKE gateway"; + uses gvpn-server-ike-gateway; + } + leaf activation-time-delay { + description "Configure delay in seconds for Group VPN key activation"; + status deprecated; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf anti-replay-time-window { + description "Configure Anti Replay time in milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60000"; + } + } + } + container server-member-communication { + description "Configure Server to Member communication parameters"; + uses gvpn-server-member-communication; + } + list ipsec-sa { + key name; + ordered-by user; + description "Define a Group VPN group SA"; + uses gvpn-server-group-ipsecsa; + } + } + grouping gvpn-server-cluster { + description "Server-Cluster for group VPN"; + uses apply-advanced; + leaf server-role { + description "Primary or backup server"; + type enumeration { + enum "root-server" { + description "Root-server"; + } + enum "sub-server" { + description "Sub-server"; + } + } + } + list ike-gateway { + key name; + ordered-by user; + description "Name of the IKE gateway"; + uses gvpn-server-ike-gateway-sc; + } + leaf retransmission-period { + description "Configure retransmission period in seconds Default :10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60"; + } + } + } + } + grouping gvpn-server-group-ipsecsa { + description "Configure a Group VPN group SA"; + leaf name { + description "Name of the SA"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf proposal { + description "Name of the IPsec proposal"; + type string { + length "1 .. 32"; + } + } + list match-policy { + key name; + ordered-by user; + description "Configure a Group VPN group SA"; + max-elements 10; + uses gvpn-server-group-ipsecsa-match; + } + } + grouping gvpn-server-group-ipsecsa-match { + description "Configure a Group VPN group SA policy"; + leaf name { + description "Name of the policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf source { + description "Specify the source IP address to be matched (0.0.0.0/0 for any)"; + type jt:ipv4prefix-mandatory; + } + leaf destination { + description "Specify the destination IP address to be matched (0.0.0.0/0 for any)"; + type jt:ipv4prefix-mandatory; + } + leaf source-port { + description "Specify the source port to be matched (0 for any)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "Specify the destination port to be matched (0 for any)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf protocol { + description "Specify the protocol number to be matched (0 for any)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 254"; + } + } + } + } + grouping gvpn-server-ike { + uses apply-advanced; + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses gvpn-server-ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses gvpn-ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + choice remote-identifier { + case case_1 { + leaf address { + description "IP address of peer"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + container dynamic { + description "Site to site peer with dynamic IP address"; + uses apply-advanced; + choice remote-id-type { + case case_1 { + leaf hostname { + description "Use a fully-qualified domain name"; + type string; + } + } + case case_2 { + leaf inet { + description "Use an IPV4 address to identify the dynamic peer"; + type jt:ipv4addr; + } + } + case case_3 { + leaf user-at-hostname { + description "Use an e-mail address"; + type string; + } + } + } + } + } + } + container dead-peer-detection { + presence "enable dead-peer-detection"; + description "Enable Dead Peer Detection between group-server-cluster servers"; + uses apply-advanced; + choice mode { + case case_1 { + leaf always-send { + description "Send probes periodically regardless of incoming and outgoing data traffic "; + type empty; + } + } + } + leaf interval { + description "The time between DPD probe messages Default :10"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf threshold { + description "Maximum number of DPD retransmissions Default :5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + } + } + leaf local-address { + description "Local IP address for IKE negotiations"; + type jt:ipaddr; + } + leaf routing-instance { + description "Name of routing instance that hosts local address"; + default "default"; + type string; + } + } + } + grouping gvpn-server-ike-gateway { + description "Configure a set of IKE gateways"; + leaf name { + description "Name of the IKE gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + grouping gvpn-server-ike-gateway-sc { + description "Configure a set of IKE gateways"; + leaf name { + description "Name of the IKE gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + grouping gvpn-server-ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + } + grouping gvpn-server-ipsec-vpn { + uses apply-advanced; + list proposal { + key name; + ordered-by user; + description "Define an IPSec proposal"; + uses gvpn-server-ipsec-proposal; + } + } + grouping gvpn-server-ipsec-proposal { + leaf name { + description "Name of the IPSec proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping gvpn-server-member-communication { + description "Group VPN Server to Member communication"; + uses apply-advanced; + leaf communication-type { + description "Define type of server member communication"; + type enumeration { + enum "unicast" { + description "Unicast"; + } + } + } + leaf lifetime-seconds { + description "Configure lifetime in seconds"; + default "3600"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 86400"; + } + } + } + leaf retransmission-period { + description "Configure retransmission period in seconds"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60"; + } + } + } + leaf number-of-retransmission { + description "Configure maximum number of retransmission attempts"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + leaf heartbeat { + description "Configure heartbeat period in seconds"; + status deprecated; + default "300"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 3600"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf sig-hash-algorithm { + description "Define sig-hash algorithm"; + type enumeration { + enum "sha-256" { + description "SHA 256-bit sig-hash algorithm"; + } + enum "sha-384" { + description "SHA 384-bit sig-hash algorithm"; + } + } + } + leaf certificate { + description "Certificate identifier"; + type string { + } + } + } + grouping gvpn-server-traceoptions { + description "Group VPN server tracing options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters for GKSD"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container gateway-filter { + description "Set gateway filter for trace"; + uses apply-advanced; + leaf local-address { + description "Use an IPV4 address to identify the local gateway"; + type jt:ipv4addr; + } + leaf remote-address { + description "Use an IPV4 address to identify the remote gateway"; + type jt:ipv4addr; + } + } + } + grouping ipsec-gvpn-member-template { + description "Configure a Group VPN"; + leaf name { + description "Name of the VPN"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-gateway { + description "Name of IKE gateway"; + type string { + length "1 .. 32"; + } + } + leaf group-vpn-external-interface { + description "External interface for Group VPN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf group { + description "Enable Group VPN by defining group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf heartbeat-threshold { + description "Define heartbeat threshold for Group VPN"; + status deprecated; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + leaf recovery-probe { + description "Enable triggering recovery probe mechanism"; + type empty; + } + leaf df-bit { + description "Specifies how to handle the Don't Fragment bit"; + default "clear"; + type enumeration { + enum "clear" { + description "Clear DF bit of outer header"; + } + enum "set" { + description "Set DF bit of outer header"; + } + enum "copy" { + description "Copy DF bit from inner header"; + } + } + } + container fail-open { + description "List of fail open rules"; + uses ipsec_gvpn_fail_open_rule_object; + } + container exclude { + description "List of exclude rules"; + uses ipsec_gvpn_exclude_rule_object; + } + } + grouping ipsec_gvpn_exclude_rule_object { + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Define exlude rules upto 10"; + max-elements 10; + uses ipsec_gvpn_rule_address_object; + } + } + grouping ipsec_gvpn_fail_open_rule_object { + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Define fail open rules upto 10"; + max-elements 10; + uses ipsec_gvpn_rule_address_object; + } + } + grouping ipsec_gvpn_rule_address_object { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container source-address { + description "Match IP source address"; + presence "enable source-address"; + uses ipsec_gvpn_addr_object; + } + container destination-address { + description "Match IP destination address"; + presence "enable destination-address"; + uses ipsec_gvpn_addr_object; + } + leaf application { + description "Match application"; + type string; + } + } + grouping ipsec_gvpn_addr_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix-only; + } + } + grouping security-ike { + uses apply-advanced; + container traceoptions { + description "Trace options for IPSec key management"; + uses security-traceoptions; + } + container respond-bad-spi { + presence "enable respond-bad-spi"; + description "Respond to IPSec packets with bad SPI values"; + leaf max-responses { + description "Maximum number of times to respond"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + choice remote-identifier { + case case_1 { + leaf-list address { + ordered-by user; + description "Addresses or hostnames of peer:1 primary, upto 4 backups"; + type string; + } + } + case case_2 { + container dynamic { + description "Site to site peer with dynamic IP address"; + uses apply-advanced; + choice remote-id-type { + case case_1 { + container distinguished-name { + presence "enable distinguished-name"; + description "Use a distinguished name: "; + uses apply-advanced; + leaf container { + description "Specify the container string"; + type string; + } + leaf wildcard { + description "Specify the wildcard string"; + type string; + } + } + } + case case_2 { + leaf hostname { + description "Use a fully-qualified domain name"; + type string; + } + } + case case_3 { + leaf inet { + description "Use an IPV4 address to identify the dynamic peer"; + type jt:ipv4addr; + } + } + case case_4 { + leaf inet6 { + description "Use an IPV6 address to identify the dynamic peer"; + type jt:ipv6addr; + } + } + case case_5 { + leaf user-at-hostname { + description "Use an e-mail address"; + type string; + } + } + } + leaf connections-limit { + description "Maximum number of users connected to gateway"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf ike-user-type { + description "Type of the IKE ID"; + type enumeration { + enum "group-ike-id" { + description "Email address or FQDN shared as IKED ID by multiple users"; + } + enum "shared-ike-id" { + description "Email address shared as IKED ID by multiple users"; + } + } + } + leaf reject-duplicate-connection { + description "Reject new connection from duplicate IKE-id"; + type empty; + } + } + } + } + container dead-peer-detection { + presence "enable dead-peer-detection"; + description "Enable Dead Peer Detection "; + uses apply-advanced; + choice mode { + case case_1 { + leaf optimized { + description "Send probes only when there is outgoing and no incoming data traffic - RFC3706 (Default mode)"; + type empty; + } + } + case case_2 { + leaf probe-idle-tunnel { + description "Send probes same as in optimized mode and also when there is no outgoing & incoming data traffic"; + type empty; + } + } + case case_3 { + leaf always-send { + description "Send probes periodically regardless of incoming and outgoing data traffic "; + type empty; + } + } + } + leaf interval { + description "The time between DPD probe messages Default :10"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60"; + } + } + } + leaf threshold { + description "Maximum number of DPD retransmissions Default :5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + leaf no-nat-traversal { + description "Disable IPSec NAT traversal"; + type empty; + } + leaf nat-keepalive { + description "Interval at which to send NAT keepalives"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + description "Use an IPv6 address"; + uses apply-advanced; + leaf identity-ipv6 { + description "The local IPv6 identity"; + type jt:ipv6addr; + } + } + } + case case_3 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_4 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + case case_5 { + leaf distinguished-name { + description "Use a distinguished name specified in local certificate"; + type empty; + } + } + case case_6 { + container key-id { + description "Key ID identification values in ASCII string"; + uses apply-advanced; + leaf string-key-id { + description "Key ID in ASCII string"; + type string { + length "1 .. 127"; + } + } + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + description "Use an IPv6 address"; + uses apply-advanced; + leaf identity-ipv6 { + description "The remote IPv6 identity"; + type jt:ipv6addr; + } + } + } + case case_3 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_4 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + case case_5 { + container distinguished-name { + presence "enable distinguished-name"; + description "Use a distinguished name: "; + uses apply-advanced; + leaf container { + description "Specify the container string"; + type string; + } + leaf wildcard { + description "Specify the wildcard string"; + type string; + } + } + } + case case_6 { + container key-id { + description "Key ID identification values in string"; + uses apply-advanced; + leaf string-key-id { + description "Key ID in ASCII string"; + type string { + length "1 .. 127"; + } + } + } + } + } + } + leaf external-interface { + description "External interface for IKE negotiations"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Local IP address for IKE negotiations"; + type jt:ipaddr; + } + container aaa { + description "Use extended authentication"; + uses apply-advanced; + leaf access-profile { + description "Access profile that contains authentication information"; + type string; + } + container client { + description "AAA client info for authentication"; + leaf username { + description "AAA client username with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + leaf password { + description "AAA client password with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + } + } + container xauth { + description "Use extended authentication"; + status deprecated; + uses apply-advanced; + leaf access-profile { + description "Access profile that contains authentication information"; + type string; + } + container client { + description "Xauth client info for authentication"; + leaf username { + description "XAuth client username with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + leaf password { + description "XAuth client password with 1 to 128 characters"; + type string { + length "1 .. 128"; + } + } + } + } + leaf general-ikeid { + description "Accept peer IKE-ID in general"; + type empty; + } + container advpn { + description "Enable Auto Discovery VPN"; + presence "enable advpn"; + uses advpn-suggester-partner; + } + leaf version { + description "Negotiate using either IKE v1 or IKE v2 protocol"; + default "v1-only"; + type enumeration { + enum "v1-only" { + description "The connection must be initiated using IKE version 1"; + } + enum "v2-only" { + description "The connection must be initiated using IKE version 2"; + } + } + } + container fragmentation { + description "IKEv2 fragmentation configuration"; + uses apply-advanced; + leaf disable { + description "Disable IKEv2 fragmentation"; + type empty; + } + leaf size { + description "Default 576 bytes for ipv4 and 1280 bytes for ipv6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "570 .. 1320"; + } + } + } + } + leaf tcp-encap-profile { + description "Ike over tcp profile name"; + type string; + } + } + } + grouping advpn-suggester-partner { + description "Configure ADVPN Suggester Partner"; + uses apply-advanced; + container suggester { + presence "enable suggester"; + description "Configure Shortcut Suggester parameters"; + uses apply-advanced; + leaf disable { + description "Disable Suggester capability"; + type empty; + } + } + container partner { + presence "enable partner"; + description "Configure Shortcut Partner parameters"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of shortcut connections (default: varies per platform)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf idle-time { + description "The duration (in sec) after which shortcut is torn down (default: 300 sec)"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + leaf idle-threshold { + description "The packet rate below which shortcut is torn down (default: 5 packets/sec)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5000"; + } + } + } + leaf disable { + description "Disable Partner capability"; + type empty; + } + } + } + grouping ike-policy { + leaf name { + description "Name of policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf mode { + description "Define the IKE mode for Phase 1"; + default "main"; + type enumeration { + enum "main" { + description "Main mode"; + } + enum "aggressive" { + description "Aggressive mode"; + } + } + } + leaf reauth-frequency { + description "Re-auth Peer after reauth-frequency times hard lifetime. (0-100) Default:0=Disabled"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf description { + description "Text description of IKE policy"; + type string { + length "1 .. 80"; + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + container certificate { + description "Certificate configuration"; + uses apply-advanced; + leaf local-certificate { + description "Local certificate identifier"; + type string { + } + } + container trusted-ca { + description "Specify the CA to use"; + choice ca { + case case_1 { + leaf ca-index { + description "Index of the preferred CA to use"; + status deprecated; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf use-all { + description "Use all configured CAs"; + status deprecated; + type empty; + } + } + case case_3 { + leaf ca-profile { + description "Name of the preferred CA to use"; + type string; + } + } + case case_4 { + leaf trusted-ca-group { + description "Name of the preferred CA group to use"; + type string; + } + } + } + } + leaf peer-certificate-type { + description "Preferred type of certificate from peer"; + default "x509-signature"; + type enumeration { + enum "pkcs7" { + description "PKCS7 encoding"; + } + enum "x509-signature" { + description "X509 signature encoding"; + } + } + } + leaf-list policy-oids { + ordered-by user; + description "Certificate policy object identifiers (maximum 5)"; + type string { + length "1 .. 63"; + } + max-elements 5; + } + } + leaf proposal-set { + description "Types of default IKE proposal-set"; + type enumeration { + enum "basic" { + description "IKE proposal-set for basic"; + } + enum "compatible" { + description "IKE proposal-set for compatible"; + } + enum "standard" { + description "IKE proposal-set for standard"; + } + enum "suiteb-gcm-128" { + description "IKE proposal-set for Suite-B-GCM-128"; + } + enum "suiteb-gcm-256" { + description "IKE proposal-set for Suite-B-GCM-256"; + } + } + } + container pre-shared-key { + description "Define a preshared key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + enum "rsa-signatures" { + description "RSA signatures"; + } + enum "dsa-signatures" { + description "DSA signatures"; + } + enum "ecdsa-signatures-256" { + description "ECDSA signatures (256 bit modulus)"; + } + enum "ecdsa-signatures-384" { + description "ECDSA signatures (384 bit modulus)"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group 1"; + } + enum "group2" { + description "Diffie-Hellman Group 2"; + } + enum "group5" { + description "Diffie-Hellman Group 5"; + } + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group19" { + description "Diffie-Hellman Group 19"; + } + enum "group20" { + description "Diffie-Hellman Group 20"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "md5" { + description "MD5 authentication algorithm"; + } + enum "sha1" { + description "SHA1 authentication algorithm"; + } + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping security-ipsec-policies { + uses apply-advanced; + list from-zone { + key "from-zone-name to-zone"; + ordered-by user; + description "Define ipsec policy context"; + uses security-ipsec-policy; + } + } + grouping security-ipsec-policy { + leaf from-zone-name { + description "Incoming zone"; + type string { + length "1 .. 63"; + } + } + leaf to-zone { + description "Outgoing zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf ipsec-group-vpn { + description "Group VPN name"; + type string { + length "1 .. 32"; + } + } + } + grouping security-ipsec-vpn { + uses apply-advanced; + container internal { + presence "enable internal"; + description "Define an IPSec SA for internal RE-RE communication"; + uses apply-advanced; + container security-association { + description "Define an IPsec security association"; + presence "enable security-association"; + uses ipsec-internal-sa; + } + } + container traceoptions { + description "Trace options for IPSec data-plane debug"; + uses ipsec-traceoptions; + } + container vpn-monitor-options { + description "Global options for VPN liveliness monitoring"; + presence "enable vpn-monitor-options"; + uses ipsec-vpn-monitor; + } + list proposal { + key name; + ordered-by user; + description "Define an IPSec proposal"; + uses ipsec-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IPSec policy"; + uses ipsec-policy; + } + list vpn { + key name; + ordered-by user; + description "Define an IPSec VPN"; + uses ipsec-vpn-template; + } + list security-association { + key name; + ordered-by user; + description "Define a manual control plane SA "; + uses ipsec-sa; + } + } + grouping ipsec-internal-sa { + uses apply-advanced; + container manual { + description "Define a manual security association"; + uses apply-advanced; + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + } + } + leaf ike-ha-link-encryption { + description "Enable HA link encryption IKE internal messages"; + type enumeration { + enum "enable" { + description "Enable HA link encryption IKE internal messages"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type jt:unreadable; + } + } + } + } + } + } + } + grouping ipsec-policy { + leaf name { + description "Name of the IPSec policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec policy"; + type string { + length "1 .. 80"; + } + } + container perfect-forward-secrecy { + description "Define perfect forward secrecy"; + uses apply-advanced; + leaf keys { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group 1"; + } + enum "group2" { + description "Diffie-Hellman Group 2"; + } + enum "group5" { + description "Diffie-Hellman Group 5"; + } + enum "group14" { + description "Diffie-Hellman Group 14"; + } + enum "group19" { + description "Diffie-Hellman Group 19"; + } + enum "group20" { + description "Diffie-Hellman Group 20"; + } + enum "group24" { + description "Diffie-Hellman Group 24"; + } + } + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + leaf proposal-set { + description "Types of default IPSEC proposal-set"; + type enumeration { + enum "basic" { + description "IPSEC basic proposal-set"; + } + enum "compatible" { + description "IPSEC compatible proposal-set"; + } + enum "standard" { + description "IPSEC standard proposal-set"; + } + enum "suiteb-gcm-128" { + description "IPSec proposal-set for Suite-B-GCM-128"; + } + enum "suiteb-gcm-256" { + description "IPSec proposal-set for Suite-B-GCM-256"; + } + enum "prime-128" { + description "IPSec proposal-set for PRIME-128"; + } + enum "prime-256" { + description "IPSec proposal-set for PRIME-256"; + } + } + } + } + grouping ipsec-proposal { + leaf name { + description "Name of the IPSec proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec proposal"; + type string { + length "1 .. 80"; + } + } + leaf protocol { + description "Define an IPSec protocol for the proposal"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + enum "hmac-sha-256-96" { + description "HMAC-SHA-256-96 authentication algorithm (non-RFC compliant)"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm"; + } + enum "aes-192-gcm" { + description "AES-GCM 192-bit encryption algorithm"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + leaf lifetime-kilobytes { + description "Lifetime, in kilobytes"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4294967294"; + } + } + } + } + grouping ipsec-sa { + leaf name { + description "Name of IPSec security association"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of security association"; + type string { + length "1 .. 80"; + } + } + leaf mode { + description "Define security association mode"; + default "transport"; + type enumeration { + enum "transport" { + description "Transport mode"; + } + } + } + choice sa_choice { + case case_1 { + container manual { + description "Define a manual security association"; + uses security-association-manual; + } + } + } + } + grouping ipsec-traceoptions { + description "Data-plane IPSec tracing options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Events to include in data-plane IPSec trace output"; + leaf name { + type enumeration { + enum "packet-processing" { + description "Trace data packet processing events"; + } + enum "packet-drops" { + description "Trace packet drops"; + } + enum "security-associations" { + description "Trace security association management events"; + } + enum "next-hop-tunnel-binding" { + description "Trace next-hop tunnel binding events"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + grouping ipsec-vpn-monitor { + description "Configure VPN monitoring"; + uses apply-advanced; + leaf interval { + description "Monitor interval in seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 3600"; + } + } + } + leaf threshold { + description "Number of consecutive failures to determine connectivity"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + } + grouping ipsec-vpn-template { + description "Configure an IPSec VPN"; + leaf name { + description "Name of the VPN"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf bind-interface { + description "Bind to tunnel interface (route-based VPN)"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf df-bit { + description "Specifies how to handle the Don't Fragment bit"; + type enumeration { + enum "clear" { + description "Clear DF bit of outer header"; + } + enum "set" { + description "Set DF bit of outer header"; + } + enum "copy" { + description "Copy DF bit from inner header"; + } + } + } + container multi-sa { + presence "enable multi-sa"; + description "Negotiate multiple SAs based on configuration choice"; + uses apply-advanced; + choice sa_map { + case case_1 { + list forwarding-class { + key name; + ordered-by user; + leaf name { + description "Name of forwarding classes"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + } + leaf copy-outer-dscp { + description "Enable copying outer IP header DSCP and ECN to inner IP header"; + type empty; + } + container vpn-monitor { + description "Monitor VPN liveliness"; + presence "enable vpn-monitor"; + uses ipsec-template-monitor; + } + choice negotiation { + case case_1 { + container manual { + description "Define a manual security association"; + uses apply-advanced; + leaf gateway { + description "Define the IPSec peer"; + type jt:hostname; + } + leaf external-interface { + description "External interface for the security association"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + enum "hmac-sha-256-96" { + description "HMAC-SHA-256-96 authentication algorithm (non-RFC compliant)"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + case case_2 { + container ike { + description "Define an IKE-keyed IPSec vpn"; + uses apply-advanced; + leaf gateway { + description "Name of remote gateway"; + type string { + length "1 .. 32"; + } + } + leaf idle-time { + description "Idle time to delete SA"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 999999"; + } + } + } + leaf no-anti-replay { + description "Disable the anti-replay check"; + type empty; + } + container proxy-identity { + description "IPSec proxy-id to use in IKE negotiations"; + presence "enable proxy-identity"; + uses ipsec-template-proxy-id; + } + leaf ipsec-policy { + description "Name of the IPSec policy"; + type string { + length "1 .. 32"; + } + } + leaf install-interval { + description "Delay installation of rekeyed outbound SAs on initiator"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + } + } + } + list traffic-selector { + key name; + ordered-by user; + description "Traffic selector"; + max-elements 200; + leaf name { + description "Name of traffic selector"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf local-ip { + description "IP address of local traffic-selector"; + type jt:ipprefix-mandatory; + } + leaf remote-ip { + description "IP address of remote traffic-selector"; + type jt:ipprefix-mandatory; + } + } + leaf establish-tunnels { + description "Define the criteria to establish tunnels"; + default "on-traffic"; + type enumeration { + enum "immediately" { + description "Establish tunnels immediately"; + } + enum "on-traffic" { + description "Establish tunnels on traffic"; + } + } + } + } + grouping ipsec-template-monitor { + description "Configure VPN monitoring"; + uses apply-advanced; + leaf optimized { + description "Optimize for scalability"; + type empty; + } + leaf source-interface { + description "Source interface for monitor message"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-ip { + description "Destination IP addres for monitor message"; + type jt:ipaddr; + } + container verify-path { + presence "enable verify-path"; + description "Verify IPSec path using vpn-monitor before bring up st0 state"; + uses apply-advanced; + leaf destination-ip { + description "Destination IP addres for verify IPSec path"; + type jt:ipaddr; + } + leaf packet-size { + description "Size of the packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1350"; + } + } + } + } + } + grouping ipsec-template-proxy-id { + description "Proxy identity settings"; + uses apply-advanced; + leaf local { + description "Local IP address/prefix length"; + type jt:ipprefix-mandatory; + } + leaf remote { + description "Remote IP address/prefix length"; + type jt:ipprefix-mandatory; + } + leaf service { + description "Name of serivce that passes through, any enables all services"; + type string { + length "1 .. 32"; + } + } + } + grouping security-association-manual { + uses apply-advanced; + list direction { + key name; + ordered-by user; + description "Define the direction of the security association"; + leaf name { + type enumeration { + enum "bidirectional" { + description "Bidirectional security association"; + } + } + } + uses apply-advanced; + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + grouping security-macsec { + uses apply-advanced; + container traceoptions { + description "Tracing options for debugging protocol operation"; + presence "enable traceoptions"; + uses macsec-trace-options; + } + list connectivity-association { + key name; + ordered-by user; + description "Configure connectivity association properties"; + leaf name { + description "Connectivity association name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf security-mode { + description "Connectivity association mode"; + type enumeration { + enum "dynamic" { + description "Dynamic connectivity and secure association mode (MKA and dot1x)"; + } + enum "static-sak" { + description "Static secure association key mode (no MKA)"; + } + enum "static-cak" { + description "Static connectivity association key mode (MKA and Pre-shared key)"; + } + } + } + list secure-channel { + key name; + ordered-by user; + description "Configure secure channel properties"; + leaf name { + description "Secure channel name"; + type string; + } + uses apply-advanced; + container id { + description "Secure channel identifier"; + uses apply-advanced; + leaf mac-address { + description "MAC addresses"; + type jt:mac-addr; + } + leaf port-id { + description "Port identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf direction { + description "Secure channel direction"; + type enumeration { + enum "inbound" { + } + enum "outbound" { + } + } + } + leaf encryption { + description "Enable Encryption"; + type empty; + } + leaf offset { + description "Confidentiality offset"; + type enumeration { + enum "0" { + description "Confidentiality protected for all octets of MACSec PDU data"; + } + enum "30" { + description "Confidentiality not protected for initial 30 octets of MACSec PDU data"; + } + enum "50" { + description "Confidentiality not protected for initial 50 octets of MACSec PDU data"; + } + } + } + leaf include-sci { + description "Include secure channel identifier in MAC Security PDU"; + type empty; + } + list security-association { + key name; + ordered-by user; + description "Security association"; + leaf name { + description "Security association number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + leaf key { + description "Security association key in hexadecimal format of length 32"; + type string { + length 32; + } + } + } + } + container mka { + presence "enable mka"; + description "Configure MAC Security Key Agreement protocol properties"; + uses apply-advanced; + leaf transmit-interval { + description "Configure MKA periodic transmit interval"; + default "7000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf bounded-delay { + description "Configure Bounded Hello Time"; + type empty; + } + leaf key-server-priority { + description "Configure MKA key server priority"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf must-secure { + description "Allow only secure dot1x traffic"; + type empty; + } + leaf should-secure { + description "Configure fail open mode for MKA protocol"; + type empty; + } + } + container replay-protect { + description "Configure replay protection"; + uses apply-advanced; + leaf replay-window-size { + description "Configure replay protection window size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + leaf no-encryption { + description "Disable encryption"; + type empty; + } + leaf offset { + description "Confidentiality offset"; + default "0"; + type enumeration { + enum "0" { + description "Confidentiality provided for all octets of data"; + } + enum "30" { + description "Confidentiality not provided for initial 30 octets of data"; + } + enum "50" { + description "Confidentiality not provided for initial 50 octets of data"; + } + } + } + leaf include-sci { + description "Include secure channel identifier in MAC Security PDU"; + type empty; + } + container pre-shared-key { + presence "enable pre-shared-key"; + description "Configure pre-shared connectivity association key"; + uses apply-advanced; + leaf ckn { + description "Connectivity association key name in hexadecimal format"; + type string { + length "2 .. 64"; + } + } + leaf cak { + description "Connectivity association key in hexadecimal format (max_length = 64)"; + type string { + length "1 .. 64"; + } + } + } + leaf pre-shared-key-chain { + description "Pre-shared key chain name for connectivity association"; + type string { + } + } + list exclude-protocol { + key name; + ordered-by user; + description "Configure protocols to exclude from MAC Security"; + leaf name { + type enumeration { + enum "cdp" { + description "Cisco Discovery Protocol"; + } + enum "lldp" { + description "Link Level Discovery Protocol"; + } + enum "lacp" { + description "Link Aggregation Control Protocol"; + } + } + } + } + } + list interfaces { + key name; + description "Interfaces on which macsec configuration is applied"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + leaf aes-gcm-revert-flag { + description "Flag to fall back to previous AES_GCM_256 + cipher suite implementation"; + type empty; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + list cluster-control-port { + key name; + description "Cluster control port on which macsec configuration is applied"; + leaf name { + description "Port identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + list cluster-data-port { + key name; + description "Cluster data port on which macsec configuration is applied"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + } + grouping macsec-trace-options { + description "Trace options for MACSec Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "config" { + description "Trace configuration messages"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "normal" { + description "Trace normal messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + grouping mka-trace-options { + description "Trace options for MKA protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "mka-packets" { + description "Trace MKA input and output packets"; + } + enum "state" { + description "Trace MKA state information"; + } + enum "to-secy" { + description "Trace MKA to SecY state changes"; + } + enum "keys" { + description "Trace key creation/generation information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + grouping security-pki { + uses apply-advanced; + list ca-profile { + key name; + ordered-by user; + description "Certificate authority profile configuration"; + leaf name { + description "Name of certificate authority profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ca-identity { + description "Certificate authority identifier"; + type string; + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf proxy-profile { + description "Use specified proxy server"; + type string; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + container enrollment { + description "Enrollment parameters for certificate authority"; + uses apply-advanced; + leaf url { + description "Enrollment URL of certificate authority"; + type string; + } + leaf retry { + description "Number of enrollment retry attempts before aborting"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1080"; + } + } + } + leaf retry-interval { + description "Interval in seconds between the enrollment retries"; + default "600"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + container revocation-check { + description "Method for checking certificate revocations"; + uses apply-advanced; + choice revocation-check-options { + case case_1 { + leaf use-crl { + description "Use CRL for revocation check"; + type empty; + } + } + case case_2 { + leaf use-ocsp { + description "Use OCSP for revocation check"; + type empty; + } + } + case case_3 { + leaf disable { + description "Disable revocation check"; + type empty; + } + } + } + container ocsp { + presence "enable ocsp"; + description "Online Certificate Status Protocol (OCSP) configuration"; + uses apply-advanced; + list url { + key name; + ordered-by user; + leaf name { + description "HTTP URL for OCSP access location"; + type string { + length "1 .. 500"; + } + } + uses apply-advanced; + } + leaf nonce-payload { + description "Include nonce payload in OCSP requests"; + type enumeration { + enum "enable" { + description "Send nonce paylod in OCSP request"; + } + enum "disable" { + description "Do not send nonce payload in OCSP request"; + } + } + } + leaf disable-responder-revocation-check { + description "Disable OCSP responder certificate revocation check"; + type empty; + } + leaf accept-unknown-status { + description "Accept certificates with unknown status"; + type empty; + } + container connection-failure { + presence "enable connection-failure"; + description "Actions on failure to connect to OCSP Responder"; + uses apply-advanced; + choice connection-failure-options { + case case_1 { + leaf fallback-crl { + description "Use CRL for revocation check"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable OCSP check on connection failure"; + type empty; + } + } + } + } + } + container crl { + description "Certificate revocation list configuration"; + uses apply-advanced; + container disable { + leaf on-download-failure { + description "Check revocation status with existing CRL file if present, otherwise skip. This feature must be enabled for manual CRL download."; + type empty; + } + } + list url { + key name; + ordered-by user; + leaf name { + description "URL of CRL distribution point for certificate authority"; + type string { + length "1 .. 500"; + } + } + uses apply-advanced; + leaf password { + description "Password for authentication with the server"; + type jt:unreadable; + } + } + leaf refresh-interval { + description "CRL refresh interval"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8784"; + } + } + } + } + } + container administrator { + description "Administrator information"; + uses apply-advanced; + leaf email-address { + description "Administrator e-mail to which to send certificate requests"; + type string; + } + } + } + list trusted-ca-group { + key name; + ordered-by user; + description "Trusted Certificate Authority group configuration"; + leaf name { + description "Name of the trusted CA group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list ca-profiles { + ordered-by user; + description "Name of the CA profiles (maximum 20)"; + type string { + length "1 .. 63"; + } + max-elements 20; + } + } + container auto-re-enrollment { + description "Auto re-enroll of certificate"; + uses apply-advanced; + container cmpv2 { + presence "enable cmpv2"; + description "CMPv2 auto re-enrollment configuration"; + uses apply-advanced; + list certificate-id { + key name; + ordered-by user; + description "CMPv2 auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + } + } + container scep { + presence "enable scep"; + description "SCEP auto re-enrollment configuration"; + uses apply-advanced; + list certificate-id { + key name; + ordered-by user; + description "SCEP auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf challenge-password { + description "Password used by CA for enrollment and revocation"; + type jt:unreadable; + } + container scep-encryption-algorithm { + presence "enable scep-encryption-algorithm"; + description "SCEP encryption algorithm"; + uses apply-advanced; + choice scep-encryption-algorithm-options { + case case_1 { + leaf des { + description "Use DES as SCEP encryption algorithm"; + type empty; + } + } + case case_2 { + leaf des3 { + description "Use DES3 as SCEP encryption algorithm"; + type empty; + } + } + } + } + container scep-digest-algorithm { + presence "enable scep-digest-algorithm"; + description "SCEP digest algorithm"; + uses apply-advanced; + choice scep-digest-algorithm-options { + case case_1 { + leaf md5 { + description "Use MD5 as SCEP digest algorithm"; + type empty; + } + } + case case_2 { + leaf sha1 { + description "Use SHA1 as SCEP digest algorithm"; + type empty; + } + } + } + } + } + } + list certificate-id { + key name; + ordered-by user; + description "Auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf challenge-password { + description "Password used by CA for enrollment and revocation"; + type jt:unreadable; + } + container scep-encryption-algorithm { + presence "enable scep-encryption-algorithm"; + description "SCEP encryption algorithm"; + uses apply-advanced; + choice scep-encryption-algorithm-options { + case case_1 { + leaf des { + description "Use DES as SCEP encryption algorithm"; + type empty; + } + } + case case_2 { + leaf des3 { + description "Use DES3 as SCEP encryption algorithm"; + type empty; + } + } + } + } + container scep-digest-algorithm { + presence "enable scep-digest-algorithm"; + description "SCEP digest algorithm"; + uses apply-advanced; + choice scep-digest-algorithm-options { + case case_1 { + leaf md5 { + description "Use MD5 as SCEP digest algorithm"; + type empty; + } + } + case case_2 { + leaf sha1 { + description "Use SHA1 as SCEP digest algorithm"; + type empty; + } + } + } + } + } + } + container traceoptions { + description "PKI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "certificate-verification" { + description "PKI certificate verification tracing"; + } + enum "online-crl-check" { + description "PKI online crl tracing"; + } + enum "enrollment" { + description "PKI certificate enrollment tracing"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + } + grouping security-traceoptions { + description "Trace options for key management process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container filter { + description "Filter parameters for IKE traceoptions"; + uses apply-advanced; + leaf fpc { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf pic { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters for IKE"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping security-zone-type { + description "Security zone"; + leaf name { + description "Name of the zone"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of zone"; + type string { + length "1 .. 900"; + } + } + leaf tcp-rst { + description "Send RST for NON-SYN packet not matching TCP session"; + type empty; + } + container address-book { + description "Address book entries"; + uses address-book-type; + } + leaf screen { + description "Name of ids option object applied to the zone"; + type string { + length "1 .. 32"; + } + } + container host-inbound-traffic { + description "Allowed system services & protocols"; + uses zone_host_inbound_traffic_t; + } + list interfaces { + key name; + ordered-by user; + description "Interfaces that are part of this zone"; + uses zone-interface-list-type; + } + leaf application-tracking { + description "Enable Application tracking support for this zone"; + type empty; + } + leaf source-identity-log { + description "Show user and group info in session log for this zone"; + type empty; + } + container advance-policy-based-routing-profile { + description "Enable Advance Policy Based Routing on this zone"; + uses apply-advanced; + leaf profile { + description "Advance policy based routing profile name"; + type string { + length "1 .. 63"; + } + } + } + leaf enable-reverse-reroute { + description "Enable Reverse route lookup when there is change in ingress interface"; + type empty; + } + } + grouping address-book-type { + description "Configure security address book for the zone"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Define a security address"; + uses address_type; + } + list address-set { + key name; + ordered-by user; + description "Define a security address set"; + uses address_set_type; + } + } + grouping server { + description "Server settings"; + uses apply-advanced; + leaf host { + description "Server host IP address or string host name"; + type string; + } + leaf port { + description "Server port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + grouping session_timeout_type { + uses apply-advanced; + leaf tcp { + description "Timeout value for tcp sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf udp { + description "Timeout value for udp sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf ospf { + description "Timeout value for ospf sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf icmp { + description "Timeout value for icmp sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf icmp6 { + description "Timeout value for icmp6 sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf others { + description "Timeout value for other sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + } + grouping sla_policy_type { + leaf name { + description "APBR policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of policy"; + type string { + length "1 .. 900"; + } + } + container match { + description "Specify sla policy match-criteria"; + uses apply-advanced; + choice source-address_choice { + case case_1 { + leaf-list source-address { + ordered-by user; + type string; + } + } + } + choice destination-address_choice { + case case_1 { + leaf-list destination-address { + ordered-by user; + type string; + } + } + } + leaf source-address-excluded { + description "Exclude source addresses"; + type empty; + } + leaf destination-address-excluded { + description "Exclude destination addresses"; + type empty; + } + choice application_type_choice { + case case_1 { + leaf-list application { + ordered-by user; + description "Specify application or application-set name to match"; + type string { + length "1 .. 63"; + } + } + } + } + } + container then { + description "Specify policy action to take when packet match criteria"; + uses apply-advanced; + choice action { + case case_1 { + container application-services { + description "Application Services"; + uses sla_application_services_type; + } + } + } + } + } + grouping sla_application_services_type { + description "Application Services"; + uses apply-advanced; + leaf advance-policy-based-routing-profile { + description "Specify APBR profile name"; + type string { + length "1 .. 63"; + } + } + } + grouping softwire-option-type { + description "Configure softwire object"; + leaf name { + description "DS-Lite object name"; + type string { + length "1 .. 23"; + } + } + uses apply-advanced; + leaf softwire-concentrator { + description "Concentrator ipv6 address"; + type jt:ipv6addr; + } + leaf softwire-type { + description "Softwire-type"; + default "IPv4-in-IPv6"; + type enumeration { + enum "IPv4-in-IPv6" { + description "Ipv4-in-IPv6"; + } + } + } + } + grouping sophos-fallback-settings { + description "Anti-virus fallback settings"; + uses apply-advanced; + leaf default { + description "Default action"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf content-size { + description "Fallback action for over content size"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf engine-not-ready { + description "Fallback action for engine not ready"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf timeout { + description "Fallback action for engine scan timeout"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf out-of-resources { + description "Fallback action for out of resources"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf too-many-requests { + description "Fallback action for requests exceed engine limit"; + type enumeration { + enum "permit" { + } + enum "log-and-permit" { + } + enum "block" { + } + } + } + } + grouping sophos-scan-options { + description "Anti-virus scan options"; + uses apply-advanced; + choice uri-check-choice { + leaf uri-check { + description "Anti-virus uri-check"; + type empty; + } + leaf no-uri-check { + description "Don't anti-virus uri-check"; + type empty; + } + } + leaf content-size-limit { + description "Content size limit"; + type string; + } + leaf timeout { + description "Scan engine timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + grouping ssg-destination-nat-object { + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define a destination address pool"; + leaf name { + description "Pool name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of pool"; + type string { + length "1 .. 900"; + } + } + container routing-instance { + description "Routing instance"; + uses apply-advanced; + choice ri-name-choice { + case case_1 { + leaf default { + description "Default routing-instance"; + type empty; + } + } + case case_2 { + leaf ri-name { + description "Routing-instance name"; + type string { + } + } + } + } + } + container address { + description "Add address or address range to pool"; + leaf ipaddr { + description "IPv4 or IPv6 address or address range"; + type jt:ipprefix; + } + choice range-port-choice { + case case_1 { + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipaddr { + description "IPv4 or IPv6 upper limit of address range"; + type jt:ipprefix; + } + } + } + case case_2 { + leaf port { + description "Specify the port value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + list port-forwarding { + key name; + ordered-by user; + description "Define a port-forwarding mapping pool"; + leaf name { + description "Port Forwarding mapping name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of port forwarding mapping"; + type string { + length "1 .. 900"; + } + } + list destined-port { + key "port translated-port"; + ordered-by user; + description "Port forwarding mappings"; + max-elements 32; + leaf port { + description "Destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf translated-port { + description "Translated port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + list rule-set { + key name; + ordered-by user; + description "Configurate a set of rules"; + leaf name { + description "Rule-set name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule set"; + type string { + length "1 .. 900"; + } + } + container from { + description "Where is the traffic from"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Source routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Source zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Source interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + list rule { + key name; + ordered-by user; + description "Destination NAT rule"; + uses dest-nat-rule-object; + } + leaf match-direction { + description "Match direction"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + } + } + } + } + grouping dest-nat-rule-object { + leaf name { + description "Rule name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule"; + type string { + length "1 .. 900"; + } + } + container dest-nat-rule-match { + description "Specify Destination NAT rule match criteria"; + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list source-address-name { + ordered-by user; + description "Address/address-set from address book"; + type string; + max-elements 8; + } + choice dst-choice { + case case_1 { + container destination-address { + description "Destination address"; + leaf dst-addr { + description "IPv4 or IPv6 destination address"; + type jt:ipprefix; + } + } + } + case case_2 { + container destination-address-name { + description "Address from address book"; + leaf dst-addr-name { + description "Address from address book"; + type string { + length "1 .. 63"; + } + } + } + } + } + list destination-port { + key name; + ordered-by user; + description "Destination port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf-list protocol { + ordered-by user; + description "IP Protocol"; + type string; + max-elements 4; + } + leaf-list application { + ordered-by user; + type string; + } + } + container then { + description "Then action"; + uses apply-advanced; + container destination-nat { + description "Destination NAT action"; + uses apply-advanced; + choice action { + case case_1 { + leaf off { + description "No action"; + type empty; + } + } + case case_2 { + container pool { + description "Use Destination NAT pool"; + uses apply-advanced; + leaf pool-name { + description "Name of Destination NAT pool"; + type string { + length "1 .. 31"; + } + } + } + } + case case_3 { + leaf destination-prefix { + description "Destination prefix to be used for NAT64 and 464 translation type"; + type jt:ipprefix-only; + } + } + } + container port-forwarding-mappings { + description "Use Destination NAT port forwarding mapping pool"; + uses apply-advanced; + leaf pf-name { + description "Name of Port forwarding mappings"; + type string { + length "1 .. 31"; + } + } + } + container rule-session-count-alarm { + description "Config rule-session-count-alarm to destination rule"; + uses nat-rule-session-count-alarm-object; + } + } + } + } + grouping nat-rule-session-count-alarm-object { + uses apply-advanced; + leaf raise-threshold { + description "Raise threshold for rule session count alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf clear-threshold { + description "Clear threshold for session count hit alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + grouping ssg-proxy-arp-object { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface with proxy arp configured"; + uses ssg-interface-object; + } + } + grouping ssg-interface-object { + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Proxy ARP address"; + leaf name { + description "Address or address range"; + type jt:ipv4prefix; + } + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipaddr { + description "Upper limit of address range"; + type jt:ipv4prefix; + } + } + } + } + grouping ssg-proxy-ndp-object { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface with proxy arp configured"; + uses ssg-proxy-ndp-interface-object; + } + } + grouping ssg-proxy-ndp-interface-object { + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Proxy ndp address"; + leaf name { + description "Address or address range"; + type jt:ipv6prefix; + } + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipv6addr { + description "Upper limit of address range"; + type jt:ipv6addr; + } + } + } + } + grouping ssg-source-nat-object { + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define a source address pool"; + leaf name { + description "Pool name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of pool"; + type string { + length "1 .. 900"; + } + } + container routing-instance { + description "Routing instance"; + uses apply-advanced; + leaf ri-name { + description "Routing instance name"; + type string { + } + } + } + list address { + key name; + ordered-by user; + description "Add address to pool"; + max-elements 8; + leaf name { + description "IPv4 or IPv6 address or address range"; + type jt:ipprefix; + } + container to { + description "Upper limit of address range"; + uses apply-advanced; + leaf ipaddr { + description "IPv4 or IPv6 upper limit of address range"; + type jt:ipprefix; + } + } + } + container host-address-base { + description "The base of host address"; + leaf ipaddr { + description "IPv4 or IPv6 base address"; + type jt:ipprefix; + } + } + container port { + description "Config port attribute to pool"; + uses apply-advanced; + choice port-choice { + case case_1 { + leaf no-translation { + description "Do not perform port translation"; + type empty; + } + } + case case_2 { + container range { + description "Port range"; + uses apply-advanced; + leaf low { + description "Lower limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 65535"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 65535"; + } + } + } + } + container twin-port { + description "Twin port range"; + uses apply-advanced; + leaf low { + description "Lower limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + container to { + description "Twin port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + } + } + } + } + } + leaf port-overloading-factor { + description "Port overloading factor for each IP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 32"; + } + } + } + container block-allocation { + description "Port block allocation"; + presence "enable block-allocation"; + uses block-allocation-object; + } + container deterministic { + description "Deterministic nat allocation"; + presence "enable deterministic"; + uses deterministic-object; + } + } + container overflow-pool { + description "Specify an overflow pool"; + choice overflow-pool-choice { + case case_1 { + leaf pool-name { + description "Name of source address pool"; + type string { + length "1 .. 31"; + } + } + } + case case_2 { + leaf interface { + description "Allow interface pool to support overflow"; + type empty; + } + } + } + } + leaf address-shared { + description "Allow multiple hosts to share an externel address"; + type empty; + } + container address-pooling { + description "Specify the address-pooling behavior"; + choice pooling-choice { + case case_1 { + leaf paired { + description "Allow address-pooling paired for a source pool with port translation"; + type empty; + } + } + case case_2 { + leaf no-paired { + description "Allow address-pooling no-paired for a source pool without port translation"; + type empty; + } + } + } + } + container address-persistent { + description "Specify the address-persistent behavior"; + container subscriber { + description "Configure address persistent for subscriber"; + leaf ipv6-prefix-length { + description "Ipv6 prefix length for address persistent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "8 .. 128"; + } + } + } + } + } + container pool-utilization-alarm { + description "Config pool-utilization-alarm to pool"; + uses source-nat-pool-utilization-alarm-object; + } + leaf ei-mapping-timeout { + description "Endpoint-independent mapping timeout"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 86400"; + } + } + } + leaf mapping-timeout { + description "Address-pooling paired and endpoint-independent mapping timeout"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 86400"; + } + } + } + } + leaf address-persistent { + description "Allow source address to maintain same translation"; + type empty; + } + container pool-utilization-alarm { + description "Configure pool utilization alarm"; + uses source-nat-pool-utilization-alarm-object; + } + container port-randomization { + description "Configure Source NAT port randomization"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source NAT port randomization"; + type empty; + } + } + } + } + container port-round-robin { + description "Configure Source NAT port randomization"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source NAT port randomization"; + type empty; + } + } + } + } + leaf port-scaling-enlargement { + description "Configure source port scaling to 2.4G only for NGSPC"; + type empty; + } + leaf pool-distribution { + description "Configure Source pool distribution, the APPCP bottleneck of NAT CPS can be alleviated."; + type empty; + } + container pool-default-port-range { + description "Configure Source NAT default port range"; + leaf low { + description "Lower limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 63487"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1024 .. 63487"; + } + } + } + } + } + container pool-default-twin-port-range { + description "Configure Source NAT default twin port range"; + leaf low { + description "Lower limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + container to { + description "Twin port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of twin port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "63488 .. 65535"; + } + } + } + } + } + container interface { + description "Configure interface port overloading for persistent NAT"; + uses apply-advanced; + choice interface-choice { + case case_1 { + container port-overloading { + description "Configure port overloading"; + leaf off { + description "Turn off interface port over-loading"; + type empty; + } + } + } + case case_2 { + leaf port-overloading-factor { + description "Port overloading factor for interface NAT"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list rule-set { + key name; + ordered-by user; + description "Configurate a set of rules"; + leaf name { + description "Rule-set name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule set"; + type string { + length "1 .. 900"; + } + } + container from { + description "Where is the traffic from"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Source routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Source zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Source interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + container to { + description "Where is the traffic to"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Destination routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Destination zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Destination interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + list rule { + key name; + ordered-by user; + description "Source NAT rule"; + uses src-nat-rule-object; + } + leaf match-direction { + description "Match direction"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + } + } + } + } + grouping block-allocation-object { + description "Port block allocation"; + uses apply-advanced; + leaf block-size { + description "Block size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 64512"; + } + } + } + leaf maximum-blocks-per-host { + description "Maximum block number per host"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 512"; + } + } + } + leaf active-block-timeout { + description "Active block timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 7200"; + } + } + } + leaf interim-logging-interval { + description "Interim Logging interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + leaf last-block-recycle-timeout { + description "Last Block recycle timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 864000"; + } + } + } + container log { + description "Configure port block log"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PBA port block log"; + type empty; + } + } + } + } + } + grouping deterministic-object { + description "Deterministic nat allocation"; + uses apply-advanced; + leaf block-size { + description "Block size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "8 .. 64512"; + } + } + } + container host { + description "Host address"; + leaf-list address { + ordered-by user; + description "Host ip address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list address-name { + ordered-by user; + description "Host address/address-set from address book"; + type string; + max-elements 8; + } + } + leaf include-boundary-addresses { + description "Include network and broadcast in 'match' source address"; + type empty; + } + } + grouping source-nat-pool-utilization-alarm-object { + uses apply-advanced; + leaf raise-threshold { + description "Raise threshold for pool utilization alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "50 .. 100"; + } + } + } + leaf clear-threshold { + description "Clear threshold for pool utilization alarm"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "40 .. 100"; + } + } + } + } + grouping src-nat-rule-object { + leaf name { + description "Source NAT Rule name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule"; + type string { + length "1 .. 900"; + } + } + container src-nat-rule-match { + description "Specify Source NAT rule match criteria"; + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list source-address-name { + ordered-by user; + description "Address/address-set from address book"; + type string; + max-elements 8; + } + list source-port { + key name; + ordered-by user; + description "Source port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf-list destination-address { + ordered-by user; + description "Destination address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list destination-address-name { + ordered-by user; + description "Address/address-set from address book"; + type string; + max-elements 8; + } + list destination-port { + key name; + ordered-by user; + description "Destination port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf-list protocol { + ordered-by user; + description "IP Protocol"; + type string; + max-elements 4; + } + leaf-list application { + ordered-by user; + type string; + } + } + container then { + description "Then action"; + uses apply-advanced; + container source-nat { + description "Source NAT action"; + uses apply-advanced; + choice action { + case case_1 { + leaf off { + description "No action"; + type empty; + } + } + case case_2 { + container pool { + description "Use Source NAT pool"; + uses apply-advanced; + leaf pool-name { + description "Name of Source NAT pool"; + type string { + length "1 .. 31"; + } + } + container persistent-nat { + description "Persistent NAT info"; + presence "enable persistent-nat"; + uses persistent-nat-object; + } + } + } + case case_3 { + container interface { + presence "enable interface"; + description "Use egress interface address"; + uses apply-advanced; + container persistent-nat { + description "Persistent NAT info"; + presence "enable persistent-nat"; + uses persistent-nat-object; + } + } + } + } + leaf clat-prefix { + description "Clat-prefix to be used for 464 translation type"; + type jt:ipprefix-only; + } + container rule-session-count-alarm { + description "Config rule-session-count-alarm to source rule"; + uses nat-rule-session-count-alarm-object; + } + container mapping-type { + description "Source nat mapping type"; + leaf endpoint-independent { + description "Endpoint independent mapping"; + type empty; + } + } + container secure-nat-mapping { + description "Mapping options for enhanced security"; + leaf eif-flow-limit { + description "Number of inbound flows to be allowed for a EIF mapping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + container mapping-refresh { + description "Enable timer refresh option"; + choice refresh-choice { + case case_1 { + leaf inbound { + description "Enable timer refresh for inbound connections only"; + type empty; + } + } + case case_2 { + leaf outbound { + description "Enable timer refresh for outbound connections only"; + type empty; + } + } + case case_3 { + leaf inbound-outbound { + description "Enable timer refresh for inbound & outbound connections"; + type empty; + } + } + } + } + } + container filtering-type { + description "Source NAT filtering type"; + uses apply-advanced; + container endpoint-independent { + presence "enable endpoint-independent"; + description "Endpoint independent filtering"; + uses apply-advanced; + list prefix-list { + key name; + ordered-by user; + description "One or more named lists of source prefixes to match"; + leaf name { + description "Name of prefix list to match against"; + type string { + length "1 .. 63"; + } + } + leaf except { + description "Name of prefix list not to match against"; + type empty; + } + } + } + } + } + } + } + grouping persistent-nat-object { + uses apply-advanced; + container permit { + description "Persistent NAT permit configure"; + choice persistent-nat-type-choice { + case case_1 { + leaf any-remote-host { + description "Permit any remote host"; + type empty; + } + } + case case_2 { + leaf target-host { + description "Permit target host"; + type empty; + } + } + case case_3 { + leaf target-host-port { + description "Permit target host port"; + type empty; + } + } + } + } + leaf address-mapping { + description "Address-to-address mapping"; + type empty; + } + leaf inactivity-timeout { + description "Inactivity timeout value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "60 .. 7200"; + } + } + } + leaf max-session-number { + description "The maximum session number value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "8 .. 65536"; + } + } + } + } + grouping ssg-static-nat-object { + uses apply-advanced; + list rule-set { + key name; + ordered-by user; + description "Configurate a set of rules"; + leaf name { + description "Rule-set name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule set"; + type string { + length "1 .. 900"; + } + } + container from { + description "Where is the traffic from"; + choice from-context-choice { + case case_1 { + leaf-list routing-instance { + description "Source routing instance list"; + type string; + max-elements 8; + } + } + case case_2 { + leaf-list zone { + description "Source zone list"; + type string; + max-elements 8; + } + } + case case_3 { + leaf-list interface { + description "Source interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + } + } + list rule { + key name; + ordered-by user; + description "Static NAT rule"; + uses static-nat-rule-object; + } + } + } + grouping static-nat-rule-object { + leaf name { + description "Static Rule name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf description { + description "Text description of rule"; + type string { + length "1 .. 900"; + } + } + container static-nat-rule-match { + description "Specify Static NAT rule match criteria"; + uses apply-advanced; + leaf-list source-address { + ordered-by user; + description "Source address"; + type jt:ipprefix; + max-elements 8; + } + leaf-list source-address-name { + ordered-by user; + description "Address from address book"; + type string; + max-elements 8; + } + list source-port { + key name; + ordered-by user; + description "Source port"; + max-elements 8; + leaf name { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + choice dst-choice { + case case_1 { + container destination-address { + description "Destination address"; + leaf dst-addr { + description "IPv4 or IPv6 Destination address prefix"; + type jt:ipprefix; + } + } + } + case case_2 { + container destination-address-name { + description "Address from address book"; + leaf dst-addr-name { + description "Address from address book"; + type string { + length "1 .. 63"; + } + } + } + } + } + container destination-port { + description "Destination port"; + leaf low { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container then { + description "Then action"; + uses apply-advanced; + container static-nat { + description "Static NAT action"; + uses apply-advanced; + choice prefix-choice { + case case_1 { + container inet { + presence "enable inet"; + description "Translated to IPv4 address"; + uses apply-advanced; + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_2 { + container prefix { + description "Address prefix"; + uses apply-advanced; + leaf addr-prefix { + description "IPv4 or IPv6 address prefix value"; + type jt:ipprefix; + } + container mapped-port { + description "Mapped port"; + uses static-nat-rule-mapped-port-object; + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_3 { + container prefix-name { + description "Address from address book"; + uses apply-advanced; + leaf addr-prefix-name { + description "Address from address book"; + type string { + length "1 .. 63"; + } + } + container mapped-port { + description "Mapped port"; + uses static-nat-rule-mapped-port-object; + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_4 { + container nptv6-prefix { + description "NPTv6 address prefix, the longest prefix will be supported is /64"; + uses apply-advanced; + leaf addr-prefix { + description "IPv6 address prefix value, the longest prefix will be supported is /64"; + type jt:ipprefix; + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + case case_5 { + container nptv6-prefix-name { + description "NPTv6 address from address book"; + uses apply-advanced; + leaf addr-prefix-name { + description "IPv6 address from address book"; + type string { + length "1 .. 63"; + } + } + leaf routing-instance { + description "Routing instance"; + type string; + } + } + } + } + container rule-session-count-alarm { + description "Config rule-session-count-alarm to static rule"; + uses nat-rule-session-count-alarm-object; + } + } + } + } + grouping static-nat-rule-mapped-port-object { + uses apply-advanced; + leaf low { + description "Port or lower limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container to { + description "Port range upper limit"; + uses apply-advanced; + leaf high { + description "Upper limit of port range"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunable-object { + leaf name { + type string; + } + uses apply-advanced; + leaf tunable-value { + description "Protocol tunable value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping tunnel_type { + description "Tunnel packets"; + uses apply-advanced; + choice ipsec-vpn-choice { + case case_1 { + leaf ipsec-vpn { + description "Enable VPN with name"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf ipsec-group-vpn { + description "Enable dynamic IPSEC group with name"; + status deprecated; + type string { + length "1 .. 63"; + } + } + } + } + leaf pair-policy { + description "Policy in the reverse direction, to form a pair"; + type string { + length "1 .. 63"; + } + } + } + grouping url-list-type { + description "Configure url-list object"; + leaf name { + description "Configure name of url-list object"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Configure value of url-list object"; + type string { + length "1 .. 256"; + } + } + } + grouping utm-apppxy-traceoptions { + description "Traceoptions for utm application proxy process"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters for utm application proxy"; + leaf name { + description "Tracing parameters for utm application proxy flag name"; + type enumeration { + enum "abort" { + description "Trace application-proxy session abort"; + } + enum "application-objects" { + description "Trace application-proxy objects information"; + } + enum "utm-realtime" { + description "Trace application-proxy realtime-thread information"; + } + enum "anti-virus" { + description "Trace anti-virus information"; + } + enum "basic" { + description "Trace application-proxy basic information"; + } + enum "buffer" { + description "Trace application-proxy data buffer information"; + } + enum "detail" { + description "Trace application-proxy detailed information"; + } + enum "ftp-data" { + description "Trace FTP data connection information"; + } + enum "ftp-control" { + description "Trace FTP control connection information"; + } + enum "http" { + description "Trace HTTP protocol information"; + } + enum "imap" { + description "Trace IMAP protocol information"; + } + enum "memory" { + description "Trace memory usage"; + } + enum "parser" { + description "Trace protocol parser"; + } + enum "pfe" { + description "Trace communication with PFE"; + } + enum "pop3" { + description "Trace POP3 protocol information"; + } + enum "queue" { + description "Trace queue information"; + } + enum "smtp" { + description "Trace SMTP protocol information"; + } + enum "tcp" { + description "Trace TCP level information"; + } + enum "timer" { + description "Trace timer processing"; + } + enum "connection-rating" { + description "Trace connection rating information"; + } + enum "mime" { + description "Trace MIME parser information"; + } + enum "regex-engine" { + description "Trace Pattern Match Engine (PME) information"; + } + enum "sophos-anti-virus" { + description "Trace anti-virus sophos engine information"; + } + enum "all" { + description "Enable all application-proxy trace options"; + } + } + } + } + } + grouping utm-ipc-traceoptions { + description "Traceoptions for utm IPC"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Traceoptions for utm IPC flag"; + leaf name { + description "Trace options for utm IPC flag name"; + type enumeration { + enum "basic" { + description "Trace basic IPC related information"; + } + enum "detail" { + description "Trace detail IPC related information"; + } + enum "connection-manager" { + description "Trace IPC connection manager"; + } + enum "connection-status" { + description "Trace IPC connection status"; + } + enum "pfe" { + description "Trace communication with pfe"; + } + enum "utm-realtime" { + description "Trace IPC realtime-thread information"; + } + enum "all" { + description "Enable all IPC trace options"; + } + } + } + } + } + grouping utm-traceoptions { + description "Trace options for utm process"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing UTM information"; + leaf name { + description "Flag name"; + type enumeration { + enum "cli" { + description "Trace CLI"; + } + enum "daemon" { + description "Trace daemon information"; + } + enum "ipc" { + description "Trace IPC information"; + } + enum "pfe" { + description "Trace pfe information"; + } + enum "all" { + description "Enable all utm trace options"; + } + } + } + } + } + grouping vendor-object { + leaf name { + description "Values for vendor field"; + type string; + } + uses apply-advanced; + leaf product-name { + description "Values for product field"; + type string; + } + } + grouping web-filtering-block-message { + description "Web filtering block message settings"; + uses apply-advanced; + leaf type { + description "Type of block message desired"; + type enumeration { + enum "custom-redirect-url" { + description "Custom redirect URL server"; + } + } + } + leaf url { + description "URL of block message"; + type string { + length "1 .. 1024"; + } + } + } + grouping web-filtering-fallback-setting { + description "Web-filtering fallback settings"; + uses apply-advanced; + leaf default { + description "Fallback default settings"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf server-connectivity { + description "Fallback action when device cannot connect to server"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf timeout { + description "Fallback action when connection to server timeout"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + leaf too-many-requests { + description "Fallback action when requests exceed the limit of engine"; + type enumeration { + enum "log-and-permit" { + } + enum "block" { + } + } + } + } + grouping web-filtering-quarantine-message { + description "Web filtering quarantine message settings"; + uses apply-advanced; + leaf type { + description "Type of quarantine message desired"; + type enumeration { + enum "custom-redirect-url" { + description "Custom redirect URL server"; + } + } + } + leaf url { + description "URL of quarantine message"; + type string { + length "1 .. 1024"; + } + } + } + grouping web-filtering-traceoptions { + description "Trace options for web-filtering feature"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Trace options for web-filtering feature trace flag"; + leaf name { + description "Trace options for web-filtering feature trace flag name"; + type enumeration { + enum "basic" { + description "Trace web-filtering module generic basic information"; + } + enum "session-manager" { + description "Trace session management information"; + } + enum "heartbeat" { + description "Trace connectivity information with web-filter server"; + } + enum "packet" { + description "Trace packet information from session management"; + } + enum "profile" { + description "Trace profile config information"; + } + enum "requests" { + description "Trace requests sent to web-filter server"; + } + enum "response" { + description "Trace response received from web-filter server"; + } + enum "socket" { + description "Trace communication socket with web-filter server"; + } + enum "timer" { + description "Trace aging information for requests sent to server"; + } + enum "ipc" { + description "Trace communication events with PFE"; + } + enum "cache" { + description "Trace category cache operations"; + } + enum "enhanced" { + description "Trace Juniper enhanced web-filtering operations"; + } + enum "all" { + description "Enable trace all anti-virus trace options"; + } + } + } + } + } + grouping webfilter-feature { + description "Web-filtering feature settings"; + uses apply-advanced; + container surf-control-integrated { + description "Configure web-filtering surf-control integrated engine"; + status deprecated; + uses surf-control-integrated-type; + } + container websense-redirect { + description "Configure web-filtering websense redirect engine"; + uses websense-type; + } + container juniper-local { + description "Configure web-filtering juniper local engine"; + uses juniper-local-type; + } + container juniper-enhanced { + description "Configure web-filtering juniper enhanced engine"; + uses juniper-enhanced-type; + } + } + grouping juniper-enhanced-type { + description "Juniper Enhanced"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Juniper enhanced profile"; + leaf name { + description "Juniper enhanced profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf base-filter { + description "Juniper base filter"; + type string; + } + list category { + key name; + ordered-by user; + description "Juniper enhanced category"; + uses juniper-enhanced-category-type; + } + container site-reputation-action { + description "Juniper enhanced site reputation action"; + presence "enable site-reputation-action"; + uses juniper-enhanced-site-reputation-setting; + } + leaf default { + description "Juniper enhanced profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + enum "quarantine" { + description "Quarantine action"; + } + } + } + leaf custom-block-message { + description "Juniper enhanced custom block message sent to HTTP client"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper enhanced quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container fallback-settings { + description "Juniper enhanced fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper enhanced timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-safe-search { + description "Do not perform safe-search for Juniper enhanced protocol"; + type empty; + } + container block-message { + description "Juniper enhanced block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper enhanced quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + } + } + grouping juniper-local-type { + description "Juniper local"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Juniper local profile"; + leaf name { + description "Juniper local profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + leaf default { + description "Juniper local profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Juniper local custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Juniper local quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Juniper local block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Juniper local quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Juniper local fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Juniper local timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + } + grouping surf-control-integrated-type { + description "Surf control integrated"; + uses apply-advanced; + container cache { + presence "enable cache"; + uses apply-advanced; + leaf timeout { + description "Surf control integrated cache timeout"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf size { + description "Surf control integrated cache size"; + default "1024"; + units "kilobytes"; + type string; + } + } + container server { + description "Surf control server"; + presence "enable server"; + uses server; + } + list profile { + key name; + ordered-by user; + description "Surf control integrated profile"; + leaf name { + description "Surf control integrated profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + list category { + key name; + ordered-by user; + description "Surf control integrated category"; + uses surf-control-integrated-category-type; + } + leaf default { + description "Surf control integrated profile default"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + leaf custom-block-message { + description "Surf control integrated custom block message"; + type string { + length "1 .. 512"; + } + } + container fallback-settings { + description "Surf control integrated fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Surf control integrated timeout"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + } + } + grouping surf-control-integrated-category-type { + description "Surf control integrated category type"; + leaf name { + description "Surf control integrated category type name"; + type string { + length "1 .. 59"; + } + } + uses apply-advanced; + leaf action { + description "Surf control integrated category type action"; + type enumeration { + enum "permit" { + description "Permit action"; + } + enum "block" { + description "Block action"; + } + enum "log-and-permit" { + description "Log and permit action"; + } + } + } + } + grouping websense-type { + description "Websense redirect"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Websense redirect profile"; + leaf name { + description "Websense redirect profile name"; + type string { + length "1 .. 29"; + } + } + uses apply-advanced; + container server { + description "Websense redirect server"; + presence "enable server"; + uses server; + } + list category { + key name; + ordered-by user; + description "Custom category"; + uses custom-category-type; + } + leaf custom-block-message { + description "Websense redirect custom block message"; + type string { + length "1 .. 512"; + } + } + leaf quarantine-custom-message { + description "Websense redirect quarantine custom message"; + type string { + length "1 .. 512"; + } + } + container block-message { + description "Websense redirect block message settings"; + presence "enable block-message"; + uses web-filtering-block-message; + } + container quarantine-message { + description "Websense redirect quarantine message settings"; + presence "enable quarantine-message"; + uses web-filtering-quarantine-message; + } + container fallback-settings { + description "Websense redirect fallback settings"; + presence "enable fallback-settings"; + uses web-filtering-fallback-setting; + } + leaf timeout { + description "Websense redirect timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf sockets { + description "Websense redirect sockets number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf account { + description "Websense redirect account"; + type string { + length "1 .. 28"; + } + } + } + } + grouping wildcard-address-type { + description "Wildcard address and mask"; + leaf name { + description "Numeric IPv4 wildcard address with in the form of a.d.d.r/netmask"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + grouping zone-interface-list-type { + description "Logical interfaces in this zone"; + leaf name { + description "Logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container host-inbound-traffic { + uses interface_host_inbound_traffic_t; + } + } + grouping interface_host_inbound_traffic_t { + uses apply-advanced; + list system-services { + key name; + ordered-by user; + description "Type of incoming system-service traffic to accept"; + uses interface-system-services-object-type; + } + list protocols { + key name; + ordered-by user; + description "Protocol type of incoming traffic to accept"; + uses host-inbound-protocols-object-type; + } + } + grouping host-inbound-protocols-object-type { + description "Protocol type of incoming traffic to accept"; + leaf name { + description "Protocol name"; + type enumeration { + enum "all" { + description "All protocols"; + } + enum "bfd" { + description "Bidirectional Forwarding Detection"; + } + enum "bgp" { + description "Border Gateway Protocol"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "igmp" { + description "Internet Group Management Protocol"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "ndp" { + description "IPv6 Neighbor Discovery Protocol"; + } + enum "nhrp" { + description "Next Hop Resolution Protocol"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf3" { + description "Open Shortest Path First version 3"; + } + enum "pgm" { + description "Pragmatic General Multicast"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "router-discovery" { + description "Router Discovery"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "sap" { + description "Session Announcement Protocol"; + } + enum "vrrp" { + description "Virtual Router Redundancy Protocol"; + } + } + } + uses apply-advanced; + leaf except { + description "Protocol type of incoming traffic to disallow"; + type empty; + } + } + grouping interface-system-services-object-type { + description "Type of incoming system-service traffic to accept"; + leaf name { + type enumeration { + enum "all" { + description "All system services"; + } + enum "bootp" { + description "Bootp and dhcp relay-agent service"; + } + enum "dhcp" { + description "Dynamic Host Configuration Protocol"; + } + enum "dhcpv6" { + description "Enable Dynamic Host Configuration Protocol for IPv6"; + } + enum "dns" { + description "DNS service"; + } + enum "finger" { + description "Finger service"; + } + enum "ftp" { + description "FTP"; + } + enum "ident-reset" { + description "Send back TCP RST to IDENT request for port 113"; + } + enum "http" { + description "Web management service using HTTP"; + } + enum "https" { + description "Web management service using HTTP secured by SSL"; + } + enum "ike" { + description "Internet Key Exchange"; + } + enum "netconf" { + description "NETCONF service"; + } + enum "ping" { + description "Internet Control Message Protocol echo requests"; + } + enum "rlogin" { + description "Rlogin service"; + } + enum "reverse-telnet" { + description "Reverse telnet service"; + } + enum "reverse-ssh" { + description "Reverse SSH service"; + } + enum "rpm" { + description "Real-time performance monitoring"; + } + enum "rsh" { + description "Rsh service"; + } + enum "snmp" { + description "Simple Network Management Protocol service"; + } + enum "snmp-trap" { + description "Simple Network Management Protocol traps"; + } + enum "ssh" { + description "SSH service"; + } + enum "telnet" { + description "Telnet service"; + } + enum "traceroute" { + description "Traceroute service"; + } + enum "xnm-ssl" { + description "JUNOScript API service over SSL"; + } + enum "xnm-clear-text" { + description "JUNOScript API for unencrypted traffic over TCP"; + } + enum "tftp" { + description "TFTP"; + } + enum "lsping" { + description "Label Switched Path ping service"; + } + enum "ntp" { + description "Network Time Protocol service"; + } + enum "sip" { + description "Enable Session Initiation Protocol service"; + } + enum "r2cp" { + description "Enable Radio-Router Control Protocol service"; + } + enum "webapi-clear-text" { + description "Webapi service using http"; + } + enum "webapi-ssl" { + description "Webapi service using HTTP secured by SSL"; + } + enum "tcp-encap" { + description "Tcp encapsulation service"; + } + enum "appqoe" { + description "APPQOE active probe servie"; + } + enum "any-service" { + description "Enable services on entire port range"; + } + } + } + uses apply-advanced; + leaf except { + description "Type of incoming system-service traffic to disallow"; + type empty; + } + } + grouping zone_host_inbound_traffic_t { + uses apply-advanced; + list system-services { + key name; + ordered-by user; + description "Type of incoming system-service traffic to accept"; + uses zone-system-services-object-type; + } + list protocols { + key name; + ordered-by user; + description "Protocol type of incoming traffic to accept"; + uses host-inbound-protocols-object-type; + } + } + grouping zone-system-services-object-type { + description "Type of incoming system-service traffic to accept"; + leaf name { + type enumeration { + enum "all" { + description "All system services"; + } + enum "bootp" { + description "Bootp and dhcp relay-agent service"; + } + enum "dhcp" { + description "Dynamic Host Configuration Protocol"; + } + enum "dhcpv6" { + description "Enable Dynamic Host Configuration Protocol for IPv6"; + } + enum "dns" { + description "DNS service"; + } + enum "finger" { + description "Finger service"; + } + enum "ftp" { + description "FTP"; + } + enum "ident-reset" { + description "Send back TCP RST to IDENT request for port 113"; + } + enum "http" { + description "Web management service using HTTP"; + } + enum "https" { + description "Web management service using HTTP secured by SSL"; + } + enum "ike" { + description "Internet Key Exchange"; + } + enum "netconf" { + description "NETCONF service"; + } + enum "ping" { + description "Internet Control Message Protocol echo requests"; + } + enum "rlogin" { + description "Rlogin service"; + } + enum "reverse-telnet" { + description "Reverse telnet service"; + } + enum "reverse-ssh" { + description "Reverse SSH service"; + } + enum "rpm" { + description "Real-time performance monitoring"; + } + enum "rsh" { + description "Rsh service"; + } + enum "snmp" { + description "Simple Network Management Protocol service"; + } + enum "snmp-trap" { + description "Simple Network Management Protocol traps"; + } + enum "ssh" { + description "SSH service"; + } + enum "telnet" { + description "Telnet service"; + } + enum "traceroute" { + description "Traceroute service"; + } + enum "xnm-ssl" { + description "JUNOScript API service over SSL"; + } + enum "xnm-clear-text" { + description "JUNOScript API for unencrypted traffic over TCP"; + } + enum "tftp" { + description "TFTP"; + } + enum "lsping" { + description "Label Switched Path ping service"; + } + enum "ntp" { + description "Network Time Protocol service"; + } + enum "sip" { + description "Enable Session Initiation Protocol service"; + } + enum "r2cp" { + description "Enable Radio-Router Control Protocol service"; + } + enum "webapi-clear-text" { + description "Webapi service using http"; + } + enum "webapi-ssl" { + description "Webapi service using HTTP secured by SSL"; + } + enum "tcp-encap" { + description "Tcp encapsulation service"; + } + enum "appqoe" { + description "APPQOE active probe servie"; + } + enum "any-service" { + description "Enable services on entire port range"; + } + } + } + uses apply-advanced; + leaf except { + description "Type of incoming system-service traffic to disallow"; + type empty; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-services@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-services@2019-01-01.yang new file mode 100644 index 00000000..c90562b8 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-services@2019-01-01.yang @@ -0,0 +1,8566 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-services { + namespace "http://yang.juniper.net/junos-es/conf/services"; + + prefix jc-services; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos services configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses services-group; + } + augment /jc:configuration/jc:groups { + uses services-group; + } + grouping services-group { + container services { + description "Set services parameters"; + uses apply-advanced; + container flow-tap { + description "Configure flow-tap parameters"; + uses apply-advanced; + container family { + description "Address family of packets to tap"; + uses apply-advanced; + leaf inet { + description "IPv4 family"; + type empty; + } + leaf inet6 { + description "IPv4 family"; + type empty; + } + leaf ccc { + description "CCC family"; + type empty; + } + } + leaf interface { + description "Service interface on which to configure flow-tap service"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tunnel-interface { + description "Tunnel interface through which flow-tap would communicate with MD"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container radius-flow-tap { + description "Configure radius triggered flow-tap parameters"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class assigned to intercepted packets"; + type string { + } + } + leaf source-ipv4-address { + description "IP Address to use as source address in IPv4 header appended to intercepted packets"; + type jt:ipv4addr; + } + leaf multicast-interception { + description "Enable Multicast Tapping"; + type empty; + } + container interfaces { + description "Tunnel Interfaces"; + uses apply-advanced; + list tunnel-interface { + key name; + uses tunnel_interface_type; + } + } + choice ri_or_ls { + case case_1 { + leaf routing-instance { + description "Routing instance to be used for radius flow tap"; + type string; + } + } + case case_2 { + list logical-system { + key name; + ordered-by user; + description "Logical system to be used for radius flow tap"; + max-elements 1; + leaf name { + description "Logical system name"; + type string; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance to be used for radius flow tap"; + type string; + } + } + } + } + list policy { + key name; + ordered-by user; + description "Policy"; + leaf name { + description "Policy Name"; + type string { + } + } + uses apply-advanced; + container inet { + description "Protocol family IPv4 drop policy terms"; + uses apply-advanced; + list drop-policy { + key name; + ordered-by user; + description "Define an IPv4 drop policy"; + uses drop-policy-term; + } + } + container inet6 { + description "Protocol family IPv6 drop policy terms"; + uses apply-advanced; + list drop-policy { + key name; + ordered-by user; + description "Define an IPv6 drop policy"; + uses drop-policy6-term; + } + } + } + container snmp { + description "SNMP options for radius flow tap"; + uses apply-advanced; + list notify-targets { + key name; + ordered-by user; + description "Target list for packet mirror SNMP notifications"; + leaf name { + description "Target IP address"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + container flow-monitoring { + presence "enable flow-monitoring"; + description "Configure flow monitoring"; + uses apply-advanced; + container version9 { + description "Version 9 configuration"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "One or more version 9 templates"; + max-elements 10; + uses version9-template; + } + } + container version-ipfix { + description "Version IP-Fix configuration"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "One or more version ip-fix templates"; + max-elements 10; + uses version-ipfix-template; + } + } + } + container jdaf { + description "Juniper distributed application framework (JDAF)"; + uses apply-advanced; + leaf-list routing-instances { + ordered-by user; + description "List of routing-instance name for JDAF clients"; + type string { + length "1 .. 128"; + } + } + } + container rpm { + presence "enable rpm"; + description "Real-time performance monitoring"; + uses apply-advanced; + container traceoptions { + description "RMOPD trace options"; + uses rmopd-traceoptions; + } + container bgp { + description "BGP options for real-time performance monitoring"; + uses apply-advanced; + leaf probe-type { + description "RPM-BGP probe request type"; + default "icmp-ping"; + type enumeration { + enum "icmp-ping" { + description "Send ICMP echo request to target address"; + } + enum "icmp-ping-timestamp" { + description "Send ICMP timestamp request to target address"; + } + enum "icmp6-ping" { + description "Send ICMP6 echo request to target address"; + } + enum "tcp-ping" { + description "Send TCP packets to target"; + } + enum "udp-ping" { + description "Send UDP packets to target"; + } + enum "udp-ping-timestamp" { + description "Send UDP packets with timestamp to target"; + } + } + } + leaf probe-count { + description "Total number of probes per test"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf probe-interval { + description "Delay between probes"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf test-interval { + description "Delay between tests"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + leaf destination-port { + description "TCP/UDP port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "7 .. 65535"; + } + } + } + leaf history-size { + description "Number of stored history entries"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf moving-average-size { + description "Number of samples used for moving average"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + leaf data-size { + description "Size of the data portion of the probes"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65400"; + } + } + } + leaf data-fill { + description "Define contents of the data portion of the probes"; + type string { + length "1 .. 2048"; + } + } + leaf ttl { + description "Time to Live (hop-limit) value for an RPM IPv4(IPv6) packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + list logical-system { + key name; + description "Logical systems"; + uses bgp-logical-system; + } + list routing-instances { + key name; + description "Routing instances"; + uses bgp-routing-instances; + } + } + list probe { + key name; + ordered-by user; + description "TCP/UDP/ICMP ping"; + leaf name { + description "Name of owner"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf delegate-probes { + description "Offload real-time performance monitoring probes to MS-MIC/MS-MPC card"; + type empty; + } + list test { + key name; + ordered-by user; + description "TCP/UDP/ICMP/ICMP6 ping test"; + leaf name { + description "Name of test"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container rpm-scale { + presence "enable rpm-scale"; + description "Configuring real-time performance monitoring scale tests"; + uses apply-advanced; + leaf tests-count { + description "Number of probe-tests generated using scale config"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + choice target-type { + case case_1 { + container target { + presence "enable target"; + description "Target address generation for scale test config"; + uses apply-advanced; + leaf address-base { + description "Base address of target host in a.b.c.d format"; + type jt:ipv4addr; + } + leaf step { + description "Steps to increment target address in a.b.c.d format"; + type jt:ipv4addr; + } + leaf count { + description "Target address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + case case_2 { + container target-inet6 { + presence "enable target-inet6"; + description "IPv6 target address generation for scale test config"; + uses apply-advanced; + leaf address-base { + description "Base address of target host in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf step { + description "Steps to increment target address in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf count { + description "Target address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + } + choice source-type { + case case_1 { + container source { + presence "enable source"; + description "Source address generation in scale tests"; + uses apply-advanced; + leaf address-base { + description "Base address of host in a.b.c.d format"; + type jt:ipv4addr; + } + leaf step { + description "Steps to increment src address in a.b.c.d format"; + type jt:ipv4addr; + } + leaf count { + description "Source-address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + case case_2 { + container source-inet6 { + presence "enable source-inet6"; + description "IPv6 source address generation in scale tests"; + uses apply-advanced; + leaf address-base { + description "Base address of host in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf step { + description "Steps to increment src address in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf count { + description "Source-address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + } + container destination { + presence "enable destination"; + description "Name of output interface for probes"; + uses apply-advanced; + leaf interface { + description "Base destination interface for scale test"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf subunit-cnt { + description "Subunit count for destination interface for scale test"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + leaf probe-type { + description "Probe request type"; + default "icmp-ping"; + type enumeration { + enum "http-get" { + description "Perform HTTP Get request at target URL"; + } + enum "http-metadata-get" { + description "Perform HTTP Get request of metadata at target URL"; + } + enum "icmp-ping" { + description "Send ICMP echo request to target address"; + } + enum "icmp-ping-timestamp" { + description "Send ICMP timestamp request to target address"; + } + enum "icmp6-ping" { + description "Send ICMP6 echo request to target address"; + } + enum "tcp-ping" { + description "Send TCP packets to target"; + } + enum "udp-ping" { + description "Send UDP packets to target"; + } + enum "udp-ping-timestamp" { + description "Send UDP packets with timestamp to target"; + } + } + } + container target { + presence "enable target"; + description "Target destination for probe"; + choice target-type { + case case_1 { + leaf address { + description "Address of target host"; + type jt:ipv4addr; + } + } + case case_2 { + leaf inet6-address { + description "Inet6 Address of target host"; + type jt:ipv6addr; + } + } + case case_3 { + leaf url { + description "Fully formed target URL"; + type string; + } + } + case case_4 { + leaf inet6-url { + description "Fully formed target IPV6 URL"; + type string; + } + } + } + } + container inet6-options { + presence "enable inet6-options"; + description "IPV6 related options"; + uses apply-advanced; + leaf source-address { + description "Inet6 Source Address of the probe"; + type jt:ipv6addr; + } + } + leaf probe-count { + description "Total number of probes per test"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf probe-interval { + description "Delay between probes"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf test-interval { + description "Delay between tests"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + leaf destination-port { + description "TCP/UDP port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "7 .. 65535"; + } + } + } + leaf source-address { + description "Source address for probe"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Routing instance used by probes"; + type string { + } + } + leaf history-size { + description "Number of stored history entries"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf moving-average-size { + description "Number of samples used for moving average"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + leaf dscp-code-points { + description "Differentiated Services code point bits or alias"; + default "000000"; + type string { + } + } + leaf data-size { + description "Size of the data portion of the probes"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65400"; + } + } + } + leaf data-fill { + description "Define contents of the data portion of the probes"; + type string { + length "1 .. 2048"; + } + } + leaf ttl { + description "Time to Live (hop-limit) value for an RPM IPv4(IPv6) packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + container thresholds { + presence "enable thresholds"; + description "Probe and test threshold values. Set 0 to disable respective threshold"; + uses apply-advanced; + leaf successive-loss { + description "Successive probe loss count indicating probe failure"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf total-loss { + description "Total probe loss count indicating test failure"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf rtt { + description "Maximum round trip time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-rtt { + description "Maximum jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-rtt { + description "Maximum standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf egress-time { + description "Maximum source to destination time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf ingress-time { + description "Maximum destination to source time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-ingress { + description "Maximum destination to source jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-egress { + description "Maximum source to destination jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-ingress { + description "Maximum destination to source standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-egress { + description "Maximum source to destination standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + leaf-list traps { + ordered-by user; + description "Trap to send if threshold is met or exceeded"; + type enumeration { + enum "probe-failure" { + description "Successive probe loss threshold reached"; + } + enum "test-failure" { + description "Total probe loss threshold reached"; + } + enum "test-completion" { + description "Test completed"; + } + enum "rtt-exceeded" { + description "Exceeded maximum round trip time threshold"; + } + enum "std-dev-exceeded" { + description "Exceeded round trip time standard deviation threshold"; + } + enum "jitter-exceeded" { + description "Exceeded jitter in round trip time threshold"; + } + enum "ingress-time-exceeded" { + description "Exceeded maximum ingress time threshold"; + } + enum "ingress-std-dev-exceeded" { + description "Exceeded ingress time standard deviation threshold"; + } + enum "ingress-jitter-exceeded" { + description "Exceeded jitter in ingress time threshold"; + } + enum "egress-time-exceeded" { + description "Exceeded maximum egress time threshold"; + } + enum "egress-std-dev-exceeded" { + description "Exceeded egress time standard deviation threshold"; + } + enum "egress-jitter-exceeded" { + description "Exceeded jitter in egress time threshold"; + } + } + } + leaf destination-interface { + description "Name of output interface for probes"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf hardware-timestamp { + description "Packet Forwarding Engine updates timestamps"; + type empty; + } + leaf one-way-hardware-timestamp { + description "Enable hardware timestamps for one-way measurements"; + type empty; + } + leaf next-hop { + description "Next-hop to which probe should be sent"; + type jt:ipv4addr; + } + } + } + container probe-server { + description "ICMP/TCP/UDP probe server"; + uses apply-advanced; + container icmp { + description "ICMP probe server"; + uses apply-advanced; + leaf destination-interface { + description "Name of output interface for probes"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container tcp { + description "TCP probe server"; + uses apply-advanced; + leaf port { + description "Port number 7 through 65535"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-interface { + description "Name of output interface for probes"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container udp { + description "UDP probe server"; + uses apply-advanced; + leaf port { + description "Port number 7 through 65535"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-interface { + description "Name of output interface for probes"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf probe-limit { + description "Maximum number of concurrent probes allowed"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + container twamp { + description "Two-way Active Measurement Protocol configuration"; + uses apply-advanced; + leaf post-cli-implicit-firewall { + description "Enable post cli implicit firewall"; + type empty; + } + container client { + description "TWAMP client configuration"; + uses apply-advanced; + list control-connection { + key name; + ordered-by user; + description "TWAMP control session configuration"; + leaf name { + description "Client name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container authentication-mode { + description "Authentication modes"; + uses apply-advanced; + leaf none { + description "No authentication or encryption"; + type empty; + } + } + leaf destination-interface { + description "Name of output interface for all test sessions"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-port { + description "TCP TWAMP client listening port for the test sessions. Default 862"; + default "862"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf history-size { + description "Number of stored history entries"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf moving-average-size { + description "Number of samples used for moving average"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + leaf routing-instance { + description "Routing instance used by the test sessions"; + type string { + } + } + leaf target-address { + description "Destination address of TWAMP responder"; + type jt:ipv4addr; + } + leaf test-count { + description "Total number of test session iterations"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967290"; + } + } + } + leaf test-interval { + description "Delay between test session iterations"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + container traps { + description "Trap to send if threshold is met or exceeded"; + uses apply-advanced; + leaf test-iteration-done { + description "All test sessions configured under the control connection have completed an iteration"; + type empty; + } + leaf control-connection-closed { + description "Control connection closed"; + type empty; + } + } + list test-session { + key name; + ordered-by user; + description "Test session details"; + leaf name { + description "Test session name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf target-address { + description "Destination address of TWAMP responder"; + type jt:ipv4addr; + } + leaf data-fill-with-zeros { + description "Fill contents of test packet with zeros"; + type empty; + } + leaf data-size { + description "Size of the data portion of the probes"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "60 .. 1400"; + } + } + } + leaf dscp-code-points { + description "Differentiated Services code point bits or alias used for TCP control and UDP TWAMP test packets"; + default "000000"; + type string { + } + } + leaf ttl { + description "Time to Live (hop-limit) value for an RPM IPv4(IPv6) packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + leaf probe-count { + description "Total number of probes per test"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967290"; + } + } + } + leaf probe-interval { + description "Delay between two consecutive probes"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container thresholds { + presence "enable thresholds"; + description "TWAMP test threshold values. Set 0 to disable respective threshold"; + uses apply-advanced; + leaf successive-loss { + description "Successive probe loss count indicating probe failure"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf total-loss { + description "Total probe loss count indicating test failure"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967290"; + } + } + } + leaf rtt { + description "Maximum round trip time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf max-rtt { + description "Maximum round trip time per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-rtt { + description "Maximum jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-rtt { + description "Maximum standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf egress-time { + description "Maximum source to destination time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf ingress-time { + description "Maximum destination to source time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-ingress { + description "Maximum destination to source jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-egress { + description "Maximum source to destination jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-ingress { + description "Maximum destination to source standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-egress { + description "Maximum source to destination standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + container traps { + description "Trap to send if threshold is met or exceeded"; + uses apply-advanced; + leaf probe-failure { + description "Successive probe loss threshold reached"; + type empty; + } + leaf test-failure { + description "Total probe loss threshold reached"; + type empty; + } + leaf test-completion { + description "Test completed"; + type empty; + } + leaf rtt-exceeded { + description "Exceeded maximum round trip time threshold"; + type empty; + } + leaf max-rtt-exceeded { + description "Exceeded maximum round trip time threshold at the end of per test"; + type empty; + } + leaf std-dev-exceeded { + description "Exceeded round trip time standard deviation threshold"; + type empty; + } + leaf jitter-exceeded { + description "Exceeded jitter in round trip time threshold"; + type empty; + } + leaf ingress-time-exceeded { + description "Exceeded maximum ingress time threshold"; + type empty; + } + leaf ingress-std-dev-exceeded { + description "Exceeded ingress time standard deviation threshold"; + type empty; + } + leaf ingress-jitter-exceeded { + description "Exceeded jitter in ingress time threshold"; + type empty; + } + leaf egress-time-exceeded { + description "Exceeded maximum egress time threshold"; + type empty; + } + leaf egress-std-dev-exceeded { + description "Exceeded egress time standard deviation threshold"; + type empty; + } + leaf egress-jitter-exceeded { + description "Exceeded jitter in egress time threshold"; + type empty; + } + } + } + } + } + container server { + description "TWAMP server configuration"; + uses apply-advanced; + list routing-instance-list { + key name; + ordered-by user; + description "List of allowed routing instances,not more than 100, along with ports"; + leaf name { + description "Name of the routing instance"; + type string { + } + } + uses apply-advanced; + leaf port { + description "Port to be used by the routing instance"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container authentication-mode { + description "Authentication modes"; + uses apply-advanced; + leaf none { + description "No authentication or encryption"; + type empty; + } + container authenticated { + presence "enable authenticated"; + description "Authenticated mode"; + leaf control-only { + description "Authentication mode only for TWAMP control protocol"; + status deprecated; + type empty; + } + } + container encrypted { + presence "enable encrypted"; + description "Encrypted mode"; + leaf control-only { + description "Encryption mode only for TWAMP control protocol"; + status deprecated; + type empty; + } + } + leaf control-only-encrypted { + description "Encrypted control and unauthenticated data mode"; + type empty; + } + } + list authentication-key-chain { + key name; + ordered-by user; + description "Authentication key chain configuration"; + uses twamp-authentication-key-chain; + } + leaf server-inactivity-timeout { + description "Control packet idle timeout value in minutes, 0 to disable"; + default "15"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf max-connection-duration { + description "Maximum Connection duration in hours, 0 to disable"; + default "24"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + leaf maximum-sessions { + description "Maximum number of test sessions for the server"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2048"; + } + } + } + leaf maximum-sessions-per-connection { + description "Maximum number of test sessions per client connection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf maximum-connections { + description "Maximum number of connections for the server"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf maximum-connections-per-client { + description "Maximum number of server connections per client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + leaf port { + description "TWAMP server listening port"; + default "862"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list client-list { + key name; + ordered-by user; + description "List of allowed clients"; + leaf name { + description "Name of client list"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP prefix of client"; + leaf name { + description "IP prefix of client"; + type jt:ipv4prefix; + } + uses apply-advanced; + } + } + } + } + } + container app-engine { + description "App-engine"; + uses apply-advanced; + container security { + presence "enable security"; + description "Enable app-engine security"; + } + container monitor-cpu { + description "Monitor node CPU usage"; + uses monitor-threshold; + } + container monitor-memory { + description "Monitor node memory usage"; + uses monitor-threshold; + } + container monitor-storage { + description "Monitor storage usage"; + uses monitor-threshold; + } + leaf default-compute-node-package { + description "Default JunosV App Engine package for appliance"; + type string; + } + list compute-cluster { + key name; + ordered-by user; + description "Configure compute cluster"; + leaf name { + description "Compute cluster name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + container local-management { + description "Management address connected to compute cluster"; + uses apply-advanced; + list routing-instance { + key routing-instance-name; + ordered-by user; + description "Packets are restriction to specified routing instance"; + max-elements 1; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + container monitor-cpu { + description "Monitor node CPU usage"; + uses monitor-threshold; + } + container monitor-memory { + description "Monitor node memory usage"; + uses monitor-threshold; + } + container monitor-storage { + description "Monitor storage usage"; + uses monitor-threshold; + } + list compute-node { + key name; + ordered-by user; + description "Compute node name"; + max-elements 1; + leaf name { + description "Compute node name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + container monitor-cpu { + description "Monitor node CPU usage"; + uses monitor-threshold; + } + container monitor-memory { + description "Monitor node memory usage"; + uses monitor-threshold; + } + container monitor-storage { + description "Monitor storage usage"; + uses monitor-threshold; + } + choice compute-node-identifier { + case case_1 { + leaf mac-address { + description "MAC address of the network boot interface"; + type jt:mac-addr; + } + } + case case_2 { + } + case case_3 { + } + } + leaf package { + description "JunosV App Engine package"; + type string; + } + container routing-options { + description "Route configuration for compute node"; + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string { + length "1 .. 10"; + } + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + } + } + container interfaces { + description "Network interfaces configuration"; + uses apply-advanced; + list ethernet { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + description "Interface name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf management { + description "Use this as management interface"; + type empty; + } + container family { + description "Protocol family"; + uses family; + } + leaf enable-passthrough { + description "Enable passthrough on this interface"; + type empty; + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + container ether-options { + uses apply-advanced; + choice agg-intf { + case case_1 { + leaf ieee-802-3ad { + description "Aggregated interface name"; + type string { + length "1 .. 15"; + } + } + } + } + } + } + list bridge { + key name; + ordered-by user; + description "Bridge configuration"; + leaf name { + description "Bridge name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf management { + description "Use this as management bridge"; + type empty; + } + container family { + description "Protocol family"; + uses family; + } + leaf-list interface { + ordered-by user; + description "Bridge interface list"; + type string { + length "1 .. 15"; + } + max-elements 4; + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + } + list aggregate { + key name; + ordered-by user; + description "Aggregate interface configuration"; + leaf name { + description "Aggregated interface name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf management { + description "Use this as management aggregate"; + type empty; + } + container family { + description "Protocol family"; + uses family; + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + container aggregated-ether-options { + presence "enable aggregated-ether-options"; + description "Link aggregation parameters"; + uses apply-advanced; + leaf hash-policy { + default "layer-3-and-4"; + type enumeration { + enum "layer-2" { + description "Uses mac address of both source and destination for hashing"; + } + enum "layer-3-and-4" { + description "Uses port number and IP address of both source and destination for hashing"; + } + enum "layer-2-and-3" { + description "Uses mac and IP address of both source and destination for hashing"; + } + } + } + leaf miimon { + description "Link monitoring interval in milli-second"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list syslog { + key name; + ordered-by user; + description "System logging facility"; + leaf name { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "privileged" { + description "Privileged authorization events"; + } + enum "cron" { + description "Cron daemon"; + } + enum "daemon" { + description "Various system processes"; + } + enum "kernel" { + description "Kernel"; + } + enum "syslog" { + description "Syslog messages"; + } + enum "user" { + description "User processes"; + } + enum "uucp" { + description "UUCP system"; + } + enum "local0" { + description "Local 0 messages"; + } + enum "local1" { + description "Local 1 messages"; + } + enum "local2" { + description "Local 2 messages"; + } + enum "local3" { + description "Local 3 messages"; + } + enum "local4" { + description "Local 4 messages"; + } + enum "local5" { + description "Local 5 messages"; + } + enum "local6" { + description "Local 6 messages"; + } + enum "local7" { + description "Local 7 messages"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf debug { + description "Debug messages"; + type empty; + } + } + } + } + } + } + container virtual-machines { + description "Virtual-machine management"; + uses apply-advanced; + list instance { + key name; + ordered-by user; + description "Virtual-machine instance"; + leaf name { + description "Virtual-machine instance identifier"; + type string { + length "1 .. 39"; + } + } + uses apply-advanced; + leaf cpu { + description "Units of CPUs (default 1 cpu)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf memory { + description "Memory for the virtual-machine (default 1 gigabytes)"; + default "1"; + units "gigabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf package { + description "Virtual-machine package"; + type string { + length "1 .. 120"; + } + } + container local-management { + description "Management address connected to virtual machine"; + uses apply-advanced; + list routing-instance { + key routing-instance-name; + ordered-by user; + description "Packets are restriction to specified routing instance"; + max-elements 1; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + list compute-cluster { + key name; + ordered-by user; + description "Compute cluster on which the virtual-machine runs"; + max-elements 1; + leaf name { + description "Compute cluster name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf compute-node { + description "Compute node on which the virtual-machine runs"; + type string { + length "1 .. 15"; + } + } + } + list interface { + key name; + ordered-by user; + description "Virtual-machine interface configuration"; + leaf name { + description "Virtual-machine interface name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf hw-model { + description "Interface hardware model"; + default "e1000g"; + type enumeration { + enum "e1000g" { + description "Gigabit Ethernet e1000g driver"; + } + enum "virtio" { + description "Para-virtualizing the interface"; + } + } + } + leaf host-interface { + description "Passthrough host interface for virtual-machine"; + type string { + length "1 .. 15"; + } + } + leaf bridge { + description "Bridge that the interface connected to"; + type string { + length "1 .. 15"; + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + container family { + description "Interface address family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf primary { + description "Primary address on the interface"; + type empty; + } + } + } + } + } + container routing-options { + description "Route configuration for virutal machine"; + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string { + length "1 .. 10"; + } + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + } + } + list secondary-disk { + key name; + ordered-by user; + description "Virtual-machine disk"; + leaf name { + description "Virtual-machine disk name"; + type enumeration { + enum "hdb" { + description "Disk name is hdb"; + } + enum "hdc" { + description "Disk name is hdc"; + } + enum "hdd" { + description "Disk name is hdd"; + } + } + } + leaf size { + description "Virtual-machine secondary disk size"; + units "gigabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 160"; + } + } + } + } + } + } + } + container unified-access-control { + description "Configure Unified Access Control"; + uses apply-advanced; + list infranet-controller { + key name; + ordered-by user; + description "Configure infranet controller"; + leaf name { + description "Infranet controller name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf address { + description "Infranet controller IP address"; + type jt:ipv4addr; + } + leaf port { + description "Infranet controller port"; + default "11123"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf interface { + description "Outgoing interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf password { + description "Infranet controller server password"; + type string { + length "1 .. 255"; + } + } + leaf-list ca-profile { + ordered-by user; + description "Define a list of certificate authority"; + type string; + } + leaf server-certificate-subject { + description "Subject name of infranet controller certificate to match"; + type string { + length "1 .. 255"; + } + } + } + leaf certificate-verification { + description "Specify certificate verification requirement"; + default "warning"; + type enumeration { + enum "warning" { + description "Warn if certificate is not being verified"; + } + enum "required" { + description "Require certificate verification. Most secure"; + } + enum "optional" { + description "Make verification optional, no warnings. Least secure"; + } + } + } + leaf timeout { + description "Timeout for idle infranet controller link in seconds"; + default "300"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf interval { + description "Heartbeat interval from infranet controller in seconds"; + default "30"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9999"; + } + } + } + leaf timeout-action { + description "Specify action when infranet controller timeout occurs"; + default "close"; + type enumeration { + enum "close" { + description "Remove existing sessions and block further traffic"; + } + enum "no-change" { + description "Preserve existing connections; block new sessions"; + } + enum "open" { + description "Allow traffic for new and existing sessions to go through"; + } + } + } + leaf test-only-mode { + description "Allow all traffic and only log enforcement result"; + type empty; + } + container traceoptions { + description "UAC trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace with all flags enabled"; + } + enum "ipc" { + description "IPC tracing"; + } + enum "config" { + description "Configuration tracing"; + } + enum "connect" { + description "Communication with infranet controller tracing"; + } + } + } + } + } + list captive-portal { + key name; + ordered-by user; + description "Unauthenticated HTTP redirect"; + leaf name { + description "Redirect policy name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf redirect-traffic { + description "Traffic to redirect"; + type enumeration { + enum "unauthenticated" { + description "Redirect unauthenticated traffic"; + } + enum "all" { + description "Redirect all traffic"; + } + } + } + leaf redirect-url { + description "Redirect URL for unauthenticated users"; + type string { + length "1 .. 512"; + } + } + } + } + container captive-portal { + description "Captive Portal options"; + uses juniper-services-captive-portal; + } + container application-identification { + presence "enable application-identification"; + description "Application identification configuration"; + uses apply-advanced; + leaf enable-heuristics { + description "Enable heuristic application identification"; + status deprecated; + type empty; + } + container enable-performance-mode { + presence "enable enable-performance-mode"; + description "Enable performance mode knobs for best DPI performance"; + uses apply-advanced; + leaf max-packet-threshold { + description "Max packet inspection threshold including both c2s ans s2c direction packets. Default value is 2 if not configured"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf imap-cache-timeout { + description "IMAP cache entry timeout in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf imap-cache-size { + description "IMAP cache size, it will be effective only after next appid sigpack install"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 512000"; + } + } + } + container download { + uses apply-advanced; + leaf url { + description "URL for application package download"; + type string { + } + } + leaf ignore-server-validation { + description "Disable server authentication for Applicaton Signature download"; + type empty; + } + container automatic { + description "Scheduled download and update"; + uses apply-advanced; + leaf start-time { + description "Start time(MM-DD.hh:mm)"; + type string { + } + } + leaf interval { + description "Attempt to download new application package"; + default "24"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 720"; + } + } + } + } + } + container statistics { + description "Configure application statistics information"; + leaf interval { + description "Application statistics collection interval"; + default "1"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + } + container nested-application-settings { + presence "enable nested-application-settings"; + description "Nested application settings"; + status deprecated; + uses apply-advanced; + leaf no-nested-application { + description "Disable nested application identification"; + type empty; + } + leaf no-application-system-cache { + description "Not to save nested AI match in application system cache"; + type empty; + } + } + leaf no-application-identification { + description "Disable all application identification methods"; + status deprecated; + type empty; + } + leaf no-application-system-cache { + description "Disable storing AI result in application system cache"; + type empty; + } + leaf max-sessions { + description "Max sessions that can run AI at the same time"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 500000"; + } + } + } + leaf application-system-cache-timeout { + description "Application system cache entry lifetime"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + container application-system-cache { + presence "enable application-system-cache"; + description "Enable or Disable application system cache"; + uses apply-advanced; + leaf security-services { + description "Enable ASC for security services (appfw, appqos, idp, skyatp..)"; + type empty; + } + leaf no-miscellaneous-services { + description "Disable ASC for miscellaneous services APBR,..."; + type empty; + } + } + leaf max-transactions { + description "Number of transaction finals to terminate application classification"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 25"; + } + } + } + leaf max-checked-bytes { + description "Inspect the maximal number of bytes"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + list application { + key name; + description "Configure application definition"; + leaf name { + description "A unique application identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf index { + description "Custom index (32768..65534). Application index"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf disable { + description "Disable this application definition in AI"; + status deprecated; + type empty; + } + leaf cacheable { + description "Cacheable"; + type empty; + } + leaf description { + description "Text description of application"; + type string { + } + } + leaf priority { + description "Application matching priority"; + default "high"; + type enumeration { + enum "high" { + description "Highest priority over all other signatures"; + } + enum "low" { + description "Lowest priority over all other signatures"; + } + } + } + leaf order { + description "The order value, lower the value higher the priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 50000"; + } + } + } + leaf maximum-transactions { + description "Maximum number of transactions matched by AI"; + status deprecated; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container icmp-mapping { + description "Match ICMP message"; + uses apply-advanced; + leaf type { + description "Numeric type value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 254"; + } + } + } + leaf code { + description "Numeric code value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 254"; + } + } + } + } + container ip-protocol-mapping { + description "Match IP protocol"; + uses apply-advanced; + leaf protocol { + description "Numeric protocol value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 254"; + } + } + } + } + list address-mapping { + key name; + ordered-by user; + description "Match IP address"; + leaf name { + description "Address name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container filter { + description "Match IP/port"; + uses apply-advanced; + leaf ip { + description "IP address and prefix-length"; + type jt:ipprefix; + } + container port-range { + description "Port ranges"; + uses apply-advanced; + leaf-list tcp { + ordered-by user; + description "TCP port range"; + type string; + max-elements 20; + } + leaf-list udp { + ordered-by user; + description "UDP port range"; + type string; + max-elements 20; + } + } + } + } + list over { + key name; + description "Set of L4/L7 application that carries given application"; + max-elements 8; + leaf name { + description "A unique application and protocol identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list signature { + key name; + description "Application signature for pattern matching"; + leaf name { + description "A unique application signature identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list port-range { + ordered-by user; + description "Port range"; + type string; + max-elements 64; + } + list member { + key name; + description "Application signature member"; + leaf name { + description "Application signature member identifier in range m01 - m15"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf context { + description "Context to be matched on"; + type string; + } + leaf pattern { + description "DFA pattern matched on context"; + type string { + } + } + leaf direction { + description "Connection direction of the packets to apply pattern matching"; + type enumeration { + enum "client-to-server" { + description "Client to server"; + } + enum "server-to-client" { + description "Server to client"; + } + enum "any" { + description "Any direction"; + } + } + } + } + } + } + } + list nested-application { + key name; + description "Configure nested application definition"; + status deprecated; + leaf name { + description "A unique application identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf type { + description "Well-known application such as FACEBOOK and KAZZA"; + type string { + length "1 .. 63"; + } + } + leaf index { + description "Custom index (32768..65534). Application index"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf protocol { + description "Name of layer 7 application that carries nested application"; + type string { + length "1 .. 63"; + } + } + list signature { + key name; + description "Nested application signature for pattern matching"; + leaf name { + description "A unique nested application signature identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list member { + key name; + description "Pattern matched on client-to-server packets"; + leaf name { + description "A unique nested application signature member identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf context { + description "Context to be matched on"; + type enumeration { + enum "http-url-parsed" { + description "The decoded, normalized URL in an HTTP request"; + } + enum "http-url-parsed-param-parsed" { + description "The decoded, normalized URL in an HTTP request along with the decoded CGI parameters, if any"; + } + enum "http-header-host" { + description "Host: header in an HTTP request"; + } + enum "http-header-location" { + description "Location: header in an HTTP transaction"; + } + enum "http-header-content-type" { + description "Content-Type: header in an HTTP transaction"; + } + enum "http-get-url-parsed-param-parsed" { + description "The decoded, normalized GET URL in an HTTP request along with the decoded CGI parameters, if any"; + } + enum "http-post-url-parsed-param-parsed" { + description "The decoded, normalized POST URL in an HTTP request along with the decoded CGI parameters, if any"; + } + enum "http-header-cookie" { + description "Cookie: header in an HTTP transaction"; + } + enum "http-header-user-agent" { + description "User-agent: header in an HTTP transaction"; + } + enum "http-post-variable-parsed" { + description "The decoded POST url or form data variables"; + } + enum "ssl-server-name" { + description "Server name in TLS server name extension or SSL server certificate"; + } + enum "stream" { + description "TCP stream data"; + } + } + } + leaf pattern { + description "Pattern matched on context"; + type string; + } + leaf direction { + description "Connection direction of the packets to apply pattern matching"; + type enumeration { + enum "client-to-server" { + description "Client to server"; + } + enum "server-to-client" { + description "Server to client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf check-bytes { + description "Maximum number of bytes to check for stream context "; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5000"; + } + } + } + } + leaf chain-order { + description "The order of members is used to match the pattern"; + type empty; + } + leaf maximum-transactions { + description "Maximum number of transactions matched by AI"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf order { + description "Application matching priority"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container insert-before { + description "Insert before another signature"; + uses apply-advanced; + leaf insert-before-name { + description "An application name"; + type string; + } + } + } + } + list application-group { + key name; + description "Define application group"; + leaf name { + description "A unique application group identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list application-groups { + key name; + description "Configure child application group(s)"; + leaf name { + description "Name of the child application group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list applications { + key name; + description "Configure applications that belong to this application group"; + leaf name { + description "Configure application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + leaf disable { + description "Disable this application group definition in AI"; + status deprecated; + type empty; + } + } + container traceoptions { + description "Trace options for application identification"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + } + container ssl { + description "Configuration for Secure Socket Layer support service"; + uses apply-advanced; + container traceoptions { + description "Trace options for Secure Socket Layer support service"; + uses ssl-traceoptions; + } + container termination { + description "Configuration for Secure Socket Layer termination support service"; + uses ssl-termination-config; + } + container initiation { + description "Configuration for Secure Socket Layer initiation support service"; + uses ssl-initiation-config; + } + container proxy { + description "Configuration for Secure Socket Layer proxy support service"; + uses ssl-proxy-config; + } + } + container security-intelligence { + uses apply-advanced; + container category { + description "Category to be disabled"; + uses apply-advanced; + container all { + presence "enable all"; + description "All categories"; + uses apply-advanced; + container disable { + presence "enable disable"; + description "To disable all categories"; + } + } + list category-name { + key name; + ordered-by user; + uses secintel-category-disable; + } + } + leaf url { + description "Configure the url of feed server [https://:/]"; + type string; + } + leaf url-parameter { + description "Configure the parameter of url"; + type jt:unreadable; + } + leaf proxy-profile { + description "The proxy profile name"; + type string { + length "1 .. 64"; + } + } + container authentication { + description "Authenticate to use feed update services"; + uses apply-advanced; + leaf auth-token { + description "Token string for authentication"; + type string { + } + } + leaf tls-profile { + description "TLS profile"; + type string; + } + } + container traceoptions { + description "Security intelligence trace options"; + uses secintel-traceoptions; + } + list profile { + key name; + ordered-by user; + description "Configure security intelligence profile"; + uses secintel-profile-setting; + } + container default-policy { + description "Configure security intelligence default policy"; + uses apply-advanced; + list category-profiles { + key name; + ordered-by user; + description "Security intelligence category profiles"; + leaf name { + description "Name of security intelligence category"; + type string; + } + uses apply-advanced; + leaf profile-name { + description "Name of profile"; + type string; + } + } + } + list policy { + key name; + ordered-by user; + description "Configure security intelligence policy"; + uses secintel-policy-setting; + } + } + container icap-redirect { + description "Configure ICAP redirection service"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Congifure ICAP service profile"; + uses icap-profile-object; + } + container traceoptions { + description "ICAP redirect trace options"; + uses icap-redirect-traceoptions; + } + } + container advanced-anti-malware { + uses apply-advanced; + container connection { + presence "enable connection"; + uses apply-advanced; + leaf url { + description "The url of the cloud server [https://:]"; + type string; + } + container authentication { + description "The authentication profile for using cloud services"; + uses apply-advanced; + leaf tls-profile { + description "TLS profile"; + type string; + } + } + leaf proxy-profile { + description "Proxy profile"; + type string { + length "1 .. 63"; + } + } + leaf source-address { + description "The source ip for connecting to the cloud server."; + type jt:ipaddr; + } + leaf source-interface { + description "The source interface for connecting to the cloud server"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container default-policy { + presence "enable default-policy"; + description "Advanced Anti-malware default policy"; + uses apply-advanced; + container http { + description "Configure HTTP options"; + uses apply-advanced; + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name (default:default_profile)"; + type string { + length "1 .. 63"; + } + } + leaf action { + description "Action taken for contents with verdict meet threshold"; + type enumeration { + enum "permit" { + description "Allow contents"; + } + enum "block" { + description "Disallow contents"; + } + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + container smtp { + description "Configure SMTP options"; + uses apply-advanced; + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name (default:default_profile)"; + type string { + length "1 .. 63"; + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + container imap { + description "Configure IMAP options"; + uses apply-advanced; + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name (default:default_profile)"; + type string { + length "1 .. 63"; + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + leaf verdict-threshold { + description "Verdict threshold"; + type enumeration { + enum "1" { + description "Verdict-threshold level 1"; + } + enum "2" { + description "Verdict-threshold level 2"; + } + enum "3" { + description "Verdict-threshold level 3"; + } + enum "4" { + description "Verdict-threshold level 4"; + } + enum "5" { + description "Verdict-threshold level 5"; + } + enum "6" { + description "Verdict-threshold level 6"; + } + enum "7" { + description "Verdict-threshold level 7"; + } + enum "8" { + description "Verdict-threshold level 8"; + } + enum "9" { + description "Verdict-threshold level 9"; + } + enum "10" { + description "Verdict-threshold level 10"; + } + enum "recommended" { + description "Recommended verdict-threshold"; + } + } + } + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name"; + status deprecated; + type string { + length "1 .. 63"; + } + } + container fallback-options { + description "Fallback options for abnormal conditions"; + uses apply-advanced; + leaf action { + description "Action taken for fallback conditions"; + type enumeration { + enum "permit" { + description "Allow contents"; + } + enum "block" { + description "Disallow contents"; + } + } + } + container notification { + description "Notification action taken for fallback action"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware fallback action"; + type empty; + } + } + } + container default-notification { + description "Notification action taken for action"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware action"; + type empty; + } + } + container whitelist-notification { + description "Whitelist notification logging option"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware whitelist hit"; + type empty; + } + } + container blacklist-notification { + description "Blacklist notification logging option"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware blacklist hit"; + type empty; + } + } + } + list policy { + key name; + description "Advanced Anti-malware policy"; + leaf name { + description "Advanced Anti-malware policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + description "Policy match conditions"; + status deprecated; + uses apply-advanced; + leaf application { + description "Application"; + type enumeration { + enum "HTTP" { + description "HTTP Traffic"; + } + } + } + leaf verdict-threshold { + description "Verdict threshold"; + type enumeration { + enum "1" { + description "Verdict-threshold level 1"; + } + enum "2" { + description "Verdict-threshold level 2"; + } + enum "3" { + description "Verdict-threshold level 3"; + } + enum "4" { + description "Verdict-threshold level 4"; + } + enum "5" { + description "Verdict-threshold level 5"; + } + enum "6" { + description "Verdict-threshold level 6"; + } + enum "7" { + description "Verdict-threshold level 7"; + } + enum "8" { + description "Verdict-threshold level 8"; + } + enum "9" { + description "Verdict-threshold level 9"; + } + enum "10" { + description "Verdict-threshold level 10"; + } + enum "recommended" { + description "Recommended verdict-threshold"; + } + } + } + } + container then { + status deprecated; + uses apply-advanced; + leaf action { + description "Action taken for contents with verdict meet threshold"; + type enumeration { + enum "permit" { + description "Allow contents"; + } + enum "block" { + description "Disallow contents"; + } + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + container http { + description "Configure HTTP options"; + uses apply-advanced; + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name (default:default_profile)"; + type string { + length "1 .. 63"; + } + } + leaf action { + description "Action taken for contents with verdict meet threshold"; + type enumeration { + enum "permit" { + description "Allow contents"; + } + enum "block" { + description "Disallow contents"; + } + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + container smtp { + description "Configure SMTP options"; + uses apply-advanced; + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name (default:default_profile)"; + type string { + length "1 .. 63"; + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + container imap { + description "Configure IMAP options"; + uses apply-advanced; + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name (default:default_profile)"; + type string { + length "1 .. 63"; + } + } + container notification { + description "Notification action taken for contents with verdict meet threshold"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware actions"; + type empty; + } + } + } + leaf verdict-threshold { + description "Verdict threshold"; + type enumeration { + enum "1" { + description "Verdict-threshold level 1"; + } + enum "2" { + description "Verdict-threshold level 2"; + } + enum "3" { + description "Verdict-threshold level 3"; + } + enum "4" { + description "Verdict-threshold level 4"; + } + enum "5" { + description "Verdict-threshold level 5"; + } + enum "6" { + description "Verdict-threshold level 6"; + } + enum "7" { + description "Verdict-threshold level 7"; + } + enum "8" { + description "Verdict-threshold level 8"; + } + enum "9" { + description "Verdict-threshold level 9"; + } + enum "10" { + description "Verdict-threshold level 10"; + } + enum "recommended" { + description "Recommended verdict-threshold"; + } + } + } + leaf inspection-profile { + description "Advanced Anti-malware inspection-profile name"; + status deprecated; + type string { + length "1 .. 63"; + } + } + container fallback-options { + description "Fallback options for abnormal conditions"; + uses apply-advanced; + leaf action { + description "Action taken for fallback conditions"; + type enumeration { + enum "permit" { + description "Allow contents"; + } + enum "block" { + description "Disallow contents"; + } + } + } + container notification { + description "Notification action taken for fallback action"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware fallback action"; + type empty; + } + } + } + container default-notification { + description "Notification action taken for action"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware action"; + type empty; + } + } + container whitelist-notification { + description "Whitelist notification logging option"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware whitelist hit"; + type empty; + } + } + container blacklist-notification { + description "Blacklist notification logging option"; + uses apply-advanced; + leaf log { + description "Logging option for Advanced Anti-malware blacklist hit"; + type empty; + } + } + } + container traceoptions { + description "Advanced Anti-malware trace options"; + uses aamwd-traceoptions; + } + } + container user-identification { + description "Configure user-identification"; + uses apply-advanced; + container active-directory-access { + presence "enable active-directory-access"; + description "Configure active directory access"; + uses apply-advanced; + container traceoptions { + description "Active-directory-access Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "active-directory-authentication" { + description "Trace active directory auth"; + } + enum "configuration" { + description "Trace configuration"; + } + enum "db" { + description "Trace db"; + } + enum "ip-user-mapping" { + description "Trace ip-user-mapping module"; + } + enum "ip-user-probe" { + description "Trace ip-user-probe"; + } + enum "ipc" { + description "Trace ipc"; + } + enum "user-group-mapping" { + description "Trace user-group-mapping module"; + } + enum "wmic" { + description "Trace wmic"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list domain { + key name; + ordered-by user; + description "Configure active-directory-access domain"; + max-elements 2; + leaf name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container user { + description "User name"; + uses apply-advanced; + leaf user-name { + description "User name"; + type string { + length "1 .. 64"; + } + } + leaf password { + description "Password string"; + type string { + length "1 .. 128"; + } + } + } + list domain-controller { + key name; + ordered-by user; + description "Domain controller"; + max-elements 10; + leaf name { + description "Domain controller name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf address { + description "Address of domain controller"; + type jt:ipaddr; + } + } + container ip-user-mapping { + description "Ip-user-mapping"; + uses apply-advanced; + container discovery-method { + description "Discovery method"; + uses apply-advanced; + container wmi { + presence "enable wmi"; + description "WMI"; + uses apply-advanced; + leaf event-log-scanning-interval { + description "Interval of event log scanning"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 60"; + } + } + } + leaf initial-event-log-timespan { + description "Event log scanning timespan"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 168"; + } + } + } + } + } + } + container user-group-mapping { + description "User-group-mapping"; + uses user-group-mapping-type; + } + } + leaf no-on-demand-probe { + description "Disable on-demand probe"; + type empty; + } + leaf authentication-entry-timeout { + description "Authentication entry timeout number (0, 10-1440)"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf invalid-authentication-entry-timeout { + description "Invalid authentication entry timeout number (0, 10-1440)"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf firewall-authentication-forced-timeout { + description "Firewallauth fallback authentication entry forced timeout number (10-1440)"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf wmi-timeout { + description "Wmi timeout number"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 120"; + } + } + } + leaf thread { + description "Thread to do PC probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf probe-rate { + description "PC probe rate per minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1500"; + } + } + } + leaf-list event-log-identifier { + ordered-by user; + description "Event log identifier"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list logon-type { + ordered-by user; + description "Logon type"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + description "Configure filter address or prefix"; + uses apply-advanced; + list include { + key name; + ordered-by user; + description "Include address"; + max-elements 20; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + } + list exclude { + key name; + ordered-by user; + description "Exclude address"; + max-elements 20; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + } + } + } + list authentication-source { + key name; + ordered-by user; + description "Configure authentication-source"; + max-elements 2; + leaf name { + description "Authenticaton source name"; + type enumeration { + enum "aruba-clearpass" { + description "Authentication source from Aruba ClearPass"; + } + } + } + uses apply-advanced; + leaf authentication-entry-timeout { + description "Aruba ClearPass authentication entry timeout number (0, 10-1440)"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf invalid-authentication-entry-timeout { + description "Invalid authentication entry timeout number (0, 10-1440)"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Aruba ClearPass authentication table Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace Aruba ClearPass all modules"; + } + enum "clearpass-authentication" { + description "Trace Aruba ClearPass auth table management module"; + } + enum "configuration" { + description "Trace Aruba ClearPass configuration"; + } + enum "dispatcher" { + description "Trace dispatcher module"; + } + enum "ipc" { + description "Trace ipc"; + } + enum "user-query" { + description "Trace user-query module"; + } + } + } + } + } + container user-query { + description "ClearPass individual user query"; + uses apply-advanced; + container web-server { + description "Web server for user query"; + uses apply-advanced; + leaf server-name { + description "Web server name"; + type string { + length "1 .. 64"; + } + } + leaf connect-method { + description "Method of connecting to web server"; + type enumeration { + enum "https" { + description "HTTPS connection to web server"; + } + enum "http" { + description "HTTP connection to web server"; + } + } + } + leaf address { + description "IP address or hostname of web server"; + type string { + length "1 .. 128"; + } + } + leaf port { + description "Web server port"; + default "443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf ca-certificate { + description "Ca-certificate file name"; + type string { + length "1 .. 256"; + } + } + leaf client-id { + description "Client ID for OAuth2 grant"; + type string { + length "1 .. 64"; + } + } + leaf client-secret { + description "Client secret for OAuth2 grant"; + type string { + length "1 .. 128"; + } + } + leaf token-api { + description "API of acquiring token for OAuth2 authentication"; + type string { + length "1 .. 128"; + } + } + leaf query-api { + description "User query API"; + type string { + length "4 .. 128"; + } + } + leaf delay-query-time { + description "Delay time to send user query (0~60sec)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 60"; + } + } + } + } + container no-user-query { + presence "enable no-user-query"; + description "Disable user query from ClearPass"; + } + } + container device-information { + description "Device information configuration"; + uses apply-advanced; + container authentication-source { + description "Configure authentication-source"; + uses apply-advanced; + leaf authentication-source-name { + default "no-configured"; + type enumeration { + enum "active-directory" { + description "From windows active directory"; + } + enum "network-access-controller" { + description "From network access controller such as Aruba ClearPass or JIMS"; + } + enum "no-configured" { + description "No configuring authentication source for device entry"; + } + } + } + } + container end-user-profile { + description "End-user-profile configuration"; + uses apply-advanced; + list profile-name { + key name; + ordered-by user; + description "End-user-profile profile-name configuration"; + leaf name { + description "End-user-profile profile-name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + list attribute { + key name; + ordered-by user; + description "Attribute"; + leaf name { + description "Attribute name"; + type string; + } + uses apply-advanced; + choice attribute-value { + case case_1 { + leaf-list string { + ordered-by user; + description "Value type is strings"; + type string; + max-elements 20; + } + } + case case_2 { + container digital { + presence "enable digital"; + description "Value type is digital"; + uses apply-advanced; + leaf-list value { + ordered-by user; + description "Digital value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list from { + key name; + ordered-by user; + description "Range of digital value"; + leaf name { + description "Digit range's start value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf to { + description "Digit range's end value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + container traceoptions { + description "Device info related Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace device info all modules"; + } + enum "auth-source" { + description "Trace Auth source module"; + } + enum "configuration" { + description "Trace Device info configuration"; + } + enum "device-table" { + description "Trace device table management module"; + } + enum "ipid-all" { + description "Trace IPID all functions"; + } + enum "ipid-db" { + description "Trace IPID Database function"; + } + enum "ipid-entry" { + description "Trace IPID entry management function"; + } + enum "ipid-ipc" { + description "Trace IPID communication processing function"; + } + enum "ipid-message" { + description "Trace IPID message processing function"; + } + enum "ipid-others" { + description "Trace IPID other function"; + } + enum "ipid-server" { + description "Trace IPID server handling function"; + } + enum "ipid-statistics" { + description "Trace IPID statistics handling function"; + } + enum "ipid-task" { + description "Trace IPID task handling function"; + } + enum "profile-lookup" { + description "Trace End-user-profile lookup function"; + } + } + } + } + } + } + container identity-management { + description "Identity management configuration"; + uses apply-advanced; + leaf authentication-entry-timeout { + description "Authentication entry timeout number (0, 10-1440)"; + default "60"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf invalid-authentication-entry-timeout { + description "Invalid authentication entry timeout number (0, 10-1440)"; + default "30"; + units "minutes"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preserve-valid-user { + description "Null user will not overwrite valid user for the same ip"; + type empty; + } + container connection { + description "Connection to identity management"; + uses apply-advanced; + leaf connect-method { + description "Method of connection"; + type enumeration { + enum "https" { + description "HTTPS connection"; + } + enum "http" { + description "HTTP connection"; + } + } + } + leaf port { + description "Server port"; + default "443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container primary { + description "Primary server"; + uses server-connection-type; + } + container secondary { + description "Secondary server"; + uses server-connection-type; + } + leaf token-api { + description "API of acquiring token for OAuth2 authentication"; + type string { + length "1 .. 128"; + } + } + leaf query-api { + description "Query API"; + type string { + length "4 .. 128"; + } + } + } + container batch-query { + description "Batch query parameters"; + uses apply-advanced; + leaf items-per-batch { + description "Items number per batch query"; + default "200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf query-interval { + description "Query interval"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + container ip-query { + description "IP query parameters"; + uses apply-advanced; + leaf query-delay-time { + description "Delay time to send IP query (0~60sec)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 60"; + } + } + } + container no-ip-query { + presence "enable no-ip-query"; + description "Disable IP query"; + } + leaf max-connections { + description "Max connection number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + } + container filter { + description "Filter for query"; + uses apply-advanced; + list domain { + key name; + ordered-by user; + description "Domain filter"; + max-elements 20; + leaf name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + } + container include-ip { + description "Include IP filter"; + uses address-filter-type; + } + container exclude-ip { + description "Exclude IP filter"; + uses address-filter-type; + } + } + container traceoptions { + description "Tracing Options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace identity management all modules"; + } + enum "authentication-management" { + description "Trace advanced-query auth table management module"; + } + enum "configuration" { + description "Trace identity management configuration"; + } + enum "dispatcher" { + description "Trace dispatcher module"; + } + enum "query" { + description "Trace query process"; + } + } + } + } + } + } + } + container ip-monitoring { + description "IP monitoring for route action"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Policy for route action"; + leaf name { + description "Policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf no-preempt { + description "No automatic failback preemption once policy failover"; + type empty; + } + container match { + description "Matching probing condition"; + uses apply-advanced; + leaf-list rpm-probe { + ordered-by user; + description "RPM probe name"; + type string; + } + } + container then { + description "Action to be taken"; + uses action-object-type; + } + } + container traceoptions { + description "IP-Monitoring trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "errors" { + description "Trace errors"; + } + enum "memory" { + description "Trace memory allocation or deallocation messages"; + } + enum "event" { + description "Trace events"; + } + enum "all" { + description "Trace events"; + } + } + } + } + } + } + container wireless-wan { + description "Wireless WAN configuration"; + uses apply-advanced; + list adapter { + key name; + ordered-by user; + description "Wireless adapter name configuration"; + leaf name { + description "Wireless adapter name"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + leaf ip-address { + description "Adapter management IP address"; + type jt:ipaddr; + } + leaf adapter-type { + description "Select adapter type"; + type enumeration { + enum "cx-bridge" { + description "Adapter type - CX-bridge"; + } + } + } + container modem { + description "Adapter modem settings"; + uses apply-advanced; + container usb1 { + presence "enable usb1"; + description "Adapter USB1 modem name"; + uses apply-advanced; + leaf description { + description "Text description for modem"; + type string; + } + } + container usb2 { + presence "enable usb2"; + description "Adapter USB2 modem name"; + uses apply-advanced; + leaf description { + description "Text description for modem"; + type string; + } + } + container usb3 { + presence "enable usb3"; + description "Adapter USB3 modem name"; + uses apply-advanced; + leaf description { + description "Text description for modem"; + type string; + } + } + container expresscard { + presence "enable expresscard"; + description "Adapter Expresscard modem name"; + uses apply-advanced; + leaf description { + description "Text description for modem"; + type string; + } + } + } + } + } + container proxy { + description "Proxy setting for services"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "Proxy profile"; + uses proxy-profile-setting; + } + } + container service-interface-pools { + description "Configure service interface pools"; + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define service interface pool"; + uses service_interface_pool_object; + } + } + container hosted-services { + description "Configuration for services performed in the remote server"; + uses apply-advanced; + list client-profile { + key name; + ordered-by user; + description "Configure client profile"; + leaf name { + description "Client profile name"; + type string { + length "3 .. 32"; + } + } + uses apply-advanced; + leaf transport-type { + description "Transport type"; + type enumeration { + enum "GRE" { + description "GRE"; + } + enum "UDP" { + description "UDP"; + } + enum "TCP" { + description "TCP"; + } + } + } + leaf client-address { + description "Client address"; + type jt:ipv4addr; + } + leaf hosted-service-identifier { + description "Identifier for the service performed on the remote server"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 63"; + } + } + } + } + list server-profile { + key name; + ordered-by user; + description "Configure server profile"; + leaf name { + description "Server profile name"; + type string { + length "3 .. 32"; + } + } + uses apply-advanced; + leaf transport-type { + description "Transport type"; + type enumeration { + enum "GRE" { + description "GRE"; + } + enum "UDP" { + description "UDP"; + } + enum "TCP" { + description "TCP"; + } + } + } + leaf server-address { + description "Server address"; + type jt:ipv4addr; + } + leaf client-address { + description "Client address"; + type jt:ipv4addr; + } + leaf hosted-service-identifier { + description "Identifier for the service performed in the remote server"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 63"; + } + } + } + } + } + container jflow-log { + presence "enable jflow-log"; + description "Configure jflow-logging parameters for services"; + uses apply-advanced; + list collector { + key name; + ordered-by user; + description "Collector attributes"; + leaf name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf destination-address { + description "IPv4 Address or hostname of the collector"; + type string { + } + } + leaf destination-port { + description "Destination port of the collector"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf source-ip { + description "Source IPv4 Address from which logging is to be done"; + type jt:ipv4addr; + } + } + list collector-group { + key name; + ordered-by user; + leaf name { + description "Name of collector-group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list collector { + ordered-by user; + description "List of Collector profiles"; + type string { + length "1 .. 63"; + } + max-elements 8; + } + } + list template-profile { + key name; + ordered-by user; + leaf name { + description "Specify name of the template"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf collector { + description "Specify a collector name"; + type string { + length "1 .. 63"; + } + } + leaf-list collector-group { + ordered-by user; + description "Specify a collector-group name"; + type string { + length "1 .. 63"; + } + max-elements 1; + } + leaf template-type { + description "Allow jflow-log for applications"; + type enumeration { + enum "nat" { + description "Enable jflow-logs for NAT events"; + } + } + } + leaf version { + description "Version of jflow-logging"; + type enumeration { + enum "v9" { + description "Version 9"; + } + enum "ipfix" { + description "Ipfix"; + } + } + } + container refresh-rate { + presence "enable refresh-rate"; + uses apply-advanced; + leaf packets { + description "Specify number of packets after which templates are sent to collector"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48000"; + } + } + } + leaf seconds { + description "Specify number of seconds after which templates are sent to collector"; + default "1800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1800"; + } + } + } + } + } + } + container service-device-pools { + description "Configure service device pools"; + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define service device pool"; + uses service_device_pool_object; + } + } + container redundancy-set { + description "Redundancy-set settings"; + uses apply-advanced; + container traceoptions { + description "Services redundancy trace options"; + uses srd-traceoptions-object; + } + list rs-id-object { + key name; + ordered-by user; + description "Definition of redundancy-set"; + uses srd-rs-id-object; + } + } + container url-filter { + description "URL filtering service configuration"; + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "URL Filter profile"; + max-elements 8; + uses urlf_profile_object; + } + container traceoptions { + description "Trace options for URL Filter "; + uses urlf_traceoptions_object; + } + } + } + } + grouping aamwd-traceoptions { + description "Advanced anti-malware trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + enum "connection" { + description "Trace the connection to server"; + } + enum "content" { + description "Trace the content buffer management"; + } + enum "daemon" { + description "Trace advanced-anti-malware daemon"; + } + enum "http" { + description "Trace http protocol operations"; + } + enum "identification" { + description "Trace file identification"; + } + enum "imap" { + description "Trace imap protocol operations"; + } + enum "parser" { + description "Trace protocol context parser"; + } + enum "plugin" { + description "Trace advanced-anti-malware plugin"; + } + enum "policy" { + description "Trace advanced-anti-malware policy"; + } + enum "smtp" { + description "Trace smtp protocol operations"; + } + } + } + } + } + grouping action-object-type { + uses apply-advanced; + container preferred-route { + description "Preferred route action"; + uses apply-advanced; + list routing-instances { + key name; + ordered-by user; + description "Routing-instance"; + leaf name { + type string; + } + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination of route-action"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + } + leaf preferred-metric { + description "Preferred metric value assigned to route action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + list route { + key name; + ordered-by user; + description "Route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination of route-action"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + } + leaf preferred-metric { + description "Preferred metric value assigned to route action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface enabling/disabling action"; + leaf name { + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice action { + case case_1 { + leaf enable { + description "Enable interface"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable interface"; + type empty; + } + } + } + } + } + grouping address-filter-type { + description "IP address filter"; + uses apply-advanced; + leaf address-book { + description "Referenced address book"; + type string; + } + leaf address-set { + description "Referenced address set"; + type string { + length "1 .. 63"; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping bgp-logical-system { + description "Logical systems configuration for rpm"; + leaf name { + description "Logical system name"; + type string { + } + } + uses apply-advanced; + list routing-instances { + key name; + description "Routing instances"; + uses bgp-routing-instances; + } + } + grouping bgp-routing-instances { + description "Routing-instance configuration for rpm"; + leaf name { + description "Routing instance name"; + type string; + } + uses apply-advanced; + } + grouping drop-policy-term { + description "One or more drop terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + container source-address { + description "Source IP Address"; + presence "enable source-address"; + uses li_policy_addr_simple_object; + } + container destination-address { + description "Destination IP Address"; + presence "enable destination-address"; + uses li_policy_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match source port"; + uses match_li_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match destination port"; + uses match_li_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_li_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_li_simple_dscp_value; + } + } + } + } + } + grouping drop-policy6-term { + description "One or more drop terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + container source-address { + description "Source IPv6 Address or Prefix"; + presence "enable source-address"; + uses li_policy_addr6_simple_object; + } + container destination-address { + description "Destination IPv6 Address or Prefix"; + presence "enable destination-address"; + uses li_policy_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match source port"; + uses match_li_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match destination port"; + uses match_li_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_li_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_li_simple_dscp_value; + } + } + } + } + } + grouping family { + container inet { + description "IPv4 parameters"; + uses apply-advanced; + choice if-addr { + case case_1 { + leaf dhcp { + description "Enable DHCP on ethernet interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + } + } + } + } + grouping icap-profile-object { + leaf name { + description "ICAP service profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list server { + key name; + ordered-by user; + description "Configure service redirection server"; + max-elements 16; + uses icap-redir-server; + } + container http { + description "ICAP methods switch"; + uses http-redirect-object; + } + container fallback-option { + description "Failure event actions"; + uses icap-redirect-fallback; + } + leaf timeout { + description "Server response timeout in milliseconds"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 50000"; + } + } + } + } + grouping http-redirect-object { + uses apply-advanced; + leaf redirect-request { + description "Enable redirect service on HTTP request"; + type empty; + } + leaf redirect-response { + description "Enable redirect service on HTTP response"; + type empty; + } + } + grouping icap-redir-server { + leaf name { + description "Server name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container authorization { + description "User authentication"; + uses apply-advanced; + leaf authorization-type { + description "Authentication type. 'Basic' by default"; + type string { + length "1 .. 127"; + } + } + container credentials { + description "Credentials text"; + choice credentials-choice { + case case_1 { + leaf ascii { + description "ASCII string"; + type string { + length "1 .. 511"; + } + } + } + case case_2 { + leaf base64 { + description "Base64 string"; + type string { + length "1 .. 511"; + } + } + } + } + } + } + leaf host { + description "Host name/IP address"; + type string { + length "1 .. 255"; + } + } + leaf port { + description "Server listening port"; + default "1344"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1025 .. 65535"; + } + } + } + leaf reqmod-uri { + description "REQMOD option resource identifier"; + type string { + length "0 .. 1023"; + } + } + leaf respmod-uri { + description "RESPMOD option resource identifier"; + type string { + length "0 .. 1023"; + } + } + container routing-instance { + description "Routing instance"; + leaf ri-name { + description "Routing instance name"; + type string { + length "1 .. 127"; + } + } + } + leaf sockets { + description "Number of connections to create"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 64"; + } + } + } + leaf tls-profile { + description "TLS profile"; + type string { + length "1 .. 63"; + } + } + } + grouping icap-redirect-fallback { + uses apply-advanced; + leaf timeout { + description "Request timeout action"; + default "permit"; + type enumeration { + enum "permit" { + description "Direct permit action"; + } + enum "log-permit" { + description "Log then permit action"; + } + enum "block" { + description "Block action"; + } + } + } + leaf connectivity { + description "Connection-related failure action"; + default "permit"; + type enumeration { + enum "permit" { + description "Direct permit action"; + } + enum "log-permit" { + description "Log then permit action"; + } + enum "block" { + description "Block action"; + } + } + } + leaf default-action { + description "Default failure action"; + default "permit"; + type enumeration { + enum "permit" { + description "Direct permit action"; + } + enum "log-permit" { + description "Log then permit action"; + } + enum "block" { + description "Block action"; + } + } + } + } + grouping icap-redirect-traceoptions { + description "ICAP redirect traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + enum "icap-redirect-re" { + description "Trace events on RE side"; + } + enum "icap-redirect-control" { + description "Trace events on PFE-ukernel side"; + } + enum "icap-redirect-connection" { + description "Trace ICAP server connection events"; + } + enum "icap-redirect-protocol" { + description "Trace redirect packet events"; + } + } + } + } + } + grouping juniper-services-captive-portal { + uses apply-advanced; + leaf authentication-profile-name { + description "Access profile name to use for authentication"; + type string { + length "1 .. 63"; + } + } + container traceoptions { + description "Trace options for CAPTIVE PORTAL"; + status deprecated; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "dot1x-debug" { + description "Trace dot1x events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "esw-if" { + description "Trace ESW Interactions"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace task processing"; + } + enum "timer" { + description "Trace task timer processing"; + } + enum "all" { + description "Trace everything"; + } + enum "dot1x-ipc" { + description "Trace dot1x IPC interactions"; + } + enum "dot1x-event" { + description "Trace dot1x events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list interface { + key name; + description "Captive Portal interface specific options"; + leaf name { + type string; + } + uses apply-advanced; + leaf supplicant { + description "Set supplicant mode for this interface"; + type enumeration { + enum "single" { + description "Allow multiple clients; authenticate first client only"; + } + enum "single-secure" { + description "Allow and authenticate only a single client"; + } + enum "multiple" { + description "Allow multiple clients; authenticate each individually"; + } + } + } + leaf retries { + description "Number of retries after which port is placed into wait state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf quiet-period { + description "Time to wait after an authentication failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf server-timeout { + description "Authentication server timeout interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf session-expiry { + description "Session Expiry Timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf user-keepalive { + description "Session keepalive after mac-flush"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "7 .. 65535"; + } + } + } + } + leaf secure-authentication { + description "Set secure authentication using encrypted HTTPS or insecure authentication using plain-text HTTP"; + default "http"; + type enumeration { + enum "http" { + description "Insecure plain-text HTTP will be used for Captive Portal authentication, username and password can be sniffed"; + } + enum "https" { + description "Encrypted HTTPS will be used for Captive Portal authentication"; + } + } + } + container custom-options { + presence "enable custom-options"; + description "Captive Portal html user interface customization options"; + uses apply-advanced; + leaf header-logo { + description "Path to logo image file"; + type string { + length "1 .. 255"; + } + } + leaf header-bgcolor { + description "Background color of the html header in hex html format"; + type string { + length 7; + } + } + leaf header-text-color { + description "Text color of the html header in hex html format"; + type string { + length 7; + } + } + leaf header-message { + description "Message to be displayed in the html header"; + type string { + length "1 .. 2047"; + } + } + leaf banner-message { + description "Terms and Conditions of usage message"; + type string { + length "1 .. 2047"; + } + } + leaf form-header-message { + description "Message to be displayed in the login form header"; + type string { + length "1 .. 255"; + } + } + leaf form-header-bgcolor { + description "Background color of the login form header in hex html format"; + type string { + length 7; + } + } + leaf form-header-text-color { + description "Text color of the login form header in hex html format"; + type string { + length 7; + } + } + leaf form-submit-label { + description "Label to be displayed for the login form submit button"; + type string { + length "1 .. 255"; + } + } + leaf form-reset-label { + description "Label to be displayed for the login form reset button"; + type string { + length "1 .. 255"; + } + } + leaf footer-message { + description "Message to be displayed in the html footer"; + type string { + length "1 .. 2047"; + } + } + leaf footer-bgcolor { + description "Background color of the html footer in hex html format"; + type string { + length 7; + } + } + leaf footer-text-color { + description "Text color of the footer in hex html format"; + type string { + length 7; + } + } + leaf post-authentication-url { + description "Post authentication redirection URL"; + type string { + length "1 .. 255"; + } + } + } + } + grouping li_policy_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping li_policy_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping match_li_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_li_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_li_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping monitor-threshold { + leaf normal { + description "Usage under normal conditions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf threshold { + description "Threshold upon which alarm is raised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + grouping proxy-profile-setting { + description "Proxy profile settings"; + leaf name { + description "Proxy profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container protocol { + description "Protocol level proxy setting"; + uses apply-advanced; + container http { + description "HTTP proxy setting"; + uses apply-advanced; + leaf host { + description "Proxy server name or IP address"; + type string { + length "1 .. 256"; + } + } + leaf port { + description "Proxy server port"; + default "3128"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + } + } + } + grouping rmopd-traceoptions { + description "Trace options for remote-monitoring"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "ipc" { + description "Trace ipc messages"; + } + enum "ppm" { + description "Trace ppm"; + } + enum "statistics" { + description "Trace statistics"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping secintel-category-disable { + description "Security intelligence category"; + leaf name { + description "Name of security intelligence category"; + type enumeration { + enum "IPFilter" { + description "IPFilter"; + } + enum "GeoIP" { + description "GeoIP"; + } + enum "CC" { + description "Command and control"; + } + enum "JWAS" { + description "JWAS"; + } + enum "Blacklist" { + description "Blacklist"; + } + enum "Whitelist" { + description "Whitelist"; + } + enum "Infected-Hosts" { + description "Infected-Hosts"; + } + } + } + uses apply-advanced; + container disable { + presence "enable disable"; + description "To disable category for feed update"; + } + } + grouping secintel-policy-setting { + description "Security intelligence policy setting"; + leaf name { + description "Security intelligence policy name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of policy"; + type string { + length "1 .. 900"; + } + } + list category-profiles { + key name; + ordered-by user; + description "Security intelligence category profiles"; + leaf name { + description "Name of security intelligence category"; + type string; + } + uses apply-advanced; + leaf profile-name { + description "Name of profile"; + type string; + } + } + } + grouping secintel-profile-setting { + description "Security intelligence profile settings"; + leaf name { + description "Security intelligence profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of profile"; + type string { + length "1 .. 900"; + } + } + leaf category { + description "Profile category name"; + type string; + } + list rule { + key name; + ordered-by user; + description "Profile rule name"; + uses secintel-profile-rule; + } + container default-rule { + presence "enable default-rule"; + description "Profile default rule"; + uses apply-advanced; + container then { + presence "enable then"; + description "Profile default rule action"; + uses apply-advanced; + container action { + description "Security intelligence profile action"; + uses apply-advanced; + choice action { + case case_1 { + leaf permit { + description "Permit action"; + type empty; + } + } + case case_2 { + container block { + description "Block action"; + uses apply-advanced; + choice action { + case case_1 { + container drop { + presence "enable drop"; + description "Drop packet"; + } + } + case case_2 { + container close { + presence "enable close"; + description "Close session"; + uses apply-advanced; + container http { + description "Http content for block action"; + uses apply-advanced; + choice http-choice { + case case_1 { + leaf file { + description "File name for http response to client"; + type string; + } + } + case case_2 { + leaf message { + description "Block message to client"; + type string; + } + } + case case_3 { + leaf redirect-url { + description "Redirect url to client"; + type string { + length "1 .. 1023"; + } + } + } + } + } + } + } + } + } + } + case case_3 { + container recommended { + presence "enable recommended"; + description "Recommended action from feed server"; + } + } + } + } + choice log-choice { + leaf log { + description "Log security intelligence block action"; + type empty; + } + leaf no-log { + description "Don't log security intelligence block action"; + type empty; + } + } + } + } + } + grouping secintel-profile-rule { + description "Security intelligence profile rule"; + leaf name { + description "Profile rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + description "Profile matching feed name and threat levels"; + uses apply-advanced; + leaf-list feed-name { + ordered-by user; + description "Profile matching feed name"; + type string; + max-elements 32; + } + leaf-list threat-level { + ordered-by user; + description "Profile matching threat levels, higher number is more severe"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container then { + description "Profile action and log"; + uses apply-advanced; + container action { + description "Security intelligence profile action"; + uses apply-advanced; + choice action { + case case_1 { + leaf permit { + description "Permit action"; + type empty; + } + } + case case_2 { + container block { + description "Block action"; + uses apply-advanced; + choice action { + case case_1 { + container drop { + presence "enable drop"; + description "Drop packet"; + } + } + case case_2 { + container close { + presence "enable close"; + description "Close session"; + uses apply-advanced; + container http { + description "Http content for block action"; + uses apply-advanced; + choice http-choice { + case case_1 { + leaf file { + description "File name for http response to client"; + type string; + } + } + case case_2 { + leaf message { + description "Block message to client"; + type string; + } + } + case case_3 { + leaf redirect-url { + description "Redirect url to client"; + type string { + length "1 .. 1023"; + } + } + } + } + } + } + } + } + } + } + case case_3 { + container recommended { + presence "enable recommended"; + description "Recommended action from feed server"; + } + } + } + } + container log { + presence "enable log"; + description "Log security intelligence block action"; + } + } + } + grouping secintel-traceoptions { + description "Security intelligence trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Trace flags"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + enum "blacklist" { + description "Trace security intelligence Blacklist category"; + } + enum "cc" { + description "Trace security intelligence CC category"; + } + enum "infected-hosts" { + description "Trace security intelligence Infected-Hosts category"; + } + enum "control" { + description "Trace control plane"; + } + enum "feed" { + description "Trace feed operation"; + } + enum "ipc" { + description "Trace ipc module"; + } + enum "infrastucture" { + description "Trace infrastucture functions"; + } + enum "jwas" { + description "Trace security intelligence JWAS category"; + } + enum "plugin" { + description "Trace security intelligence plugin services"; + } + enum "whitelist" { + description "Trace security intelligence Whitelist category"; + } + } + } + } + } + grouping server-connection-type { + description "Connection parameters per server"; + uses apply-advanced; + leaf address { + description "IP address"; + type jt:ipaddr; + } + leaf ca-certificate { + description "Ca-certificate file name"; + type string { + length "1 .. 256"; + } + } + leaf client-id { + description "Client ID for OAuth2 grant"; + type string { + length "1 .. 64"; + } + } + leaf client-secret { + description "Client secret for OAuth2 grant"; + type string { + length "1 .. 128"; + } + } + } + grouping service_device_pool_object { + leaf name { + description "Service device pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Service device name"; + leaf name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping service_interface_pool_object { + leaf name { + description "Service interface pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Service interface name"; + leaf name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping srd-rs-id-object { + description "Definition of redundancy-set"; + leaf name { + description "Redundancy set identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + uses apply-advanced; + leaf redundancy-group { + description "Name of redundancy-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf-list redundancy-policy { + description "Redundancy-policy list"; + type string; + } + leaf keepalive { + description "Frequency of SRD hello messages"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf hold-time { + description "Time before SRD peer is declared down"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf healthcheck-timer-interval { + description "Healthcheck timer interval"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + grouping srd-traceoptions-object { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "config" { + description "Trace parse events"; + } + enum "connect" { + description "Trace ipc events"; + } + enum "route" { + description "Trace route events"; + } + enum "ssd" { + description "Trace SDK Service events"; + } + enum "snmp" { + description "Trace snmp events"; + } + enum "system" { + description "Trace services redundancy system events"; + } + enum "opcmd" { + description "Trace operational command events"; + } + enum "state-machine" { + description "Trace finite-state-machine events"; + } + enum "kcom" { + description "Trace KCOM events"; + } + enum "database" { + description "Trace database events"; + } + enum "swithover" { + description "Trace switchover events"; + } + enum "stateful-sync" { + description "Trace stateful-sync related events"; + } + enum "redundancy-group" { + description "Trace redundancy-group related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping ssl-initiation-config { + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "SSL client profile"; + leaf name { + description "Profile identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf enable-flow-tracing { + description "Enable flow tracing for the profile"; + type empty; + } + leaf protocol-version { + description "Protocol SSL version accepted"; + default "all"; + type enumeration { + enum "all" { + description "TLS version 1 or TLS version 1.1 or TLS version 1.2"; + } + enum "ssl3" { + description "SSL version 3"; + } + enum "tls1" { + description "TLS version 1"; + } + enum "tls11" { + description "TLS version 1.1"; + } + enum "tls12" { + description "TLS version 1.2"; + } + } + } + leaf preferred-ciphers { + description "Select preferred ciphers"; + default "medium"; + type enumeration { + enum "strong" { + description "Use ciphers with key strength of 168-bits or greater"; + } + enum "medium" { + description "Use ciphers with key strength of 128-bits or greater"; + } + enum "weak" { + description "Use ciphers with key strength of 40-bits or greater"; + } + enum "custom" { + description "Configure custom cipher suite and order of preference"; + } + } + } + leaf-list custom-ciphers { + ordered-by user; + description "Custom cipher list"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-des-cbc-sha" { + description "RSA, des cbc, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "rsa-export-with-rc4-40-md5" { + description "RSA-export, 40 bit rc4, md5 hash"; + } + enum "rsa-export-with-des40-cbc-sha" { + description "RSA-export, 40 bit des/cbc, sha hash"; + } + enum "rsa-export1024-with-des-cbc-sha" { + description "RSA 1024 bit export, des/cbc, sha hash"; + } + enum "rsa-export1024-with-rc4-56-md5" { + description "RSA 1024 bit export, 56 bit rc4, md5 hash"; + } + enum "rsa-export1024-with-rc4-56-sha" { + description "RSA 1024 bit export, 56 bit rc4, sha hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 3des ede/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + } + max-elements 64; + } + leaf enable-session-cache { + description "Enable SSL session cache"; + type empty; + } + leaf-list trusted-ca { + ordered-by user; + description "List of trusted certificate authority profiles"; + type string; + max-elements 1024; + } + leaf client-certificate { + description "Local certificate identifier"; + type string { + } + } + container actions { + description "Traffic related actions"; + uses apply-advanced; + leaf ignore-server-auth-failure { + description "Ignore server authentication failure"; + type empty; + } + container crl { + description "Certificate Revocation actions."; + leaf disable { + description "Disable CRL validation."; + type empty; + } + leaf if-not-present { + description "Action if CRL information is not present."; + default "allow"; + type enumeration { + enum "allow" { + description "Allow session if CRL information is not present."; + } + enum "drop" { + description "Drop session if CRL information is not present."; + } + } + } + leaf ignore-hold-instruction-code { + description "Ignore 'Hold Instruction Code' present in the CRL entry."; + type empty; + } + } + leaf unsupported-cipher-on-hw { + description "Unsupported cipher processing on hardware mode"; + default "drop"; + type enumeration { + enum "drop" { + description "Drop session if cipher isn't supported on hardware mode"; + } + enum "software-inspection" { + description "Allow session in software mode"; + } + } + } + } + } + } + grouping ssl-proxy-config { + uses apply-advanced; + container global-config { + description "Global proxy configuration"; + uses apply-advanced; + leaf session-cache-timeout { + description "Session cache timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 3600"; + } + } + } + leaf disable-cert-cache { + description "Disable proxy mode certificate cache"; + type empty; + } + leaf certificate-cache-timeout { + description "Certificate cache timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 3600"; + } + } + } + leaf invalidate-cache-on-crl-update { + description "Invalidate certificate cache on crl update"; + type empty; + } + } + list profile { + key name; + ordered-by user; + description "SSL Proxy profile"; + leaf name { + description "Profile identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf enable-flow-tracing { + description "Enable flow tracing for the profile"; + type empty; + } + leaf preferred-ciphers { + description "Select preferred ciphers"; + default "medium"; + type enumeration { + enum "strong" { + description "Use ciphers with key strength of 168-bits or greater"; + } + enum "medium" { + description "Use ciphers with key strength of 128-bits or greater"; + } + enum "weak" { + description "Use ciphers with key strength of 40-bits or greater"; + } + enum "custom" { + description "Configure custom cipher suite and order of preference"; + } + } + } + leaf-list custom-ciphers { + ordered-by user; + description "Custom cipher list"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-des-cbc-sha" { + description "RSA, des cbc, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "rsa-export-with-rc4-40-md5" { + description "RSA-export, 40 bit rc4, md5 hash"; + } + enum "rsa-export-with-des40-cbc-sha" { + description "RSA-export, 40 bit des/cbc, sha hash"; + } + enum "rsa-export1024-with-des-cbc-sha" { + description "RSA 1024 bit export, des/cbc, sha hash"; + } + enum "rsa-export1024-with-rc4-56-md5" { + description "RSA 1024 bit export, 56 bit rc4, md5 hash"; + } + enum "rsa-export1024-with-rc4-56-sha" { + description "RSA 1024 bit export, 56 bit rc4, sha hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 3des ede/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + } + max-elements 64; + } + leaf-list trusted-ca { + ordered-by user; + description "List of trusted certificate authority profiles"; + type string; + max-elements 1024; + } + choice certificate { + case case_1 { + leaf root-ca { + description "Root certificate for interdicting server certificates in proxy mode"; + type string { + } + } + } + case case_2 { + leaf-list server-certificate { + ordered-by user; + description "Local certificate identifier"; + type string; + max-elements 1024; + } + } + } + leaf-list whitelist { + ordered-by user; + description "Addresses exempted from SSL Proxy "; + type string; + } + leaf-list whitelist-url-categories { + ordered-by user; + type string; + } + container actions { + description "Logging and traffic related actions"; + uses apply-advanced; + leaf ignore-server-auth-failure { + description "Ignore server authentication failure"; + type empty; + } + container log { + presence "enable log"; + description "Logging actions"; + leaf all { + description "Log all events"; + type empty; + } + leaf sessions-dropped { + description "Log only ssl session drop events"; + type empty; + } + leaf sessions-allowed { + description "Log ssl session allow events after an error"; + type empty; + } + leaf sessions-ignored { + description "Log session ignore events "; + type empty; + } + leaf sessions-whitelisted { + description "Log ssl session whitelist events "; + type empty; + } + leaf errors { + description "Log all error events "; + type empty; + } + leaf warning { + description "Log all warning events "; + type empty; + } + leaf info { + description "Log all information events "; + type empty; + } + } + container crl { + description "Certificate Revocation actions."; + leaf disable { + description "Disable CRL validation."; + type empty; + } + leaf if-not-present { + description "Action if CRL information is not present."; + default "allow"; + type enumeration { + enum "allow" { + description "Allow session if CRL information is not present."; + } + enum "drop" { + description "Drop session if CRL information is not present."; + } + } + } + leaf ignore-hold-instruction-code { + description "Ignore 'Hold Instruction Code' present in the CRL entry."; + type empty; + } + } + leaf renegotiation { + description "Renegotiation options"; + default "allow-secure"; + type enumeration { + enum "allow" { + description "Allow secure as well as non secure renegotiation"; + } + enum "allow-secure" { + description "Allow secure negotiation only (RFC 5746)"; + } + enum "drop" { + description "Drop session on renegotiation request"; + } + } + } + leaf disable-session-resumption { + description "Disable session resumption"; + type empty; + } + leaf unsupported-cipher-on-hw { + description "Unsupported cipher processing on hardware mode"; + default "drop"; + type enumeration { + enum "drop" { + description "Drop session if cipher isn't supported on hardware mode"; + } + enum "software-inspection" { + description "Allow session in software mode"; + } + } + } + } + } + } + grouping ssl-termination-config { + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "SSL server profile"; + leaf name { + description "Profile identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf enable-flow-tracing { + description "Enable flow tracing for the profile"; + type empty; + } + leaf protocol-version { + description "Protocol SSL version accepted"; + default "all"; + type enumeration { + enum "all" { + description "TLS version 1 or TLS version 1.1 or TLS version 1.2"; + } + enum "ssl3" { + description "SSL version 3"; + } + enum "tls1" { + description "TLS version 1"; + } + enum "tls11" { + description "TLS version 1.1"; + } + enum "tls12" { + description "TLS version 1.2"; + } + } + } + leaf preferred-ciphers { + description "Select preferred ciphers"; + default "medium"; + type enumeration { + enum "strong" { + description "Use ciphers with key strength of 168-bits or greater"; + } + enum "medium" { + description "Use ciphers with key strength of 128-bits or greater"; + } + enum "weak" { + description "Use ciphers with key strength of 40-bits or greater"; + } + enum "custom" { + description "Configure custom cipher suite and order of preference"; + } + } + } + leaf-list custom-ciphers { + ordered-by user; + description "Custom cipher list"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-des-cbc-sha" { + description "RSA, des cbc, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "rsa-export-with-rc4-40-md5" { + description "RSA-export, 40 bit rc4, md5 hash"; + } + enum "rsa-export-with-des40-cbc-sha" { + description "RSA-export, 40 bit des/cbc, sha hash"; + } + enum "rsa-export1024-with-des-cbc-sha" { + description "RSA 1024 bit export, des/cbc, sha hash"; + } + enum "rsa-export1024-with-rc4-56-md5" { + description "RSA 1024 bit export, 56 bit rc4, md5 hash"; + } + enum "rsa-export1024-with-rc4-56-sha" { + description "RSA 1024 bit export, 56 bit rc4, sha hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 3des ede/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + } + max-elements 64; + } + leaf enable-session-cache { + description "Enable SSL session cache"; + type empty; + } + leaf server-certificate { + description "Local certificate identifier"; + type string { + } + } + } + } + grouping ssl-traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "brief"; + type enumeration { + enum "brief" { + description "Brief debugging output"; + } + enum "detail" { + description "Detailed debugging output"; + } + enum "extensive" { + description "Extensive debugging output"; + } + enum "verbose" { + description "Verbose debugging output"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cli-configuration" { + description "Trace CLI configuration events"; + } + enum "termination" { + description "Trace termination service events"; + } + enum "initiation" { + description "Trace initiation service events"; + } + enum "proxy" { + description "Trace proxy service events"; + } + enum "selected-profile" { + description "Trace events for profiles with enable-flow-tracing set"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunnel_interface_type { + description "One or more tunnel interfaces on which to configure flow-tap service"; + leaf name { + description "Tunnel Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + grouping twamp-authentication-key-chain { + leaf name { + description "Name of authentication key chain"; + type string { + } + } + uses apply-advanced; + list key-id { + key name; + description "Authentication element configuration"; + leaf name { + description "Authentication element identifier"; + type string { + length "1 .. 80"; + } + } + uses apply-advanced; + leaf secret { + description "Authentication key"; + type string { + length "1 .. 256"; + } + } + } + } + grouping urlf_profile_object { + leaf name { + description "Name of profile"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf url-filter-database { + description "Full path of the file"; + type string { + length "1 .. 1024"; + } + } + list template { + key name; + ordered-by user; + description "URL filter template"; + max-elements 32; + uses urlf_template_object; + } + } + grouping urlf_template_object { + leaf name { + description "Name of template"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf-list client-interfaces { + ordered-by user; + description "Client facing interfaces on which the url filtering is applied"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 4; + } + leaf-list server-interfaces { + ordered-by user; + description "Server facing interfaces to which traffic destined to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 4; + } + leaf dns-source-interface { + description "Interface on which the DNS queries are originated"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dns-routing-instance { + description "Routing instance for DNS queries"; + type string; + } + leaf routing-instance { + description "Routing instance name"; + type string; + } + leaf-list dns-server { + ordered-by user; + description "One or more DNS servers addresses"; + type jt:ipaddr; + max-elements 2; + } + leaf dns-resolution-interval { + description "DNS resolution timer in minutes"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1440"; + } + } + } + leaf dns-retries { + description "DNS resolution attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf dns-resolution-rate { + description "DNS resolution rate per chunk interval"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 100"; + } + } + } + leaf url-filter-database { + description "Full path of the file"; + type string { + length "1 .. 1024"; + } + } + leaf disable-url-ip-filtering { + description "Disable filtering of IPs belonging to blocklisted domains"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a url filtering term"; + max-elements 8; + leaf name { + description "Term name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses urlf_match_object; + } + container then { + presence "enable then"; + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice url-filter-action { + case case_1 { + leaf redirect-url { + description "Redirect URL"; + type string { + length "1 .. 1024"; + } + } + } + case case_2 { + leaf custom-page { + description "Custome page string"; + type string { + length "1 .. 128"; + } + } + } + case case_3 { + leaf http-status-code { + description "HTTP status code value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "400 .. 599"; + } + } + } + } + case case_4 { + leaf tcp-reset { + description "TCP Reset"; + type empty; + } + } + case case_5 { + leaf accept { + description "Accept"; + type empty; + } + } + } + } + } + } + grouping urlf_match_object { + uses apply-advanced; + leaf-list src-ip-prefix { + ordered-by user; + description "Source IP Prefix list specification"; + type jt:ipprefix; + max-elements 10; + } + leaf-list dest-ports { + ordered-by user; + description " Destination port list specification"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + max-elements 10; + } + } + grouping urlf_traceoptions_object { + description "URL filtering trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "normal" { + description "Trace normal events"; + } + enum "config" { + description "Trace url filtering config events"; + } + enum "dns" { + description "Trace url filtering DNS crawler events"; + } + enum "timer" { + description "Trace url filtering timer events"; + } + enum "connect" { + description "Trace url filtering ipc events"; + } + enum "parse" { + description "Trace url filtering parse events"; + } + enum "statistics" { + description "Trace url filtering statistics events"; + } + enum "system" { + description "Trace url filtering system events"; + } + enum "operational-commands" { + description "Trace url filtering show events"; + } + enum "filter" { + description "Trace url filtering filter programming events"; + } + enum "gencfg" { + description "Trace url filtering gencfg events"; + } + enum "routing" { + description "Trace url filtering route programming events"; + } + enum "snmp" { + description "Trace url filtering snmp events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping user-group-mapping-type { + uses apply-advanced; + container ldap { + description "LDAP"; + uses apply-advanced; + leaf authentication-algorithm { + description "Authentication-algorithm"; + type enumeration { + enum "simple" { + description "Simple authentication"; + } + } + } + leaf ssl { + description "SSL"; + type empty; + } + leaf base { + description "Base distinguished name"; + type string { + length "1 .. 128"; + } + } + container user { + description "User name"; + uses apply-advanced; + leaf user-name { + description "User name"; + type string { + length "1 .. 64"; + } + } + leaf password { + description "Password string"; + type string { + length "1 .. 128"; + } + } + } + list address { + key name; + ordered-by user; + description "Address of LDAP server"; + leaf name { + description "Address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "LDAP port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + grouping version-ipfix-template { + description "One or more version-ipfix templates for flow monitoring"; + leaf name { + description "Name of template"; + type string; + } + uses apply-advanced; + leaf flow-active-timeout { + description "Interval after which active flow is exported"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf flow-inactive-timeout { + description "Period of inactivity that marks a flow inactive"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf template-id { + description "Template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf option-template-id { + description "Options template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf observation-domain-id { + description "Observation Domain Id"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container nexthop-learning { + presence "enable nexthop-learning"; + description "Nexthop learning parameter. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable nexthop learning"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable nexthop learning"; + type empty; + } + } + } + } + container template-refresh-rate { + presence "enable template-refresh-rate"; + description "Template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + container option-refresh-rate { + presence "enable option-refresh-rate"; + description "Option template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + choice template-types { + case case_1 { + } + case case_2 { + } + case case_3 { + } + case case_4 { + } + case case_5 { + } + case case_6 { + } + } + container flow-key { + description "Flow key for the template. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + leaf flow-direction { + description "Include flow direction"; + type empty; + } + leaf vlan-id { + description "Include vlan ID"; + type empty; + } + leaf output-interface { + description "Include output interface"; + type empty; + } + } + } + grouping version9-template { + description "One or more version 9 templates for flow monitoring"; + leaf name { + description "Name of template"; + type string; + } + uses apply-advanced; + leaf flow-active-timeout { + description "Interval after which active flow is exported"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf flow-inactive-timeout { + description "Period of inactivity that marks a flow inactive"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf template-id { + description "Template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf option-template-id { + description "Options template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf source-id { + description "Source Id"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container nexthop-learning { + description "Nexthop learning parameter. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable nexthop learning"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable nexthop learning"; + type empty; + } + } + } + } + container template-refresh-rate { + presence "enable template-refresh-rate"; + description "Template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + container option-refresh-rate { + presence "enable option-refresh-rate"; + description "Option template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + choice template-types { + case case_1 { + } + case case_2 { + } + case case_3 { + container ipv6-template { + presence "enable ipv6-template"; + description "IPv6 template configuration"; + uses apply-advanced; + container nexthop-options { + presence "enable nexthop-options"; + description "Additional information retrieved from nexthop"; + uses apply-advanced; + choice nexthop-types { + case case_1 { + container mpls { + presence "enable mpls"; + description "MPLS information retrieved from nexthop"; + uses apply-advanced; + leaf-list label-position { + ordered-by user; + description "One or more MPLS label positions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + max-elements 3; + } + } + } + } + } + } + } + case case_4 { + container peer-as-billing-template { + presence "enable peer-as-billing-template"; + description "Peer AS billing template configuration"; + } + } + case case_5 { + container ipv4-template { + presence "enable ipv4-template"; + description "IPv4 template configuration"; + uses apply-advanced; + } + } + case case_6 { + } + case case_7 { + } + } + container flow-key { + description "Flow key for the template. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + leaf flow-direction { + description "Include flow direction"; + type empty; + } + leaf vlan-id { + description "Include vlan ID"; + type empty; + } + leaf output-interface { + description "Include output interface"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-session-limit-group@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-session-limit-group@2019-01-01.yang new file mode 100644 index 00000000..a52b5c99 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-session-limit-group@2019-01-01.yang @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-session-limit-group { + namespace "http://yang.juniper.net/junos-es/conf/session-limit-group"; + + prefix jc-session-limit-group; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos session-limit-group configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses session-limit-group-group; + } + augment /jc:configuration/jc:groups { + uses session-limit-group-group; + } + grouping session-limit-group-group { + list session-limit-group { + key name; + ordered-by user; + leaf name { + description "Name of the group"; + type string { + length "1 .. 63"; + } + } + leaf maximum-sessions { + description "Maximum number of sessions per tunnel-group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-smtp@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-smtp@2019-01-01.yang new file mode 100644 index 00000000..8b4bfb7a --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-smtp@2019-01-01.yang @@ -0,0 +1,157 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-smtp { + namespace "http://yang.juniper.net/junos-es/conf/smtp"; + + prefix jc-smtp; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos smtp configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses smtp-group; + } + augment /jc:configuration/jc:groups { + uses smtp-group; + } + grouping smtp-group { + container smtp { + description "Simple Mail Transfer Protocol service configuration"; + uses apply-advanced; + container primary-server { + description "SMTP primary server configuration"; + uses apply-advanced; + leaf address { + description "SMTP server's IPv4 address"; + type jt:ipv4addr; + } + choice authentication { + case case_1 { + list login { + key name; + ordered-by user; + description "Configure a mail sender account to the server"; + uses login-object; + } + } + } + } + container secondary-server { + description "SMTP secondary server configuration"; + uses apply-advanced; + leaf address { + description "SMTP server's IPv4 address"; + type jt:ipv4addr; + } + choice authentication { + case case_1 { + list login { + key name; + ordered-by user; + description "Configure a mail sender account to the server"; + uses login-object; + } + } + } + } + container traceoptions { + description "Trace options for SMTP client service"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "IPC" { + description "Trace inter-processs communication"; + } + enum "protocol-exchange" { + description "Trace SMTP protocol exchanges"; + } + enum "configuration" { + description "Trace configuration event"; + } + enum "send-request" { + description "Trace send mail request event"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping login-object { + description "Mail login parameters"; + leaf name { + description "Default sender email address in user@foo.com format"; + type string { + } + } + uses apply-advanced; + leaf password { + description "Default sender password for user authentication"; + type jt:unreadable; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-snmp@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-snmp@2019-01-01.yang new file mode 100644 index 00000000..672b6944 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-snmp@2019-01-01.yang @@ -0,0 +1,2553 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-snmp { + namespace "http://yang.juniper.net/junos-es/conf/snmp"; + + prefix jc-snmp; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos snmp configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses snmp-group; + } + augment /jc:configuration/jc:groups { + uses snmp-group; + } + grouping snmp-group { + container snmp { + description "Simple Network Management Protocol configuration"; + uses apply-advanced; + leaf system-name { + description "System name override"; + type string; + } + leaf description { + description "System description"; + type string; + } + leaf location { + description "Physical location of system"; + type string; + } + leaf contact { + description "Contact information for administrator"; + type string; + } + leaf-list interface { + ordered-by user; + description "Restrict SNMP requests to interfaces"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter-interfaces { + presence "enable filter-interfaces"; + description "List of interfaces that needs to be filtered"; + uses apply-advanced; + list interfaces { + key name; + ordered-by user; + description "Filter specified interfaces"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf all-internal-interfaces { + description "Filter all internal interfaces"; + type empty; + } + } + leaf if-count-with-filter-interfaces { + description "Filter interfaces config for ifNumber and ipv6Interfaces"; + type empty; + } + leaf filter-duplicates { + description "Filter requests with duplicate source address/port and request ID"; + type empty; + } + container nonvolatile { + description "Configure the handling of nonvolatile SNMP Set requests"; + uses apply-advanced; + leaf commit-delay { + description "Delay between affirmative SNMP Set reply and start of commit"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container v3 { + description "SNMPv3 configuration information"; + uses apply-advanced; + container usm { + description "User-based security model (USM) information"; + uses apply-advanced; + container local-engine { + description "Local engine user configuration"; + uses apply-advanced; + list user { + key name; + ordered-by user; + description "SNMPv3 USM user information"; + uses v3-user-config; + } + } + list remote-engine { + key name; + ordered-by user; + description "Remote engine user configuration"; + leaf name { + description "Remote engine id (Hex format)"; + type string { + } + } + uses apply-advanced; + list user { + key name; + ordered-by user; + description "SNMPv3 USM user information"; + uses v3-user-config; + } + } + } + container vacm { + description "View-based access control model (VACM) information"; + uses apply-advanced; + container security-to-group { + description "Assigns security names to group"; + uses apply-advanced; + list security-model { + key name; + ordered-by user; + description "Security model context for group assignment"; + leaf name { + description "SNMPv3 security-to-group model name"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + } + } + uses apply-advanced; + list security-name { + key name; + ordered-by user; + description "Security name to assign to group"; + leaf name { + description "Security name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf group { + description "Group to which to assign security name"; + type string { + length "1 .. 32"; + } + } + } + } + } + container access { + description "Specify SNMP access limits"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group access configuration"; + leaf name { + description "SNMPv3 VACM group name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container default-context-prefix { + description "Default context-prefix access configuration"; + uses apply-advanced; + list security-model { + key name; + ordered-by user; + description "Security model access configuration"; + uses security-model-access; + } + } + list context-prefix { + key name; + ordered-by user; + description "Context-prefix access configuration"; + leaf name { + description "SNMPv3 VACM context prefix"; + type string { + } + } + uses apply-advanced; + list security-model { + key name; + ordered-by user; + description "Security model access configuration"; + uses security-model-access; + } + } + } + } + } + list target-address { + key name; + ordered-by user; + description "Identifies notification targets as well as allowed management stations"; + leaf name { + description "SNMP target address name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf address { + description "SNMP target address"; + type jt:ipaddr; + } + leaf port { + description "SNMP target port number"; + default "162"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf timeout { + description "Acknowledgment timeout for confirmed SNMP notifications"; + default "15"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry-count { + description "Maximum retry count for confirmed SNMP notifications"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf tag-list { + description "SNMP tag list used to select target addresses"; + type string { + length "0 .. 255"; + } + } + leaf address-mask { + description "Mask range of addresses for community string access control."; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing instance for trap destination"; + type string { + } + } + leaf logical-system { + description "Logical-system name for trap destination"; + type string { + } + } + leaf target-parameters { + description "SNMPv3 target parameter name in the target parameters table"; + type string { + length "1 .. 32"; + } + } + } + list target-parameters { + key name; + ordered-by user; + description "Parameters and filter name used when sending notifications"; + leaf name { + description "SNMPv3 target parameters name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container parameters { + description "Parameters used when sending notifications"; + uses apply-advanced; + leaf message-processing-model { + description "The message processing model to be used when generating SNMP notifications"; + type enumeration { + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + enum "v3" { + description "SNMPv3 model"; + } + } + } + leaf security-model { + description "Security-model used when generating SNMP notifications"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + } + } + leaf security-level { + description "Security-level used when generating SNMP notifications"; + type enumeration { + enum "none" { + description "None (noAuthNoPriv)"; + } + enum "authentication" { + description "Authentication (authNoPriv)"; + } + enum "privacy" { + description "Privacy and authentication (authPriv)"; + } + } + } + leaf security-name { + description "Security name used when generating SNMP notifications"; + type string { + length "1 .. 32"; + } + } + } + container notify-filter { + description "Notify filter to apply to notifications"; + leaf filter { + description "Filter name to apply to notifications"; + type string { + length "1 .. 32"; + } + } + } + } + list notify { + key name; + ordered-by user; + description "Used to select management targets for notifications as well as the type of notifications"; + leaf name { + description "Notify name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf type { + description "Notification type"; + default "trap"; + type enumeration { + enum "trap" { + description "SNMP trap"; + } + enum "inform" { + description "Inform request"; + } + } + } + leaf tag { + description "Notifications will be sent to all targets configured with this tag"; + type string { + length "0 .. 255"; + } + } + } + list notify-filter { + key name; + ordered-by user; + description "Filters to apply to SNMP notifications"; + leaf name { + description "SNMP profile name in the notify filter table"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list oid { + key name; + ordered-by user; + description "OID include/exclude list"; + leaf name { + description "OID to include/exclude from notify filter"; + type string { + } + } + choice filter-action { + case case_1 { + leaf include { + description "Include this OID in the notify filter"; + type empty; + } + } + case case_2 { + leaf exclude { + description "Exclude this OID from the notify filter"; + type empty; + } + } + } + } + } + list snmp-community { + key name; + ordered-by user; + description "SNMP community and view-based access control model configuration"; + leaf name { + description "Unique index value in this community table entry"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf community-name { + description "SNMPv1/v2c community name (default is same as community-index)"; + type jt:unreadable; + } + leaf security-name { + description "Security name used when performing access control"; + type string { + length "1 .. 32"; + } + } + leaf context { + description "Context used when performing access control"; + type string { + length "0 .. 32"; + } + } + leaf tag { + description "Tag identifier for set of targets allowed to use this community string"; + type string { + length "0 .. 255"; + } + } + } + } + list proxy { + key name; + ordered-by user; + description "SNMP proxy configuration"; + leaf name { + description "Unique proxy name"; + type string; + } + uses apply-advanced; + leaf device-name { + description "Satellite/Proxied Device name or IP address"; + type string; + } + choice version { + case case_1 { + container version-v1 { + description "For v1 proxy configuration define snmp-community"; + uses comm-object; + } + } + case case_2 { + container version-v2c { + description "For v2c proxy configuration define snmp-community"; + uses comm-object; + } + } + case case_3 { + container version-v3 { + description "For v3 proxy configuration define security-name"; + uses sec-object; + } + } + } + list routing-instance { + key name; + ordered-by user; + description "Associate routing-instance name for proxy forwarding"; + leaf name { + description "Routing-instance name for proxy forwarding"; + type string { + } + } + uses apply-advanced; + } + list logical-system { + key name; + ordered-by user; + description "Associate logical-system name for proxy forwarding"; + leaf name { + description "Associate logical-system name for proxy forwarding"; + type string { + } + } + uses apply-advanced; + list routing-instance { + key name; + ordered-by user; + description "Associate routing-instance name for proxy forwarding"; + leaf name { + description "Routing-instance name for proxy forwarding"; + type string { + } + } + uses apply-advanced; + } + } + } + container subagent { + description "SNMP subagent configuration"; + uses apply-advanced; + container tcp { + presence "enable tcp"; + description "Allow SNMP subagent tcp connection"; + uses apply-advanced; + container routing-instance { + description "Specify routing-instance name for tcp connection"; + uses apply-advanced; + leaf default { + description "Allow connections over default routing-instance"; + type empty; + } + } + } + } + container engine-id { + description "SNMPv3 engine ID"; + uses apply-advanced; + choice engine-id-choice { + case case_1 { + leaf use-mac-address { + description "Uses management interface MAC Address for the engine ID"; + type empty; + } + } + case case_2 { + leaf use-default-ip-address { + description "Use default IP address for the engine ID"; + type empty; + } + } + case case_3 { + leaf local { + description "Local engine ID"; + type string { + } + } + } + } + } + container access { + description "SNMPv3 access information"; + status deprecated; + uses apply-advanced; + list user { + key name; + ordered-by user; + description "SNMPv3 USM user information"; + leaf name { + description "SNMPv3 USM username"; + type string { + } + } + uses apply-advanced; + leaf authentication-type { + description "SNMPv3 USM authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "md5" { + description "MD5 hash algorithm"; + } + enum "sha" { + description "SHA hash algorithm"; + } + } + } + leaf authentication-password { + description "SNMPv3 USM authentication password"; + type jt:unreadable; + } + leaf privacy-type { + description "SNMPv3 USM privacy type"; + type enumeration { + enum "none" { + description "No privacy"; + } + enum "des" { + description "DES algorithm"; + } + } + } + leaf privacy-password { + description "SNMPv3 USM privacy password"; + type jt:unreadable; + } + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + list group { + key name; + ordered-by user; + description "SNMPv3 USM group information"; + leaf name { + description "SNMPv3 USM group name"; + type string { + } + } + uses apply-advanced; + leaf-list user { + ordered-by user; + description "SNMPv3 USM username"; + type string; + } + leaf model { + description "SNMPv3 security model"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + } + } + } + list context { + key name; + ordered-by user; + description "SNMPv3 context information"; + leaf name { + description "SNMPv3 context name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "SNMPv3 context description"; + type string; + } + list group { + key name; + ordered-by user; + description "Access group"; + leaf name { + description "SNMPv3 USM group name"; + type string { + } + } + uses apply-advanced; + leaf model { + description "SNMPv3 security model"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + } + } + leaf security-level { + description "SNMPv3 security level"; + type enumeration { + enum "none" { + description "None: NoAuthNoPriv"; + } + enum "authentication" { + description "Authentication: AuthNoPriv"; + } + enum "privacy" { + description "Privacy: AuthPriv"; + } + } + } + leaf read-view { + description "Read view name"; + type string { + } + } + leaf write-view { + description "Write view name"; + type string { + } + } + } + } + } + list view { + key name; + ordered-by user; + description "Define MIB views"; + leaf name { + description "MIB view name"; + type string { + } + } + uses apply-advanced; + list oid { + key name; + ordered-by user; + description "OID include/exclude list"; + leaf name { + description "OID to include or exclude from view"; + type string { + } + } + choice view-action { + case case_1 { + leaf include { + description "Include this OID in the view"; + type empty; + } + } + case case_2 { + leaf exclude { + description "Exclude this OID from the view"; + type empty; + } + } + } + } + } + list client-list { + key name; + ordered-by user; + description "Client list"; + leaf name { + description "The name for the client list"; + type string { + } + } + uses apply-advanced; + list client-address-list { + key name; + ordered-by user; + description "Client address list"; + uses client-address-object; + } + } + list community { + key name; + ordered-by user; + description "Configure a community string"; + leaf name { + description "Community name"; + type string; + } + uses apply-advanced; + leaf view { + description "View name"; + type string; + } + leaf authorization { + description "Authorization type"; + type enumeration { + enum "read-only" { + description "Allow read-only access"; + } + enum "read-write" { + description "Allow read and write access"; + } + } + } + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + list routing-instances { + key name; + ordered-by user; + description "Use logical-system/routing-instance for v1/v2c clients"; + status deprecated; + leaf name { + description "Routing instance of v1/v2c clients"; + type string { + } + } + uses apply-advanced; + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + } + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for v1/v2c clients"; + leaf name { + description "Routing instance of v1/v2c clients"; + type string { + } + } + uses apply-advanced; + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + } + list logical-system { + key name; + ordered-by user; + description "Use logical-system name for v1/v2c clients"; + leaf name { + description "Use logical-system name for v1/v2c clients"; + type string { + } + } + uses apply-advanced; + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for v1/v2c clients"; + leaf name { + description "Routing instance of v1/v2c clients"; + type string { + } + } + uses apply-advanced; + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + } + } + } + container trap-options { + presence "enable trap-options"; + description "SNMP trap options"; + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + leaf enterprise-oid { + description "Add snmpTrapEnterprise oid in varbind of all traps"; + type empty; + } + leaf context-oid { + description "Add context oid in varbind of all traps at the end"; + type empty; + } + list routing-instances { + key name; + ordered-by user; + description "Use routing-instance name for source-address"; + status deprecated; + leaf name { + description "Routing instance of trap destination"; + type string { + } + } + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + } + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for source-address"; + leaf name { + description "Routing instance of trap destination"; + type string { + } + } + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + } + list logical-system { + key name; + ordered-by user; + description "Use logical-system name for source-address"; + leaf name { + description "Use logical-system name for source-address"; + type string { + } + } + uses apply-advanced; + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for source-address"; + leaf name { + description "Routing instance of trap destination"; + type string { + } + } + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + } + } + leaf agent-address { + description "Agent address for v1 trap PDUs"; + type enumeration { + enum "outgoing-interface" { + description "Use address on outgoing interface"; + } + } + } + } + list trap-group { + key name; + ordered-by user; + description "Configure traps and notifications"; + leaf name { + description "Trap group name"; + type string; + } + uses apply-advanced; + leaf version { + description "SNMP version"; + type enumeration { + enum "all" { + description "Send SNMPv1 and SNMPv2 traps"; + } + enum "v1" { + description "Send SNMPv1 traps"; + } + enum "v2" { + description "Send SNMPv2 traps"; + } + } + } + leaf destination-port { + description "SNMP trap receiver port number"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + container categories { + description "Trap categories"; + uses apply-advanced; + leaf authentication { + description "Authentication failures"; + type empty; + } + leaf chassis { + description "Chassis or environment notifications"; + type empty; + } + leaf link { + description "Link up-down transitions"; + type empty; + } + leaf remote-operations { + description "Remote operations"; + type empty; + } + leaf routing { + description "Routing protocol notifications"; + type empty; + } + leaf startup { + description "System warm and cold starts"; + type empty; + } + leaf ggsn { + description "GGSN notifications"; + type empty; + } + leaf rmon-alarm { + description "RMON rising and falling alarms"; + type empty; + } + leaf vrrp-events { + description "VRRP notifications"; + type empty; + } + leaf configuration { + description "Configuration notifications"; + type empty; + } + leaf services { + description "Services notifications"; + type empty; + } + leaf chassis-cluster { + description "Clustering notifications"; + type empty; + } + leaf dot3oam-events { + description "802.3ah notifications"; + type empty; + } + container sonet-alarms { + presence "enable sonet-alarms"; + description "SONET alarm trap subcategories"; + uses apply-advanced; + leaf loss-of-light { + description "Loss of light alarm notification"; + type empty; + } + leaf pll-lock { + description "PLL lock alarm notification"; + type empty; + } + leaf loss-of-frame { + description "Loss of frame alarm notification"; + type empty; + } + leaf loss-of-signal { + description "Loss of signal alarm notification"; + type empty; + } + leaf severely-errored-frame { + description "Severely errored frame alarm notification"; + type empty; + } + leaf line-ais { + description "Line AIS alarm notification"; + type empty; + } + leaf path-ais { + description "Path AIS alarm notification"; + type empty; + } + leaf loss-of-pointer { + description "Loss of pointer alarm notification"; + type empty; + } + leaf ber-defect { + description "Sonet bit error rate alarm defect notification"; + type empty; + } + leaf ber-fault { + description "Sonet bit error rate alarm fault notification"; + type empty; + } + leaf line-remote-defect-indication { + description "Line Remote Defect Indication alarm notification"; + type empty; + } + leaf path-remote-defect-indication { + description "Path Remote Defect Indication alarm notification"; + type empty; + } + leaf remote-error-indication { + description "Remote Error Indication alarm notification"; + type empty; + } + leaf unequipped { + description "Unequipped alarm notification"; + type empty; + } + leaf path-mismatch { + description "Path mismatch alarm notification"; + type empty; + } + leaf loss-of-cell { + description "Loss of Cell delineation alarm notification"; + type empty; + } + leaf vt-ais { + description "VT AIS alarm notification"; + type empty; + } + leaf vt-loss-of-pointer { + description "VT Loss Of Pointer alarm notification"; + type empty; + } + leaf vt-remote-defect-indication { + description "VT Remote Defect Indication alarm notification"; + type empty; + } + leaf vt-unequipped { + description "VT Unequipped alarm notification"; + type empty; + } + leaf vt-label-mismatch { + description "VT label mismatch error notification"; + type empty; + } + leaf vt-loss-of-cell { + description "VT Loss of Cell delineation notification"; + type empty; + } + } + container otn-alarms { + presence "enable otn-alarms"; + description "OTN alarm trap subcategories"; + uses apply-advanced; + leaf oc-los { + description "Loss of signal alarm notification"; + type empty; + } + leaf oc-lof { + description "Loss of frame alarm notification"; + type empty; + } + leaf oc-lom { + description "Loss of multiframe alarm notification"; + type empty; + } + leaf wavelength-lock { + description "Wavelength lock alarm notification"; + type empty; + } + leaf otu-ais { + description "OTU Alarm indication signal alarm notification"; + type empty; + } + leaf otu-bdi { + description "OTU Backward defect indication alarm notification"; + type empty; + } + leaf otu-ttim { + description "OTU Trace identification mismatch alarm notification"; + type empty; + } + leaf otu-iae { + description "OTU Incoming alignment error alarm notification"; + type empty; + } + leaf otu-sd { + description "OTU Signal degrade alarm notification"; + type empty; + } + leaf otu-sf { + description "OTU Signal fail alarm notification"; + type empty; + } + leaf otu-fec-exe { + description "OTU Fec excessive errors alarm notification"; + type empty; + } + leaf otu-fec-deg { + description "OTU Fec degraded errors alarm notification"; + type empty; + } + leaf otu-bbe-threshold { + description "OTU Background block error threshold alarm notification"; + type empty; + } + leaf otu-es-threshold { + description "OTU Errored Second threshold alarm notification"; + type empty; + } + leaf otu-ses-threshold { + description "OTU Severely Errored Second threshold alarm notification"; + type empty; + } + leaf otu-uas-threshold { + description "OTU Unavailable Second threshold alarm notification"; + type empty; + } + leaf odu-ais { + description "ODU Alarm indication signal alarm notification"; + type empty; + } + leaf odu-oci { + description "ODU Open connection indicator alarm notification"; + type empty; + } + leaf odu-lck { + description "ODU Locked alarm notification"; + type empty; + } + leaf odu-bdi { + description "ODU Backward defect indication alarm notification"; + type empty; + } + leaf odu-ttim { + description "ODU Trace identification mismatch alarm notification"; + type empty; + } + leaf odu-sd { + description "ODU Signal degrade alarm notification"; + type empty; + } + leaf odu-sf { + description "ODU Signal fail alarm notification"; + type empty; + } + leaf odu-rx-aps-change { + description "ODU Receive APS change notification"; + type empty; + } + leaf odu-bbe-threshold { + description "ODU Background block error threshold alarm notification"; + type empty; + } + leaf odu-es-threshold { + description "ODU Errored Second threshold alarm notification"; + type empty; + } + leaf odu-ses-threshold { + description "ODU Severely Errored Second threshold alarm notification"; + type empty; + } + leaf odu-uas-threshold { + description "ODU Unavailable Second threshold alarm notification"; + type empty; + } + leaf opu-ptm { + description "ODU Payload Type Mismatch alarm notification"; + type empty; + } + } + } + list targets { + key name; + ordered-by user; + description "Targets for trap messages"; + leaf name { + description "IP address"; + type jt:hostname; + } + } + leaf routing-instance { + description "Routing instance for trap destination"; + type string { + } + } + leaf logical-system { + description "Logical-system name for trap destination"; + type string { + } + } + } + container routing-instance-access { + presence "enable routing-instance-access"; + description "SNMP routing-instance options"; + uses apply-advanced; + list access-list { + key name; + description "Allow/Deny SNMP access to routing-instances"; + leaf name { + description "Routing-instance in format , * or *"; + type string { + } + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + leaf logical-system-trap-filter { + description "Allow only logical-system specific traps"; + type empty; + } + container traceoptions { + description "Trace options for SNMP"; + uses apply-advanced; + container memory-trace { + presence "enable memory-trace"; + description "Memory tracing information"; + uses apply-advanced; + leaf size { + description "Memory size reserved for tracing "; + default "5120"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1250 .. 12500"; + } + } + } + } + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "protocol-timeouts" { + description "Trace SNMP request timeouts"; + } + enum "pdu" { + description "Dump SNMP request/response packets"; + } + enum "varbind-error" { + description "Trace varbind errors"; + } + enum "routing-socket" { + description "Trace routing socket calls"; + } + enum "interface-stats" { + description "Trace interface statistics (logical and physical)"; + } + enum "subagent" { + description "Trace master-agent interations with sub-agents"; + } + enum "general" { + description "Trace general events"; + } + enum "nonvolatile-sets" { + description "Nonvolatile SNMP set request handling"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container rmon { + presence "enable rmon"; + description "Remote Monitoring configuration"; + uses apply-advanced; + list alarm { + key name; + ordered-by user; + description "RMON alarm entries"; + leaf name { + description "RMON alarm identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "General description of alarm (stored in alarmOwner)"; + type string { + } + } + leaf interval { + description "Interval between samples"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf falling-threshold-interval { + description "Interval between samples during falling-threshold test"; + default "2147483647"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf variable { + description "OID of MIB variable to be monitored"; + type string { + } + } + leaf sample-type { + description "Method of sampling the selected variable"; + type enumeration { + enum "absolute-value" { + description "Absolute sample value is used"; + } + enum "delta-value" { + description "Difference between sampled values is used"; + } + } + } + leaf request-type { + description "Type of SNMP request to issue for alarm"; + default "get-request"; + type enumeration { + enum "get-request" { + description "Get request"; + } + enum "get-next-request" { + description "Get-next request"; + } + enum "walk-request" { + description "Walk request"; + } + } + } + leaf startup-alarm { + description "The alarm that may be sent upon entry startup"; + default "rising-or-falling-alarm"; + type enumeration { + enum "rising-alarm" { + description "Rising alarm may be sent at startup"; + } + enum "falling-alarm" { + description "Falling alarm may be sent at startup"; + } + enum "rising-or-falling-alarm" { + description "Rising or falling alarm may be sent at startup"; + } + } + } + leaf rising-threshold { + description "The rising threshold"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf falling-threshold { + description "The falling threshold"; + default "2147483647"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rising-event-index { + description "Event triggered after rising threshold is crossed"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf falling-event-index { + description "Event triggered after falling threshold is crossed"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf syslog-subtag { + description "Tag to be added to syslog messages"; + type string { + } + } + } + list event { + key name; + ordered-by user; + description "RMON event entries"; + leaf name { + description "RMON event identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "General description of event"; + type string { + } + } + leaf type { + description "The type of notification for this event"; + default "log-and-trap"; + type enumeration { + enum "none" { + description "No notifications"; + } + enum "log" { + description "Add entry to logTable"; + } + enum "snmptrap" { + description "Send SNMP trap"; + } + enum "log-and-trap" { + description "Send SNMP trap and make log entry"; + } + } + } + leaf community { + description "The community (trap group) for outgoing traps"; + type string { + } + } + } + } + container health-monitor { + presence "enable health-monitor"; + description "Health monitoring configuration"; + uses apply-advanced; + container routing-engine { + presence "enable routing-engine"; + description "Routing engine health monitoring configuration"; + uses apply-advanced; + container cpu { + description "CPU monitoring parameters configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf action { + description "Action level (monitor, prevent or recover)"; + type enumeration { + enum "monitor" { + description "Monitoring action only"; + } + enum "prevent" { + description "Monitoring and preventive action"; + } + enum "recover" { + description "Monitoring, preventive and recovery action"; + } + } + } + } + container memory { + description "Memory monitoring parameters configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf action { + description "Action level (monitor, prevent or recover)"; + type enumeration { + enum "monitor" { + description "Monitoring action only"; + } + enum "prevent" { + description "Monitoring and preventive action"; + } + enum "recover" { + description "Monitoring, preventive and recovery action"; + } + } + } + } + container storage { + description "Storage monitoring parameters configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf action { + description "Action level (monitor, prevent or recover)"; + type enumeration { + enum "monitor" { + description "Monitoring action only"; + } + enum "prevent" { + description "Monitoring and preventive action"; + } + enum "recover" { + description "Monitoring, preventive and recovery action"; + } + } + } + } + container temperature { + description "Temperature monitoring parameters configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + } + container process-count { + description "Process count monitoring parameters configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf action { + description "Action level (monitor, prevent or recover)"; + type enumeration { + enum "monitor" { + description "Monitoring action only"; + } + enum "prevent" { + description "Monitoring and preventive action"; + } + enum "recover" { + description "Monitoring, preventive and recovery action"; + } + } + } + } + container open-files-count { + description "Open files count monitoring parameters configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf action { + description "Action level (monitor, prevent or recover)"; + type enumeration { + enum "monitor" { + description "Monitoring action only"; + } + enum "prevent" { + description "Monitoring and preventive action"; + } + enum "recover" { + description "Monitoring, preventive and recovery action"; + } + } + } + } + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + leaf moderate-threshold { + description "Acceptable limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf high-threshold { + description "Warning limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf critical-threshold { + description "Critical limit for resource utilization"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 99"; + } + } + } + leaf action { + description "Action level (monitor, prevent or recover)"; + type enumeration { + enum "monitor" { + description "Monitoring action only"; + } + enum "prevent" { + description "Monitoring and preventive action"; + } + enum "recover" { + description "Monitoring, preventive and recovery action"; + } + } + } + container traceoptions { + description "Trace options for system health management process"; + uses apply-advanced; + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10240 .. 1073741824"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Events or messages to include in the trace output"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "memory" { + description "Memory allocation or deallocation messages"; + } + enum "diagnostic" { + description "Diagnostic test case specific information"; + } + enum "all" { + description "All events and messages"; + } + } + } + } + } + } + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf rising-threshold { + description "Rising threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf falling-threshold { + description "Falling threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container idp { + presence "enable idp"; + description "IDP health monitor configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf rising-threshold { + description "Rising threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf falling-threshold { + description "Falling threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + container arp { + presence "enable arp"; + description "JVision ARP settings"; + uses apply-advanced; + leaf host-name-resolution { + description "Enable host name resolution"; + type empty; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping client-address-object { + description "Client address"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Deny access"; + type empty; + } + } + grouping comm-object { + description "Specify snmp-community name"; + uses apply-advanced; + leaf snmp-community { + description "Specify community name"; + type string { + length "1 .. 32"; + } + } + leaf no-default-comm-to-v3-config { + description "No default snmp-community and v3 configuration"; + type empty; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping sec-object { + description "Specify security-name"; + uses apply-advanced; + leaf security-name { + description "Specify v3 security-name"; + type string { + length "1 .. 32"; + } + } + leaf context { + description "Specify context name associated to this security-name"; + type string; + } + } + grouping security-model-access { + description "Security access configuration"; + leaf name { + description "SNMPv3 VACM security model"; + type enumeration { + enum "any" { + description "Any security model"; + } + enum "usm" { + description "User-based security model"; + } + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + } + } + uses apply-advanced; + list security-level { + key name; + ordered-by user; + description "Security level access configuration"; + leaf name { + description "SNMPv3 VACM security level"; + type enumeration { + enum "none" { + description "None (noAuthNoPriv)"; + } + enum "authentication" { + description "Authentication (authNoPriv)"; + } + enum "privacy" { + description "Privacy and authentication (authPriv)"; + } + } + } + uses apply-advanced; + leaf context-match { + description "Type of match to perform on context-prefix"; + default "exact"; + type enumeration { + enum "exact" { + description "Exact match of prefix and context name"; + } + enum "prefix" { + description "Only match the context prefix"; + } + } + } + leaf read-view { + description "View used for read access"; + type string { + } + } + leaf write-view { + description "View used for write access"; + type string { + } + } + leaf notify-view { + description "View used to notifications"; + type string { + } + } + } + } + grouping v3-user-config { + description "SNMPv3 user configuration"; + leaf name { + description "User name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + choice authentication { + case case_1 { + container authentication-md5 { + description "Configure MD5 authentication"; + uses auth-object; + } + } + case case_2 { + container authentication-sha { + description "Configure SHA authentication"; + uses auth-object; + } + } + case case_3 { + leaf authentication-none { + description "Set no authentication for the user"; + type empty; + } + } + } + choice privacy { + case case_1 { + container privacy-des { + description "Configure DES privacy"; + uses priv-object; + } + } + case case_2 { + container privacy-3des { + description "Configure Triple DES privacy"; + uses priv-object; + } + } + case case_3 { + container privacy-aes128 { + description "Configure AES128 privacy"; + uses priv-object; + } + } + case case_4 { + leaf privacy-none { + description "Set no privacy for the user"; + type empty; + } + } + } + } + grouping auth-object { + description "Authentication parameters"; + uses apply-advanced; + leaf authentication-password { + description "User's authentication password"; + type string { + length "8 .. 1024"; + } + } + leaf authentication-key { + description "Encrypted key used for user authentication"; + type jt:unreadable; + } + } + grouping priv-object { + description "Privacy parameters"; + uses apply-advanced; + leaf privacy-password { + description "User's privacy password"; + type string { + length "8 .. 1024"; + } + } + leaf privacy-key { + description "Encrypted key used for user privacy"; + type jt:unreadable; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-switch-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-switch-options@2019-01-01.yang new file mode 100644 index 00000000..6e0f6bb6 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-switch-options@2019-01-01.yang @@ -0,0 +1,566 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-switch-options { + namespace "http://yang.juniper.net/junos-es/conf/switch-options"; + + prefix jc-switch-options; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos switch-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses switch-options-group; + } + augment /jc:configuration/jc:groups { + uses switch-options-group; + } + grouping switch-options-group { + container switch-options { + description "Options for default routing-instance of type virtual-switch"; + uses juniper-def-rtb-switch-options; + } + } + grouping juniper-def-rtb-switch-options { + description "Bridge option configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + container auto { + description "Auto derive import and export target community from BGP AS & L2"; + presence "enable auto"; + uses juniper-def-rtb-auto-import-as; + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface for configuring bridge-options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf no-mac-notification { + description "Disable mac notification on this interface"; + type empty; + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf interface-shutdown-action { + description "Interface shutdown mode for Storm-Control/Mac-Limit/Mac-Move-limit scenario"; + type enumeration { + enum "soft-shutdown" { + description "Soft-shutdown restricts data-packets while control-packets are still received"; + } + enum "hard-shutdown" { + description "Hard-shutdown restricts all packets, port will not be operational"; + } + } + } + leaf-list remote-vtep-v6-list { + description "Configurate static IPv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + container redundant-trunk-group { + description "Redundant trunk group"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name of Redundant trunk group"; + leaf name { + description "RTG name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf preempt-cutover-timer { + description "Hold timer for primary interface before preempting secondary interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 600"; + } + } + } + leaf description { + description "Text description of the RTG"; + type string { + length "1 .. 127"; + } + } + list interface { + key name; + description "Interfaces that are part of this redundant trunk group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf primary { + description "Set Primary Redundant Trunk Group interface"; + type empty; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-def-rtb-auto-import-as { + uses apply-advanced; + list import-as { + key name; + description "AS to auto import for a list of VNI ids"; + leaf name { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + uses apply-advanced; + leaf-list vni-list { + description "List of VNI identifiers or all"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-system@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-system@2019-01-01.yang new file mode 100644 index 00000000..0e52f707 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-system@2019-01-01.yang @@ -0,0 +1,14772 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-system { + namespace "http://yang.juniper.net/junos-es/conf/system"; + + prefix jc-system; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos system configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses system-group; + } + augment /jc:configuration/jc:groups { + uses system-group; + } + grouping system-group { + container system { + description "System parameters"; + uses juniper-system; + } + } + grouping juniper-system { + uses apply-advanced; + container commit { + description "Configuration commit management"; + uses apply-advanced; + container server { + description "Commit server (batch commit)"; + uses apply-advanced; + leaf maximum-aggregate-pool { + description "Maximum number of transactions to aggregate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf maximum-entries { + description "Maximum number of transactions allowed in queue"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf commit-interval { + description "Number of seconds between commits"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry-attempts { + description "Retry attempts for commit failure due to db lock error"; + default "5"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry-interval { + description "Retry interval in seconds for commit failure"; + default "20"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf days-to-keep-error-logs { + description "Number of day to keep error log entries"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 366"; + } + } + } + leaf redirect-completion-status { + description "Redirect Async commit status to server configured here"; + type string; + } + list commit-schedule-profile { + key name; + ordered-by user; + description "Scheduling profile for asynchronous low priority commits"; + leaf name { + description "Schedule name for low priority commits"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-time { + description "Time when the schedule starts processing low priority jobs (hh:mm)"; + type string { + } + } + leaf end-time { + description "Time when the schedule stops processing low priority jobs (hh:mm)"; + type string { + } + } + leaf interruptible { + description "Allow the low priority jobs to be interrupted during the schedule"; + type empty; + } + leaf load-average { + description "Max load average of system at which schedule starts (last 1 min)"; + type jt:unsigned-float; + } + } + container traceoptions { + description "Trace options for commit server"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "commit-server" { + description "Trace commit server"; + } + enum "batch" { + description "Trace file batching"; + } + enum "configuration" { + description "Reading of configuration"; + } + } + } + } + } + } + container notification { + presence "enable notification"; + description "Notify applications upon commit complete"; + } + leaf fast-synchronize { + description "Parallelized commit synchronizing multiple routing-engines"; + type empty; + } + leaf synchronize { + description "Synchronize commit on both Routing Engines by default"; + type empty; + } + leaf peers-synchronize { + description "Synchronize commit on remote peers by default"; + type empty; + } + leaf delta-export { + description "Export only delta configuration during commit"; + type empty; + } + list peers { + key name; + ordered-by user; + description "Commit peers-synchronize details"; + max-elements 3; + uses peers-type; + } + container commit-synchronize-server { + description "Commit synchronize server configuration"; + uses apply-advanced; + container traceoptions { + description "Traceoptions for commit synchronize server"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ephemeral-commit" { + description "Trace ephemeral database commit synchronize requests"; + } + enum "operational-command" { + description "Trace operational command requests"; + } + enum "debug" { + description "Trace debug level information"; + } + enum "all" { + description "Trace all information"; + } + } + } + } + } + } + leaf persist-groups-inheritance { + description "Build configuration groups inheritance path"; + type empty; + } + } + container configuration-database { + description "Configuration database parameters"; + uses apply-advanced; + container ephemeral { + presence "enable ephemeral"; + description "Configure ephemeral database"; + uses apply-advanced; + list instance { + key name; + ordered-by user; + description "Configure ephemeral instances"; + max-elements 8; + leaf name { + description "Name of ephemeral instance"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + leaf ignore-ephemeral-default { + description "Ignore ephemeral default database"; + type empty; + } + leaf allow-commit-synchronize-with-gres { + description "Allow ephemeral commit synchronize with GRES"; + type empty; + } + } + container virtual-memory-mapping { + description "Virtual memory mapping configuration"; + uses apply-advanced; + list process { + key name; + ordered-by user; + description "Per process configuration"; + leaf name { + description "Name of the process"; + type string; + } + uses apply-advanced; + leaf fixed-size { + description "Fixed memory mapped size in kilobytes"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + leaf page-pooling-size { + description "Page pooling memory mapped size in kilobytes"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + leaf page-leak-debug { + description "Page leak detection"; + type empty; + } + } + container process-set { + description "Set of processes using page pool"; + uses apply-advanced; + container subscriber-management { + presence "enable subscriber-management"; + description "Subscriber management processes will use page pooling"; + uses apply-advanced; + leaf fixed-size { + description "Fixed memory mapped size"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + leaf page-pooling-size { + description "Page pooling memory mapped size"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + } + } + } + leaf extend-size { + description "Extend configuration database upto 1.5G"; + type empty; + } + container resize { + presence "enable resize"; + description "Resize configuration database"; + uses apply-advanced; + leaf database-size-on-disk { + description "Minimum configuration database size on disk"; + default "450"; + units "Megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf database-size-diff { + description "Difference between database size and actual usage"; + default "100"; + units "Megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + leaf max-db-size { + description "Max database size"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container login { + description "Names, login classes, and passwords for users"; + uses apply-advanced; + container retry-options { + description "Configure password retry options"; + uses apply-advanced; + leaf tries-before-disconnect { + description "Number of times user is allowed to try password"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf backoff-threshold { + description "Number of password failures before delay is introduced"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3"; + } + } + } + leaf backoff-factor { + description "Delay factor after 'backoff-threshold' password failures"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 10"; + } + } + } + leaf minimum-time { + description "Minimum total connection time if all attempts fail"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 60"; + } + } + } + leaf maximum-time { + description "Maximum time the connection will remain for user to enter username and password"; + default "120"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 300"; + } + } + } + leaf lockout-period { + description "Amount of time user account is locked after 'tries-before-disconnect' failures"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 43200"; + } + } + } + } + leaf idle-timeout { + description "Maximum idle time before logout"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + list class { + key name; + description "Login class"; + uses login-class-object; + } + list user { + key name; + description "Username"; + uses login-user-object; + } + container password { + description "Password configuration"; + uses apply-advanced; + leaf minimum-length { + description "Minimum password length for all users"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "6 .. 20"; + } + } + } + leaf maximum-length { + description "Maximum password length for all users"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "20 .. 128"; + } + } + } + leaf change-type { + description "Password change type"; + type enumeration { + enum "character-sets" { + description "Count number of character type"; + } + enum "set-transitions" { + description "Count changes in character type"; + } + } + } + leaf minimum-changes { + description "Minimum number of changes in password"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf minimum-numerics { + description "Minimum number of numeric class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf minimum-upper-cases { + description "Minimum number of upper-case class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf minimum-lower-cases { + description "Minimum number of lower-case class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf minimum-punctuations { + description "Minimum number of punctuation class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf format { + description "Encryption method to use for password"; + type enumeration { + enum "sha1" { + description "Secure Hash Algorithm 1"; + } + enum "sha256" { + description "Secure Hash Algorithm 256 ($5$)"; + } + enum "sha512" { + description "Secure Hash Algorithm 512 ($6$)"; + } + enum "md5" { + description "Message Digest 5"; + } + enum "des" { + description "Digital Encryption Standard"; + } + } + } + } + container deny-sources { + description "Sources from which logins are denied"; + uses apply-advanced; + leaf-list address { + ordered-by user; + description "IPv4/IPv6 addresses, prefix length optional, or hostnames"; + type jt:ipprefix-optional; + } + } + leaf announcement { + description "System announcement message (displayed after login)"; + type string { + length "1 .. 2048"; + } + } + leaf message { + description "System login message"; + type string { + length "1 .. 2048"; + } + } + } + container root-authentication { + description "Authentication information for the root login"; + uses authentication-object; + } + container autoinstallation { + presence "enable autoinstallation"; + description "Autoinstallation configuration"; + uses apply-advanced; + list interfaces { + key name; + ordered-by user; + description "Interfaces to perform autoinstallation"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf bootp { + description "Enable BOOTP/DHCP during autoinstallation"; + type empty; + } + leaf rarp { + description "Enable RARP during autoinstallation"; + type empty; + } + leaf slarp { + description "Enable SLARP during autoinstallation"; + type empty; + } + } + list configuration-servers { + key name; + ordered-by user; + description "Servers to retrieve configuration files from"; + leaf name { + description "URL of configuration server"; + type string; + } + leaf password { + description "Password for authentication with the configuration server"; + type jt:unreadable; + } + } + container usb { + presence "enable usb"; + description "USB Autoinstallation process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Autoinstallation process"; + type empty; + } + } + } + } + } + leaf host-name { + description "Hostname for this router"; + type string { + length "0 .. 255"; + } + } + leaf auto-snapshot { + description "Enable auto-snapshot when boots from alternate slice"; + type empty; + } + leaf domain-name { + description "Domain name for this router"; + type string { + } + } + leaf-list domain-search { + ordered-by user; + description "List of domain names to search"; + type string; + } + leaf no-hidden-commands { + description "Deny hidden commands for all users except root"; + type empty; + } + container backup-router { + description "IPv4 router to use while booting"; + leaf address { + description "Address of router to use while booting"; + type jt:ipv4addr; + } + leaf-list destination { + ordered-by user; + description "Destination network reachable through the router"; + type jt:ipv4prefix; + } + } + container inet6-backup-router { + description "IPv6 router to use while booting"; + leaf address { + description "Address of router to use while booting"; + type jt:ipv6addr; + } + leaf-list destination { + ordered-by user; + description "Destination network reachable through the router"; + type jt:ipv6prefix; + } + } + leaf time-zone { + description "Time zone name or POSIX-compliant time zone string"; + default "UTC"; + units "/ or "; + type string { + } + } + leaf use-imported-time-zones { + description "Use locally generated time-zone database"; + type empty; + } + leaf regex-additive-logic { + description "Set regex-additive-logic"; + type empty; + } + leaf switchover-on-routing-crash { + description "On failure, switch mastership to other Routing Engine"; + type empty; + } + leaf default-address-selection { + description "Use system address for locally originated traffic"; + type empty; + } + leaf ndcpp-compliant { + description "Enable NDcPP compliance"; + type empty; + } + leaf nd-maxmcast-solicit { + description "Set Maximum multicast solicit"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd-maxucast-retry { + description "Set Maximum unicast retry count"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd-retransmit-timer { + description "Set retransmit timer"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd-system-cache-limit { + description "Set max system cache size for IPv6 nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "200 .. 2000000"; + } + } + } + leaf arp-system-cache-limit { + description "Set max system cache size for ARP nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "200 .. 2000000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning"; + type empty; + } + leaf no-multicast-echo { + description "Disable ICMP echo on multicast addresses"; + type empty; + } + leaf no-redirects { + description "Disable ICMP redirects"; + type empty; + } + leaf no-redirects-ipv6 { + description "Disable IPV6 ICMP redirects"; + type empty; + } + leaf nd-override-preferred-src { + description "Do not use preferred source address for unnumbered interface as the source of NA/NS"; + type empty; + } + leaf no-ping-record-route { + description "Do not insert IP address in ping replies"; + type empty; + } + leaf no-ping-time-stamp { + description "Do not insert time stamp in ping replies"; + type empty; + } + leaf dump-device { + description "Device to record memory snapshots on operating system failure"; + type string; + } + container arp { + description "ARP settings"; + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 240"; + } + } + } + container interfaces { + description "Logical interface on which to specify ARP aging timer"; + uses apply-advanced; + list arp-interface { + key name; + uses arp-interface-type; + } + } + leaf passive-learning { + description "ARP passive learning"; + type empty; + } + leaf purging { + description "ARP purging when link goes down"; + type empty; + } + leaf gratuitous-arp-on-ifup { + description "Gratuitous ARP announcement on interface up"; + type empty; + } + leaf gratuitous-arp-delay { + description "Delay gratuitous ARP request"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf non-subscriber-no-reply { + description "Do not reply to ARP requests from non-subscribers"; + type empty; + } + } + leaf-list personality-file-list-of-directories { + ordered-by user; + description "List of Optional directories for personality-tarball of device"; + type string; + } + leaf saved-core-files { + description "Number of saved core files per executable"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + choice saved-core-context-choice { + leaf saved-core-context { + description "Save context information for core files"; + type empty; + } + leaf no-saved-core-context { + description "Don't save context information for core files"; + type empty; + } + } + container kernel-replication { + presence "enable kernel-replication"; + description "Kernel replication"; + uses apply-advanced; + } + leaf mirror-flash-on-disk { + description "Mirror contents of the flash drive onto hard drive"; + type empty; + } + container icmp-rate-limit { + description "Rate-limiting parameters for ICMP messages"; + status deprecated; + leaf packet-rate { + description "ICMP rate-limiting packets earned per second"; + default "1000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "ICMP rate-limiting maximum bucket size"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf tcp-ack-rst-syn { + description "Send ACKs for in-window RSTs and SYN packets on TCP connections"; + status deprecated; + type empty; + } + leaf management-instance { + description "Enable Management VRF Instance"; + type empty; + } + container demux-options { + description "Tunable options for demux link local address generation"; + uses apply-advanced; + leaf use-underlying-interface-mac { + description "Use underlying interface MAC for link local address"; + type empty; + } + } + container internet-options { + description "Tunable options for Internet operation"; + uses apply-advanced; + container icmpv4-rate-limit { + description "Rate-limiting parameters for ICMPv4 messages"; + leaf packet-rate { + description "ICMP rate-limiting packets earned per second"; + default "1000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "ICMP rate-limiting maximum bucket size"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container icmpv6-rate-limit { + description "Rate-limiting parameters for ICMPv6 messages"; + leaf packet-rate { + description "ICMPv6 rate-limiting packets earned per second"; + default "1000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "ICMPv6 rate-limiting maximum bucket size"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable Path MTU discovery on TCP connections"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable Path MTU discovery on TCP connections"; + type empty; + } + } + choice gre-path-mtu-discovery-choice { + leaf gre-path-mtu-discovery { + description "Enable path MTU discovery for GRE tunnels"; + type empty; + } + leaf no-gre-path-mtu-discovery { + description "Don't enable path MTU discovery for GRE tunnels"; + type empty; + } + } + choice ipip-path-mtu-discovery-choice { + leaf ipip-path-mtu-discovery { + description "Enable path MTU discovery for IP-IP tunnels"; + type empty; + } + leaf no-ipip-path-mtu-discovery { + description "Don't enable path MTU discovery for IP-IP tunnels"; + type empty; + } + } + container source-port { + description "Source port selection parameters"; + uses apply-advanced; + leaf upper-limit { + description "Specify upper limit of source port selection range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5000 .. 65535"; + } + } + } + } + choice source-quench-choice { + leaf source-quench { + description "React to incoming ICMP Source Quench messages"; + type empty; + } + leaf no-source-quench { + description "Don't react to incoming ICMP Source Quench messages"; + type empty; + } + } + leaf tcp-mss { + description "Maximum value of TCP MSS for IPV4 traffic"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 65535"; + } + } + } + leaf tcp-drop-synfin-set { + description "Drop TCP packets that have both SYN and FIN flags"; + type empty; + } + leaf no-tcp-rfc1323 { + description "Disable RFC 1323 TCP extensions"; + type empty; + } + leaf no-tcp-rfc1323-paws { + description "Disable RFC 1323 Protection Against Wrapped Sequence Number extension"; + type empty; + } + choice ipv6-reject-zero-hop-limit-choice { + leaf ipv6-reject-zero-hop-limit { + description "Enable dropping IPv6 packets with zero hop-limit"; + type empty; + } + leaf no-ipv6-reject-zero-hop-limit { + description "Don't enable dropping IPv6 packets with zero hop-limit"; + type empty; + } + } + leaf ipv6-duplicate-addr-detection-transmits { + description "IPv6 Duplicate address detection transmits"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + choice ipv6-path-mtu-discovery-choice { + leaf ipv6-path-mtu-discovery { + description "Enable IPv6 Path MTU discovery"; + type empty; + } + leaf no-ipv6-path-mtu-discovery { + description "Don't enable IPv6 Path MTU discovery"; + type empty; + } + } + leaf ipv6-path-mtu-discovery-timeout { + description "IPv6 Path MTU Discovery timeout"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 71582788"; + } + } + } + leaf no-tcp-reset { + description "Do not send RST TCP packet for packets sent to non-listening ports"; + type enumeration { + enum "drop-tcp-with-syn-only" { + description "Drop only those TCP Packets with SYN bit"; + } + enum "drop-all-tcp" { + description "Drop all TCP Packets"; + } + } + } + } + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + container location { + description "Location of the system, in various forms"; + uses location-type; + } + container ports { + description "Craft interface RS-232 ports"; + uses apply-advanced; + container console { + description "Console port"; + uses tty_port_object; + } + container auxiliary { + description "Auxiliary port"; + uses tty_port_object; + } + } + container diag-port-authentication { + description "Authentication for the diagnostic port"; + uses apply-advanced; + leaf plain-text-password-value { + description "Plain text password"; + type string; + } + leaf encrypted-password { + description "Encrypted password string"; + type string { + length "1 .. 128"; + } + } + } + container pic-console-authentication { + description "Authentication for the console port on PICs"; + uses apply-advanced; + leaf plain-text-password-value { + description "Plain text password"; + type string; + } + leaf encrypted-password { + description "Encrypted password string"; + type string { + length "1 .. 128"; + } + } + } + list name-server { + key name; + ordered-by user; + description "DNS name servers"; + uses nameserver-object; + } + list radius-server { + key name; + ordered-by user; + description "RADIUS server configuration"; + uses radius-server-object; + } + container dynamic-profile-options { + description "Dynamic profile options"; + uses dynamic-profile-option-object; + } + list tacplus-server { + key name; + ordered-by user; + description "TACACS+ server configuration"; + uses tacplus-server-object; + } + container radius-options { + description "RADIUS options"; + uses apply-advanced; + leaf password-protocol { + description "Specify password protocol used in RADIUS packets"; + type enumeration { + enum "mschap-v2" { + description "MSCHAP version 2"; + } + } + } + leaf enhanced-accounting { + description "Include authentication method, remote port and user-privileges in 'login' accounting"; + type empty; + } + container attributes { + description "Configure RADIUS attributes"; + uses apply-advanced; + leaf nas-ip-address { + description "Value of NAS-IP-Address in outgoing RADIUS packets"; + type jt:ipaddr; + } + } + } + container tacplus-options { + description "TACACS+ options"; + uses apply-advanced; + leaf service-name { + description "TACACS+ service name"; + type string; + } + leaf authorization-time-interval { + description "TACACS+ authorization refresh time interval"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1440"; + } + } + } + choice strict-authorization-choice { + leaf strict-authorization { + description "Deny login if authorization request fails"; + type empty; + } + leaf no-strict-authorization { + description "Don't deny login if authorization request fails"; + type empty; + } + } + choice cmd-attribute { + case case_1 { + leaf no-cmd-attribute-value { + description "In start/stop requests, set 'cmd' attribute value to empty string"; + type empty; + } + } + case case_2 { + leaf exclude-cmd-attribute { + description "In start/stop requests, do not include 'cmd' attribute"; + type empty; + } + } + } + leaf enhanced-accounting { + description "Include authentication method, remote port and user-privileges in 'login' accounting"; + type empty; + } + leaf timestamp-and-timezone { + description "In start/stop accounting packets, include 'start-time', 'stop-time' and 'timezone' attributes"; + type empty; + } + } + container accounting { + description "System accounting configuration"; + uses apply-advanced; + leaf-list events { + description "Events to be logged"; + type enumeration { + enum "login" { + description "Login session"; + } + enum "change-log" { + description "Configuration changes"; + } + enum "interactive-commands" { + description "Commands"; + } + } + } + leaf enhanced-avs-max { + description "No. of AV pairs each of which can store a max of 250 Bytes"; + default "7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "7 .. 15"; + } + } + } + container traceoptions { + description "Trace options for system accounting"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "events" { + description "Trace accounting events and their processing"; + } + enum "config" { + description "Trace configuration processing"; + } + enum "radius" { + description "Trace RADIUS processing"; + } + enum "tacplus" { + description "Trace TACPLUS processing"; + } + } + } + } + } + container destination { + description "Destination for system accounting records"; + uses apply-advanced; + container radius { + presence "enable radius"; + description "Configure RADIUS accounting"; + uses apply-advanced; + list server { + key name; + ordered-by user; + description "RADIUS accounting server configuration"; + uses radius-server-object; + } + } + container tacplus { + presence "enable tacplus"; + description "Send TACACS+ accounting records"; + uses apply-advanced; + list server { + key name; + ordered-by user; + description "TACACS+ server configuration"; + uses tacplus-server-object; + } + } + } + } + leaf allow-v4mapped-packets { + description "Allow processing for packets with V4 mapped address"; + type empty; + } + leaf allow-6pe-traceroute { + description "Allow IPv4-mapped v6 address in tag icmp6 TTL expired packet"; + type empty; + } + leaf allow-6vpe-traceroute-src-select { + description "Select best src addr for icmp6 ttl expiry error in case 6vpe"; + type empty; + } + leaf donot-disable-ip6op-ondad { + description "Do not disable IP operation on interface, if DAD fails on EUI-64 link local address "; + type empty; + } + container scripts { + description "Scripting mechanisms"; + uses scripts_type; + } + list static-host-mapping { + key name; + ordered-by user; + description "Static hostname database mapping"; + leaf name { + description "Fully qualified name of system"; + type string { + } + } + uses apply-advanced; + leaf-list inet { + ordered-by user; + description "IP address"; + type jt:ipv4addr; + } + leaf-list inet6 { + ordered-by user; + description "IPv6 address"; + type jt:ipv6addr; + } + leaf sysid { + description "ISO/IS-IS system identifier"; + type jt:sysid; + } + leaf-list alias { + ordered-by user; + description "Hostname alias"; + type string; + } + } + container services { + presence "enable services"; + description "System services"; + uses apply-advanced; + container finger { + presence "enable finger"; + description "Allow finger requests from remote systems"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container ftp { + presence "enable ftp"; + description "Allow FTP file transfers"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + } + container ssh { + presence "enable ssh"; + description "Allow ssh access"; + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + leaf root-login { + description "Configure root access via ssh"; + type enumeration { + enum "allow" { + description "Allow root access via ssh"; + } + enum "deny" { + description "Do not allow root access via ssh"; + } + enum "deny-password" { + description "Allow for non-password-based authentication methods only"; + } + } + } + leaf no-passwords { + description "Disables ssh password based authentication"; + type empty; + } + leaf no-public-keys { + description "Disables ssh public key based authentication"; + type empty; + } + choice tcp_forwarding_choices { + case case_1 { + leaf tcp-forwarding { + description "Allow forwarding TCP connections via SSH"; + type empty; + } + } + case case_2 { + leaf no-tcp-forwarding { + description "Do not allow forwarding TCP connections via SSH"; + type empty; + } + } + } + leaf-list protocol-version { + ordered-by user; + description "Specify ssh protocol versions supported"; + type enumeration { + enum "v1" { + description "Version 1 ssh protocol"; + } + enum "v2" { + description "Version 2 ssh protocol"; + } + } + } + leaf max-sessions-per-connection { + description "Maximum number of sessions per single SSH connection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf max-pre-authentication-packets { + description "Maximum number of pre-authentication SSH packets per single SSH connection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "20 .. 2147483647"; + } + } + } + leaf-list ciphers { + ordered-by user; + description "Specify the ciphers allowed for protocol version 2"; + type enumeration { + enum "3des-cbc" { + description "Triple DES in CBC mode"; + } + enum "aes128-cbc" { + description "128-bit AES with Cipher Block Chaining"; + } + enum "aes192-cbc" { + description "192-bit AES with Cipher Block Chaining"; + } + enum "aes256-cbc" { + description "256-bit AES with Cipher Block Chaining"; + } + enum "aes128-ctr" { + description "128-bit AES with Counter Mode"; + } + enum "aes192-ctr" { + description "192-bit AES with Counter Mode"; + } + enum "aes256-ctr" { + description "256-bit AES with Counter Mode"; + } + enum "aes128-gcm@openssh.com" { + description "128-bit AES with Galois/Counter Mode"; + } + enum "aes256-gcm@openssh.com" { + description "256-bit AES with Galois/Counter Mode"; + } + enum "chacha20-poly1305@openssh.com" { + description "ChaCha20 stream cipher and Poly1305 MAC"; + } + enum "arcfour128" { + description "128-bit RC4 with Cipher Block Chaining "; + } + enum "arcfour256" { + description "256-bit RC4 with Cipher Block Chaining "; + } + enum "arcfour" { + description "128-bit RC4 with Cipher Block Chaining "; + } + enum "blowfish-cbc" { + description "128-bit Blowfish with Cipher Block Chaining "; + } + enum "cast128-cbc" { + description "128-bit CAST with Cipher Block Chaining "; + } + } + } + leaf-list macs { + ordered-by user; + description "Message Authentication Code algorithms allowed (SSHv2)"; + type enumeration { + enum "hmac-md5" { + description "Hash-based MAC using Message-Digest 5 (MD5)"; + } + enum "hmac-md5-etm@openssh.com" { + description "Hash-based Encrypt-then-MAC using Message-Digest 5 (MD5)"; + } + enum "hmac-sha1" { + description "Hash-based MAC using Secure Hash Algorithm (SHA1)"; + } + enum "hmac-sha1-etm@openssh.com" { + description "Hash-based Encrypt-then-MAC using Secure Hash Algorithm (SHA1)"; + } + enum "umac-64@openssh.com" { + description "UMAC-64 algorithm specified in RFC4418"; + } + enum "umac-128@openssh.com" { + description "UMAC-128 algorithm specified in RFC4418"; + } + enum "umac-64-etm@openssh.com" { + description "Encrypt-then-MAC using UMAC-64 algorithm specified in RFC4418"; + } + enum "umac-128-etm@openssh.com" { + description "Encrypt-then-MAC using UMAC-128 algorithm specified in RFC4418"; + } + enum "hmac-sha2-256" { + description "Hash-based MAC using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-256-etm@openssh.com" { + description "Hash-based Encrypt-then-Mac using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-256-96" { + description "96-bits of Hash-based MAC using SHA2"; + } + enum "hmac-sha2-512" { + description "Hash-based MAC using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-512-etm@openssh.com" { + description "Hash-based Encrypt-then-Mac using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-512-96" { + description "96-bits of Hash-based MAC using SHA2"; + } + enum "hmac-ripemd160" { + description "Hash-based MAC using RIPEMD"; + } + enum "hmac-ripemd160-etm@openssh.com" { + description "Hash-based Encrypt-then-MAC using RIPEMD"; + } + enum "hmac-sha1-96" { + description "96-bits of Hash-based MAC using SHA1"; + } + enum "hmac-sha1-96-etm@openssh.com" { + description "96-bits of Hash-based Encrypt-then-MAC using SHA1"; + } + enum "hmac-md5-96" { + description "96-bits of Hash-based MAC using MD5"; + } + enum "hmac-md5-96-etm@openssh.com" { + description "96-bits of Hash-based Encrypt-then-MAC using MD5"; + } + } + } + leaf-list key-exchange { + ordered-by user; + description "Specify ssh key-exchange for Diffie-Hellman keys"; + type enumeration { + enum "curve25519-sha256" { + description "The EC Diffie-Hellman on Curve25519 with SHA2-256 hash"; + } + enum "ecdh-sha2-nistp256" { + description "The EC Diffie-Hellman on nistp256 with SHA2-256"; + } + enum "ecdh-sha2-nistp384" { + description "The EC Diffie-Hellman on nistp384 with SHA2-384"; + } + enum "ecdh-sha2-nistp521" { + description "The EC Diffie-Hellman on nistp521 with SHA2-512"; + } + enum "group-exchange-sha2" { + description "The RFC 4419 group exchange with SHA2-256 hash"; + } + enum "group-exchange-sha1" { + description "The RFC 4419 group exchange with SHA1 hash"; + } + enum "dh-group14-sha1" { + description "The RFC 4253 mandated group14 with SHA1 hash"; + } + enum "dh-group1-sha1" { + description "The RFC 4253 mandated group1 with SHA1 hash"; + } + } + } + leaf client-alive-count-max { + description "Threshold of missing client-alive responses that triggers a disconnect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf client-alive-interval { + description "Frequency of client-alive requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container hostkey-algorithm { + presence "enable hostkey-algorithm"; + description "Specify permissible SSH host-key algorithms"; + uses apply-advanced; + choice ssh-dss-choice { + case case_1 { + leaf no-ssh-dss { + description "Disallow generation of 1024-bit DSA host-key"; + type empty; + } + } + case case_2 { + container ssh-dss { + presence "enable ssh-dss"; + description "Allow generation of 1024-bit DSA host-key"; + uses apply-advanced; + choice allow-deny { + case case_1 { + leaf allow { + description "Allow generation of 1024-bit DSA host-key"; + status deprecated; + type empty; + } + } + case case_2 { + leaf deny { + description "Disallow generation of 1024-bit DSA host-key"; + status deprecated; + type empty; + } + } + } + } + } + } + choice ssh-rsa-choice { + case case_1 { + leaf no-ssh-rsa { + description "Disallow generation of RSA host-key"; + type empty; + } + } + case case_2 { + container ssh-rsa { + presence "enable ssh-rsa"; + description "Allow generation of RSA host-key"; + uses apply-advanced; + choice allow-deny { + case case_1 { + leaf allow { + description "Allow generation of RSA host-key"; + status deprecated; + type empty; + } + } + case case_2 { + leaf deny { + description "Disallow generation of RSA host-key"; + status deprecated; + type empty; + } + } + } + } + } + } + choice ssh-ecdsa-choice { + case case_1 { + leaf no-ssh-ecdsa { + description "Disallow generation of ECDSA host-key"; + type empty; + } + } + case case_2 { + container ssh-ecdsa { + presence "enable ssh-ecdsa"; + description "Allow generation of ECDSA host-key"; + uses apply-advanced; + choice allow-deny { + case case_1 { + leaf allow { + description "Allow generation of ECDSA host-key"; + status deprecated; + type empty; + } + } + case case_2 { + leaf deny { + description "Disallow generation of ECDSA host-key"; + status deprecated; + type empty; + } + } + } + } + } + } + choice ssh-ed25519-choice { + case case_1 { + leaf no-ssh-ed25519 { + description "Disallow generation of ED25519 host-key"; + type empty; + } + } + case case_2 { + leaf ssh-ed25519 { + description "Allow generation of ED25519 host-key"; + type empty; + } + } + } + } + leaf fingerprint-hash { + description "Configure hash algorithm used when displaying key fingerprints"; + type enumeration { + enum "sha2-256" { + description "Enable use of SHA2-256"; + } + enum "md5" { + description "Enable use of MD5"; + } + } + } + leaf authorized-keys-command { + description "Specifies a command string to be used to look up the user's public keys"; + type string { + length "1 .. 1024"; + } + } + leaf authorized-keys-command-user { + description "Specifies the user under whose account the authorized-keys-command is run"; + type string { + length "1 .. 256"; + } + } + container rekey { + description "Limits before session keys are renegotiated"; + uses apply-advanced; + leaf data-limit { + description "Data limit before renegotiating session keys"; + units "bytes"; + type string; + } + leaf time-limit { + description "Time limit before renegotiating session keys"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + } + leaf port { + description "Port number to accept incoming connections"; + default "22"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf log-key-changes { + description "Log changes to authorized keys to syslog"; + type empty; + } + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container telnet { + presence "enable telnet"; + description "Allow telnet login"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + } + container xnm-clear-text { + presence "enable xnm-clear-text"; + description "Allow clear text-based JUNOScript connections"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container xnm-ssl { + presence "enable xnm-ssl"; + description "Allow SSL-based JUNOScript connections"; + uses apply-advanced; + leaf local-certificate { + description "Name of local X.509 certificate to use"; + type string; + } + choice ssl-renegotiation-choice { + leaf ssl-renegotiation { + description "Allow SSL renegotiation"; + type empty; + } + leaf no-ssl-renegotiation { + description "Don't allow SSL renegotiation"; + type empty; + } + } + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container extension-service { + description "Enable JUNOS extension services"; + uses apply-advanced; + container request-response { + description "Allow request-response API execution"; + uses apply-advanced; + container grpc { + description "Grpc server configuration"; + uses apply-advanced; + choice request-response-type { + case case_1 { + container ssl { + description "SSL based API connection settings"; + uses apply-advanced; + leaf address { + description "Address to listen for incoming connections"; + default "::"; + type jt:ipaddr; + } + leaf port { + description "Port number to accept incoming connections"; + default "32767"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list local-certificate { + ordered-by user; + description "Name of local X.509 certificate to use"; + type string; + } + container mutual-authentication { + description "Enable TLS mutual authentication"; + uses apply-advanced; + leaf certificate-authority { + description "Certificate authority profile"; + type string { + } + } + leaf client-certificate-request { + description "Specify requirements for client certificate"; + default "require-certificate-and-verify"; + type enumeration { + enum "no-certificate" { + description "Client certificate is not requested"; + } + enum "request-certificate" { + description "Request certificate from client, do not verify"; + } + enum "request-certificate-and-verify" { + description "Request certificate from client, verify if provided"; + } + enum "require-certificate" { + description "Client certificate is mandatory, do not verify"; + } + enum "require-certificate-and-verify" { + description "Client certificate is mandatory, certificate is verified"; + } + } + } + } + } + } + } + leaf max-connections { + description "Maximum number of connections"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container notification { + presence "enable notification"; + description "Enable Notification Services"; + uses apply-advanced; + leaf port { + description "Port number to accept incoming connections"; + default "1883"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf max-connections { + description "Maximum number of connections"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + leaf broker-socket-send-buffer-size { + description "Socket send buffer size for the broker to publish the messages"; + default "65536"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container allow-clients { + description "Client IPs from which notifications are allowed"; + uses apply-advanced; + leaf-list address { + ordered-by user; + description "IPv4/IPv6 addresses, prefix length optional, or hostnames"; + type jt:ipprefix-optional; + } + } + } + container traceoptions { + description "Trace options for JSD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "timeouts" { + description "Trace timeouts "; + } + enum "routing-socket" { + description "Trace routing socket calls"; + } + enum "general" { + description "Trace general events"; + } + enum "config" { + description "Trace config events"; + } + enum "grpc" { + description "Trace grpc related events"; + } + enum "notification" { + description "Trace notification events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container netconf { + description "Allow NETCONF connections"; + uses apply-advanced; + container ssh { + presence "enable ssh"; + description "Allow NETCONF over SSH"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf port { + description "Service port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + leaf rfc-compliant { + description "Make the NETCONF sessions compliant to RFC 4741"; + type empty; + } + leaf yang-compliant { + description "Make the NETCONF sessions compliant to yang schemas"; + type empty; + } + container yang-modules { + description "Tweak settings for YANG modules served on this device"; + uses apply-advanced; + leaf device-specific { + description "Serve YANG modules specific to this device"; + type empty; + } + leaf emit-extensions { + description "Enable serving of Junos YANG extension modules"; + type empty; + } + } + container traceoptions { + description "NETCONF trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Log the entire communication"; + } + enum "incoming" { + description "Log all incoming data"; + } + enum "outgoing" { + description "Log all outgoing data"; + } + enum "debug" { + description "Log debug level information"; + } + } + } + } + leaf on-demand { + description "Enable on-demand tracing"; + type empty; + } + } + } + container tftp-server { + presence "enable tftp-server"; + description "Enable TFTP file transfers"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + leaf dtcp-only { + description "Allow subscriber DTCP based lawful intercept only"; + type empty; + } + container reverse { + description "Allow connections to device connected to the AUX port"; + uses apply-advanced; + container telnet { + presence "enable telnet"; + description "Allow reverse telnet connections (over AUX port)"; + uses apply-advanced; + leaf port { + description "Port number to accept reverse telnet connections"; + default "2900"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container ssh { + presence "enable ssh"; + description "Allow reverse SSH connections (over AUX port)"; + uses apply-advanced; + leaf port { + description "Port number to accept reverse SSH connections"; + default "2901"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + } + container dns { + presence "enable dns"; + description "Enable Name server"; + uses apply-advanced; + leaf max-cache-ttl { + description "Max TTL for cached responses"; + default "604800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + leaf max-ncache-ttl { + description "Max TTL for cached negative responses"; + default "10800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + container traceoptions { + description "DNS server trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + leaf debug-level { + description "Debug level"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + list category { + key name; + description "Logging category"; + leaf name { + type enumeration { + enum "default" { + description "Categories where no specific configuration"; + } + enum "general" { + description "General infomation"; + } + enum "database" { + description "Messages relating to the databases"; + } + enum "security" { + description "Approval and denial of requests"; + } + enum "config" { + description "Configuraion file parsing and processing"; + } + enum "resolver" { + description "DNS resolution"; + } + enum "xfer-in" { + description "Zone transfers the server is receiving"; + } + enum "xfer-out" { + description "Zone transfers the server is sending"; + } + enum "notify" { + description "The NOTIFY protocol"; + } + enum "client" { + description "Processing of client requests"; + } + enum "unmatched" { + description "Messages named was unable to determine the class"; + } + enum "network" { + description "Network options"; + } + enum "update" { + description "Dynamic updates"; + } + enum "update-security" { + description "Approval and denial of update requests"; + } + enum "queries" { + description "DNS query"; + } + enum "dispatch" { + description "Dispatching of incoming packets to the server"; + } + enum "dnssec" { + description "DNSSEC and TSIG protocol processing"; + } + enum "lame-servers" { + description "Lame servers"; + } + enum "delegation-only" { + description "Delegation only"; + } + enum "edns-disabled" { + description "Log query using plain DNS"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of NAMED demon to enable debugging output"; + leaf name { + type enumeration { + enum "ddns" { + description "Trace DDNS code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ui" { + description "Trace ui code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "all" { + description "Trace all areas of code"; + } + enum "trace" { + description "Trace tracing code"; + } + } + } + } + } + list forwarders { + key name; + ordered-by user; + description "Server IPs to DNS query will be forwarded"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + } + container dnssec { + presence "enable dnssec"; + description "Configure DNSSEC"; + uses apply-advanced; + leaf disable { + description "Disable DNSSEC"; + type empty; + } + container trusted-keys { + presence "enable trusted-keys"; + description "Trusted keys"; + uses apply-advanced; + list key { + key name; + ordered-by user; + description "Trusted key"; + leaf name { + description "Trusted key"; + type string; + } + uses apply-advanced; + } + } + list dlv { + key "domain trusted-anchor"; + ordered-by user; + description "Configure DLV (DNS Lookaside Validation)"; + leaf domain { + description "Name of the domain"; + type string; + } + leaf trusted-anchor { + description "Trusted DLV anchor"; + type string; + } + } + list secure-domains { + key name; + ordered-by user; + description "Domains for which only signed responses are accepted"; + leaf name { + description "Domain name"; + type string; + } + uses apply-advanced; + } + } + container dns-proxy { + description "Configure DNS proxy server"; + uses apply-advanced; + leaf propogate-setting { + description "Use dhcp/pppoe propogated name-server as forwarders for DNS proxy"; + type enumeration { + enum "enable" { + description "Enable propogate name-server"; + } + enum "disable" { + description "Disable propogate name-server"; + } + } + } + list interface { + key name; + description "Configure interface for DNS proxy"; + max-elements 512; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list default-domain { + key name; + ordered-by user; + description "Configure domain for split DNS"; + max-elements 16; + leaf name { + description "Configure domain-name for split DNS"; + type string { + length "1 .. 50"; + } + } + uses apply-advanced; + list forwarders { + key name; + ordered-by user; + description "Server IP for forwarding DNS query"; + max-elements 16; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + list cache { + key name; + description "Configure DNS proxy static cache entries"; + leaf name { + description "Hostname"; + type string { + } + } + leaf inet { + description "Host's IPv4 address"; + type jt:ipaddr; + } + } + list view { + key name; + ordered-by user; + description "Configure view for split DNS"; + max-elements 32; + leaf name { + description "Configure View select list identifier"; + type string { + length "1 .. 50"; + } + } + uses apply-advanced; + list match-clients { + key name; + ordered-by user; + description "Interface IP to DNS query will be handled"; + max-elements 16; + leaf name { + description "Logical subnet address/netmask"; + type jt:ipprefix; + } + uses apply-advanced; + } + list domain { + key name; + ordered-by user; + description "Configure domain for split DNS"; + max-elements 16; + leaf name { + description "Configure domain-name for split DNS"; + type string { + length "1 .. 50"; + } + } + uses apply-advanced; + leaf forward-only { + description "The server will only forward queries"; + type empty; + } + list forwarders { + key name; + ordered-by user; + description "Server IP for forwarding DNS query"; + max-elements 16; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + } + container service-deployment { + description "Configuration for Service Deployment (SDXD) management application"; + uses apply-advanced; + leaf local-certificate { + description "Name of local X.509 certificate to use"; + type string { + length "1 .. 1024"; + } + } + leaf source-address { + description "Local IPv4 address to be used as source address for traffic to SDX"; + type jt:ipv4addr; + } + list servers { + key name; + ordered-by user; + description "Service deployment system configuration"; + max-elements 3; + leaf name { + description "IPv4 address of SDX server"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf port { + description "TCP port of SDX server"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf user { + description "Username used by SDX when logging into the router"; + type string; + } + container security-options { + description "Specify mechanism to secure the connection"; + uses apply-advanced; + choice protocol { + case case_1 { + leaf tls { + description "Use TLS for transport layer security"; + type empty; + } + } + case case_2 { + leaf ssl3 { + description "Use SSLv3 for transport layer security"; + type empty; + } + } + } + } + } + container traceoptions { + description "Service deployment daemon trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing options"; + leaf name { + type enumeration { + enum "beep" { + description "Trace BEEP protocol events"; + } + enum "profile" { + description "Trace BEEP profile events"; + } + enum "application" { + description "Trace application events"; + } + enum "io" { + description "Trace I/O activities"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container outbound-ssh { + description "Initiate outbound SSH connection"; + uses apply-advanced; + container traceoptions { + description "Outbound SSH trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "connectivity" { + description "Trace TCP connection handling"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Define a device initiated SSH connection"; + leaf name { + description "Client application identifier"; + type string; + } + uses apply-advanced; + leaf disable-ssh-security-settings { + description "Disable ssh security parameter defined under [system services ssh]"; + status deprecated; + type empty; + } + leaf device-id { + description "Unique ID used by client to identify this device"; + type string; + } + leaf secret { + description "Shared secret between client and this device"; + type jt:unreadable; + } + container keep-alive { + presence "enable keep-alive"; + uses apply-advanced; + leaf retry { + description "Maximum number of connection attempts"; + default "3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf timeout { + description "Timeout value for conection attempts"; + default "15"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf reconnect-strategy { + description "Strategy used to reconnect to a server"; + default "in-order"; + type enumeration { + enum "sticky" { + description "Attempt to reconnect to the server last connected to"; + } + enum "in-order" { + description "Attempt to reconnect to the first server configured"; + } + } + } + leaf services { + description "The subsystem(s) that can be invoked"; + type enumeration { + enum "netconf" { + description "Enable invoking NETCONF sub-system"; + } + } + } + list servers { + key name; + ordered-by user; + description "Client application servers"; + leaf name { + description "Client address to connect to"; + type string; + } + uses apply-advanced; + leaf port { + description "Client port to connect to"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry { + description "Maximum number of connection attempts"; + default "3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf timeout { + description "Timeout value for conection attempts"; + default "15"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container rest { + description "Allow RPC execution over HTTP(S) connection"; + uses apply-advanced; + container http { + presence "enable http"; + description "Unencrypted HTTP connection settings"; + uses apply-advanced; + leaf port { + description "Port number to accept HTTP connections"; + default "3000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf-list addresses { + ordered-by user; + description "List of addresses to listen for incoming connections"; + type jt:ipv4addr; + } + } + container https { + description "Encrypted HTTPS connections"; + uses apply-advanced; + leaf port { + description "Port number to accept HTTPS connections"; + default "3443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf-list addresses { + ordered-by user; + description "List of addresses to listen for incoming connections"; + type jt:ipv4addr; + } + leaf server-certificate { + description "Local certificate identifier"; + type string { + } + } + leaf-list cipher-list { + ordered-by user; + description "List of allowed cipher suites in order of preference"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "dhe-rsa-with-3des-ede-cbc-sha" { + description "DHE/rsa, 3es/ede cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "dhe-rsa-with-aes-128-cbc-sha" { + description "DHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "dhe-rsa-with-aes-256-cbc-sha" { + description "DHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-rc4-128-sha" { + description "ECDHE/rsa, 128 bit rc4, sha hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 128bit 3des ede/cbc sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "dhe-rsa-with-aes-128-cbc-sha256" { + description "DHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + enum "dhe-rsa-with-aes-256-cbc-sha256" { + description "DHE/rsa, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash"; + } + enum "dhe-rsa-with-aes-128-gcm-sha256" { + description "DHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "dhe-rsa-with-aes-256-gcm-sha384" { + description "DHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + } + } + container mutual-authentication { + description "Enable TLS mutual authentication"; + uses apply-advanced; + leaf certificate-authority { + description "Certificate authority profile"; + type string { + } + } + } + } + container control { + description "Control of the rest-api process"; + uses apply-advanced; + leaf-list allowed-sources { + ordered-by user; + description "List of allowed source IP addresses"; + type jt:ipv4addr; + } + leaf connection-limit { + description "Maximum number of simultaneous connections"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32; + } + } + } + container traceoptions { + description "Trace options for rest-api service"; + uses apply-advanced; + leaf flag { + description "Area to enable tracing"; + type enumeration { + enum "lighttpd" { + description "Enable tracing for lighttpd"; + } + enum "juise" { + description "Enable tracing for JUISE"; + } + enum "all" { + description "Enable all traces"; + } + } + } + } + leaf enable-explorer { + description "Enable REST API explorer tool"; + type empty; + } + } + container subscriber-management-helper { + description "Subscriber management helper configuration"; + uses smihelperd-type; + } + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container database-replication { + description "Database replication configuration"; + uses bdbrepd-type; + } + container web-management { + description "Web management configuration"; + uses apply-advanced; + container traceoptions { + description "Web management trace options"; + uses httpd_traceoptions_type; + } + leaf management-url { + description "URL path for web management access"; + type string; + } + container http { + presence "enable http"; + description "Unencrypted HTTP connection settings"; + uses apply-advanced; + leaf port { + description "TCP port for incoming HTTP connections"; + default "80"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf-list interface { + ordered-by user; + description "Interfaces that accept HTTP access"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container https { + presence "enable https"; + description "Encrypted HTTPS connections"; + uses apply-advanced; + leaf port { + description "TCP port for incoming HTTPS connections"; + default "443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + choice certificate-choice { + case case_1 { + leaf local-certificate { + description "X.509 certificate to use (from configuration)"; + type string; + } + } + case case_2 { + leaf pki-local-certificate { + description "X.509 certificate to use (from PKI local store)"; + type string { + } + } + } + case case_3 { + leaf system-generated-certificate { + description "X.509 certificate generated automatically by system"; + type empty; + } + } + } + leaf-list interface { + ordered-by user; + description "Interfaces that accept HTTPS access"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container control { + description "Control of the web management process"; + uses apply-advanced; + leaf max-threads { + description "Maximum simultaneous threads to handle requests"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16"; + } + } + } + } + container session { + description "Session parameters"; + uses apply-advanced; + leaf idle-timeout { + description "Default timeout of web-management sessions"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + leaf session-limit { + description "Maximum number of web-management sessions to allow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + } + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + container subscriber-management { + description "Subscriber management configuration"; + uses smid-type; + } + container resource-monitor { + description "Resource monitor configuration"; + uses resource-monitor-type; + } + container extensible-subscriber-services { + description "Extensible Subscriber Services Configuration"; + uses apply-advanced; + container maximum-subscribers { + description "Maximum number of subscribers"; + uses apply-advanced; + leaf limit { + description "Maximum number of subscribers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 16000"; + } + } + } + } + container commit-interval { + description "Script configuration commit interval"; + uses apply-advanced; + leaf interval { + description "Commit interval in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 3600"; + } + } + } + } + container flat-file-accounting-interval { + description "Flat file accounting collection interval"; + status deprecated; + uses apply-advanced; + leaf interval { + description "Flat file accounting interval in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "600 .. 7200"; + } + } + } + } + container flat-file-rollover-interval { + description "Flat file accounting rollover interval"; + status deprecated; + uses apply-advanced; + leaf interval { + description "Flat file accounting rollover interval in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "600 .. 7200"; + } + } + } + } + container logical-interface-unit-range { + presence "enable logical-interface-unit-range"; + description "Logical interface unit range"; + uses apply-advanced; + leaf low { + description "Lower limit of logical interface unit range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 16385"; + } + } + } + leaf high { + description "Upper limit of logical interface unit range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 16385"; + } + } + } + } + container dictionary { + description "Dictionary Information"; + uses apply-advanced; + leaf dictionary-path { + description "Complete path with dictionary name"; + type jt:filename; + } + } + container flat-file-accounting-format { + description "Flat file accounting format"; + status deprecated; + uses apply-advanced; + choice format { + case case_1 { + leaf ipdr { + description "IPDR format"; + type empty; + } + } + case case_2 { + leaf csv { + description "CSV format"; + type empty; + } + } + } + } + container access-profile { + description "Access profile reference"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + } + leaf flat-file-profile { + description "Flat file profile name"; + type string; + } + } + container dhcp { + description "Configure DHCP server"; + uses apply-advanced; + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf default-lease-time { + description "Default lease time advertised to clients"; + units "seconds"; + type string; + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + length "1 .. 254"; + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-search { + key name; + ordered-by user; + description "Domain search list used to resolve hostnames"; + leaf name { + description "DNS search suffix"; + type string; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "NetBIOS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "DHCP server identifier advertised to clients"; + type jt:ipv4addr; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_9 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + } + } + } + case case_10 { + leaf byte-stream { + description "Stream of unsigned 8-bit values within quotes"; + type string; + } + } + } + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "Names of SIP servers"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list address { + key name; + ordered-by user; + description "IP addresses of SIP servers"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + container traceoptions { + description "DHCP server trace options"; + uses dhcp-traceoptions-type; + } + list pool { + key name; + ordered-by user; + description "DHCP address pool"; + leaf name { + description "Logical subnet address/netmask"; + type jt:ipprefix; + } + uses apply-advanced; + container address-range { + presence "enable address-range"; + description "Range of addresses to choose from"; + leaf low { + description "Lowest address in the range"; + type jt:ipv4addr; + } + leaf high { + description "Highest address in the range"; + type jt:ipv4addr; + } + } + list exclude-address { + key name; + ordered-by user; + description "Address to exclude from pool"; + leaf name { + description "IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf default-lease-time { + description "Default lease time advertised to clients"; + units "seconds"; + type string; + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + length "1 .. 254"; + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-search { + key name; + ordered-by user; + description "Domain search list used to resolve hostnames"; + leaf name { + description "DNS search suffix"; + type string; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "NetBIOS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "DHCP server identifier advertised to clients"; + type jt:ipv4addr; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_9 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + } + } + } + case case_10 { + leaf byte-stream { + description "Stream of unsigned 8-bit values within quotes"; + type string; + } + } + } + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "Names of SIP servers"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list address { + key name; + ordered-by user; + description "IP addresses of SIP servers"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP settings to pool"; + type string; + } + leaf-list propagate-ppp-settings { + ordered-by user; + description "PPP interface name for propagating DNS/WINS settings to pool"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + list static-binding { + key name; + ordered-by user; + description "DHCP client's hardware address"; + leaf name { + description "Ethernet hardware address belonging to host"; + type jt:mac-addr; + } + uses apply-advanced; + list fixed-address { + key name; + ordered-by user; + description "Possible IP addresses to assign to host"; + leaf name { + description "IPv4 address"; + type jt:ipaddr; + } + uses apply-advanced; + } + leaf host-name { + description "Hostname for this client"; + type string { + } + } + container client-identifier { + description "Client identifier option"; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + length "1 .. 254"; + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-search { + key name; + ordered-by user; + description "Domain search list used to resolve hostnames"; + leaf name { + description "DNS search suffix"; + type string; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "NetBIOS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "DHCP server identifier advertised to clients"; + type jt:ipv4addr; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_9 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + } + } + } + case case_10 { + leaf byte-stream { + description "Stream of unsigned 8-bit values within quotes"; + type string; + } + } + } + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "Names of SIP servers"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list address { + key name; + ordered-by user; + description "IP addresses of SIP servers"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP settings to pool"; + type string; + } + leaf-list propagate-ppp-settings { + ordered-by user; + description "PPP interface name for propagating DNS/WINS settings globally"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 8; + } + } + container dynamic-dns { + description "Configure DNS dynamic dns"; + uses apply-advanced; + list client { + key name; + ordered-by user; + description "Configure DNS dynamic dns clients"; + max-elements 256; + leaf name { + description "Internal dns hostname"; + type string { + } + } + uses apply-advanced; + leaf server { + description "Dynamic DNS server - members.dyndns.org or ddo.jp"; + type enumeration { + enum "dyndns" { + } + enum "ddo" { + } + } + } + leaf agent { + description "Dynamic DNS agent name"; + type string; + } + leaf username { + description "Dynamic DNS server username"; + type string; + } + leaf password { + description "Dynamic DNS server password"; + type jt:unreadable; + } + leaf interface { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container webapi { + description "Webapi configuration"; + uses apply-advanced; + container user { + description "User name"; + uses apply-advanced; + leaf user-name { + description "User name"; + type string { + length "1 .. 64"; + } + } + leaf password { + description "Password string"; + type string { + length "1 .. 128"; + } + } + } + list client { + key name; + ordered-by user; + description "Address of permitted HTTP/HTTPS request originator"; + max-elements 20; + leaf name { + description "Address"; + type jt:ipaddr; + } + } + container http { + presence "enable http"; + description "Unencrypted HTTP connection settings"; + uses apply-advanced; + leaf port { + description "TCP port for incoming HTTP connections"; + default "8080"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container https { + description "Encrypted HTTPS connection settings"; + uses apply-advanced; + leaf port { + description "TCP port for incoming HTTPS connections"; + default "8443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf default-certificate { + description "X.509 certificate generated by system"; + type empty; + } + leaf pki-local-certificate { + description "X.509 certificate to use (from PKI local store)"; + type string { + length "1 .. 256"; + } + } + leaf certificate { + description "X.509 certificate to use (from local file system)"; + type string { + length "1 .. 256"; + } + } + leaf certificate-key { + description "X.509 certificate key to use (from local file system)"; + type string { + length "1 .. 256"; + } + } + } + container debug-log { + description "Debug log for webapi daemon"; + uses apply-advanced; + leaf file { + description "Debug file for webapi daemon"; + type string { + length "1 .. 255"; + } + } + } + container debug-level { + description "Debug level for webapi daemon"; + uses apply-advanced; + choice level { + case case_1 { + leaf emerg { + description "Match emergence messages"; + type empty; + } + } + case case_2 { + leaf alert { + description "Match alert messages"; + type empty; + } + } + case case_3 { + leaf crit { + description "Match critical messages"; + type empty; + } + } + case case_4 { + leaf error { + description "Match error messages"; + type empty; + } + } + case case_5 { + leaf warn { + description "Match warning messages"; + type empty; + } + } + case case_6 { + leaf notice { + description "Match notice messages"; + type empty; + } + } + case case_7 { + leaf info { + description "Match informational messages"; + type empty; + } + } + } + } + } + } + container syslog { + description "System logging facility"; + uses apply-advanced; + container archive { + description "Archive file information"; + presence "enable archive"; + uses archive-object; + } + list user { + key name; + ordered-by user; + description "Notify a user of the event"; + leaf name { + description "Name of user to notify"; + type string { + } + } + uses apply-advanced; + list contents { + key name; + uses syslog-object; + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf allow-duplicates { + description "Do not suppress the repeated message"; + type empty; + } + leaf-list match-strings { + ordered-by user; + description "Matching string(s) for lines to be logged"; + type string; + max-elements 50; + } + } + list host { + key name; + ordered-by user; + description "Host to be notified"; + leaf name { + description "Name of host to notify"; + type string; + } + uses apply-advanced; + list contents { + key name; + uses syslog-object; + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf allow-duplicates { + description "Do not suppress the repeated message"; + type empty; + } + leaf port { + description "Port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf log-prefix { + description "Prefix for all logging to this host"; + type string { + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf explicit-priority { + description "Include priority and facility in messages"; + type empty; + } + leaf exclude-hostname { + description "Exclude hostname field in messages"; + type empty; + } + leaf-list match-strings { + ordered-by user; + description "Matching string(s) for lines to be logged"; + type string; + max-elements 50; + } + container structured-data { + presence "enable structured-data"; + description "Log system message in structured format"; + uses apply-advanced; + choice format { + case case_1 { + leaf brief { + description "Omit English-language text from end of logged message"; + type empty; + } + } + } + } + } + leaf allow-duplicates { + description "Do not suppress the repeated message for all targets"; + type empty; + } + list file { + key name; + ordered-by user; + description "File in which to log data"; + leaf name { + description "Name of file in which to log data"; + type string { + length "1 .. 1024"; + } + } + uses apply-advanced; + list contents { + key name; + uses syslog-object; + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf allow-duplicates { + description "Do not suppress the repeated message"; + type empty; + } + container archive { + description "Archive file information"; + presence "enable archive"; + uses archive-object; + } + leaf explicit-priority { + description "Include priority and facility in messages"; + type empty; + } + leaf-list match-strings { + ordered-by user; + description "Matching string(s) for lines to be logged"; + type string; + max-elements 50; + } + container structured-data { + presence "enable structured-data"; + description "Log system message in structured format"; + uses apply-advanced; + choice format { + case case_1 { + leaf brief { + description "Omit English-language text from end of logged message"; + type empty; + } + } + } + } + } + list console { + key name; + description "Console logging"; + leaf name { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "ntp" { + description "NTP process"; + } + enum "security" { + description "Security related"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "dfc" { + description "Dynamic flow capture"; + } + enum "external" { + description "Local external applications"; + } + enum "firewall" { + description "Firewall filtering system"; + } + enum "pfe" { + description "Packet Forwarding Engine"; + } + enum "conflict-log" { + description "Configuration conflict log"; + } + enum "change-log" { + description "Configuration change log"; + } + enum "interactive-commands" { + description "Commands executed by the UI"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + container time-format { + presence "enable time-format"; + description "Additional information to include in system log timestamp"; + leaf year { + description "Include year in timestamp"; + type empty; + } + leaf millisecond { + description "Include milliseconds in timestamp"; + type empty; + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf log-rotate-frequency { + description "Rotate log frequency"; + default "15"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 59"; + } + } + } + container server { + presence "enable server"; + description "Enable syslog server"; + uses apply-advanced; + list routing-instances { + key name; + ordered-by user; + description "Enable/disable syslog server in routing-instances"; + leaf name { + description "Routing instance name"; + type string; + } + uses apply-advanced; + container disable { + presence "enable disable"; + description "Disable syslog server in this routing instance"; + } + } + } + } + container tracing { + description "System wide option for remote tracing"; + container destination-override { + description "Override tracing destination"; + container syslog { + description "Send trace messages to remote syslog server"; + leaf host { + description "IPv4 address of remote syslog server"; + type jt:ipv4addr; + } + } + } + } + leaf encrypt-configuration-files { + description "Encrypt the router configuration files"; + type empty; + } + choice compress-configuration-files-choice { + leaf compress-configuration-files { + description "Compress the router configuration files"; + type empty; + } + leaf no-compress-configuration-files { + description "Don't compress the router configuration files"; + type empty; + } + } + leaf max-configurations-on-flash { + description "Number of configuration files stored on flash"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 49"; + } + } + } + leaf max-configuration-rollbacks { + description "Number of rollback configuration files"; + default "49"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 49"; + } + } + } + container archival { + description "System archival management"; + uses apply-advanced; + container configuration { + description "Automatic configuration uploads to host(s)"; + uses apply-advanced; + choice transfer-method { + case case_1 { + leaf transfer-interval { + description "Frequency at which file transfer happens"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 2880"; + } + } + } + } + case case_2 { + leaf transfer-on-commit { + description "Transfer after each commit"; + type empty; + } + } + } + list archive-sites { + key name; + ordered-by user; + description "List of archive destinations"; + leaf name { + description "URLs to receive configuration files"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + } + } + } + container extensions { + presence "enable extensions"; + description "Configuration for extensions to JUNOS"; + uses apply-advanced; + list providers { + key name; + ordered-by user; + leaf name { + type string { + } + } + uses apply-advanced; + list license-type { + key name; + ordered-by user; + leaf name { + description "Type of the license"; + type string { + } + } + leaf-list deployment-scope { + ordered-by user; + type string; + } + } + } + container extension-service { + presence "enable extension-service"; + description "Enable JUNOS extension service"; + uses apply-advanced; + container application { + presence "enable application"; + description "JUNOS extension service application"; + uses apply-advanced; + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + list file { + key name; + description "Configuration for each extension-service application"; + uses jet_scripts_file_type; + } + container traceoptions { + description "Trace options for extension-service applications"; + uses script_traceoptions; + } + leaf max-datasize { + description "Maximum data segment size for apps execution"; + units "bytes"; + type string; + } + } + } + container resource-limits { + description "Process resource limits"; + uses apply-advanced; + list process { + key name; + ordered-by user; + leaf name { + description "Process name"; + type string; + } + uses apply-advanced; + container resources { + description "Resource limits"; + presence "enable resources"; + uses resources-type; + } + } + list package { + key name; + ordered-by user; + leaf name { + description "Package name"; + type string; + } + uses apply-advanced; + container resources { + description "Resource limits"; + presence "enable resources"; + uses resources-type; + } + } + } + } + container license { + description "License information for the router"; + uses license-object; + } + container proxy { + description "Proxy information for the router"; + uses proxy-object; + } + container fips { + description "FIPS configuration"; + uses apply-advanced; + container chassis { + description "FIPS chassis boundary configuration"; + uses apply-advanced; + leaf level { + description "FIPS chassis level configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 2"; + } + } + } + } + leaf level { + description "FIPS 140 level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 2"; + } + } + } + container self-test { + description "Configure FIPS self-test execution"; + uses apply-advanced; + leaf after-key-generation { + description "FIPS self-test after cryptographic key generation"; + status deprecated; + type enumeration { + enum "enable" { + description "Enable FIPS self-test after cryptographic key generation"; + status deprecated; + } + enum "disable" { + description "Disable FIPS self-test after cryptographic key generation"; + status deprecated; + } + } + } + container periodic { + description "Configure periodic FIPS self-test"; + uses apply-advanced; + leaf start-time { + description "Time when the periodic FIPS self-tests are to be executed (hh:mm)"; + type string { + } + } + leaf day-of-month { + description "Day of the month when FIPS self-tests are to be executed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 31"; + } + } + } + leaf month { + description "The month when FIPS self-tests are to be executed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 12"; + } + } + } + leaf day-of-week { + description "Day of the week when the FIPS self-tests are to be executed (where 1 - Monday, 7 - Sunday)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 7"; + } + } + } + } + } + } + container rng { + description "Configure system CSPRNG"; + uses apply-advanced; + choice algorithm { + case case_1 { + leaf yarrow { + description "Yarrow"; + type empty; + } + } + case case_2 { + leaf hmac-drbg { + description "HMAC DRBG, NIST SP800-90A"; + type empty; + } + } + } + } + container export-format { + description "Setting the properties related to exporting the data"; + uses apply-advanced; + container json { + description "Set the type of JSON format"; + uses apply-advanced; + choice json-type { + case case_1 { + leaf verbose { + description "All the objects will be emitted as JSON arrays"; + status deprecated; + type empty; + } + } + case case_2 { + leaf ietf { + description "JSON format will be emitted as per ietf draft"; + type empty; + } + } + } + } + container state-data { + description "Setting the properties with respect to state data"; + uses apply-advanced; + container json { + description "Set the type of JSON format for state data rendering"; + uses apply-advanced; + choice json-type { + case case_1 { + leaf compact { + description "Display JSON in compact format"; + type empty; + } + } + } + } + } + } + container health-monitor { + presence "enable health-monitor"; + description "Kernel health monitoring system"; + uses apply-advanced; + container ifstate-clients { + presence "enable ifstate-clients"; + description "Configure health monitor for ifstate clients on ifstate consumption"; + uses apply-advanced; + container peer-stuck { + presence "enable peer-stuck"; + description "PFE/RE/Smart PIC peers ifstate consumption"; + uses apply-advanced; + leaf threshold-level { + description "Threshold level to categorize peers as stuck"; + default "medium"; + type enumeration { + enum "low" { + description "Low - 180s"; + } + enum "medium" { + description "Medium - 360s"; + } + enum "high" { + description "High - 540s"; + } + } + } + leaf action { + description "Set an action on stuck peers"; + default "alarm"; + type enumeration { + enum "alarm" { + description "An alarm will be raised"; + } + enum "alarm-with-cores" { + description "Live cores(stuck peer and vmcore) along with Alarm"; + } + enum "restart" { + description "The stuck peers will be restarted"; + } + } + } + } + container non-peer-stuck { + presence "enable non-peer-stuck"; + description "Non-peer clients(daemons) on ifstate consumption"; + uses apply-advanced; + leaf threshold-level { + description "Threshold level to categorize non-peer ifstate clients as stuck"; + default "medium"; + type enumeration { + enum "low" { + description "Low - 180s"; + } + enum "medium" { + description "Medium - 360s(Default)"; + } + enum "high" { + description "High - 540s"; + } + } + } + leaf action { + description "Set an action on stuck non-peer ifstate clients"; + default "alarm"; + type enumeration { + enum "alarm" { + description "An alarm will be raised"; + } + enum "alarm-with-cores" { + description "Live cores(stuck client and vmcore) along with Alarm"; + } + enum "restart" { + description "The stuck non-peer ifstate clients will be restarted"; + } + } + } + } + container all-clients-stuck { + presence "enable all-clients-stuck"; + description "All ifstate clients on ifstate consumption"; + uses apply-advanced; + leaf threshold-level { + description "Threshold level to categorize all ifsate clients as stuck"; + default "medium"; + type enumeration { + enum "low" { + description "Low - 180s"; + } + enum "medium" { + description "Medium - 360s(Default)"; + } + enum "high" { + description "High - 540s"; + } + } + } + leaf action { + description "Set an action on all stuck ifstate clients"; + default "alarm"; + type enumeration { + enum "alarm" { + description "An alarm will be raised"; + } + enum "alarm-with-cores" { + description "Live cores(stuck ifstate client and vmcore) along with Alarm"; + } + enum "restart" { + description "The stuck non-peer ifstate clients will be restarted"; + } + } + } + } + } + } + container packet-forwarding-options { + description "Packet Forwarding engine options"; + uses apply-advanced; + } + container auto-configuration { + presence "enable auto-configuration"; + uses apply-advanced; + container traceoptions { + description "Autoconfiguration trace options"; + uses autoconf_traceoptions_type; + } + } + container processes { + description "Process control"; + uses apply-advanced; + container routing { + description "Routing process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable routing process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of routing process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + choice mode { + case case_1 { + leaf force-32-bit { + description "Always use 32-bit mode"; + type empty; + } + } + case case_2 { + leaf force-64-bit { + description "Always use 64-bit mode"; + type empty; + } + } + case case_3 { + leaf auto-64-bit { + description "Use 64-bit mode if RE memory is sufficient"; + type empty; + } + } + } + } + container chassis-control { + description "Chassis control process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable chassis control process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of chassis control process"; + type enumeration { + enum "alternate-media" { + description "On failing, reboot off alternate media"; + } + } + } + } + container service-pics { + description "Service PICs process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable service PICs process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of service PICs process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container ntp { + description "Network time process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable network time process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of network time process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container watchdog { + description "Watchdog timer"; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable watchdog timer"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable watchdog timer"; + type empty; + } + } + } + leaf timeout { + description "Watchdog timer value"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container process-monitor { + description "Process health monitor process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Process health monitor process"; + type empty; + } + } + } + container traceoptions { + description "Process health monitor trace options"; + uses pmond-traceoptions-type; + } + } + container resource-cleanup { + description "Resource cleanup process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Resource cleanup process"; + type empty; + } + } + } + container traceoptions { + description "Resource cleanup process trace options"; + uses res-cleanupd-traceoptions-type; + } + } + container routing-socket-proxy { + description "Routing socket proxy process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable routing socket proxy process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of routing socket proxy process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container web-management { + description "Web management process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable web management process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of web management process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container named-service { + presence "enable named-service"; + description "DNS server process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable dns server process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of dns server process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container cfm { + description "Ethernet OAM connectivity fault management process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable CFM process"; + type empty; + } + } + } + } + container general-authentication-service { + description "General authentication service process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable general-authentication service process"; + type empty; + } + } + } + container traceoptions { + description "General authentication service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + container filter { + presence "enable filter"; + description "Filter to control trace messages"; + uses apply-advanced; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "framework" { + description "Trace authentication framework events"; + } + enum "radius" { + description "Trace radius authentication events"; + } + enum "local-authentication" { + description "Trace local authentication events"; + } + enum "ldap" { + description "Trace ldap authentication events"; + } + enum "address-assignment" { + description "Trace address-assignment events"; + } + enum "jsrc" { + description "Trace jsrc events"; + } + enum "gx-plus" { + description "Trace gx-plus events"; + } + enum "session-db" { + description "Trace session DB events"; + } + enum "profile-db" { + description "Trace profile DB events"; + } + enum "lib-stats" { + description "Trace lib stats events"; + } + enum "user-access" { + description "Trace subscriber events"; + } + enum "nasreq" { + description "Trace nasreq events"; + } + enum "ocs-backup" { + description "Trace nasreq events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container dhcp-service { + description "Dynamic Host Configuration Protocol general configuration"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable dhcp service process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of dhcp service process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + container traceoptions { + description "Trace options for DHCP"; + uses jdhcp-traceoptions-level-type; + } + container interface-traceoptions { + description "Interface trace options for DHCP"; + uses jdhcp-interface-traceoptions-level-type; + } + container dhcp-snooping-file { + description "DHCP snooping persistence file, write-interval and timeout"; + uses apply-advanced; + leaf location { + description "Location of DHCP snooping entries file"; + type jt:filename; + } + leaf write-interval { + description "Time interval for writing DHCP snooping entries"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container dhcpv6-snooping-file { + description "DHCPv6 snooping persistence file and write-interval timeout"; + uses apply-advanced; + leaf location { + description "Location of DHCPv6 snooping entries file"; + type jt:filename; + } + leaf write-interval { + description "Time interval in seconds for writing DHCPv6 snooping entries"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container ltv-syslog-interval { + description "Lease time violation syslog interval"; + uses apply-advanced; + leaf syslog-interval { + description "Syslog interval in secs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + leaf accept-max-tcp-connections { + description "Max TCP connections served globally at a time"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf request-max-tcp-connections { + description "Max TCP connections requested globally at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + container diameter-service { + description "Diameter process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable diameter process"; + type empty; + } + } + } + container traceoptions { + description "Diameter service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Aread to enabe debugging output"; + leaf name { + type enumeration { + enum "framework" { + description "Trace Diameter framework"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "memory-management" { + description "Trace memory management events"; + } + enum "daemon" { + description "Trace daemon level events"; + } + enum "application" { + description "Trace Diameter application interface"; + } + enum "node" { + description "Trace Diameter node events"; + } + enum "diameter-instance" { + description "Trace Diameter instance events"; + } + enum "dne" { + description "Trace Diameter DNE events"; + } + enum "peer" { + description "Trace Diameter peer events"; + } + enum "messages" { + description "Trace Diameter messages"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container sbc-configuration-process { + description "SBC configuration process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SBC configuration process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of SBC configuration process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + container traceoptions { + description "SBC configuration process trace options"; + uses sbc_traceoptions; + } + } + container sdk-service { + description "SDK Service Daemon"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SDK Service Daemon"; + type empty; + } + } + } + container traceoptions { + description "SDK Service Daemon trace options"; + uses ssd-traceoptions-type; + } + } + container aaad { + description "AAAD process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable AAAD process"; + type empty; + } + } + } + container traceoptions { + description "AAA trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "send" { + description "Trace transmitted packets"; + } + enum "send-detail" { + description "Trace transmitted packets in detail"; + } + enum "receive" { + description "Trace received packets"; + } + enum "receive-detail" { + description "Trace received packets in detail"; + } + enum "timeout" { + description "Trace timeout events"; + } + enum "state" { + description "Trace DIAMTER peer state changes"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + list peer { + key name; + ordered-by user; + description "Trace packet sent to or received from the peer[s]"; + leaf name { + description "Trace packet sent to or received from the peer"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + } + } + } + container app-engine-virtual-machine-management-service { + description "App-engine Virtual Machine Management"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SDK Virtual Machine Management Daemon"; + type empty; + } + } + } + container traceoptions { + description "App-engine virtual machine management trace options"; + uses sdk-vmmd-traceoptions-type; + } + } + container app-engine-management-service { + description "App-engine Management Daemon"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SDK Management Daemon"; + type empty; + } + } + } + container traceoptions { + description "App-engine management daemon trace options"; + uses sdk-mgmtd-traceoptions-type; + } + } + container datapath-trace-service { + description "Datapath Trace process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Datapath Trace process"; + type empty; + } + } + } + container traceoptions { + description "DATAPATH Trace process trace options"; + uses datapath-traced-traceoptions-type; + } + } + container send { + description "Secure Neighbor Discovery Protocol process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SEND process"; + type empty; + } + } + } + } + container static-subscribers { + description "Static subscribers process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable static-subscribers process"; + type empty; + } + } + } + } + container extensible-subscriber-services { + description "Extensible Subscriber Services Manager Daemon"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Extensible Subscriber Services Manager Daemon"; + type empty; + } + } + } + } + list daemon-process { + key name; + ordered-by user; + uses daemon-process; + } + container video-monitoring { + description "Video Monitoring Process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable video monitoring process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for VMOND"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + } + container dialer-services { + description "Dial-Out On Demand process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Dial-Out On Demand process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for dialer services"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "One or more message or event types to include in trace"; + leaf name { + type enumeration { + enum "config" { + description "Dialer configuration messages"; + } + enum "kernel" { + description "Messages from the kernel"; + } + enum "route" { + description "Route and next-hop messages for dialer watch"; + } + enum "interface" { + description "Interface-related events"; + } + enum "error" { + description "Error messages"; + } + enum "memory" { + description "Memory allocation or deallocation messages"; + } + enum "all" { + description "All messages and events"; + } + } + } + } + } + } + container isdn-signaling { + description "ISDN process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ISDN process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for ISDN signaling process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "One or more event types to include in trace"; + leaf name { + type enumeration { + enum "daemon" { + description "ISDN process events"; + } + enum "stack" { + description "ISDN stack events"; + } + enum "all" { + description "All events"; + } + } + } + } + } + leaf reject-incoming { + description "Reject incoming ISDN calls"; + type empty; + } + } + container telephony-gateway-module { + description "Telephony gateway module process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable telephony gateway module process"; + type empty; + } + } + } + container traceoptions { + description "Telephony gateway module service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "dynamic-call-admission-control" { + description "Trace dynamic call admission control events"; + } + enum "memory" { + description "Trace memory allocation or deallocation messages"; + } + enum "tgm-login" { + description "Trace telephony gateway module login events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container wireless-wan-service { + description "Wireless WAN service process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable wireless WAN process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for wireless WAN process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events or messages to include in the trace output"; + leaf name { + type enumeration { + enum "config" { + description "Configuration events"; + } + enum "debug" { + description "WAN interface specific debug messages"; + } + enum "sdk-api" { + description "WAN interface specific library messages"; + } + enum "memory" { + description "Memory allocation or deallocation messages"; + } + enum "fpc-ipc" { + description "FPC inter-process communication messages"; + } + enum "snmp" { + description "SNMP communication specific debug messages"; + } + enum "all" { + description "All events and messages"; + } + } + } + } + } + } + container wireless-lan-service { + description "Wireless LAN service process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable wireless LAN service process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for wireless LAN process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events or messages to include in the trace output"; + leaf name { + type enumeration { + enum "status" { + description "Trace access point status messages"; + } + enum "config" { + description "Trace configuration events"; + } + enum "keepalive" { + description "Trace access point keep alive events"; + } + enum "licensing" { + description "Trace access point license events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container network-security { + description "Network security process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable network security process"; + type empty; + } + } + } + } + container firewall-authentication-service { + description "Firewall authentication service process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable firewall-wauthentication service process"; + type empty; + } + } + } + } + container jsrp-service { + description "Juniper stateful redundancy process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable jsrp service process"; + type empty; + } + } + } + } + container wan-acceleration { + description "WAN acceleration (WX) process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable WAN acceleration process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for WAN acceleration process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events or messages to include in the trace output"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "ssam" { + description "State Synchronization And Management events"; + } + enum "memory" { + description "Memory allocation or deallocation messages"; + } + enum "fpc-ipc" { + description "FPC inter-process communication messages"; + } + enum "fpc-ipc-heart-beat" { + description "FPC inter-process communication heart beat messages"; + } + enum "wx-login" { + description "Trace ISM login events"; + } + enum "all" { + description "All events and messages"; + } + } + } + } + } + } + container smtpd-service { + description "SMTP mail client service process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable smtp service process"; + type empty; + } + } + } + } + container logical-system-service { + description "Logical system process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable logical system process"; + type empty; + } + } + } + container traceoptions { + description "Logical system trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events or messages to include in the trace output"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "all" { + description "All events and messages"; + } + } + } + } + } + } + container system-health-management { + description "System Health Management"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable syshmd process"; + type empty; + } + } + } + } + container system-log-vital { + description "System Log Vital"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable syslvd process"; + type empty; + } + } + } + } + container sysctlrelayd { + description "Sysctl Relaying Engine"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sysctlrelayd process"; + type empty; + } + } + } + } + } + container ntp { + presence "enable ntp"; + description "Network Time Protocol services"; + uses apply-advanced; + leaf boot-server { + description "Server to query during boot sequence"; + type jt:ipaddr; + } + container interval-range { + description "Set the minpoll and maxpoll interval range"; + leaf value { + description "The poll interval range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 3"; + } + } + } + } + list authentication-key { + key name; + ordered-by user; + description "Authentication key information"; + leaf name { + description "Authentication key number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf type { + description "Authentication key type"; + type enumeration { + enum "md5" { + description "MD5 authentication key"; + } + enum "des" { + description "DES authentication key"; + } + enum "sha1" { + description "Secure Hash Algorithm 1"; + } + enum "sha256" { + description "Secure Hash Algorithm 2-256"; + } + } + } + leaf value { + description "Authentication key value"; + type jt:unreadable; + } + } + list peer { + key name; + ordered-by user; + description "Peer parameters"; + leaf name { + description "Name or address of peer"; + type jt:ipaddr; + } + leaf key { + description "Authentication key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf version { + description "NTP version to use"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf prefer { + description "Prefer this peer_serv"; + type empty; + } + } + list server { + key name; + ordered-by user; + description "Server parameters"; + leaf name { + description "Name or address of server"; + type jt:hostname; + } + leaf key { + description "Authentication key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf version { + description "NTP version to use"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf prefer { + description "Prefer this peer_serv"; + type empty; + } + leaf routing-instance { + description "Routing instance through which server is reachable"; + type string { + } + } + } + list broadcast { + key name; + ordered-by user; + description "Broadcast parameters"; + leaf name { + description "Broadcast or multicast address to use"; + type jt:ipaddr; + } + leaf routing-instance-name { + description "Routing intance name in which interface has address in broadcast subnet"; + type string { + } + } + leaf key { + description "Authentication key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf version { + description "NTP version to use"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf ttl { + description "TTL value to transmit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf broadcast-client { + description "Listen to broadcast NTP"; + type empty; + } + container multicast-client { + presence "enable multicast-client"; + description "Listen to multicast NTP"; + leaf address { + description "Multicast address to listen to"; + type jt:ipaddr; + } + } + leaf-list trusted-key { + ordered-by user; + description "List of trusted authentication keys"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + container threshold { + description "Set the maximum threshold(sec) allowed for NTP adjustment"; + leaf value { + description "The maximum value(sec) allowed for NTP adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf action { + description "Select actions for NTP abnormal adjustment"; + type enumeration { + enum "accept" { + description "Enable log mode for abnormal NTP adjustment"; + } + enum "reject" { + description "Enable reject mode for abnormal NTP adjustment"; + } + } + } + } + list source-address { + key name; + ordered-by user; + description "Source-Address parameters"; + leaf name { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf-list routing-instance { + ordered-by user; + description "Routing intance name in which source address is defined"; + type string; + } + } + } + container master-password { + description "Master password for $8$ password-encryption"; + uses apply-advanced; + leaf iteration-count { + description "Define PBKDF2 iteration count"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 10000"; + } + } + } + leaf pseudorandom-function { + description "Define PBKDF2 PRF"; + default "hmac-sha2-256"; + type enumeration { + enum "hmac-sha2-256" { + description "HMAC-SHA2-256 authentication algorithm"; + } + enum "hmac-sha1" { + description "HMAC-SHA1 authentication algorithm"; + } + enum "hmac-sha2-512" { + description "HMAC-SHA2-512 authentication algorithm"; + } + } + } + } + container log-vital { + presence "enable log-vital"; + description "Log vital configuration"; + uses apply-advanced; + leaf interval { + description "Log vital sample interval"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + leaf files { + description "Log vital keeps files of only recent days"; + default "3"; + units "days"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf storage-limit { + description "Log vital storage limit percentage"; + default "80"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf file-size { + description "Log vital dump file size"; + default "10"; + units "Mbytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list add { + key name; + ordered-by user; + description "Log vital add in OID"; + leaf name { + description "Collect information of the OID"; + type string { + } + } + uses apply-advanced; + container comment { + presence "enable comment"; + description "Comment of the OID"; + uses apply-advanced; + leaf comment-string { + description "Comment of the OID"; + type string { + length "1 .. 40"; + } + } + } + } + container group { + presence "enable group"; + description "Log vital group configuration"; + uses apply-advanced; + leaf operating { + description "Collect operating information"; + type empty; + } + leaf idp { + description "Collect IDP information"; + type empty; + } + leaf storage { + description "Collect storage information of /var/log/"; + type empty; + } + leaf cluster-counter { + description "Collect Cluster Counter information"; + type empty; + } + list screen { + key name; + ordered-by user; + description "Collect screen counter for the zone"; + leaf name { + description "Name of security zone"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list spu { + key name; + ordered-by user; + description "Collect information for the SPU(all/fwdd/nodex.fpcy.picz)"; + leaf name { + description "SPU as 'all', 'fwdd' and 'node0.fpc1.pic1'"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + container security-profile { + description "Security profile for logical-systems"; + uses apply-advanced; + container resources { + presence "enable resources"; + uses apply-advanced; + leaf cpu-control { + description "Enable CPU utilization control"; + type empty; + } + leaf cpu-control-target { + description "Targeted CPU utilization allowed for the whole system"; + default "80"; + units "percent"; + type decimal64 { + fraction-digits 2; + range "0 .. 100"; + } + } + } + list profile { + key name; + uses profile_type; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping archive-object { + leaf size { + description "Size of files to be archived"; + units "bytes"; + type string; + } + leaf files { + description "Number of files to be archived"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + choice binary-data-choice { + leaf binary-data { + description "Mark file as if it contains binary data"; + type empty; + } + leaf no-binary-data { + description "Don't mark file as if it contains binary data"; + type empty; + } + } + leaf transfer-interval { + description "Frequency at which to transfer files to archive sites"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 2880"; + } + } + } + leaf start-time { + description "Start time for file transmission (yyyy-mm-dd.hh:mm)"; + type jt:time; + } + list archive-sites { + key name; + ordered-by user; + leaf name { + description "Primary and failover URLs to receive archive files"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + } + } + grouping arp-interface-type { + description "Logical interface on which to configure ARP aging timer"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600000"; + } + } + } + } + grouping authentication-object { + description "Authentication method"; + uses apply-advanced; + leaf plain-text-password-value { + description "Plain text password"; + type string; + } + leaf encrypted-password { + description "Encrypted password string"; + type string { + length "1 .. 128"; + } + } + leaf no-public-keys { + description "Disables ssh public key based authentication"; + type empty; + } + list ssh-rsa { + key name; + ordered-by user; + description "Secure shell (ssh) RSA public key string"; + leaf name { + description "Secure shell (ssh) RSA public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + list ssh-dsa { + key name; + ordered-by user; + description "Secure shell (ssh) DSA public key string"; + leaf name { + description "Secure shell (ssh) DSA public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + list ssh-ecdsa { + key name; + ordered-by user; + description "Secure shell (ssh) ECDSA public key string"; + leaf name { + description "Secure shell (ssh) ECDSA public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + list ssh-ed25519 { + key name; + ordered-by user; + description "Secure shell (ssh) ED25519 public key string"; + leaf name { + description "Secure shell (ssh) EC25519 public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + } + grouping autoconf_traceoptions_type { + description "Trace options for autoconfiguration"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of autoconfiguration to enable debugging output"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration"; + } + enum "interfaces" { + description "Trace interface database"; + } + enum "io" { + description "Trace interface database"; + } + enum "rtsock" { + description "Trace routing socket"; + } + enum "ui" { + description "Trace user interface"; + } + enum "auth" { + description "Trace VLAN authentication"; + } + enum "all" { + description "Trace all areas"; + } + } + } + } + } + grouping bdbrepd-type { + description "Database replication configuration"; + uses apply-advanced; + container traceoptions { + description "Database replication trace options"; + uses bdbrepd-traceoptions-type; + } + } + grouping bdbrepd-traceoptions-type { + description "Trace options for Database replication"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Database replication operations to include in debugging trace"; + leaf name { + type enumeration { + enum "database" { + description "Database operations"; + } + enum "mirror" { + description "Mirror operations"; + } + enum "replication" { + description "Database replication operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "server" { + description "Server operations"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping daemon-process { + leaf name { + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of parameter"; + type enumeration { + enum "other-routing-engine" { + description "On failing, switch mastership to other routing engine"; + } + enum "alternate-media" { + description "On failing, reboot off alternate media"; + } + } + } + leaf command { + description "Path to binary for process"; + type string { + length "1 .. 1024"; + } + } + } + grouping datapath-traced-traceoptions-type { + description "Trace options for DATAPATH-TRACED"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of DATAPATH Trace process to enable debugging output"; + leaf name { + type enumeration { + enum "datapath-traced-infrastructure" { + description "Trace datapath-traced infrastructure code"; + } + enum "datapath-traced-server" { + description "Trace datapath-traced server functionality code"; + } + enum "client-management" { + description "Trace datapath-traced client management code"; + } + enum "all" { + description "Trace all areas of datapath-traced code"; + } + } + } + } + } + grouping dhcp-traceoptions-type { + description "Trace options for DHCP server"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of DHCP server process to enable debugging output"; + leaf name { + type enumeration { + enum "binding" { + description "Trace bindings code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "conflict" { + description "Trace conflict detection code"; + } + enum "event" { + description "Trace event code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "lease" { + description "Trace lease code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "misc" { + description "Trace miscellaneous code"; + } + enum "option" { + description "Trace option code"; + } + enum "packet" { + description "Trace packet code"; + } + enum "pool" { + description "Trace pool code"; + } + enum "protocol" { + description "Trace protocol code"; + } + enum "relay" { + description "Trace relay code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "scope" { + description "Trace scope code"; + } + enum "signal" { + description "Trace signal code"; + } + enum "trace" { + description "Trace tracing code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + enum "client" { + description "Trace DHCP client code"; + } + } + } + } + } + grouping dynamic-profile-option-object { + uses apply-advanced; + leaf versioning { + description "Enable dynamic profile versioning"; + type empty; + } + } + grouping httpd_traceoptions_type { + description "Trace options for Web management process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of HTTPD process to enable debugging output"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration"; + } + enum "mgd" { + description "Trace MGD requests"; + } + enum "webauth" { + description "Trace webauth requests"; + } + enum "dynamic-vpn" { + description "Trace dynamic vpn requests"; + } + enum "init" { + description "Trace daemon init process"; + } + enum "all" { + description "Trace all areas"; + } + } + } + } + } + grouping jdhcp-interface-traceoptions-level-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-local-server-type { + uses apply-advanced; + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-local-server-type; + } + list pool-match-order { + key name; + ordered-by user; + description "Define order of attribute matching for pool selection"; + leaf name { + description "Match type"; + type enumeration { + enum "external-authority" { + description "External authority handles address selection"; + } + enum "ip-address-first" { + description "IP address used first to select a pool"; + } + enum "option-82" { + description "Option 82 used in matching of pool"; + } + enum "option-82-strict" { + description "Option 82 used in strict matching of pool"; + } + } + } + uses apply-advanced; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP local server group"; + uses dhcp-local-server-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-local-server-dual-stack-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and giaddr for passive clients"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + container allow-leasequery { + description "Allow DHCP leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-bulk-leasequery { + description "Allow DHCP bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + } + grouping dhcp-local-server-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf on-demand-address-allocation { + description "Allocate addresses on demand"; + type empty; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcpv6-local-server-type { + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 local server group"; + uses dhcpv6-local-server-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and link-address for passive clients"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container server-duid-type { + description "Define the DUID type to be used as the Server ID. Type supported is DUID-LL"; + uses duid-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCPv6 leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container allow-bulk-leasequery { + description "Allow DHCPv6 bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + container dynamic-server { + description "DHCPv6 dynamic server configuration"; + uses dhcpv6-dynamic-server-type; + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-dynamic-server-type { + uses apply-advanced; + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-dynamic-server-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 dynamic server group"; + uses dhcpv6-dynamic-server-group; + } + } + grouping dhcpv6-dynamic-server-group { + description "DHCP dynamic server groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this group"; + type string { + length "1 .. 64"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-dynamic-server-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-dynamic-server-type; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcpv6-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcpv6-override-dynamic-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf ia-na-pool { + description "IA_NA pool name for inet6"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + container delay-advertise { + description "Filter options for dhcp-server"; + presence "enable delay-advertise"; + uses dhcpv6-filter-option; + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf multi-address-embedded-option-response { + description "If the client requests multiple addresses place the options in each address"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf top-level-status-code { + description "A top level status code option rather than encapsulated in IA for NoAddrsAvail in Advertise PDUs"; + type empty; + } + leaf always-add-option-dns-server { + description "Add option-23, DNS recursive name server in Advertise and Reply"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv6 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-filter-option { + description "Generic DHCPv6 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between solicit and advertise"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-18 { + presence "enable option-18"; + description "Option 18"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-37 { + presence "enable option-37"; + description "Option 37"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-15 { + presence "enable option-15"; + description "Option 15"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-16 { + presence "enable option-16"; + description "Option 16"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping dhcpv6-reconfigure-type { + description "DHCPv6 reconfigure processing"; + uses apply-advanced; + leaf strict { + description "Only allow packets containing Reconfigure Accept Option"; + type empty; + } + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping duid-type { + uses apply-advanced; + leaf duid_ll { + description "Link Layer Address based DUID "; + type empty; + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-traceoptions-level-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jet_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + leaf arguments { + description "Command line arguments to JET application"; + type string; + } + leaf daemonize { + description "Runs application as daemon"; + type empty; + } + leaf respawn-on-normal-exit { + description "Respawn application on normal exit"; + type empty; + } + leaf username { + description "User under whose privileges extension service will execute"; + type string { + } + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + } + grouping jsscd-static-subscribers-type { + uses apply-advanced; + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list group { + key name; + ordered-by user; + description "Static Subscriber Client group configuration"; + uses jsscd-group-type; + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + leaf baseline-stats { + description "Baseline the statistics for static subscribers"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container subscriber-ip-address { + description "Assigned IP address to report externally"; + uses apply-advanced; + leaf address { + description "IPv4 address"; + type jt:ipv4addr; + } + } + container subscriber-ipv6-address { + description "Assigned IPv6 address to report externally"; + uses apply-advanced; + leaf address { + description "IPv6 Address or Prefix"; + type jt:ipv6prefix; + } + } + } + } + grouping jsscd-access-profile-type { + description "Access profile for static subscribers"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + grouping jsscd-authentication-type { + description "Static Subscriber Client authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type jt:unreadable; + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf interface { + description "Include interface name"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + } + } + grouping jsscd-dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile-name { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + grouping jsscd-group-type { + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf upto { + description "Interface up to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + } + grouping jsscd-service-profile-type { + description "Service profile for static subscribers"; + uses apply-advanced; + leaf service-profile-name { + description "Service profile name"; + type string { + length "1 .. 80"; + } + } + } + grouping license-object { + description "License configuration for this router"; + uses apply-advanced; + container autoupdate { + presence "enable autoupdate"; + description "Autoupdate license keys from license servers"; + uses apply-advanced; + list url { + key name; + ordered-by user; + description "URL of a license server"; + max-elements 10; + leaf name { + description "URL of a license server for license keys"; + type string; + } + leaf password { + description "Password of URL for a license server"; + type jt:unreadable; + } + } + } + container renew { + presence "enable renew"; + description "License renew lead time and checking interval"; + leaf before-expiration { + description "License renew lead time before expiration in days"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + leaf interval { + description "License checking interval in hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 336"; + } + } + } + } + container traceoptions { + description "Trace options for licenses"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "events" { + description "Trace licensing events and their processing"; + } + enum "config" { + description "Trace license configuration processing"; + } + } + } + } + } + container keys { + presence "enable keys"; + description "License keys"; + uses apply-advanced; + list key { + key name; + ordered-by user; + description "License key"; + leaf name { + description "License key"; + type string; + } + uses apply-advanced; + } + } + } + grouping location-type { + uses apply-advanced; + leaf country-code { + description "Two-letter country code"; + type string; + } + leaf postal-code { + description "Zip code or postal code"; + type string; + } + leaf npa-nxx { + description "First six digits of phone number (area code plus exchange)"; + type string; + } + leaf latitude { + description "Latitude in degree format"; + type string; + } + leaf longitude { + description "Longitude in degree format"; + type string; + } + leaf altitude { + description "Feet above (or below) sea level"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf lata { + description "Local access transport area"; + type string; + } + leaf vcoord { + description "Bellcore vertical coordinate"; + type string; + } + leaf hcoord { + description "Bellcore horizontal coordinate"; + type string; + } + leaf building { + description "Building name"; + type string; + } + leaf floor { + description "Floor of the building"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rack { + description "Rack number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list lcc { + key name; + description "Line-card chassis location"; + leaf name { + description "LCC number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + leaf floor { + description "Floor of the building"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rack { + description "Rack number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping login-class-object { + leaf name { + description "Login class name"; + type string { + } + } + uses apply-advanced; + leaf-list allowed-days { + ordered-by user; + description "Day(s) of week when access is allowed."; + type enumeration { + enum "sunday" { + description "Sunday"; + } + enum "monday" { + description "Monday"; + } + enum "tuesday" { + description "Tuesday"; + } + enum "wednesday" { + description "Wednesday"; + } + enum "thursday" { + description "Thursday"; + } + enum "friday" { + description "Friday"; + } + enum "saturday" { + description "Saturday"; + } + } + } + leaf access-start { + description "Start time for remote access (hh:mm)"; + type jt:time-of-day; + } + leaf access-end { + description "End time for remote access (hh:mm)"; + type jt:time-of-day; + } + leaf idle-timeout { + description "Maximum idle time before logout"; + units "minutes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf logical-system { + description "Logical system associated with login"; + type string; + } + leaf login-alarms { + description "Display system alarms when logging in"; + type empty; + } + leaf login-script { + description "Execute this login-script when logging in"; + type string; + } + leaf login-tip { + description "Display tip when logging in"; + type empty; + } + leaf-list permissions { + ordered-by user; + type string; + } + leaf allow-commands { + description "Regular expression for commands to allow explicitly"; + type jt:regular-expression; + } + leaf deny-commands { + description "Regular expression for commands to deny explicitly"; + type jt:regular-expression; + } + leaf allow-configuration { + description "Regular expression for configure to allow explicitly"; + type jt:regular-expression; + } + leaf deny-configuration { + description "Regular expression for configure to deny explicitly"; + type jt:regular-expression; + } + leaf-list allow-commands-regexps { + ordered-by user; + description "Object path regular expressions to allow commands"; + type string; + } + leaf-list deny-commands-regexps { + ordered-by user; + description "Object path regular expressions to deny commands"; + type string; + } + leaf-list allow-configuration-regexps { + ordered-by user; + description "Object path regular expressions to allow"; + type string; + } + leaf-list deny-configuration-regexps { + ordered-by user; + description "Object path regular expressions to deny"; + type string; + } + leaf configuration-breadcrumbs { + description "Enable breadcrumbs during display of configuration"; + type empty; + } + list confirm-commands { + key name; + ordered-by user; + description "List of commands to be confirmed explicitly"; + leaf name { + description "Regular expression for confirm commands"; + type jt:regular-expression; + } + uses apply-advanced; + leaf message { + description "Message to be displayed during confirmation"; + type string; + } + } + choice hidden-commands { + case case_1 { + leaf allow-hidden-commands { + description "Allow all hidden commands to be executed"; + type empty; + } + } + case case_2 { + container no-hidden-commands { + description "Deny all hidden commands with exemptions"; + uses apply-advanced; + list except { + key name; + ordered-by user; + description "Specify the list of hidden command to be exempted"; + leaf name { + description "Exempted hidden command(s)"; + type string; + } + uses apply-advanced; + } + } + } + } + container cli { + uses apply-advanced; + leaf prompt { + description "Cli prompt name for this class"; + type string { + length "1 .. 255"; + } + } + } + leaf security-role { + description "Common Criteria security role"; + type enumeration { + enum "audit-administrator" { + description "Audit administrator"; + } + enum "crypto-administrator" { + description "Cryptographic administrator"; + } + enum "ids-administrator" { + description "IDS administrator"; + } + enum "security-administrator" { + description "Security administrator"; + } + } + } + } + grouping login-user-object { + leaf name { + description "User name (login)"; + type string { + } + } + uses apply-advanced; + leaf full-name { + description "Full name"; + type string { + } + } + container cli { + uses apply-advanced; + leaf prompt { + description "Cli prompt name for this user"; + type string { + length "1 .. 255"; + } + } + } + leaf uid { + description "User identifier (uid)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 64000"; + } + } + } + leaf class { + description "Login class"; + type string { + } + } + container authentication { + description "Authentication method"; + uses authentication-object; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping nameserver-object { + leaf name { + description "DNS name server address"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing instance through which server is reachable"; + type string { + } + } + leaf source-address { + description "Source address for requests to this DNS server"; + type jt:ipaddr; + } + } + grouping override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf bootp-support { + description "Allow processing of bootp requests"; + type empty; + } + container delay-offer { + description "Filter options for dhcp-server"; + uses dhcpv4-filter-option; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORM PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet"; + type string { + length "1 .. 64"; + } + } + } + container include-option-82 { + description "Include option-82 in reply packets"; + uses apply-advanced; + leaf nak { + description "Include option-82 in NAK"; + type empty; + } + leaf forcerenew { + description "Include option-82 in FORCERENEW"; + type empty; + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv4 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv4-filter-option { + description "Generic DHCPv4 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between discover and offer"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-82 { + presence "enable option-82"; + description "Option 82"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-60 { + presence "enable option-60"; + description "Option 60"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-77 { + presence "enable option-77"; + description "Option 77"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping peers-type { + description "Commit peers-synchronize type"; + leaf name { + description "Remote peer hostname or ip-address"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf user { + description "User name"; + type string; + } + leaf authentication { + description "Authentication string"; + type jt:unreadable; + } + } + grouping pmond-traceoptions-type { + description "Trace options for process health monitor"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of process health monitor to enable debugging output"; + leaf name { + type enumeration { + enum "events" { + description "Trace event conde"; + } + enum "heartbeat" { + description "Trace heartbeat code"; + } + enum "process-tracking" { + description "Trace process tracking code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping profile_type { + description "Set of attributes that define profile"; + leaf name { + description "Profile name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + container appfw-rule-set { + presence "enable appfw-rule-set"; + description "Application firewall rule-set quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container appfw-rule { + presence "enable appfw-rule"; + description "Application firewall rule quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container appfw-profile { + presence "enable appfw-profile"; + description "Application firewall profile quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container auth-entry { + presence "enable auth-entry"; + description "Firewall authentication quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container policy { + presence "enable policy"; + description "Security policy quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container policy-with-count { + presence "enable policy-with-count"; + description "Security policy with count quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container scheduler { + presence "enable scheduler"; + description "Security scheduler quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container address-book { + presence "enable address-book"; + description "Security address book quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container zone { + presence "enable zone"; + description "Security zone quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container flow-session { + presence "enable flow-session"; + description "Security flow session quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container cpu { + presence "enable cpu"; + uses apply-advanced; + leaf reserved { + description "CPU utilization quota (percent) of a logical system"; + default "0"; + units "percent"; + type decimal64 { + fraction-digits 2; + range "0 .. 100"; + } + } + } + container flow-gate { + presence "enable flow-gate"; + description "Security flow gate quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-source-pool { + presence "enable nat-source-pool"; + description "Security nat src pool quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-destination-pool { + presence "enable nat-destination-pool"; + description "Security nat dst pool quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-pat-address { + presence "enable nat-pat-address"; + description "Security nat IP address in src pool with PAT quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-nopat-address { + presence "enable nat-nopat-address"; + description "Security nat IP address in src pool without PAT quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-pat-portnum { + presence "enable nat-pat-portnum"; + description "Security nat port num in source pool with PAT quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-source-rule { + presence "enable nat-source-rule"; + description "Security nat src rule quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-destination-rule { + presence "enable nat-destination-rule"; + description "Security nat destination rule quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-static-rule { + presence "enable nat-static-rule"; + description "Security nat static rule quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-rule-referenced-prefix { + presence "enable nat-rule-referenced-prefix"; + description "Security NAT rule referenced IP-prefix quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-cone-binding { + presence "enable nat-cone-binding"; + description "Security cone nat binding quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-port-ol-ipnumber { + presence "enable nat-port-ol-ipnumber"; + description "Security nat port overloading ip number quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container nat-interface-port-ol { + presence "enable nat-interface-port-ol"; + description "Security nat interface port overloading quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dslite-softwire-initiator { + presence "enable dslite-softwire-initiator"; + description "Security ds-lite softwire initiator number quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container security-log-stream-number { + presence "enable security-log-stream-number"; + description "Security log stream number quota of a logical system"; + uses apply-advanced; + leaf maximum { + description "Maximum allowed quota"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reserved { + description "Reserved quota"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf idp-policy { + description "Assign idp policy to logical systems in this profile"; + type string; + } + leaf root-logical-system { + description "Assign this security-profile to root logical system"; + type empty; + } + leaf-list logical-system { + ordered-by user; + description "Assign the security-profile to logical-systems"; + type string { + length "1 .. 63"; + } + } + } + grouping proxy-object { + description "License download proxy server."; + uses apply-advanced; + leaf server { + description "URL or IP address of the proxy server host"; + type string { + length "1 .. 256"; + } + } + leaf port { + description "Proxy server port"; + default "3128"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf username { + description "Username as configured in the proxy server"; + type string { + length "1 .. 256"; + } + } + leaf password { + description "Password as configured in the proxy server"; + type jt:unreadable; + } + } + grouping radius-server-object { + leaf name { + description "RADIUS server address"; + type jt:hostname; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf port { + description "RADIUS server authentication port number"; + default "1812"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf preauthentication-port { + description "RADIUS server preauthentication port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf accounting-port { + description "RADIUS server accounting port number"; + default "1813"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf dynamic-request-port { + description "RADIUS client dynamic request port number"; + default "3799"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf preauthentication-secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf retry { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf accounting-timeout { + description "Accounting request timeout period"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf accounting-retry { + description "Accounting retry attempts"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf max-outstanding-requests { + description "Maximum requests in flight to server"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + } + grouping reconfigure-trigger-type { + description "DHCP reconfigure trigger"; + uses apply-advanced; + leaf radius-disconnect { + description "Trigger DHCP reconfigure by radius initiated disconnect"; + type empty; + } + } + grouping res-cleanupd-traceoptions-type { + description "Trace options for resource cleanup process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of resource cleanup process to enable debugging output"; + leaf name { + type enumeration { + enum "events" { + description "Trace event code"; + } + enum "gencfg" { + description "Trace GENCFG blob cleanup code"; + } + enum "module" { + description "Trace module code"; + } + enum "sysvsem" { + description "Trace SYSV semaphore cleanup code"; + } + enum "sysvshm" { + description "Trace SYSV shared memory cleanup code"; + } + enum "tracking" { + description "Trace process tracking code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping resource-monitor-type { + description "Resource monitor configuration"; + uses apply-advanced; + list resource-category { + key name; + ordered-by user; + description "Resource category"; + leaf name { + type enumeration { + enum "jtree" { + description "Category jtree"; + } + } + } + uses apply-advanced; + list resource-type { + key name; + ordered-by user; + description "Resource type"; + leaf name { + type enumeration { + enum "free-pages" { + description "Type free-pages"; + } + enum "free-dwords" { + description "Type free-dwords"; + } + enum "contiguous-pages" { + description " Type contiguous-pages"; + } + } + } + uses apply-advanced; + leaf low-watermark { + description "Low watermark limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf high-watermark { + description "High watermark limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container traceoptions { + description "Resource monitor trace options"; + uses resource-monitor-traceoptions-type; + } + leaf no-throttle { + description "Disable throttling of subscribers and services based on resource utilization"; + type empty; + } + leaf no-load-throttle { + description "Disable throttling of subscribers and services based on PFE load"; + type empty; + } + leaf no-logging { + description "Disable logging of warning or error messages resource levels exceeded"; + type empty; + } + leaf high-threshold { + description "High threshold percentage for resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf high-cos-queue-threshold { + description "High threshold percentage for cos queue utilization per scheduler"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 90"; + } + } + } + leaf free-heap-memory-watermark { + description "Watermark percentage for ukern heap resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf free-nh-memory-watermark { + description "Watermark percentage for NH resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf free-fw-memory-watermark { + description "Watermark percentage for Filter / Firewall resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + container subscribers-limit { + description "Limit number of subscribers allowed to login"; + uses apply-advanced; + list client-type { + key name; + ordered-by user; + description "Subscriber client type"; + leaf name { + type enumeration { + enum "pppoe" { + description "PPPoE client type"; + } + enum "dhcp" { + description "DHCP client type"; + } + enum "l2tp" { + description "L2TP client type"; + } + enum "any" { + description "Any client type"; + } + } + } + uses apply-advanced; + container chassis { + description "Max subscriers allowed in chassis"; + uses apply-advanced; + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + } + list fpc { + key name; + description "Limiting subscriber on fpc"; + uses rsmon_fpc_type; + } + } + } + } + grouping resource-monitor-traceoptions-type { + description "Trace options for Resource monitor "; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Resource monitor operations to include in debugging trace"; + leaf name { + type enumeration { + enum "all" { + description "All operations"; + } + } + } + } + } + grouping resources-type { + uses apply-advanced; + container cpu { + uses apply-advanced; + leaf priority { + description "Highest priority (nice level) process can run at"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf time { + description "Maximum amount of CPU time that can be accumulated"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container memory { + uses apply-advanced; + leaf data-size { + description "Maximum size of the data segment"; + units "mbytes"; + type string; + } + leaf locked-in { + description "Maximum bytes that can be locked into memory"; + units "mbytes"; + type string; + } + leaf resident-set-size { + description "Maximum amount of private physical memory at any given moment"; + units "mbytes"; + type string; + } + leaf socket-buffers { + description "Maximum amount of physical memory that may be dedicated to socket buffers"; + units "mbytes"; + type string; + } + leaf stack-size { + description "Maximum size of the stack segment"; + units "mbytes"; + type string; + } + } + container file { + uses apply-advanced; + leaf size { + description "Maximum size of a file that can be created"; + units "mbytes"; + type string; + } + leaf open { + description "Maximum number of simultaneous open files"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf core-size { + description "Maximum size of a core file that can be created"; + units "mbytes"; + type string; + } + } + } + grouping rsmon_fpc_type { + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + uses apply-advanced; + list pic { + key name; + description "Limiting subscriber on fpc"; + uses rsmon_pic_type; + } + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256000"; + } + } + } + } + grouping rsmon_pic_type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + list port { + key name; + description "Limiting subscriber on port"; + uses rsmon_port_type; + } + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256000"; + } + } + } + } + grouping rsmon_port_type { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 23"; + } + } + } + uses apply-advanced; + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256000"; + } + } + } + } + grouping sbc_traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + container flag { + presence "enable flag"; + description "Tracing parameters"; + uses apply-advanced; + leaf configuration { + description "Trace configuration events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf ipc { + description "Trace IPC events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf device-monitor { + description "Trace device monitor events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf ui { + description "Trace ui events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf common { + description "Trace common events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf memory-pool { + description "Trace memory-pool events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf packet-capture { + description "Trace packet capture events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf all { + description "Minimal trace level for all components"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + } + } + grouping script_traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "events" { + description "Trace important events"; + } + enum "input" { + description "Trace script input data"; + } + enum "offline" { + description "Generate data for offline development"; + } + enum "output" { + description "Trace script output data"; + } + enum "rpc" { + description "Trace script RPCs"; + } + enum "xslt" { + description "Trace the XSLT library"; + } + } + } + } + } + grouping scripts_type { + uses apply-advanced; + container commit { + description "Commit-time scripting mechanism"; + uses apply-advanced; + leaf allow-transients { + description "Allow loading of transient configuration changes"; + type empty; + } + container traceoptions { + description "Trace options for commit scripts"; + uses script_traceoptions; + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + leaf direct-access { + description "Access the configuration directly from database"; + type empty; + } + container dampen { + presence "enable dampen"; + description "Dampen execution of commit scripts"; + uses apply-advanced; + container dampen-options { + description "Dampen options for commit scripts"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + list file { + key name; + ordered-by user; + description "Commit script file"; + uses commit_scripts_file_type; + } + } + container op { + description "Operations scripting"; + uses apply-advanced; + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container traceoptions { + description "Trace options for operation scripts"; + uses script_traceoptions; + } + list file { + key name; + description "Configuration for each operation script"; + uses op_scripts_file_type; + } + leaf no-allow-url { + description "Do not allow the remote execution of op scripts"; + type empty; + } + leaf allow-url-for-python { + description "Allow the remote execution of Python op scripts"; + type empty; + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + container dampen { + presence "enable dampen"; + description "Dampen execution of op scripts"; + uses apply-advanced; + container dampen-options { + description "Dampen options for op scripts"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container snmp { + description "Snmp scripts"; + uses apply-advanced; + leaf refresh { + description "Refresh all snmp scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all snmp scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + list file { + key name; + description "Configuration for each snmp script"; + uses snmp_scripts_file_type; + } + container traceoptions { + description "Trace options for snmp scripts"; + uses script_traceoptions; + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + } + container translation { + description "Translation scripts"; + uses apply-advanced; + leaf max-datasize { + description "Maximum data segment size for translation scripts execution"; + units "bytes"; + type string; + } + } + leaf load-scripts-from-flash { + description "Load scripts from flash"; + type empty; + } + leaf language { + description "Allow/Disallow Python scripts on-box"; + type enumeration { + enum "python" { + description "Allow Python scripts on-box"; + } + } + } + leaf synchronize { + description "Push all scripts to other RE on commit synchronize"; + type empty; + } + } + grouping commit_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf optional { + description "Allow commit to succeed if the script is missing"; + type empty; + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + } + grouping op_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf command { + description "Command alias for the script file"; + type string { + length "1 .. 254"; + } + } + container dampen { + presence "enable dampen"; + description "Dampen execution of the script"; + uses apply-advanced; + container dampen-options { + description "Dampen options for the script"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + leaf description { + description "Description of the script"; + type string { + length "1 .. 254"; + } + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf allow-commands { + description "Regular expression for commands to allow explicitly"; + type jt:regular-expression; + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + list arguments { + key name; + description "Command line argument to the script"; + leaf name { + description "Name of the argument"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf description { + description "Description of the argument"; + type string { + length "1 .. 254"; + } + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + } + grouping sdk-mgmtd-traceoptions-type { + description "Trace options for App-engine management daemon"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of daemon to enable debugging output"; + leaf name { + type enumeration { + enum "service-infrastructure" { + description "Trace service infrastructure code"; + } + enum "routing-instance" { + description "Trace routing instance functionality code"; + } + enum "config-handling" { + description "Trace configuration command handling functionality code"; + } + enum "command-handling" { + description "Trace operational command handling functionality code"; + } + enum "cli-show-commands" { + description "Trace show commands for JDAF message statistics"; + } + enum "all" { + description "Trace all areas of App-engine management"; + } + } + } + } + } + grouping sdk-vmmd-traceoptions-type { + description "App-engine virtual machine management service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "ccif" { + description "Trace compute node interface events"; + } + enum "pxe" { + description "Trace PXE related events"; + } + enum "platform" { + description "Trace platform related events"; + } + enum "heartbeat" { + description "Trace compute node heart beat related events"; + } + enum "routing-instances" { + description "Trace routing instances related events"; + } + enum "snmp" { + description "Trace SNMP events"; + } + enum "miscellaneous" { + description "Trace miscellaneous events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping server-bulk-leasequery-type { + description "Allow bulk leasequery"; + uses apply-advanced; + leaf max-connections { + description "Max TCP connections allowed at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Timeout for blocked connection"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf max-empty-replies { + description "Maximum number of empty replies for a connection"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf restricted-requestor { + description "Allow bulk leasequery only from restricted requestors"; + type empty; + } + } + grouping server-leasequery-type { + description "Allow leasequery"; + uses apply-advanced; + leaf restricted-requestor { + description "Allow leasequery only from restricted requestors"; + type empty; + } + } + grouping server-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + } + } + grouping smid-type { + description "Subscriber management configuration"; + uses apply-advanced; + container traceoptions { + description "Subscriber management trace options"; + uses smid-traceoptions-type; + } + container maintain-subscriber { + description "Options to maintain subscriber"; + uses smid-maintain-subscriber-type; + } + leaf gres-route-flush-delay { + description "Delay flushing routes after RE switchover"; + type empty; + } + container enforce-strict-scale-limit-license { + presence "enable enforce-strict-scale-limit-license"; + description "Options to enforce strict scale limit license"; + } + container overrides { + description "Subscriber management configuration"; + uses apply-advanced; + leaf no-unsolicited-ra { + description "Disable all unsolicited router advertisement packets"; + type empty; + } + container interfaces { + presence "enable interfaces"; + uses apply-advanced; + container family { + presence "enable family"; + uses apply-advanced; + container inet6 { + presence "enable inet6"; + uses apply-advanced; + leaf layer2-liveness-detection { + description "Enabled ipv6-nud liveness detection"; + type empty; + } + } + container inet { + presence "enable inet"; + uses apply-advanced; + leaf layer2-liveness-detection { + description "Enabled arp-ping liveness detection"; + type empty; + } + } + } + } + container shmlog { + description "Subscriber management shmlog configuration"; + uses apply-advanced; + leaf disable { + description "Disable shmlogs"; + type empty; + } + container filtering { + description "Subscriber management shmlog filtering"; + uses apply-advanced; + leaf enable { + description "Enable shmlog filtering"; + type empty; + } + } + container file { + presence "enable file"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum file size"; + type string; + } + leaf files { + description "Maximum number of files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + list log-name { + key name; + ordered-by user; + description "The log name(s) to override"; + leaf name { + type string; + } + uses apply-advanced; + choice verbosity { + case case_1 { + leaf none { + description "Shmlog verbosity null"; + type empty; + } + } + case case_2 { + leaf terse { + description "Shmlog verbosity terse"; + type empty; + } + } + case case_3 { + leaf brief { + description "Shmlog verbosity brief"; + type empty; + } + } + case case_4 { + leaf detail { + description "Shmlog verbosity detail"; + type empty; + } + } + case case_5 { + leaf extensive { + description "Shmlog verbosity extensive"; + type empty; + } + } + } + choice file-enable { + case case_1 { + leaf file-logging { + description "Enable file write for the log(s)"; + type empty; + } + } + case case_2 { + leaf no-file-logging { + description "Disable file write for the log(s)"; + type empty; + } + } + } + } + list log-type { + key name; + ordered-by user; + description "The log type to override"; + leaf name { + type enumeration { + enum "debug" { + description "The severity debug"; + } + enum "info" { + description "The severity info"; + } + enum "notice" { + description "The severity notice and more severe"; + } + } + } + uses apply-advanced; + choice verbosity { + case case_1 { + leaf none { + description "Shmlog verbosity null"; + type empty; + } + } + case case_2 { + leaf terse { + description "Shmlog verbosity terse"; + type empty; + } + } + case case_3 { + leaf brief { + description "Shmlog verbosity brief"; + type empty; + } + } + case case_4 { + leaf detail { + description "Shmlog verbosity detail"; + type empty; + } + } + case case_5 { + leaf extensive { + description "Shmlog verbosity extensive"; + type empty; + } + } + } + choice file-enable { + case case_1 { + leaf file-logging { + description "Enable file write for the log(s)"; + type empty; + } + } + case case_2 { + leaf no-file-logging { + description "Disable file write for the log(s)"; + type empty; + } + } + } + } + } + } + container enable { + presence "enable enable"; + description "Enable subscriber management features"; + uses apply-advanced; + } + } + grouping smid-maintain-subscriber-type { + description "Maintain subscriber options for subscriber management"; + uses apply-advanced; + leaf interface-delete { + description "Maintain subscriber on interface delete events"; + type empty; + } + } + grouping smid-traceoptions-type { + description "Trace options for Subscriber management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Subscriber management replication operations to include in debugging trace"; + leaf name { + type enumeration { + enum "database" { + description "Database operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "server" { + description "Server operations"; + } + enum "issu" { + description "ISSU operations"; + } + enum "all" { + description "All operations"; + } + } + } + } + container memory-profiling { + description "SMID Memory profiling options"; + uses apply-advanced; + leaf enabled { + description "Enable bbe-mem profiling for SMID"; + type empty; + } + } + } + grouping smihelperd-type { + description "Subscriber management helper configuration"; + uses apply-advanced; + container traceoptions { + description "Subscriber management helper trace options"; + uses smihelperd-traceoptions-type; + } + } + grouping smihelperd-traceoptions-type { + description "Trace options for Subscriber management helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Subscriber management replication operations to include in debugging trace"; + leaf name { + type enumeration { + enum "sdb" { + description "SDB operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "snmp" { + description "SNMP operations"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping snmp_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + list oid { + key name; + ordered-by user; + description "Oid implemented by this script"; + leaf name { + description "Oid"; + type string; + } + uses apply-advanced; + leaf priority { + description "Registration priority"; + default "128"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf python-script-user { + description "Run the python snmp script with privileges of user"; + type string; + } + leaf refresh { + description "Refresh all snmp scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all snmp scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + } + grouping ssd-traceoptions-type { + description "Trace options for SSD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of sdk-service daemon to enable debugging output"; + leaf name { + type enumeration { + enum "infrastructure" { + description "Trace ssd infrastructure code"; + } + enum "server" { + description "Trace ssd server functionality code"; + } + enum "routing-instance" { + description "Trace ssd routing instance functionality code"; + } + enum "client-management" { + description "Trace ssd client management code"; + } + enum "interfaces-management" { + description "Trace ssd/jdaf interfaces management code"; + } + enum "route-management" { + description "Trace ssd/jdaf route management code"; + } + enum "nexthop-management" { + description "Trace ssd nexthop route management code"; + } + enum "firewall-management" { + description "Trace JDAF-based firewall service"; + } + enum "nexthop-group-management" { + description "Trace ssd nexthop group management code"; + } + enum "cli" { + description "Trace ssd cli interaction code"; + } + enum "cfg" { + description "Trace ssd cli interaction code"; + } + enum "all" { + description "Trace all areas of ssd code"; + } + } + } + } + } + grouping syslog-object { + leaf name { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "ntp" { + description "NTP process"; + } + enum "security" { + description "Security related"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "dfc" { + description "Dynamic flow capture"; + } + enum "external" { + description "Local external applications"; + } + enum "firewall" { + description "Firewall filtering system"; + } + enum "pfe" { + description "Packet Forwarding Engine"; + } + enum "conflict-log" { + description "Configuration conflict log"; + } + enum "change-log" { + description "Configuration change log"; + } + enum "interactive-commands" { + description "Commands executed by the UI"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + grouping tacplus-server-object { + leaf name { + description "TACACS+ authentication server address"; + type jt:hostname; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf port { + description "TACACS+ authentication server port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secret { + description "Shared secret with the authentication server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 90"; + } + } + } + leaf single-connection { + description "Optimize TCP connection attempts"; + type empty; + } + leaf source-address { + description "Use specified address as source address"; + type jt:hostname; + } + } + grouping tty_port_object { + description "RS-232 configuration"; + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + leaf log-out-on-disconnect { + description "Log out the console session when cable is unplugged"; + type empty; + } + leaf disable { + description "Disable console"; + type empty; + } + leaf insecure { + description "Disallow superuser access"; + type empty; + } + leaf speed { + description "Speed of the port"; + status deprecated; + units "baud"; + type enumeration { + enum "1200" { + description "Standard terminal at 1200 baud"; + status deprecated; + } + enum "2400" { + description "Standard terminal at 2400 baud"; + status deprecated; + } + enum "4800" { + description "Standard terminal at 4800 baud"; + status deprecated; + } + enum "9600" { + description "Standard terminal at 9600 baud"; + status deprecated; + } + enum "19200" { + description "Standard terminal at 19200 baud"; + status deprecated; + } + enum "38400" { + description "Standard terminal at 38400 baud"; + status deprecated; + } + enum "57600" { + description "Standard terminal at 57600 baud"; + status deprecated; + } + enum "115200" { + description "Standard terminal at 115200 baud"; + status deprecated; + } + } + } + leaf type { + description "Terminal type"; + type enumeration { + enum "ansi" { + description "ANSI-compatible terminal"; + } + enum "vt100" { + description "VT100-compatible terminal"; + } + enum "small-xterm" { + description "Small (24-line) xterm window"; + } + enum "xterm" { + description "Large (65-line) xterm window"; + } + } + } + leaf silent-with-modem { + description "Make the console silent if modem is connected and no call is present on the modem"; + type empty; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-unified-edge@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-unified-edge@2019-01-01.yang new file mode 100644 index 00000000..ad54412d --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-unified-edge@2019-01-01.yang @@ -0,0 +1,719 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-unified-edge { + namespace "http://yang.juniper.net/junos-es/conf/unified-edge"; + + prefix jc-unified-edge; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos unified-edge configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses unified-edge-group; + } + augment /jc:configuration/jc:groups { + uses unified-edge-group; + } + grouping unified-edge-group { + container unified-edge { + uses apply-advanced; + container cos-cac { + description "Unified Edge COS configuration"; + status deprecated; + uses juniper-unified-edge-cos-options; + } + list local-policies { + key name; + ordered-by user; + description "Local policy profiles"; + status deprecated; + max-elements 8001; + leaf name { + description "Local policy profile name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of local policy"; + type string; + } + leaf resource-threshold-profile { + description "Resource threshold profile associated with the local policy"; + type string; + } + leaf classifier-profile { + description "QoS class profile associated with the local policy"; + type string; + } + leaf cos-policy-profile { + description "QoS policy profile associated with the local policy"; + type string; + } + leaf roamer-classifier-profile { + description "QoS classifier profile for roamers"; + type string; + } + leaf roamer-cos-policy-profile { + description "QoS policy profile for roamers"; + type string; + } + leaf visitor-classifier-profile { + description "QoS classifier profile for visitor"; + type string; + } + leaf visitor-cos-policy-profile { + description "QoS policy profile for visitor"; + type string; + } + leaf traffic-class-qci-mapping-profile { + description "Traffic class to qci mapping profile"; + type string { + length "1 .. 128"; + } + } + leaf ul-bandwidth-pool { + description "Bandwidth pool associated with the local policy"; + type string; + } + leaf dl-bandwidth-pool { + description "Bandwidth pool associated with the local policy"; + type string; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-unified-edge-cos-options { + uses apply-advanced; + list classifier-profiles { + key name; + ordered-by user; + description "Classifier tables for mobile subscribers (UMTS/EPS)"; + max-elements 8001; + leaf name { + description "Classification table name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of classifier profile"; + type string; + } + list qos-class-identifier { + key name; + ordered-by user; + description "QCI mapping to forwarding class and loss priority"; + leaf name { + description "Qci value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9"; + } + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + leaf loss-priority { + description "Loss priority value"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + } + } + } + } + list gbr-bandwidth-pools { + key name; + ordered-by user; + description "GBR bandwith pools configuration"; + max-elements 8001; + leaf name { + description "GBR Bandwidth pool name"; + type string { + } + } + uses apply-advanced; + leaf maximum-bandwidth { + description "Bandwidth for pool"; + units "mega-bits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50000 .. 500000"; + } + } + } + leaf downgrade-gtp-v1-gbr-bearers { + description "Downgrade GTPv1 GBR bearer traffic class to background traffic class"; + type empty; + } + } + list resource-threshold-profiles { + key name; + ordered-by user; + description "Resource threshold profiles"; + max-elements 8001; + leaf name { + description "Resource threshold profile name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of resource threshold profile"; + type string; + } + container bearers-load { + description "Number of bearers load configurations"; + uses apply-advanced; + container low { + description "Low threshold configuration"; + uses apply-advanced; + leaf percentage { + description "Low threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container high { + description "High threshold configuration"; + uses apply-advanced; + leaf percentage { + description "High threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } + container memory { + description "Memory load configurations"; + uses apply-advanced; + container low { + description "Low threshold configuration"; + uses apply-advanced; + leaf percentage { + description "Low threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container high { + description "High threshold configuration"; + uses apply-advanced; + leaf percentage { + description "High threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } + container cpu { + description "CPU load configurations"; + uses apply-advanced; + container low { + description "Low threshold configuration"; + uses apply-advanced; + leaf percentage { + description "Low threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container high { + description "High threshold configuration"; + uses apply-advanced; + leaf percentage { + description "High threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } + } + list cos-policy-profiles { + key name; + ordered-by user; + description "QoS policy profile"; + max-elements 8001; + leaf name { + description "QoS policy profile name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of cos policy"; + type string; + } + container default-bearer-qci { + description "Default bearer qci value"; + leaf qci-value { + description "Default bearer qci value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 9"; + } + } + } + leaf upgrade { + description "Override qci value"; + type empty; + } + leaf reject { + description "Reject calls with numerially lower qci"; + type empty; + } + } + container allocation-retention-priority { + description "ARP local policy"; + leaf priority-value { + description "ARP policy configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 15"; + } + } + } + leaf reject { + description "Reject calls with higher priority value"; + type empty; + } + } + container aggregated-qos-control { + description "Aggregated qos control policy"; + uses apply-advanced; + container maximum-bit-rate-uplink { + description "Maximum bit rate uplink"; + leaf mbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink maximum-bit-rate"; + type empty; + } + } + container maximum-bit-rate-downlink { + description "Maximum bit rate downlink"; + leaf mbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink maximum-bit-rate"; + type empty; + } + } + } + container pdp-qos-control { + description "PDP qos control"; + uses apply-advanced; + container maximum-bit-rate-uplink { + description "Maximum bit rate uplink"; + leaf mbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink maximum-bit-rate"; + type empty; + } + } + container maximum-bit-rate-downlink { + description "Maximum bit rate downlink"; + leaf mbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink maximum-bit-rate"; + type empty; + } + } + container guaranteed-bit-rate-uplink { + description "Guaranteed bit rate uplink"; + leaf gbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override guaranteed-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink guaranteed-bit-rate"; + type empty; + } + } + container guaranteed-bit-rate-downlink { + description "Guaranteed bit rate downlink"; + leaf gbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override guaranteed-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink guaranteed-bit-rate"; + type empty; + } + } + list qci { + key name; + ordered-by user; + description "PDP qos control per qci"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 9"; + } + } + } + uses apply-advanced; + container maximum-bit-rate-uplink { + description "Maximum bit rate uplink"; + leaf mbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink maximum-bit-rate"; + type empty; + } + } + container maximum-bit-rate-downlink { + description "Maximum bit rate downlink"; + leaf mbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink maximum-bit-rate"; + type empty; + } + } + } + } + container policer-action { + description "Policer actions"; + uses apply-advanced; + container non-gbr-bearer { + description "Policer actions for non gbr bearers"; + uses apply-advanced; + leaf violate-action { + description "PDP policer violate action"; + type enumeration { + enum "set-loss-priority-high" { + description "Violate action set loss priority high"; + } + enum "transmit" { + description "Violate action transmit"; + } + } + } + } + container gbr-bearer { + description "Policer actions for gbr bearers"; + uses apply-advanced; + leaf exceed-action { + description "PDP policer exceed action"; + type enumeration { + enum "drop" { + description "Exceed action drop"; + } + enum "transmit" { + description "Exceed action transmit"; + } + } + } + leaf violate-action { + description "PDP policer violate action"; + type enumeration { + enum "set-loss-priority-high" { + description "Violate action set loss priority high"; + } + enum "transmit" { + description "Violate action transmit"; + } + } + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-vlans@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-vlans@2019-01-01.yang new file mode 100644 index 00000000..7e395274 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-vlans@2019-01-01.yang @@ -0,0 +1,4569 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-vlans { + namespace "http://yang.juniper.net/junos-es/conf/vlans"; + + prefix jc-vlans; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos vlans configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses vlans-group; + } + augment /jc:configuration/jc:groups { + uses vlans-group; + } + grouping vlans-group { + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping vlan-types { + description "Virtual LAN"; + leaf name { + description "VLAN name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of VLANs"; + type string { + } + } + choice vlan-identifier-choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for VLAN"; + type string; + } + } + case case_2 { + leaf-list vlan-id-list { + description "Create VLAN for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + case case_3 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for VLANs"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface name for this VLAN"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf l3-interface { + description "L3 interface name for this vlans"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-ethernet-switching-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container switch-options { + description "VLANs switch-options configuration"; + uses juniper-protocols-vlan; + } + leaf domain-type { + description "Type of VLANs SVLAN/DVLAN"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of IRB routing-interface"; + type empty; + } + leaf service-id { + description "Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this VLAN"; + type empty; + } + leaf mcae-mac-flush { + description "Enable IRB MAC flush in a/s mode for this VLAN on MCAE link up"; + type empty; + } + leaf private-vlan { + description "Type of secondary vlan for private vlan"; + type enumeration { + enum "isolated" { + description "Isolated vlan"; + } + enum "community" { + description "Community vlan"; + } + } + } + leaf isolated-vlan { + description "VLAN id or name"; + type string { + } + } + leaf-list community-vlans { + ordered-by user; + description "List of VLAN id or name"; + type string; + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + } + } + grouping juniper-ethernet-switching-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for ethernet switching forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for ethernet switching flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for ethernet switching flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "DHCP access security configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container host-outbound-traffic { + description "Host generated protocol packets"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + leaf dot1p { + description "Dot1p bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + leaf ignore-stp-topology-change { + description "Don't process stp topology change"; + type empty; + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-protocols-vlan { + description "VLANs switch-options configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container vpws-service-id { + presence "enable vpws-service-id"; + description "Service-id for EVPN VPWS routing instance"; + uses apply-advanced; + leaf local { + description "Local EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote EVPN VPWS service id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-vmhost@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-vmhost@2019-01-01.yang new file mode 100644 index 00000000..05f44b77 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-vmhost@2019-01-01.yang @@ -0,0 +1,454 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-vmhost { + namespace "http://yang.juniper.net/junos-es/conf/vmhost"; + + prefix jc-vmhost; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos vmhost configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses vmhost-group; + } + augment /jc:configuration/jc:groups { + uses vmhost-group; + } + grouping vmhost-group { + container vmhost { + description "VM Host configurations"; + uses apply-advanced; + leaf no-auto-recovery { + description "Disable Guest auto recovery by the host"; + type empty; + } + container management-if { + presence "enable management-if"; + description "Configuration for the host's side management interface"; + uses apply-advanced; + leaf link-mode { + description "Link operational mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf speed { + description "Link speed"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Automatically negotiate speed"; + } + enum "10m" { + description "10Mbps operation"; + } + enum "100m" { + description "100Mbps operation"; + } + enum "1g" { + description "1Gbps operation"; + } + } + } + leaf disable { + description "Administratively disable the management port"; + type empty; + } + } + list interfaces { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type enumeration { + enum "management-if0" { + description "Configuration for the host's side management interface0"; + } + enum "management-if1" { + description "Configuration for the host's side management interface1"; + } + } + } + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf master-only { + description "Master management IP address for host"; + type empty; + } + } + leaf gateway { + description "Gateway IP address"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf master-only { + description "Master management IP address for host"; + type empty; + } + } + leaf gateway { + description "Gateway IP address"; + type jt:ipv6addr; + } + } + } + } + container syslog { + presence "enable syslog"; + description "VMhost logging facility"; + uses apply-advanced; + list file { + key name; + ordered-by user; + description "File in which to log data"; + leaf name { + description "Name of file in which to log data"; + type string { + length "1 .. 1024"; + } + } + uses apply-advanced; + list vmhost-syslog-object { + key "facility level"; + leaf facility { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "privileged" { + description "Privileged authorization events"; + } + enum "cron" { + description "Cron daemon"; + } + enum "daemon" { + description "Various system processes"; + } + enum "kernel" { + description "Kernel"; + } + enum "lpr" { + description "Line printer spooling system"; + } + enum "mail" { + description "Mail system"; + } + enum "mark" { + } + enum "news" { + description "Network news system"; + } + enum "syslog" { + } + enum "user" { + description "User processes"; + } + enum "uucp" { + description "UUCP system"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf level { + description "Level name"; + type enumeration { + enum "any" { + description "All levels"; + } + enum "emergency" { + description "Panic conditions"; + } + enum "alert" { + description "Conditions that should be corrected immediately"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "Error conditions"; + } + enum "warning" { + description "Warning messages"; + } + enum "notice" { + description "Conditions that should be handled specially"; + } + enum "info" { + description "Informational messages"; + } + enum "none" { + description "No messages"; + } + } + } + } + } + list host { + key name; + ordered-by user; + description "Host to be notified"; + leaf name { + description "Host to be notified"; + type string { + } + } + uses apply-advanced; + list vmhost-syslog-object { + key "facility level"; + leaf facility { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "privileged" { + description "Privileged authorization events"; + } + enum "cron" { + description "Cron daemon"; + } + enum "daemon" { + description "Various system processes"; + } + enum "kernel" { + description "Kernel"; + } + enum "lpr" { + description "Line printer spooling system"; + } + enum "mail" { + description "Mail system"; + } + enum "mark" { + } + enum "news" { + description "Network news system"; + } + enum "syslog" { + } + enum "user" { + description "User processes"; + } + enum "uucp" { + description "UUCP system"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf level { + description "Level name"; + type enumeration { + enum "any" { + description "All levels"; + } + enum "emergency" { + description "Panic conditions"; + } + enum "alert" { + description "Conditions that should be corrected immediately"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "Error conditions"; + } + enum "warning" { + description "Warning messages"; + } + enum "notice" { + description "Conditions that should be handled specially"; + } + enum "info" { + description "Informational messages"; + } + enum "none" { + description "No messages"; + } + } + } + } + leaf transport { + description "Transport type"; + default "udp"; + type enumeration { + enum "tcp" { + description "TCP as transport of syslog"; + } + enum "udp" { + description "UDP as transport of syslog"; + } + } + } + } + } + container services { + presence "enable services"; + description "System services"; + uses apply-advanced; + container ssh { + presence "enable ssh"; + description "Allow ssh access"; + uses apply-advanced; + leaf root-login { + description "Configure vmhost root access via ssh"; + type enumeration { + enum "allow" { + description "Allow root access via ssh"; + } + enum "deny" { + description "Do not allow root access via ssh"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-wlan@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-wlan@2019-01-01.yang new file mode 100644 index 00000000..dc55fda1 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-es/conf/junos-es-conf-wlan@2019-01-01.yang @@ -0,0 +1,2158 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-es-conf-wlan { + namespace "http://yang.juniper.net/junos-es/conf/wlan"; + + prefix jc-wlan; + + import junos-common-types { + prefix jt; + } + + import junos-es-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos wlan configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses wlan-group; + } + augment /jc:configuration/jc:groups { + uses wlan-group; + } + grouping wlan-group { + container wlan { + presence "enable wlan"; + description "Wireless access point configuration"; + uses apply-advanced; + container admin-authentication { + description "Authentication information for WLAN access points"; + uses apply-advanced; + leaf encrypted-password { + description "Encrypted password"; + type jt:unreadable; + } + } + list access-point { + key name; + ordered-by user; + description "WLAN access point configuration"; + leaf name { + description "Specify the access point name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Specify the access point description"; + type string { + length "1 .. 256"; + } + } + leaf mac-address { + description "Access point ethernet port MAC address"; + type jt:mac-unicast; + } + leaf location { + description "Location of the access point"; + type string { + length "1 .. 256"; + } + } + choice access-point-type { + case case_1 { + container external { + presence "enable external"; + description "External type access point"; + uses apply-advanced; + container system { + description "System information"; + uses apply-advanced; + leaf ntp-server { + description "NTP server name"; + status deprecated; + type string { + length "1 .. 256"; + } + } + container ports { + description "Port configuration"; + uses apply-advanced; + container ethernet { + description "Ethernet settings"; + uses apply-advanced; + leaf management-vlan { + description "Management VLAN identifier"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4094"; + } + } + } + leaf untagged-vlan { + description "Untagged VLAN identifier"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4094"; + } + } + } + choice inet-address { + case case_1 { + container static { + presence "enable static"; + description "Specify static parameters"; + uses apply-advanced; + leaf address { + description "Static IP address"; + type jt:ipv4prefix; + } + leaf default-gateway { + description "Default gateway IP"; + type jt:ipaddr; + } + } + } + } + leaf-list name-server { + ordered-by user; + description "Domain name server IP address"; + type jt:ipaddr; + max-elements 2; + } + } + } + container console { + uses apply-advanced; + leaf baud-rate { + description "Baud-rate values are 9600,19200,38400,57600,115200"; + default "115200"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container services { + description "System services configuration"; + uses apply-advanced; + leaf ssh { + description "Enable SSH service on the access point"; + type empty; + } + } + } + container dot1x-supplicant { + uses apply-advanced; + leaf username { + description "Username"; + type string { + length "1 .. 64"; + } + } + leaf password { + description "Dot1x supplicant mode password"; + type string { + length "1 .. 64"; + } + } + } + } + } + } + container access-point-options { + description "Configure access point options"; + uses ap-options-type; + } + container logging-options { + description "Configure access point logging options"; + uses log-options-type; + } + list radio { + key name; + ordered-by user; + description "Access point radio settings"; + max-elements 2; + leaf name { + description "Specify radio identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + container radio-options { + description "Configure radio options"; + uses apply-advanced; + leaf radio-off { + description "Radio is off"; + type empty; + } + leaf dfs-off { + description "Dynamic frequency selection turn off"; + status deprecated; + type empty; + } + leaf disable-dot11d { + description "Disable dot11d regulatory domain support"; + type empty; + } + leaf mode { + description "Mode for radio operation"; + type enumeration { + enum "a" { + description "Radio Frequency -a"; + } + enum "bg" { + description "Radio Frequency -bg"; + } + enum "an" { + description "Radio Frequency -an"; + } + enum "bgn" { + description "Radio Frequency -bgn"; + } + enum "5GHz" { + description "Radio Frequency -5GHz-n"; + } + enum "2.4GHz" { + description "Radio Frequency -2.4GHz-n"; + } + } + } + container channel { + description "Configure channel settings"; + uses apply-advanced; + leaf number { + description "Provide channel selection"; + default "auto"; + type enumeration { + enum "1" { + description "Channel 1"; + } + enum "2" { + description "Channel 2"; + } + enum "3" { + description "Channel 3"; + } + enum "4" { + description "Channel 4"; + } + enum "5" { + description "Channel 5"; + } + enum "6" { + description "Channel 6"; + } + enum "7" { + description "Channel 7"; + } + enum "8" { + description "Channel 8"; + } + enum "9" { + description "Channel 9"; + } + enum "10" { + description "Channel 10"; + } + enum "11" { + description "Channel 11"; + } + enum "12" { + description "Channel 12"; + } + enum "13" { + description "Channel 13"; + } + enum "14" { + description "Channel 14"; + } + enum "36" { + description "Channel 36"; + } + enum "40" { + description "Channel 40"; + } + enum "44" { + description "Channel 44"; + } + enum "48" { + description "Channel 48"; + } + enum "52" { + description "Channel 52"; + } + enum "56" { + description "Channel 56"; + } + enum "60" { + description "Channel 60"; + } + enum "64" { + description "Channel 64"; + } + enum "100" { + description "Channel 100"; + } + enum "108" { + description "Channel 108"; + } + enum "112" { + description "Channel 112"; + } + enum "116" { + description "Channel 116"; + } + enum "120" { + description "Channel 120"; + } + enum "124" { + description "Channel 124"; + } + enum "128" { + description "Channel 128"; + } + enum "132" { + description "Channel 132"; + } + enum "136" { + description "Channel 136"; + } + enum "140" { + description "Channel 140"; + } + enum "149" { + description "Channel 149"; + } + enum "153" { + description "Channel 153"; + } + enum "157" { + description "Channel 157"; + } + enum "161" { + description "Channel 161"; + } + enum "165" { + description "Channel 165"; + } + enum "auto" { + description "Automatically selected"; + } + } + } + leaf bandwidth { + description "Provide channel bandwidth in MHz(20/40)"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf primary { + description "Select primary channel"; + type enumeration { + enum "lower" { + description "Set lower channel as primary"; + } + enum "upper" { + description "Set upper channel as primary"; + } + } + } + } + leaf space-time-block-coding { + description "Enable space time block coding"; + type empty; + } + leaf protection { + description "Select protection mode"; + type enumeration { + enum "auto" { + description "Protection mode- AUTO"; + } + enum "off" { + description "Protection mode- OFF"; + } + } + } + leaf beacon-interval { + description "Set the beacon interval"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "20 .. 2000"; + } + } + } + leaf dtim-period { + description "Set delivery traffic indication message period (beacon count)"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 255"; + } + } + } + leaf rts-threshold { + description "Set RTS- threshold"; + default "2347"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 2347"; + } + } + } + leaf no-short-guard-interval { + description "Disable 802.11n short inter-symbol guard interval"; + type empty; + } + leaf fragmentation-threshold { + description "Packet fragment size(even numbers)"; + default "2346"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "256 .. 2346"; + } + } + } + leaf maximum-stations { + description "Set limit on maximum supported stations"; + default "200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 200"; + } + } + } + leaf transmit-power { + description "Set transmit power"; + default "100"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf fixed-multicast-rate { + description "Provide multicast rate"; + type enumeration { + enum "auto" { + description "Auto rate selection"; + } + enum "1" { + description "Rate-1Mbps "; + } + enum "2" { + description "Rate-2Mbps "; + } + enum "5.5" { + description "Rate-5.5Mbps "; + } + enum "6" { + description "Rate-6Mbps "; + } + enum "9" { + description "Rate-9Mbps "; + } + enum "11" { + description "Rate-11Mbps "; + } + enum "12" { + description "Rate-12Mbps "; + } + enum "18" { + description "Rate-18Mbps "; + } + enum "24" { + description "Rate-24Mbps "; + } + enum "36" { + description "Rate-36Mbps "; + } + enum "48" { + description "Rate-48Mbps "; + } + enum "54" { + description "Rate-54Mbps "; + } + } + } + container transmit-rate-sets { + description "Specify the transmit rate sets"; + uses transmit-rate-sets; + } + container broadcast-multicast-rate-limit { + description "Configure rate limit for broadcast and multicast traffic"; + uses broadcast-multicast-rate-limit; + } + } + leaf station-isolation { + description "Isolate the clients connected to the same VAP within a radio"; + type empty; + } + list virtual-access-point { + key name; + ordered-by user; + description "Virtual access point configuration"; + max-elements 16; + uses vap-type; + } + container quality-of-service { + description "Wireless quality of service configuration"; + uses qos-parameter-type; + } + } + } + container syslog-options { + description "Configure Access Point Logging options"; + uses apply-advanced; + leaf log-size { + description "Configure Max log file size"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1024"; + } + } + } + leaf period { + description "Configure log fetch interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 86400"; + } + } + } + } + } + } + grouping ap-options-type { + description "Configure access point options"; + uses apply-advanced; + container country { + description "Country name"; + presence "enable country"; + uses country; + } + container station-mac-filter { + uses station-mac-filter; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping broadcast-multicast-rate-limit { + description "Specify broadcast and multicast rate limit"; + uses apply-advanced; + leaf rate-limit { + description "Rate limit"; + default "50"; + units "pps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 50"; + } + } + } + leaf rate-limit-bursts { + description "Rate limit bursts"; + default "75"; + units "pps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 75"; + } + } + } + } + grouping country { + uses apply-advanced; + choice code { + case case_1 { + leaf AE { + description "United Arab Emirates"; + type empty; + } + } + case case_2 { + leaf AG { + description "Antigua and Barbuda"; + type empty; + } + } + case case_3 { + leaf AN { + description "Netherlands Antilles"; + type empty; + } + } + case case_4 { + leaf AR { + description "Argentina"; + type empty; + } + } + case case_5 { + leaf AS { + description "American Somoa"; + type empty; + } + } + case case_6 { + leaf AT { + description "Austria"; + type empty; + } + } + case case_7 { + leaf AU { + description "Australia"; + type empty; + } + } + case case_8 { + leaf AW { + description "Aruba"; + type empty; + } + } + case case_9 { + leaf AZ { + description "Azerbaijan"; + type empty; + } + } + case case_10 { + leaf BA { + description "Bosnia"; + type empty; + } + } + case case_11 { + leaf BB { + description "Barbados"; + type empty; + } + } + case case_12 { + leaf BD { + description "Bangladesh"; + type empty; + } + } + case case_13 { + leaf BE { + description "Belgium"; + type empty; + } + } + case case_14 { + leaf BG { + description "Bulgaria"; + type empty; + } + } + case case_15 { + leaf BH { + description "Bahrain"; + type empty; + } + } + case case_16 { + leaf BM { + description "Bermuda"; + type empty; + } + } + case case_17 { + leaf BN { + description "Brunei"; + type empty; + } + } + case case_18 { + leaf BO { + description "Bolivia"; + type empty; + } + } + case case_19 { + leaf BR { + description "Brazil"; + type empty; + } + } + case case_20 { + leaf BS { + description "Bahamas"; + type empty; + } + } + case case_21 { + leaf BT { + description "Bhutan"; + type empty; + } + } + case case_22 { + leaf BY { + description "Belarus"; + type empty; + } + } + case case_23 { + leaf CA { + description "Canada"; + type empty; + } + } + case case_24 { + leaf CH { + description "Switzerland"; + type empty; + } + } + case case_25 { + leaf CL { + description "Chile"; + type empty; + } + } + case case_26 { + leaf CN { + description "China"; + type empty; + } + } + case case_27 { + leaf CO { + description "Colombia"; + type empty; + } + } + case case_28 { + leaf CR { + description "Costa Rica"; + type empty; + } + } + case case_29 { + leaf CU { + description "Cuba"; + type empty; + } + } + case case_30 { + leaf CV { + description "Cape Verde"; + type empty; + } + } + case case_31 { + leaf CY { + description "Cyprus"; + type empty; + } + } + case case_32 { + leaf CZ { + description "Czech Republic"; + type empty; + } + } + case case_33 { + leaf DE { + description "Germany"; + type empty; + } + } + case case_34 { + leaf DK { + description "Denmark"; + type empty; + } + } + case case_35 { + leaf DM { + description "Dominica"; + type empty; + } + } + case case_36 { + leaf DO { + description "Dominican Republic"; + type empty; + } + } + case case_37 { + leaf EC { + description "Ecuador"; + type empty; + } + } + case case_38 { + leaf EE { + description "Estonia"; + type empty; + } + } + case case_39 { + leaf EG { + description "Egypt"; + type empty; + } + } + case case_40 { + leaf ES { + description "Spain"; + type empty; + } + } + case case_41 { + leaf FI { + description "Finland"; + type empty; + } + } + case case_42 { + leaf FK { + description "Faulkland Islands"; + type empty; + } + } + case case_43 { + leaf FM { + description "Federated States of Micronesia"; + type empty; + } + } + case case_44 { + leaf FR { + description "France"; + type empty; + } + } + case case_45 { + leaf GB { + description "United Kingdom"; + type empty; + } + } + case case_46 { + leaf GF { + description "French Guiana"; + type empty; + } + } + case case_47 { + leaf GG { + description "Guernsey"; + type empty; + } + } + case case_48 { + leaf GI { + description "Gibralter"; + type empty; + } + } + case case_49 { + leaf GP { + description "Guadeloupe"; + type empty; + } + } + case case_50 { + leaf GR { + description "Greece"; + type empty; + } + } + case case_51 { + leaf GT { + description "Guatemala"; + type empty; + } + } + case case_52 { + leaf GU { + description "Guam"; + type empty; + } + } + case case_53 { + leaf HK { + description "Hong Kong"; + type empty; + } + } + case case_54 { + leaf HN { + description "Honduras"; + type empty; + } + } + case case_55 { + leaf HR { + description "Croatia"; + type empty; + } + } + case case_56 { + leaf HT { + description "Haiti"; + type empty; + } + } + case case_57 { + leaf HU { + description "Hungary"; + type empty; + } + } + case case_58 { + leaf ID { + description "Indonesia"; + type empty; + } + } + case case_59 { + leaf IE { + description "Ireland"; + type empty; + } + } + case case_60 { + leaf IL { + description "Israel"; + type empty; + } + } + case case_61 { + leaf IM { + description "Isle of Man"; + type empty; + } + } + case case_62 { + leaf IN { + description "India"; + type empty; + } + } + case case_63 { + leaf IR { + description "Iran"; + type empty; + } + } + case case_64 { + leaf IS { + description "Iceland"; + type empty; + } + } + case case_65 { + leaf IT { + description "Italy"; + type empty; + } + } + case case_66 { + leaf JE { + description "Jersey"; + type empty; + } + } + case case_67 { + leaf JM { + description "Jamaica"; + type empty; + } + } + case case_68 { + leaf JO { + description "Jordan"; + type empty; + } + } + case case_69 { + leaf JP { + description "Japan"; + type empty; + } + } + case case_70 { + leaf KE { + description "Kenya"; + type empty; + } + } + case case_71 { + leaf KI { + description "Kiribati"; + type empty; + } + } + case case_72 { + leaf KR { + description "Korea Republic"; + type empty; + } + } + case case_73 { + leaf KW { + description "Kuwait"; + type empty; + } + } + case case_74 { + leaf KY { + description "Cayman Islands"; + type empty; + } + } + case case_75 { + leaf LA { + description "LAO People's Democratic Republic"; + type empty; + } + } + case case_76 { + leaf LB { + description "Lebanon"; + type empty; + } + } + case case_77 { + leaf LI { + description "Liechtenstein"; + type empty; + } + } + case case_78 { + leaf LK { + description "Sri Lanka"; + type empty; + } + } + case case_79 { + leaf LS { + description "Lesotho"; + type empty; + } + } + case case_80 { + leaf LT { + description "Lithuania"; + type empty; + } + } + case case_81 { + leaf LU { + description "Luxembourg"; + type empty; + } + } + case case_82 { + leaf LV { + description "Latvia"; + type empty; + } + } + case case_83 { + leaf MA { + description "Morocco"; + type empty; + } + } + case case_84 { + leaf MC { + description "Monaco"; + type empty; + } + } + case case_85 { + leaf MK { + description "Macedonia"; + type empty; + } + } + case case_86 { + leaf MO { + description "Macao"; + type empty; + } + } + case case_87 { + leaf MP { + description "Northern Mariana Islands"; + type empty; + } + } + case case_88 { + leaf MQ { + description "Martinique"; + type empty; + } + } + case case_89 { + leaf MR { + description "Mauritania"; + type empty; + } + } + case case_90 { + leaf MT { + description "Malta"; + type empty; + } + } + case case_91 { + leaf MU { + description "Mauritius"; + type empty; + } + } + case case_92 { + leaf MV { + description "Maldives"; + type empty; + } + } + case case_93 { + leaf MW { + description "Malawi"; + type empty; + } + } + case case_94 { + leaf MX { + description "Mexico"; + type empty; + } + } + case case_95 { + leaf MY { + description "Malaysia"; + type empty; + } + } + case case_96 { + leaf NG { + description "Nigeria"; + type empty; + } + } + case case_97 { + leaf NI { + description "Nicaragua"; + type empty; + } + } + case case_98 { + leaf NL { + description "Netherlands"; + type empty; + } + } + case case_99 { + leaf NO { + description "Norway"; + type empty; + } + } + case case_100 { + leaf NZ { + description "New Zealand"; + type empty; + } + } + case case_101 { + leaf OM { + description "Oman"; + type empty; + } + } + case case_102 { + leaf PA { + description "Panama"; + type empty; + } + } + case case_103 { + leaf PE { + description "Peru"; + type empty; + } + } + case case_104 { + leaf PG { + description "Papua New Guinea"; + type empty; + } + } + case case_105 { + leaf PH { + description "Philippines"; + type empty; + } + } + case case_106 { + leaf PK { + description "Pakistan"; + type empty; + } + } + case case_107 { + leaf PL { + description "Poland"; + type empty; + } + } + case case_108 { + leaf PM { + description "St. Pierre and Miquelon"; + type empty; + } + } + case case_109 { + leaf PR { + description "Puerto Rico"; + type empty; + } + } + case case_110 { + leaf PT { + description "Portugal"; + type empty; + } + } + case case_111 { + leaf RE { + description "Reunion"; + type empty; + } + } + case case_112 { + leaf RO { + description "Romania"; + type empty; + } + } + case case_113 { + leaf RU { + description "Russia"; + type empty; + } + } + case case_114 { + leaf SA { + description "Saudi Arabia"; + type empty; + } + } + case case_115 { + leaf SE { + description "Sweden"; + type empty; + } + } + case case_116 { + leaf SG { + description "Singapore"; + type empty; + } + } + case case_117 { + leaf SI { + description "Slovenia"; + type empty; + } + } + case case_118 { + leaf SK { + description "Slovak Republic"; + type empty; + } + } + case case_119 { + leaf SV { + description "El Salvador"; + type empty; + } + } + case case_120 { + leaf SY { + description "Syria"; + type empty; + } + } + case case_121 { + leaf TH { + description "Thailand"; + type empty; + } + } + case case_122 { + leaf TJ { + description "Tajikistan"; + type empty; + } + } + case case_123 { + leaf TN { + description "Tunisia"; + type empty; + } + } + case case_124 { + leaf TR { + description "Turkey"; + type empty; + } + } + case case_125 { + leaf TT { + description "Trinidad & Tobago"; + type empty; + } + } + case case_126 { + leaf TW { + description "Taiwan"; + type empty; + } + } + case case_127 { + leaf TZ { + description "Tanzania"; + type empty; + } + } + case case_128 { + leaf UA { + description "Ukraine"; + type empty; + } + } + case case_129 { + leaf UM { + description "United States (Minor Outlying Islands)"; + type empty; + } + } + case case_130 { + leaf US { + description "United States"; + type empty; + } + } + case case_131 { + leaf UY { + description "Uruguay"; + type empty; + } + } + case case_132 { + leaf UZ { + description "Uzbekistan"; + type empty; + } + } + case case_133 { + leaf VA { + description "Holy See (Vatican City State)"; + type empty; + } + } + case case_134 { + leaf VE { + description "Venezuela"; + type empty; + } + } + case case_135 { + leaf VG { + description "Virgin Islands (British)"; + type empty; + } + } + case case_136 { + leaf VI { + description "Virgin Islands (United States)"; + type empty; + } + } + case case_137 { + leaf VN { + description "Vietnam"; + type empty; + } + } + case case_138 { + leaf YT { + description "Mayotte"; + type empty; + } + } + case case_139 { + leaf ZA { + description "South Africa"; + type empty; + } + } + case case_140 { + leaf ZM { + description "Zambia"; + type empty; + } + } + } + } + grouping log-options-type { + uses apply-advanced; + leaf enable-persistent { + description "Turn on persistent logging on the access point"; + type empty; + } + leaf enable-remote { + description "Turn on remote logging on the access point"; + type empty; + } + leaf log-server-address { + description "Remote log server IP address"; + type jt:ipv4addr; + } + leaf log-server-port { + description "Remote log serer port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65536"; + } + } + } + leaf log-level { + description "Event severity, 0 - Errors, 7 - Info"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping qos-parameter-type { + uses apply-advanced; + leaf no-wifi-multimedia { + description "Disable WIFI multimedia"; + type empty; + } + leaf no-acknowledgement { + description "Disable acknowledgement"; + type empty; + } + leaf no-auto-power-save { + description "Disable auto power save delivery"; + type empty; + } + container access-point-queues { + description "Configure the access point queues"; + uses apply-advanced; + container voice-queue { + description "Configure voice queue"; + uses access-point-queue-type; + } + container video-queue { + description "Configure video queue"; + uses access-point-queue-type; + } + container best-effort-queue { + description "Configure best effort queue"; + uses access-point-queue-type; + } + container background-queue { + description "Configure background queue"; + uses access-point-queue-type; + } + } + container station-queues { + description "Configure the station queues"; + uses apply-advanced; + container voice-queue { + description "Configure voice queue"; + uses station-queue-type; + } + container video-queue { + description "Configure video queue"; + uses station-queue-type; + } + container best-effort-queue { + description "Configure best effort queue"; + uses station-queue-type; + } + container background-queue { + description "Configure background queue"; + uses station-queue-type; + } + } + } + grouping access-point-queue-type { + description "Access point queue type"; + uses apply-advanced; + leaf arbitration-inter-frame-space { + description "Arbitration space between frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 255"; + } + } + } + container minimum-contention-window { + description "Minimum contention window size"; + uses contention-window; + } + container maximum-contention-window { + description "Maximum contention window size"; + uses contention-window; + } + leaf maximum-burst { + description "Specify maximum burst"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 999900"; + } + } + } + } + grouping contention-window { + uses apply-advanced; + leaf window-size { + description "Values are 1,3,7,15,31,63,127,255,511 and 1023"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping station-mac-filter { + description "Configure MAC filter"; + uses apply-advanced; + container allow-list { + description "Allow the MAC addresseses"; + uses apply-advanced; + leaf-list mac-address { + ordered-by user; + description "List of allowed MAC addresses"; + type jt:mac-unicast; + max-elements 32; + } + } + container deny-list { + description "Deny the MAC addresseses"; + uses apply-advanced; + leaf-list mac-address { + ordered-by user; + description "List of denied MAC addresses"; + type jt:mac-unicast; + max-elements 32; + } + } + } + grouping station-queue-type { + description "Station queue type"; + uses apply-advanced; + leaf arbitration-inter-frame-space { + description "Arbitration space between frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 255"; + } + } + } + container minimum-contention-window { + description "Specify minimum contention window size"; + uses contention-window; + } + container maximum-contention-window { + description "Specify maximum contention window size"; + uses contention-window; + } + leaf transmit-opportunity-limit { + description "Specify transmission opportunity limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + grouping transmit-rate-sets { + description "Specify the transmit rate sets"; + uses apply-advanced; + list supported-rates { + key name; + ordered-by user; + description "List of supported rates in Mbps"; + max-elements 12; + uses rates; + } + list supported-basic-rates { + key name; + ordered-by user; + description "List of supported basic rates in Mbps"; + max-elements 12; + uses rates; + } + } + grouping rates { + leaf name { + type enumeration { + enum "1" { + description "Rate-1Mbps "; + } + enum "2" { + description "Rate-2Mbps "; + } + enum "5.5" { + description "Rate-5.5Mbps "; + } + enum "6" { + description "Rate-6Mbps "; + } + enum "9" { + description "Rate-9Mbps "; + } + enum "11" { + description "Rate-11Mbps "; + } + enum "12" { + description "Rate-12Mbps "; + } + enum "18" { + description "Rate-18Mbps "; + } + enum "24" { + description "Rate-24Mbps "; + } + enum "36" { + description "Rate-36Mbps "; + } + enum "48" { + description "Rate-48Mbps "; + } + enum "54" { + description "Rate-54Mbps "; + } + } + } + uses apply-advanced; + } + grouping vap-type { + leaf name { + description "Specify VAP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 15"; + } + } + } + uses apply-advanced; + leaf description { + description "Specify the virtual access point description"; + type string { + length "1 .. 256"; + } + } + leaf ssid { + description "SSID value for the virtual access point"; + type string { + length "1 .. 32"; + } + } + leaf vlan { + description "VLAN id for the virtual access point"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4094"; + } + } + } + leaf no-broadcast-ssid { + description "Disable broadcast SSID"; + type empty; + } + container http-redirect { + description "Configure HTTP redirect setting"; + presence "enable http-redirect"; + uses http-redirect; + } + container security { + description "Configure security settings for the VAP"; + presence "enable security"; + uses security; + } + } + grouping http-redirect { + description "Configure HTTP redirect setting"; + uses apply-advanced; + leaf redirect-url { + description "Set the HTTP redirect URL address"; + type string { + length "1 .. 120"; + } + } + } + grouping security { + description "Configure one of security settings for the VAP"; + uses apply-advanced; + leaf mac-authentication-type { + description "Select MAC authentication type"; + type enumeration { + enum "disabled" { + description "Disable MAC authentication"; + } + enum "local" { + description "Select local MAC authentication"; + } + enum "radius" { + description "Select RADIUS server authentication"; + } + } + } + choice security-type { + case case_1 { + container static-wep { + description "Static WEP configuration"; + presence "enable static-wep"; + uses static-wep; + } + } + case case_2 { + container dot1x { + description "Dot1x configuration"; + presence "enable dot1x"; + uses dot1x; + } + } + case case_3 { + container wpa-personal { + description "Set WPA personal settings"; + presence "enable wpa-personal"; + uses wpa-personal; + } + } + case case_4 { + container wpa-enterprise { + description "Set WAP enterprise settings"; + presence "enable wpa-enterprise"; + uses wpa-enterprise; + } + } + case case_5 { + leaf none { + description "Unsecure plain-text communication"; + type empty; + } + } + } + } + grouping dot1x { + uses apply-advanced; + leaf radius-server { + description "Set RADIUS server IP address"; + type jt:ipaddr; + } + leaf radius-key { + description "Secret RADIUS key"; + type string { + length "1 .. 64"; + } + } + leaf broadcast-key-refresh-rate { + description "Broadcast key refresh rate"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + leaf session-key-refresh-rate { + description "Session key refresh rate"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + } + grouping static-wep { + uses apply-advanced; + leaf authentication-type { + description "Select Static WEP authentication type"; + type enumeration { + enum "open" { + description "Open type"; + } + enum "shared" { + description "Shared type"; + } + enum "both" { + description "Both open and shared authentication"; + } + } + } + leaf key-length { + description "Specify key length (defaults to 64 bits)"; + type enumeration { + enum "64bits" { + description "Use 64 bit key (ASCII:5 chars, HEX:10 chars)"; + } + enum "128bits" { + description "Use 128 bit key (ASCII:13 chars, HEX:26 chars)"; + } + } + } + leaf key-type { + description "Specify key type (defaults to ASCII)"; + type enumeration { + enum "ascii" { + description "ASCII key (default key-length is 64 bits)"; + } + enum "hex" { + description "HEX key (default key-length is 64 bits)"; + } + } + } + leaf transfer-key-index { + description "Specify transfer key index (1-4)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4"; + } + } + } + leaf wep-key-1 { + description "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)"; + type jt:unreadable; + } + leaf wep-key-2 { + description "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)"; + type jt:unreadable; + } + leaf wep-key-3 { + description "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)"; + type jt:unreadable; + } + leaf wep-key-4 { + description "Specify WEP key (defaults to ASCII 64 bits, 5 chars long)"; + type jt:unreadable; + } + } + grouping wpa-enterprise { + uses apply-advanced; + container wpa-version { + description "Set WPA version"; + uses wpa-version; + } + container cipher-suites { + description "Select the WPA cipher algorithm"; + uses cipher-suites; + } + leaf pre-authenticate { + description "Enable pre-authentication"; + type empty; + } + container radius { + description "RADIUS setting for WPA enterprise"; + presence "enable radius"; + status deprecated; + uses radius-deprecated; + } + leaf radius-server { + description "Set RADIUS server IP address"; + type jt:ipaddr; + } + leaf radius-key { + description "Secret RADIUS key"; + type string { + length "1 .. 64"; + } + } + leaf broadcast-key-refresh-rate { + description "Broadcast key refresh rate"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + leaf session-key-refresh-rate { + description "Session key refresh rate"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + } + grouping cipher-suites { + uses apply-advanced; + choice suites { + case case_1 { + leaf tkip { + description "TKIP"; + type empty; + } + } + case case_2 { + leaf ccmp { + description "CCMP"; + type empty; + } + } + case case_3 { + leaf both { + description "Use both TKIP and CCMP cipher suites"; + type empty; + } + } + } + } + grouping radius-deprecated { + uses apply-advanced; + leaf radius-server { + description "Set RADIUS server IP address"; + type jt:ipaddr; + } + leaf radius-key { + description "Secret RADIUS key"; + type string { + length "1 .. 64"; + } + } + leaf broadcast-key-refresh-rate { + description "Broadcast key refresh rate"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + leaf session-key-refresh-rate { + description "Session key refresh rate"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + } + grouping wpa-personal { + uses apply-advanced; + container wpa-version { + description "Set WPA version"; + uses wpa-version; + } + container cipher-suites { + description "Select the WPA cipher algorithm"; + uses cipher-suites; + } + leaf key { + description "WPA shared key"; + type string { + length "8 .. 64"; + } + } + leaf broadcast-key-refresh-rate { + description "Broadcast key refresh rate"; + default "0"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 86400"; + } + } + } + } + grouping wpa-version { + uses apply-advanced; + choice version { + case case_1 { + leaf v1 { + description "WPA Version 1"; + type empty; + } + } + case case_2 { + leaf v2 { + description "WPA Version 2"; + type empty; + } + } + case case_3 { + leaf both { + description "Use both 1 and 2 versions"; + type empty; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-access-profile@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-access-profile@2019-01-01.yang new file mode 100644 index 00000000..6020f498 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-access-profile@2019-01-01.yang @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-access-profile { + namespace "http://yang.juniper.net/junos-qfx/conf/access-profile"; + + prefix jc-access-profile; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos access-profile configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses access-profile-group; + } + augment /jc:configuration/jc:groups { + uses access-profile-group; + } + grouping access-profile-group { + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-access@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-access@2019-01-01.yang new file mode 100644 index 00000000..93013b2c --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-access@2019-01-01.yang @@ -0,0 +1,5632 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-access { + namespace "http://yang.juniper.net/junos-qfx/conf/access"; + + prefix jc-access; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos access configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses access-group; + } + augment /jc:configuration/jc:groups { + uses access-group; + } + grouping access-group { + container access { + description "Network access configuration"; + uses juniper-access-options; + } + } + grouping juniper-access-options { + uses apply-advanced; + list radius-server { + key name; + ordered-by user; + description "RADIUS server configuration"; + uses access-radius-server-object; + } + list domain-name-server { + key name; + ordered-by user; + description "Default DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet { + key name; + ordered-by user; + description "DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet6 { + key name; + ordered-by user; + description "DNS server's IPv6 address"; + leaf name { + description "Address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "Default WINS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list address-pool { + key name; + ordered-by user; + description "Address pool"; + uses address-pool-object; + } + list group-profile { + key name; + ordered-by user; + description "Group profile to use for this client"; + uses group-profile-object; + } + list profile { + key name; + ordered-by user; + description "Set of attributes that define access"; + leaf name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list accounting-order { + ordered-by user; + description "Order in which accounting mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + } + } + leaf-list authentication-order { + ordered-by user; + description "Order in which authentication mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "password" { + description "Locally configured password in access profile"; + } + enum "none" { + description "No authentication performed"; + } + enum "nasreq" { + description "Diameter based authentication and authorization using NASREQ application protocol"; + } + enum "ldap" { + description "Lightweight Directory Access Protocol"; + } + enum "securid" { + description "RSA SecurID Authentication"; + } + } + } + leaf-list authorization-order { + ordered-by user; + description "Order in which authorization mechanisms are used"; + type enumeration { + enum "jsrc" { + description "Diameter based authorization using Juniper's SRC application protocol"; + } + enum "nasreq" { + description "Diameter based authorization using NASREQ application protocol"; + } + enum "none" { + description "No authorization performed"; + } + } + } + leaf provisioning-order { + description "Order in which provisioning mechanisms are used"; + type enumeration { + enum "jsrc" { + description "Address authorization via SRC"; + } + enum "gx-plus" { + description "Policy/service provisioning via GXPLUS"; + } + enum "pcrf" { + description "Policy/service provisioning via PCRF"; + } + } + } + leaf-list preauthentication-order { + ordered-by user; + description "Order in which preauthentication mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + } + } + leaf-list charging-service-list { + ordered-by user; + description "List of used 3gpp charging servicess"; + type enumeration { + enum "ocs" { + description "Online charging service"; + } + } + } + list domain-name-server { + key name; + ordered-by user; + description "Default DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet { + key name; + ordered-by user; + description "DNS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-name-server-inet6 { + key name; + ordered-by user; + description "DNS server's IPv6 address"; + leaf name { + description "Address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "Default WINS server's IPv4 address"; + leaf name { + description "Address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list client { + key name; + description "Entity requesting access"; + uses access-client-object; + } + container address-assignment { + description "Address assignment pool"; + uses apply-advanced; + leaf pool { + description "Name of address-assignment pool"; + type string { + length "1 .. 63"; + } + } + } + container local { + description "Set configuration for local reporting"; + uses apply-advanced; + leaf flat-file-profile { + description "Specifies that the service accounting will be reported as per flat-file profile"; + type string; + } + } + container radius { + description "Set of RADIUS configurations"; + uses apply-advanced; + leaf-list authentication-server { + ordered-by user; + description "The authentication server list to use in the specified order to send authentication messages"; + type jt:ipaddr; + } + leaf-list accounting-server { + ordered-by user; + description "The accounting server list to use in the specified order to send accounting messages"; + type jt:ipaddr; + } + leaf-list preauthentication-server { + ordered-by user; + description "The preauthentication server list to use in the specified order to send preauthentication messages"; + type jt:ipv4addr; + } + container options { + description "Specifies the RADIUS options"; + uses apply-advanced; + leaf ethernet-port-type-virtual { + description "Type of physical port to authenticate the user is virtual (RADIUS attribute 61)"; + type empty; + } + container interface-description-format { + description "Interface description in the NAS-port-ID attribute"; + uses apply-advanced; + leaf exclude-sub-interface { + description "Exclude sub-interface from interface description"; + type empty; + } + leaf exclude-adapter { + description "Exclude adapter from interface description"; + type empty; + } + leaf exclude-channel { + description "Exclude channel from interface description"; + type empty; + } + } + leaf nas-identifier { + description "NAS-Identifier to be used for authentication and accounting requests (RADIUS attribute 32)"; + type string { + length "1 .. 64"; + } + } + container nas-port-extended-format { + description "RADIUS client's use of an extended format for RADIUS attribute 5"; + uses apply-advanced; + leaf ae-width { + description "Number of bits for the aggregated ethernet identifier field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf slot-width { + description "Number of bits for the slot field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf adapter-width { + description "Number of bits for the adapter field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf port-width { + description "Number of bits for the port field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf pw-width { + description "Number of bits for the pseudo-wire field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf stacked-vlan-width { + description "Number of bits for the S-VLAN subinterface field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf vlan-width { + description "Number of bits for the VLAN subinterface field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + container atm { + description "ATM specific parameters for NAS Port"; + uses apply-advanced; + leaf slot-width { + description "Number of bits for the ATM slot field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf adapter-width { + description "Number of bits for the ATM adapter field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf port-width { + description "Number of bits for the ATM port field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf vpi-width { + description "Number of bits for the ATM VPI field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + leaf vci-width { + description "Number of bits for the ATM VCI field"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + leaf nas-port-id-delimiter { + description "Single character delimiter character to use in the NAS-Port-Id"; + type string { + length 1; + } + } + container nas-port-id-format { + description "Format methods for building the NAS-Port-Id radius attribute"; + uses apply-advanced; + leaf nas-identifier { + description "Include the nas-identifier value"; + type empty; + } + leaf interface-description { + description "Include the interface-description value"; + type empty; + } + leaf agent-circuit-id { + description "Include (ACI) agent-circuit-id value"; + type empty; + } + leaf agent-remote-id { + description "Include (ARI) agent-remote-id value"; + type empty; + } + leaf postpend-vlan-tags { + description "Include the vlan tag(s) using :-"; + type empty; + } + leaf interface-text-description { + description "Include the interfaces description string"; + type empty; + } + leaf-list order { + ordered-by user; + description "Order of options for appearance in the NAS-Port-Id string"; + type enumeration { + enum "nas-identifier" { + description "Include the nas-identifier value"; + } + enum "agent-circuit-id" { + description "Include (ACI) agent-circuit-id value"; + } + enum "agent-remote-id" { + description "Include (ARI) agent-remote-id value"; + } + enum "interface-description" { + description "Include the interface-description value"; + } + enum "interface-text-description" { + description "Include the interface's description string"; + } + enum "postpend-vlan-tags" { + description "Include the vlan tag(s) using :-"; + } + } + } + } + container nas-port-type { + description "Translation mechanism for changing the NAS-Port-Type radius attribute"; + uses apply-advanced; + leaf ethernet { + description "Translation mechanism for changing the Ethernet value"; + type string; + } + } + leaf calling-station-id-delimiter { + description "Single character separator for calling-station-id"; + type string { + length 1; + } + } + container calling-station-id-format { + description "Format method for building the calling-station-id"; + uses apply-advanced; + leaf nas-identifier { + description "Include the nas-identifier value"; + type empty; + } + leaf interface-description { + description "Include the interface-description value"; + type empty; + } + leaf agent-circuit-id { + description "Include agent-circuit-id value"; + type empty; + } + leaf agent-remote-id { + description "Include agent-remote-id value"; + type empty; + } + leaf interface-text-description { + description "Include the interfaces description string"; + type empty; + } + leaf stacked-vlan { + description "Include the stacked vlan tag value"; + type empty; + } + leaf vlan { + description "Include the vlan tag value"; + type empty; + } + } + leaf accounting-session-id-format { + description "Decimal format or description format for the accounting session ID"; + type enumeration { + enum "decimal" { + description "Decimal-session-identifier"; + } + enum "description" { + description "Description Format: :"; + } + } + } + leaf revert-interval { + description "Time after which to revert to primary server"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + leaf vlan-nas-port-stacked-format { + description "Include the S-VLAN ID, in addition to the VLAN ID, for subscribers on Ethernet interfaces"; + type empty; + } + leaf client-authentication-algorithm { + description "Algorithm to access the RADIUS servers for authentication"; + type enumeration { + enum "direct" { + description "Contacts the first AAA server on the list for each request, the second AAA server if the first one fails, and so on"; + } + enum "round-robin" { + description "Contacts the first AAA server for the first request, the second AAA server for the second request, and so on"; + } + } + } + leaf client-accounting-algorithm { + description "Algorithm to access the RADIUS servers for accounting"; + type enumeration { + enum "direct" { + description "Contacts the first AAA server on the list for each request, the second AAA server if the first one fails, and so on"; + } + enum "round-robin" { + description "Contacts the first AAA server for the first request, the second AAA server for the second request, and so on"; + } + } + } + leaf juniper-dsl-attributes { + description "Include the Juniper (IANA 4874) DSL VSAs in requests to RADIUS servers"; + type empty; + } + container ip-address-change-notify { + presence "enable ip-address-change-notify"; + description "Include IPv4-Release-Control VSA (26-164) in requests to RADIUS server"; + leaf message { + description "Message to be added in IPv4-Release-Control VSA (26-164)"; + type string { + length "1 .. 32"; + } + } + } + leaf coa-dynamic-variable-validation { + description "Enable strict dynamic variable validation (no undefined variable) in CoA processing"; + type empty; + } + leaf chap-challenge-in-request-authenticator { + description "Use 16-byte CHAP challenge as Request Authenticator"; + type empty; + } + container service-activation { + description "Service activation requirement for successful login"; + uses apply-advanced; + leaf extensible-service { + description "Service activation of extensible services requirement for successful login"; + default "optional-at-login"; + type enumeration { + enum "required-at-login" { + description "Service activation must succeed to allow subscriber login"; + } + enum "optional-at-login" { + description "Service activation success is not required to allow subscriber login"; + } + } + } + leaf dynamic-profile { + description "Service activation of dynamic-profile services requirement for successful login"; + default "required-at-login"; + type enumeration { + enum "required-at-login" { + description "Service activation must succeed to allow subscriber login"; + } + enum "optional-at-login" { + description "Service activation success is not required to allow subscriber login"; + } + } + } + } + leaf accounting-username-original { + description "Use orignal (un-modified) username in accounting messages"; + type empty; + } + } + container attributes { + description "Specifies how RADIUS attributes should be handled"; + uses apply-advanced; + container ignore { + description "Ignores the specified attribute in RADIUS Access-Accept messages"; + uses apply-advanced; + leaf output-filter { + description "Juniper (IANA 4874) Output-filter / Egress-Policy-Name (VSA 26-11)"; + type empty; + } + leaf input-filter { + description "Juniper (IANA 4874) Input-filter / Ingress-Policy-Name (VSA 26-10)"; + type empty; + } + leaf framed-ip-netmask { + description "Framed-IP-Netmask (attribute 9)"; + type empty; + } + leaf logical-system-routing-instance { + description "Juniper (IANA 4874) Logical-system-routing-instance / Virtual-Router (VSA 26-1)"; + type empty; + } + leaf dynamic-iflset-name { + description "Juniper (IANA 4874) Dynamic interface set / Qos-Set-Name (VSA 26-130)"; + type empty; + } + leaf idle-timeout { + description "Idle-Timeout (attribute 28)"; + type empty; + } + leaf session-timeout { + description "Session-Timeout (attribute 27)"; + type empty; + } + leaf-list standard-attribute { + ordered-by user; + description "RADIUS standard attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + list vendor-id { + key name; + ordered-by user; + description "Specify the vendor-identifier for a vendor-specific attribute (VSA)"; + leaf name { + description "Vendor IANA enterprise number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + uses apply-advanced; + leaf-list vendor-attribute { + ordered-by user; + description "Vendor specific attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container exclude { + description "Configures the exclusion of RADIUS attributes in RADIUS messages"; + uses apply-advanced; + list standard-attribute { + key name; + ordered-by user; + description "Specify RADIUS standard attribute number"; + leaf name { + description "RADIUS standard attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + leaf-list packet-type { + ordered-by user; + description "Specify packet types to be excluded"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + } + list vendor-id { + key name; + ordered-by user; + description "Specify the vendor-identifier for a vendor-specific attribute (VSA)"; + leaf name { + description "Vendor IANA enterprise number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + uses apply-advanced; + list vendor-attribute { + key name; + ordered-by user; + description "Specify vendor specific attribute number"; + leaf name { + description "Vendor specific attribute number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + leaf-list packet-type { + ordered-by user; + description "Specify packet types to be excluded"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + } + } + leaf-list accounting-authentic { + ordered-by user; + description "Excludes RADIUS attribute 45, Acct-Authentic"; + type enumeration { + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list accounting-delay-time { + ordered-by user; + description "Excludes RADIUS attribute 41, Acct-Delay-Time"; + type enumeration { + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list accounting-session-id { + ordered-by user; + description "Excludes RADIUS attribute 44, Acct-Session-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list accounting-terminate-cause { + ordered-by user; + description "Excludes RADIUS attribute 49, Acct-Terminate-Cause"; + type enumeration { + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + } + } + leaf-list called-station-id { + ordered-by user; + description "Excludes RADIUS attribute 30, Called-Station-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list calling-station-id { + ordered-by user; + description "Excludes RADIUS attribute 31, Calling-Station-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list class { + ordered-by user; + description "Excludes RADIUS attribute 25, Class"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list delegated-ipv6-prefix { + ordered-by user; + description "Excludes RADIUS attribute 123, Delegated-IPv6-Prefix"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-options { + ordered-by user; + description "Excludes RADIUS attribute 26-55, DHCP-Options"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-gi-address { + ordered-by user; + description "Excludes RADIUS attribute 26-57, DHCP-GI-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-mac-address { + ordered-by user; + description "Excludes RADIUS attribute 26-56, DHCP-MAC-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-filter { + ordered-by user; + description "Excludes RADIUS attribute 26-11, Egress-Policy-Name"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list event-time-stamp { + ordered-by user; + description "Excludes RADIUS attribute 55, Event-Timestamp"; + type enumeration { + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list filter-id { + ordered-by user; + description "Excludes RADIUS attribute 11, Filter-Id"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ip-address { + ordered-by user; + description "Excludes RADIUS attribute 8, Framed-IP-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ip-netmask { + ordered-by user; + description "Excludes RADIUS attribute 9, Framed-IP-Netmask"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ip-route { + ordered-by user; + description "Excludes RADIUS attribute 22, Framed-Route"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-address { + ordered-by user; + description "Excludes RADIUS attribute 168, Framed-IPV6-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-pool { + ordered-by user; + description "Excludes RADIUS attribute 100, Framed-IPv6-Pool"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-prefix { + ordered-by user; + description "Excludes RADIUS attribute 97, Framed-IPv6-Prefix"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-ipv6-route { + ordered-by user; + description "Excludes RADIUS attribute 99, Framed-IPv6-Route"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-pool { + ordered-by user; + description "Excludes RADIUS attribute 88, Framed-Pool"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-filter { + ordered-by user; + description "Excludes RADIUS attribute 26-10, Ingress-Policy-Name"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-gigapackets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-42, Acct-Input-Gigapackets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-gigawords { + ordered-by user; + description "Excludes RADIUS attribute 52, Acct-Input-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-ipv6-packets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-153, Acct-Input-IPv6-Packets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-ipv6-gigawords { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-155, Acct-Input-IPv6-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list input-ipv6-octets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-151, Acct-Input-IPv6-Octets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list interface-description { + ordered-by user; + description "Excludes RADIUS attribute 26-63, Interface-Desc"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-identifier { + ordered-by user; + description "Excludes RADIUS attribute 32, NAS-identifier"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-on" { + description "RADIUS Accounting-On Message"; + } + enum "accounting-off" { + description "RADIUS Accounting-Off message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-port { + ordered-by user; + description "Excludes RADIUS attribute 5, NAS-Port"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-port-id { + ordered-by user; + description "Excludes RADIUS attribute 87, NAS-Port-ID"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list nas-port-type { + ordered-by user; + description "Excludes RADIUS attribute 61, NAS-Port-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-gigapackets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-43, Acct-Output-Gigapackets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-gigawords { + ordered-by user; + description "Excludes RADIUS attribute 53, Acct-Output-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-ipv6-packets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-154, Acct-Output-IPv6-Packets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-ipv6-gigawords { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-156, Acct-Output-IPv6-Gigawords"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list output-ipv6-octets { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-152, Acct-Output-IPv6-Octets"; + type enumeration { + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dynamic-iflset-name { + ordered-by user; + description "Excludes RADIUS attribute 26-130, Dynamic-Iflset-Name"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dsl-forum-attributes { + ordered-by user; + description "Excludes DSL Forum RADIUS attributes (RFC 4679)"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list l2c-upstream-data { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-92, L2C-Upstream-Data"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list l2c-downstream-data { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-93, L2C-Downstream-Data"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-loop-cir-id { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-110, Acc-Loop-Cir-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-aggr-cir-id-bin { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-111, Acc-Aggr-Cir-Id-Bin"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-aggr-cir-id-asc { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-112, Acc-Aggr-Cir-Id-Asc"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-113, Act-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-114, Act-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-115, Min-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-116, Min-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list att-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-117, Att-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list att-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-118, Att-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-119, Max-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-120, Max-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-lp-data-rate-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-121, Min-Lp-Data-Rate-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list min-lp-data-rate-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-122, Min-Lp-Data-Rate-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-interlv-delay-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-123, Max-Interlv-Delay-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-interlv-delay-up { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-124, Act-Interlv-Delay-Up"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list max-interlv-delay-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-125, Max-Interlv-Delay-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list act-interlv-delay-dn { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-126, Act-Interlv-Delay-Dn"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dsl-line-state { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-127, DSL-Line-State"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dsl-type { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-128, DSL-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list downstream-calculated-qos-rate { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-141, Downstream-Calculated-QoS-Rate"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list upstream-calculated-qos-rate { + ordered-by user; + description "Excludes Juniper (IANA 4874) DSL VSA 26-142, Upstream-Calculated-QoS-Rate"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list cos-shaping-rate { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-177, Cos-Shaping-Rate"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list framed-interface-id { + ordered-by user; + description "Excludes RADIUS attribute 96, Framed-Interface-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list chargeable-user-identity { + ordered-by user; + description "Excludes RADIUS attribute 89, Chargeable-User-Identity"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list l2tp-tx-connect-speed { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-162, , L2TP-Tx-Connect-Speed"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list l2tp-rx-connect-speed { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-163, , L2TP-Rx-Connect-Speed"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-type { + ordered-by user; + description "Excludes RADIUS attribute 64, Tunnel-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-medium-type { + ordered-by user; + description "Excludes RADIUS attribute 65, Tunnel-Medium-Type"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-client-endpoint { + ordered-by user; + description "Excludes RADIUS attribute 66, Tunnel-Client-Endpoint"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-server-endpoint { + ordered-by user; + description "Excludes RADIUS attribute 67, Tunnel-Server-Endpoint"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-assignment-id { + ordered-by user; + description "Excludes RADIUS attribute 82, Tunnel-Assignment-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-client-auth-id { + ordered-by user; + description "Excludes RADIUS attribute 90, Tunnel-Client-Auth-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list tunnel-server-auth-id { + ordered-by user; + description "Excludes RADIUS attribute 91, Tunnel-Server-Auth-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acct-tunnel-connection { + ordered-by user; + description "Excludes RADIUS attribute 68, Acct-Tunnel-Connection"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-loop-remote-id { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-XXX, ERX-Acc-Loop-Remote-Id"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list acc-loop-encap { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-182, ERX-Acc-Loop-Encap"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list pppoe-description { + ordered-by user; + description "Excludes RADIUS attribute 26-24, PPPOE-Description"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list virtual-router { + ordered-by user; + description "Excludes Juniper (IANA 4874) VSA 26-1, Virtual-Router"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list first-relay-ipv4-address { + ordered-by user; + description "Excludes RADIUS attribute 26-189, DHCP-First-Relay-IPv4-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list first-relay-ipv6-address { + ordered-by user; + description "Excludes RADIUS attribute 26-190, DHCP-First-Relay-IPv6-Address"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcpv6-options { + ordered-by user; + description "Excludes RADIUS attribute 26-207, DHCPv6-Options"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + leaf-list dhcp-header { + ordered-by user; + description "Excludes RADIUS attribute 26-208, DHCP-Header"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list dhcpv6-header { + ordered-by user; + description "Excludes RADIUS attribute 26-209, DHCPv6-Header"; + type enumeration { + enum "access-request" { + description "RADIUS Access-Request message"; + } + } + } + leaf-list acct-request-reason { + ordered-by user; + description "Excludes RADIUS attribute 26-210, Acct-Request-Reason"; + type enumeration { + enum "accounting-start" { + description "RADIUS Accounting-Start message"; + } + enum "accounting-stop" { + description "RADIUS Accounting-Stop message"; + } + } + } + } + } + } + container session-options { + description "Options for an authenticated client's session"; + uses apply-advanced; + leaf-list client-group { + ordered-by user; + description "One or more groups to which client belongs"; + type string; + } + leaf client-idle-timeout { + description "Time in minutes of idleness after which access is denied"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf client-idle-timeout-ingress-only { + description "Idle timeout applies to ingress traffic only"; + type empty; + } + leaf client-session-timeout { + description "Time in minutes since initial access after which access is denied"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 527040"; + } + } + } + container strip-user-name { + description "Options for stripping user name string"; + uses apply-advanced; + container delimiter { + description "Allowable delimiter characters for strip user name separation"; + leaf characters { + description "Sequence of characters without spaces and commas"; + type string { + length "1 .. 8"; + } + } + } + container parse-direction { + description "Strip user name parsing direction"; + choice direction { + case case_1 { + leaf right-to-left { + description "Parse the username from right to left"; + type empty; + } + } + case case_2 { + leaf left-to-right { + description "Parse the username field from left to right"; + type empty; + } + } + } + } + } + container pcc-context { + description "Pcc context configurations"; + uses apply-advanced; + leaf pcef-profile { + description "Pcef profile name"; + type string; + } + leaf input-service-set { + description "Input service-set name"; + type string; + } + leaf output-service-set { + description "Output service-set name"; + type string; + } + leaf input-ipv6-service-set { + description "Input ipv6 service set name"; + type string; + } + leaf output-ipv6-service-set { + description "Output ipv6 service set name"; + type string; + } + leaf input-service-filter { + description "Input service filter name"; + type string; + } + leaf output-service-filter { + description "Output service filter name"; + type string; + } + leaf input-ipv6-service-filter { + description "Input ipv6 service filter name"; + type string; + } + leaf output-ipv6-service-filter { + description "Output ipv6 service filter name"; + type string; + } + } + } + container client-name-filter { + description "Restrictions on client names"; + uses access-client-name-filter-object; + } + container ldap-options { + description "Lightweight Directory Access Protocol options"; + uses access-ldap-options; + } + list ldap-server { + key name; + ordered-by user; + description "Lightweight Directory Access Protocol server"; + uses ldap-server-object; + } + list radius-server { + key name; + ordered-by user; + description "RADIUS server configuration"; + uses profile-radius-server-object; + } + container accounting { + description "Specifies the accounting options"; + uses apply-advanced; + leaf-list order { + ordered-by user; + description "Order in which accounting mechanisms are used"; + type enumeration { + enum "radius" { + description "Remote authentication dial-in user service"; + } + } + } + leaf accounting-stop-on-failure { + description "Send an Acct-Stop message if a user fails authentication, but AAA-server grants access"; + type empty; + } + leaf accounting-stop-on-access-deny { + description "Send an Acct-Stop message if AAA-server denies access"; + type empty; + } + leaf immediate-update { + description "Send an Acct-Update message on receipt of a Acct-response for the Acct-Start message"; + type empty; + } + leaf coa-immediate-update { + description "Send an Acct-Update message on completion of processing a change of authorization"; + type empty; + } + leaf address-change-immediate-update { + description "Send an Acct-Update message to notify address change"; + type empty; + } + leaf update-interval { + description "The interval in min btw accounting updates(Interim-stats off,if unspecified)"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf statistics { + description "Reports set of statistics attributes based on reporting type"; + type enumeration { + enum "volume-time" { + description "Configures the option to report both volume and uptime"; + } + enum "time" { + description "Configures the option to report only uptime"; + } + } + } + leaf wait-for-acct-on-ack { + description "Wait for ACCT-ON-ACK"; + type empty; + } + leaf send-acct-status-on-config-change { + description "Send ACCT-ON/OFF on config change"; + type empty; + } + leaf duplication { + description "Send duplicated accounting reports if applied"; + type empty; + } + leaf-list duplication-filter { + ordered-by user; + description "Configure duplication filters"; + type enumeration { + enum "interim-original" { + description "Do not send original accounting interims"; + } + enum "interim-duplicated" { + description "Do not send duplicated accounting interims"; + } + enum "exclude-attributes" { + description "Use duplication access profile exclude attributes"; + } + } + } + container duplication-vrf { + description "Duplication vrf configurations"; + uses apply-advanced; + leaf vrf-name { + description "VRF name"; + type string { + length "1 .. 257"; + } + } + leaf-list access-profile-name { + ordered-by user; + description "Access profile name"; + type string { + length "1 .. 63"; + } + max-elements 5; + } + } + leaf-list duplication-attribute-format { + ordered-by user; + description "Use attribute format defined under duplication accouting access-profile"; + type enumeration { + enum "username" { + description "Username"; + } + } + } + leaf ancp-speed-change-immediate-update { + description "Send an Acct-Update message when ANCP speed change is detected"; + type empty; + } + leaf family-state-change-immediate-update { + description "Send an Acct-Update message to notify address family activation state change"; + type empty; + } + } + container service { + description "Subscriber service configurations"; + uses apply-advanced; + leaf accounting-order { + description "Order in which accounting mechanism service is used"; + type enumeration { + enum "activation-protocol" { + description "Send service accounting reports via service activation protocol"; + } + enum "radius" { + description "Send service accounting reports via radius protocol"; + } + enum "local" { + description "Send service accounting for local reporting"; + } + } + } + container accounting { + description "Specifies the service accounting options"; + uses apply-advanced; + leaf update-interval { + description "The interval in minutes between accounting updates(Interim-stats off, if not specified)"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1440"; + } + } + } + leaf statistics { + description "Reports set of statistics attributes based on reporting type"; + type enumeration { + enum "time" { + description "Configures the option to report only uptime"; + } + enum "volume-time" { + description "Configures the option to report both volume and uptime"; + } + } + } + } + } + container jsrc { + description "Set of JSRC configurations"; + uses apply-advanced; + container attributes { + description "Specifies how JSRC attributes should be handled"; + uses apply-advanced; + container exclude { + description "Configures the exclusion of JSRC attributes in DIAMETER messages"; + uses apply-advanced; + leaf-list user-name { + ordered-by user; + description "Excludes Diameter attribute 1, User-Name"; + type enumeration { + enum "authorization-request" { + description "Authorization AA-Request message"; + } + enum "provisioning-request" { + description "Provisioning AA-Request message"; + } + } + } + } + } + } + list subscriber { + key name; + description "Locally authenticated subscriber configuration"; + uses localauth-subscriber-object; + } + } + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + container address-preservation { + description "Enable address preservation"; + uses apply-advanced; + leaf address-types { + type enumeration { + enum "delegated-prefix" { + description "Address preservation delegated prefix"; + } + } + } + leaf aging-time { + description "Time to hold address reservation"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3600 .. 604800"; + } + } + } + } + leaf linked-pool-aggregation { + description "Enable linked pools aggregation"; + type empty; + } + container domain { + description "Domain map configuration"; + uses domain-map-type; + } + container ppp-options { + presence "enable ppp-options"; + description "Point-to-Point Protocol (PPP) specific options"; + uses apply-advanced; + container compliance { + description "Standards compliance definition"; + uses apply-advanced; + leaf-list rfc { + ordered-by user; + description "Enforce compliance with RFC standards"; + type enumeration { + enum "2486" { + description "RFC 2486 compliant"; + } + } + } + } + } + container gx-plus { + description "GX-PLUS configuration"; + uses gx-plus-definition; + } + container pcrf { + description "PCRF configuration"; + uses pcrf-definition; + } + container ocs { + description "OCS configuration"; + uses ocs-definition; + } + leaf report-interface-descriptions { + description "Support reporting of interface descriptions"; + type empty; + } + container nasreq { + description "Nasreq configuration"; + uses nasreq-definition; + } + list protocol-attributes { + key name; + ordered-by user; + description "Protocol specific attribute configuration"; + uses protocol-attribute-type; + } + list aaa-options { + key name; + ordered-by user; + description "AAA option configurations"; + leaf name { + description "AAA options name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf access-profile { + description "Access profile name"; + type string { + length "1 .. 63"; + } + } + leaf aaa-context { + description "AAA context"; + type string; + } + leaf subscriber-context { + description "Subscriber context"; + type string; + } + } + container radius-options { + description "RADIUS options"; + uses access-radius-options; + } + container ldap-options { + description "Lightweight Directory Access Protocol options"; + uses access-ldap-options; + } + list ldap-server { + key name; + ordered-by user; + description "Lightweight Directory Access Protocol server options"; + uses ldap-server-object; + } + list securid-server { + key name; + ordered-by user; + description "SecurID server configuration"; + max-elements 1; + uses securid-server-object; + } + container accounting-backup-options { + description "Pending accounting backup-options "; + uses apply-advanced; + leaf max-pending-accounting-stops { + description "Max pending accouting stops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 168000"; + } + } + } + leaf max-withhold-time { + description "Maximum time in mins to hold the pending accounting stops"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1440"; + } + } + } + } + container terminate-code { + description "Terminate code mapping configuration"; + uses apply-advanced; + container aaa { + description "AAA terminate-code mapping configuration"; + uses apply-advanced; + container deny { + description "Terminate-code specification"; + uses apply-advanced; + container authentication-denied { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container no-resources { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container server-request-timeout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container service-shutdown { + description "Terminate-code specification"; + uses apply-advanced; + container network-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container remote-reset { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container subscriber-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container time-limit { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container volume-limit { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container shutdown { + description "Terminate-code specification"; + uses apply-advanced; + container administrative-reset { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container idle-timeout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container reassign-on-match { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container remote-reset { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container session-timeout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container dhcp { + description "DHCP terminate-code mapping configuration"; + uses apply-advanced; + container client-request { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container lost-carrier { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nak { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nas-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container no-offers { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container hybrid-access { + description "HYBRID-ACCESS terminate-code mapping configuration"; + uses apply-advanced; + container admin-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container client-request { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container lost-carrier { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nak { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container nas-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container no-resource { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container vlan { + description "VLAN terminate-code mapping configuration"; + uses apply-advanced; + container admin-logout { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container admin-reconnect { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container other { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container out-of-band { + description "Terminate-code specification"; + uses apply-advanced; + container access-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container admin-access-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container admin-core-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container ancp { + description "Terminate-code specification"; + uses apply-advanced; + container port-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container port-vlan-id-change { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container core-interface-down { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container l2-wholesale { + description "Terminate-code specification"; + uses apply-advanced; + container no-free-vlans { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container profile-request-error { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container sdb-error { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container subscriber-activate-error { + description "Terminate-code specification"; + uses apply-advanced; + container radius { + description "Radius Acct-Terminate-Cause configuration"; + leaf acct-terminate-cause { + description "Set value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + } + grouping access-client-name-filter-object { + description "Restrictions on client names authenticated on this server"; + uses apply-advanced; + leaf domain-name { + description "Domain name to match (must be part of username)"; + type string; + } + leaf separator { + description "Separator character in domain name"; + type string { + length 1; + } + } + leaf count { + description "Number of separator instances"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 255"; + } + } + } + } + grouping access-client-object { + leaf name { + description "Name of entity requesting access"; + type string; + } + uses apply-advanced; + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf chap-secret { + description "CHAP secret"; + type jt:unreadable; + } + leaf pap-password { + description "PAP password"; + type jt:unreadable; + } + choice client_type { + case case_1 { + } + case case_2 { + } + case case_3 { + container ike { + presence "enable ike"; + description "Configuration for dynamic IKE peers"; + uses apply-advanced; + leaf initiate-dead-peer-detection { + description "Initiate dead peer detection"; + type empty; + } + container dead-peer-detection { + presence "enable dead-peer-detection"; + description "Dead peer detection options"; + uses apply-advanced; + leaf interval { + description "Interval at which the DPD messages should be sent"; + default "2"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 180"; + } + } + } + leaf threshold { + description "Maximum number of DPD messages"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + container respond-bad-spi { + presence "enable respond-bad-spi"; + description "Respond to IPsec packets with bad security parameter index (SPI) values"; + leaf max-responses { + description "Maximum number of times to respond"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + choice name { + case case_1 { + } + case case_2 { + } + } + container reverse-route { + presence "enable reverse-route"; + description "Reverse route parameters"; + uses apply-advanced; + container preference { + description "Preference value"; + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + leaf-list client-group { + ordered-by user; + description "One or more groups to which the client belongs"; + type string; + } + container firewall-user { + description "Client is configured as a firewall user"; + uses apply-advanced; + leaf password { + description "Password for user"; + type string { + length "1 .. 128"; + } + } + } + } + grouping access-ldap-options { + uses apply-advanced; + leaf revert-interval { + description "Time after which to revert to primary server"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 4294967295"; + } + } + } + leaf base-distinguished-name { + description "Suffix when assembling user distinguished name (DN) or base DN under which to search for user DN"; + type string; + } + choice search_type { + case case_1 { + container assemble { + presence "enable assemble"; + description "Derive user distinguished name from 'common-name' and 'base-distinguished-name'"; + uses apply-advanced; + leaf common-name { + description "Prefix in user distinguished name (for example, 'cn' or 'uid')"; + default "cn"; + type string; + } + } + } + case case_2 { + container search { + presence "enable search"; + description "Search for user's distinguished name"; + uses apply-advanced; + leaf search-filter { + description "Filter to use in search (examples: 'cn=' or 'givenName=')"; + type string; + } + container admin-search { + presence "enable admin-search"; + description "Perform an administrator search to find user's distinguished name"; + uses apply-advanced; + leaf distinguished-name { + description "Administrator's distinguished name"; + type string; + } + leaf password { + description "Administrator password"; + type jt:unreadable; + } + } + } + } + } + } + grouping access-radius-options { + uses apply-advanced; + leaf revert-interval { + description "Time after which to revert to primary server"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + leaf timeout-grace { + description "The period after a RADIUS server times out before marking the server as dead"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf request-rate { + description "Maximum number of RADIUS requests sent per second"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 4000"; + } + } + } + leaf interim-rate { + description "Maximum number of RADIUS requests sent per second"; + default "500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 4000"; + } + } + } + leaf interim-update-tolerance { + description "Maximum tolerance for Interim Updates to RADIUS"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + container unique-nas-port { + presence "enable unique-nas-port"; + description "Use unique value for NAS-Port radius attribute"; + uses apply-advanced; + leaf chassis-id { + description "Configure chassis identifier field of NAS-Port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + leaf chassis-id-width { + description "Number of bits for the chassis identifier field of NAS-Port"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + } + } + grouping access-radius-server-object { + leaf name { + description "RADIUS server address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "RADIUS server authentication port number"; + default "1812"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf preauthentication-port { + description "RADIUS server preauthentication port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf accounting-port { + description "Port number to send RADIUS accounting messages"; + default "1813"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf dynamic-request-port { + description "RADIUS client dynamic request port number"; + default "3799"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf preauthentication-secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf retry { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf accounting-timeout { + description "Accounting request timeout period"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf accounting-retry { + description "Accounting retry attempts"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf max-outstanding-requests { + description "Maximum requests in flight to server"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + } + grouping address-assignment-type { + description "Address assignment configuration"; + uses apply-advanced; + container neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this instance"; + leaf ndra-name { + description "Designated NDRA pool name"; + type string { + length "1 .. 63"; + } + } + } + leaf high-utilization { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + leaf high-utilization-v6 { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization-v6 { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + list pool { + key name; + ordered-by user; + description "Address pool"; + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf active-drain { + description "Notify client of pool active drain mode"; + type empty; + } + leaf hold-down { + description "Place pool in passive drain mode"; + type empty; + } + leaf link { + description "Address pool link name"; + type string { + length "1 .. 63"; + } + } + container family { + presence "enable family"; + description "Address family"; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4"; + uses apply-advanced; + leaf network { + description "Network address"; + type jt:ipv4prefix; + } + list range { + key name; + ordered-by user; + description "Address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + container xauth-attributes { + description "Configure xauth attributes"; + uses apply-advanced; + leaf primary-dns { + description "Specify the primary-dns IP address"; + type jt:ipv4prefix; + } + leaf secondary-dns { + description "Specify the secondary-dns IP address"; + type jt:ipv4prefix; + } + leaf primary-wins { + description "Specify the primary-wins IP address"; + type jt:ipv4prefix; + } + leaf secondary-wins { + description "Specify the secondary-wins IP address"; + type jt:ipv4prefix; + } + } + list host { + key name; + ordered-by user; + description "Hostname for static reservations"; + leaf name { + description "Hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf hardware-address { + description "Hardware address"; + type jt:mac-addr; + } + leaf ip-address { + description "Reserved address"; + type jt:ipv4addr; + } + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv4addr; + } + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6"; + uses apply-advanced; + leaf prefix { + description "IPv6 network prefix"; + type jt:ipv6prefix-mandatory; + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv6addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv6addr; + } + } + } + } + } + } + } + } + grouping address-pool-object { + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + choice address_choice { + case case_1 { + leaf address { + description "Address or address prefix"; + type jt:ipv4prefix; + } + } + case case_2 { + container address-range { + presence "enable address-range"; + description "Range of addresses for pool"; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping dhcp-attribute-type { + uses apply-advanced; + container option-match { + description "Match"; + uses apply-advanced; + container option-82 { + uses apply-advanced; + list circuit-id { + key name; + ordered-by user; + description "Circuit ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + list remote-id { + key name; + ordered-by user; + description "Remote ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + } + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf server-identifier { + description "Server Identifier - IP address value"; + type jt:ipv4addr; + } + leaf grace-period { + description "Grace period for leases"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "WINS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf tftp-server { + description "TFTP server IP address advertised to clients"; + type jt:ipv4addr; + } + leaf netbios-node-type { + description "Type of NETBIOS node advertised to clients"; + type enumeration { + enum "b-node" { + description "Broadcast node"; + } + enum "p-node" { + description "Peer-to-peer node"; + } + enum "m-node" { + description "Mixed Node"; + } + enum "h-node" { + description "Hybrid node"; + } + } + } + leaf sip-server-domain-name { + description "SIP server domain name available to clients"; + type string { + } + } + list sip-server-address { + key name; + ordered-by user; + description "SIP Servers list of IPv6 addresses available to the client"; + leaf name { + description "SIP Server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf hex-string { + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_10 { + leaf ipv6-address { + description "IPV6 address value"; + type jt:ipv6addr; + } + } + case case_11 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list hex-string { + ordered-by user; + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + case case_10 { + leaf-list ipv6-address { + ordered-by user; + description "Array of IPv6 address values"; + type jt:ipv6addr; + } + } + } + } + } + } + } + leaf valid-lifetime { + description "Valid lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf exclude-prefix-len { + description "Length of IPv6 prefix to be excluded from delegated prefix"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + leaf t1-renewal-time { + description "T1 renewal time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf t2-rebinding-time { + description "T2 rebinding time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping domain-map-type { + description "Domain map configuration"; + uses apply-advanced; + list map { + key name; + ordered-by user; + description "Domain map definitions"; + leaf name { + description "Domain map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice aaa_ri_or_ls { + case case_1 { + leaf aaa-routing-instance { + description "Routing instance to be used for applying AAA services"; + type string; + } + } + case case_2 { + list aaa-logical-system { + key name; + ordered-by user; + description "Logical system to be used for applying AAA services"; + max-elements 1; + leaf name { + description "Logical system name"; + type string; + } + uses apply-advanced; + leaf aaa-routing-instance { + description "Routing instance to be used for applying AAA services"; + type string; + } + } + } + } + leaf access-profile { + description "Access profile to be used for applying AAA services"; + type string { + length "1 .. 63"; + } + } + leaf address-pool { + description "Address pool to use for providing address-allocation services"; + type string { + length "1 .. 63"; + } + } + leaf dynamic-profile { + description "Dynamic profile to be used for this client's session"; + type string { + length "1 .. 80"; + } + } + leaf override-password { + description "Use this password for authentication"; + type string { + length "1 .. 64"; + } + } + list padn { + key name; + ordered-by user; + description "PPPoE Active Discovery Network parameters to apply for this client's session"; + max-elements 16; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf mask { + description "Destination mask"; + type jt:ipv4addr; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + } + choice target_ri_or_ls { + case case_1 { + leaf target-routing-instance { + description "Routing instance the client's session will be mapped to"; + type string; + } + } + case case_2 { + list target-logical-system { + key name; + ordered-by user; + description "Logical system the client's session will be mapped to"; + max-elements 1; + leaf name { + description "Logical system name"; + type string; + } + uses apply-advanced; + leaf target-routing-instance { + description "Routing instance the client's session will be mapped to"; + type string; + } + } + } + } + leaf strip-domain { + description "Enable domain name stripping from the username"; + type empty; + } + container strip-username { + presence "enable strip-username"; + description "Enable user name stripping from the username"; + choice direction { + case case_1 { + leaf right-to-left { + description "Strip to first domain delimiter on the right"; + type empty; + } + } + case case_2 { + leaf left-to-right { + description "Strip to first domain delimiter on the left"; + type empty; + } + } + } + } + } + container parse-order { + description "Order in which search parsing is conducted (i.e. look for domain-namd or realm-name first)"; + choice order { + case case_1 { + leaf domain-first { + description "Search for domain name in username field before searching for realm name"; + type empty; + } + } + case case_2 { + leaf realm-first { + description "Search for realm name in username field before searching for domain name"; + type empty; + } + } + } + } + container delimiter { + description "Allowable delimiter characters for domain name separation"; + leaf characters { + description "Sequence of characters without spaces and commas"; + type string { + length "1 .. 8"; + } + } + } + container parse-direction { + description "Domain name parsing direction"; + choice direction { + case case_1 { + leaf right-to-left { + description "Parse the username from right to left"; + type empty; + } + } + case case_2 { + leaf left-to-right { + description "Parse the username field from left to right to find domain name"; + type empty; + } + } + } + } + container realm-delimiter { + description "Allowable delimiter characters for realm name separation"; + leaf characters { + description "Sequence of characters without spaces and commas"; + type string { + length "1 .. 8"; + } + } + } + container realm-parse-direction { + description "Realm name parsing direction"; + choice direction { + case case_1 { + leaf left-to-right { + description "Parse the username field from left to right to find realm name"; + type empty; + } + } + case case_2 { + leaf right-to-left { + description "Parse the username field from right to left to find realm name"; + type empty; + } + } + } + } + } + grouping group-profile-object { + leaf name { + description "Group profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container ppp { + presence "enable ppp"; + description "Configuration for Point-to-Point Protocol"; + uses apply-advanced; + leaf framed-pool { + description "Address pool used to assign an address for the user"; + type string { + length "1 .. 63"; + } + } + leaf idle-timeout { + description "Idle timeout before termination of session"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container ppp-options { + presence "enable ppp-options"; + description "Point-to-Point Protocol interface-specific options"; + uses apply-advanced; + leaf pap { + description "Password Authentication Protocol"; + type empty; + } + leaf chap { + description "Challenge Handshake Authentication Protocol"; + type empty; + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to group-profile"; + type string { + length "1 .. 63"; + } + } + } + leaf keepalive { + description "PPP keepalive interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 32767"; + } + } + } + leaf primary-dns { + description "Primary DNS server name"; + type string; + } + leaf secondary-dns { + description "Secondary DNS server name"; + type string; + } + leaf primary-wins { + description "Primary wins server name"; + type string; + } + leaf secondary-wins { + description "Secondary wins server name"; + type string; + } + leaf encapsulation-overhead { + description "Encapsulation overhead for Class of Service calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int8 { + range "-63 .. 64"; + } + } + } + leaf cell-overhead { + description "ATM cell overhead for Class of Service calculation"; + type empty; + } + leaf interface-id { + description "Interface identifier to look up session information"; + type string { + length "1 .. 63"; + } + } + } + } + grouping gx-plus-definition { + description "GX-PLUS configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "GX-PLUS partition configuration"; + leaf name { + description "GX-PLUS partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf diameter-instance { + description "GX-PLUS diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf destination-realm { + description "GX-PLUS destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "GX-PLUS destination host"; + type string { + length "1 .. 255"; + } + } + } + container global { + presence "enable global"; + description "GX-PLUS global parameters"; + uses apply-advanced; + leaf include-ipv6 { + description "Send provisioning request for IPv6-only subscribers"; + type empty; + } + leaf max-outstanding-requests { + description "Maximum number of outstanding requests"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 40"; + } + } + } + } + } + grouping ldap-server-object { + leaf name { + description "Hostname or IPv4 address of LDAP server"; + type string { + } + } + uses apply-advanced; + leaf port { + description "LDAP server port number"; + default "389"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + leaf retry { + description "Number of times to resend requests"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Delay before resending unacknowledged request"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 90"; + } + } + } + leaf tls-type { + type enumeration { + enum "start-tls" { + description "Negotiate start-tls for connection"; + } + } + } + leaf tls-timeout { + description "Limit on tls handshake time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 90"; + } + } + } + leaf tls-min-version { + default "v1.2"; + type enumeration { + enum "v1.1" { + description "Require tls 1.1 and 1.2"; + } + enum "v1.2" { + description "Require tls 1.2"; + } + } + } + leaf no-tls-certificate-check { + description "Do not validate peer certificate"; + type empty; + } + leaf tls-peer-name { + description "Expected peer fdqn"; + type string { + length "1 .. 255"; + } + } + } + grouping localauth-subscriber-object { + leaf name { + description "Subscriber username"; + type string; + } + uses apply-advanced; + leaf password { + description "Password for the subscriber"; + type string { + length "1 .. 64"; + } + } + leaf framed-ip-address { + description "IP address to assign to the subscriber"; + type jt:ipv4addr; + } + leaf framed-pool { + description "Pool name to assign an IP address to the subscriber"; + type string { + length "1 .. 63"; + } + } + leaf delegated-pool { + description "Pool name to assign an IPv6 delegated prefix to the subscriber"; + type string { + length "1 .. 64"; + } + } + leaf framed-ipv6-pool { + description "Pool name to assign an IPv6 address or NDRA prefix to the subscriber"; + type string { + length "1 .. 64"; + } + } + choice ri_or_ls { + case case_1 { + leaf target-routing-instance { + description "Routing instance to be assigned to the subscriber"; + type string; + } + } + case case_2 { + container target-logical-system { + presence "enable target-logical-system"; + description "Logical system to be assigned to the subscriber"; + uses apply-advanced; + leaf logical-system-name { + description "Logical system name"; + type string; + } + leaf target-routing-instance { + description "Routing instance "; + type string; + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping nasreq-definition { + description "NASREQ configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "NASREQ partition definition"; + leaf name { + description "NASREQ partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf diameter-instance { + description "NASREQ diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf destination-realm { + description "NASREQ destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "NASREQ destination host"; + type string { + length "1 .. 255"; + } + } + } + leaf timeout { + description "Time period that a NASREQ request waits on the transmit queue before failing"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 30"; + } + } + } + leaf request-retry { + description "Number of times to retry NASREQ request when DIAMETER fails with timeout."; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + leaf max-outstanding-requests { + description "Number of unanswered NASREQ requests sent to server"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 2000"; + } + } + } + } + grouping ocs-definition { + description "OCS configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "OCS partition configuration"; + max-elements 1; + leaf name { + description "OCS partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf alternative-partition-name { + description "Alternative diameter partition"; + type string { + length "1 .. 63"; + } + } + leaf called-station-id { + description "OCS called station id"; + type string { + length "1 .. 255"; + } + } + leaf charging-id { + description "OCS charging id"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf destination-realm { + description "OCS destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "OCS destination host"; + type string { + length "1 .. 255"; + } + } + leaf diameter-instance { + description "OCS diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf draining { + description "Set this PCRF partiton to draining state"; + type empty; + } + leaf draining-response-timeout { + description "Final response timeout in draining mode"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf force-continue { + description "Expect/force 'continue' as cc-failure-handling value"; + type empty; + } + leaf ggsn-address { + description "Value of ggsn-address avp reported to ocs"; + type jt:ipaddr; + } + leaf ggsn-mcc-mnc { + description "Value of 3gpp-ggsn-mcc-mnc avp reported to ocs"; + type string; + } + leaf final-response-timeout { + description "Final response timeout"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf max-outstanding-requests { + description "Maximum number of outstanding requests"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 40"; + } + } + } + leaf send-origin-state-id { + description "Include origin-state-id avp"; + type empty; + } + container user-name-include { + description "Add user-name options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf interface-name { + description "Include interface-name"; + type empty; + } + leaf base-interface-name { + description "Include base-interface-name"; + type empty; + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf nas-port-id { + description "Include nas-port-id"; + type empty; + } + leaf origin-host { + description "Include origin-host"; + type empty; + } + leaf origin-realm { + description "Include origin-host"; + type empty; + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf user-name { + description "Include user-name"; + type empty; + } + } + } + container global { + description "OCS global parameters"; + uses apply-advanced; + leaf service-context-id { + description "Service context-id for OCS"; + type string { + length "1 .. 255"; + } + } + } + } + grouping pcrf-definition { + description "PCRF configuration definition"; + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "PCRF partition configuration"; + max-elements 1; + leaf name { + description "PCRF partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf accept-sdr { + description "Accept service discovery requests"; + type empty; + } + leaf destination-realm { + description "PCRF destination realm"; + type string { + length "1 .. 255"; + } + } + leaf destination-host { + description "PCRF destination host"; + type string { + length "1 .. 255"; + } + } + leaf diameter-instance { + description "PCRF diameter instance"; + type string { + length "1 .. 63"; + } + } + leaf draining { + description "Set this PCRF partiton to draining state"; + type empty; + } + leaf draining-response-timeout { + description "Logout response timeout in draining mode"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf ip-can-type { + description "Value of IP-CAN-Type AVP for this PCRF partition"; + default "77"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + container local-decision { + description "Local decision configuration"; + uses apply-advanced; + choice permission { + case case_1 { + leaf grant { + description "Grant user connection by default"; + type empty; + } + } + case case_2 { + leaf deny { + description "Deny user connection by default"; + type empty; + } + } + } + leaf timeout { + description "Local decision timeout"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 90"; + } + } + } + } + leaf logout-response-timeout { + description "Logout response timeout"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf max-outstanding-requests { + description "Maximum number of outstanding requests"; + default "40"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 40"; + } + } + } + leaf report-local-rule { + description "Report installed local rule to PCRF"; + type empty; + } + leaf report-resource-allocation { + description "Report rule installation failuresto PCRF"; + type empty; + } + leaf report-successful-resource-allocation { + description "Report rule installation successes to PCRF"; + type empty; + } + leaf send-dyn-subscription-indicator { + description "Include Juniper-Dyn-Subscription-Indidicator into ccr-i"; + type empty; + } + leaf send-network-family-indicator { + description "Include Juniper-Network-Family-Indidicator into ccr-i"; + type empty; + } + leaf send-origin-state-id { + description "Include origin-state-id avp"; + type empty; + } + leaf subscription-id-type { + description "Value of subscription-id-type AVP for this PCRF partition"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + container subscription-id-data-include { + description "Add subscription-id-data options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf interface-name { + description "Include interface-name"; + type empty; + } + leaf base-interface-name { + description "Include base-interface-name"; + type empty; + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf nas-port-id { + description "Include nas-port-id"; + type empty; + } + leaf origin-host { + description "Include origin-host"; + type empty; + } + leaf origin-realm { + description "Include origin-host"; + type empty; + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf user-name { + description "Include user-name"; + type empty; + } + } + leaf update-response-timeout { + description "Update response timeout"; + default "3600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container global { + description "PCRF global parameters"; + uses apply-advanced; + list rule-param { + key name; + ordered-by user; + description "Charging juniper-param avp configuraion"; + leaf name { + description "Code for this juniper-param avp"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "12000 .. 12019"; + } + } + } + uses apply-advanced; + leaf param-name { + description "Name associatated with this juniper-param avp"; + type string { + length "1 .. 255"; + } + } + leaf log-name { + description "Log-name associatated with this juniper-param avp"; + type string { + length "1 .. 255"; + } + } + } + } + } + grouping profile-radius-server-object { + leaf name { + description "RADIUS server address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "RADIUS server authentication port number"; + default "1812"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf preauthentication-port { + description "RADIUS server preauthentication port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf accounting-port { + description "Port number to which to send RADIUS accounting messages"; + default "1813"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf dynamic-request-port { + description "RADIUS client dynamic request port number"; + default "3799"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf preauthentication-secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf retry { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf accounting-timeout { + description "Accounting request timeout period"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf accounting-retry { + description "Accounting retry attempts"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf max-outstanding-requests { + description "Maximum requests in flight to server"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + } + grouping protocol-attribute-type { + description "Protocol specific attribute configuration"; + leaf name { + description "Name for this protocol attribute group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container dhcp { + description "DHCPv4 configurable attributes"; + uses dhcp-attribute-type; + } + container dhcpv6 { + description "DHCPv6 configurable attributes"; + uses dhcp-attribute-type; + } + } + grouping securid-server-object { + leaf name { + description "Name of the SecurID server"; + type string; + } + uses apply-advanced; + leaf configuration-file { + description "Path to the SecurID server configuration (sdconf.rec) file"; + type string { + length "1 .. 1024"; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-accounting-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-accounting-options@2019-01-01.yang new file mode 100644 index 00000000..8e3069bf --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-accounting-options@2019-01-01.yang @@ -0,0 +1,763 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-accounting-options { + namespace "http://yang.juniper.net/junos-qfx/conf/accounting-options"; + + prefix jc-accounting-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos accounting-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses accounting-options-group; + } + augment /jc:configuration/jc:groups { + uses accounting-options-group; + } + grouping accounting-options-group { + container accounting-options { + description "Accounting data configuration"; + uses juniper_accounting_options; + } + } + grouping juniper_accounting_options { + description "Accounting data configuration"; + uses apply-advanced; + container periodic-refresh { + description "Toggle periodic statistics collection"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable statistics refresh"; + type empty; + } + } + } + } + list file { + key name; + ordered-by user; + description "Accounting data file configuration"; + leaf name { + description "Name of file in which to write accounting data"; + type string { + } + } + uses apply-advanced; + leaf size { + description "Maximum accounting data file size"; + type string; + } + leaf files { + description "Maximum number of files for this profile"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1000"; + } + } + } + leaf transfer-interval { + description "Frequency at which to transfer files to archive sites"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 2880"; + } + } + } + leaf start-time { + description "Start time for file transmission (yyyy-mm-dd.hh:mm)"; + type jt:time; + } + leaf compress { + description "Transfer file in compressed format"; + type empty; + } + container backup-on-failure { + description "Backup on transfer failure"; + uses apply-advanced; + choice backuponfailure { + case case_1 { + leaf master-only { + description "Backup on master only"; + type empty; + } + } + case case_2 { + leaf master-and-slave { + description "Backup on both master and slave"; + type empty; + } + } + } + } + leaf push-backup-to-master { + description "Push backup files to master RE"; + type empty; + } + list archive-sites { + key name; + ordered-by user; + description "List of archive destinations"; + leaf name { + description "Primary and failover URLs to receive archive files"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + } + } + list interface-profile { + key name; + ordered-by user; + description "Interface profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + container fields { + description "Statistics to log to file"; + uses apply-advanced; + leaf input-bytes { + description "Input bytes"; + type empty; + } + leaf output-bytes { + description "Output bytes"; + type empty; + } + leaf input-packets { + description "Input packets"; + type empty; + } + leaf output-packets { + description "Output packets"; + type empty; + } + leaf input-errors { + description "Generic input error packets"; + type empty; + } + leaf output-errors { + description "Generic output error packets"; + type empty; + } + leaf input-multicast { + description "Input packets arriving by multicast"; + type empty; + } + leaf output-multicast { + description "Output packets sent by multicast"; + type empty; + } + leaf input-unicast { + description "Input unicast packets"; + type empty; + } + leaf output-unicast { + description "Output unicast packets"; + type empty; + } + leaf unsupported-protocol { + description "Packets for unsupported protocol"; + type empty; + } + leaf rpf-check-bytes { + description "Bytes failing IPv4 reverse-path-forwarding check"; + type empty; + } + leaf rpf-check-packets { + description "Packets failing IPv4 reverse-path-forwarding check"; + type empty; + } + leaf rpf-check6-bytes { + description "Bytes failing IPv6 reverse-path-forwarding check"; + type empty; + } + leaf rpf-check6-packets { + description "Packets failing IPv6 reverse-path-forwarding check"; + type empty; + } + } + } + list filter-profile { + key name; + ordered-by user; + description "Filter profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1048576"; + } + } + } + list counters { + key name; + ordered-by user; + description "Name of counter"; + uses counter-object; + } + } + list class-usage-profile { + key name; + ordered-by user; + description "Class usage profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1048576"; + } + } + } + choice class-name { + case case_1 { + list destination-classes { + key name; + ordered-by user; + description "Name of destination class"; + uses dest-class-name-object; + } + } + case case_2 { + list source-classes { + key name; + ordered-by user; + description "Name of source class"; + uses source-class-name-object; + } + } + } + } + list routing-engine-profile { + key name; + ordered-by user; + description "Routing Engine profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + container fields { + description "Information to log to file"; + uses apply-advanced; + leaf host-name { + description "Hostname for this router"; + type empty; + } + leaf date { + description "Date"; + units "YYYYMMDD"; + type empty; + } + leaf time-of-day { + description "Time of day"; + units "HHMMSS"; + type empty; + } + leaf uptime { + description "Time since last reboot"; + units "seconds"; + type empty; + } + leaf cpu-load-1 { + description "Average system load over last 1 minute"; + type empty; + } + leaf cpu-load-5 { + description "Average system load over last 5 minutes"; + type empty; + } + leaf cpu-load-15 { + description "Average system load over last 15 minutes"; + type empty; + } + leaf memory-usage { + description "Instantaneous active memory usage"; + type empty; + } + leaf total-cpu-usage { + description "Total CPU usage percentage"; + type empty; + } + } + } + list mib-profile { + key name; + ordered-by user; + description "MIB profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string { + } + } + leaf interval { + description "Polling interval"; + default "30"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + leaf operation { + description "SNMP operation"; + default "walk"; + type enumeration { + enum "get" { + description "Get SNMP object value"; + } + enum "get-next" { + description "Get next SNMP object value"; + } + enum "walk" { + description "Walk SNMP object values"; + } + } + } + list object-names { + key name; + ordered-by user; + description "Names of MIB objects"; + uses mib-variable-name-object; + } + } + list flat-file-profile { + key name; + ordered-by user; + description "Flat file profile for accounting data"; + leaf name { + description "Name of profile"; + type string; + } + uses apply-advanced; + leaf file { + description "Name of file for accounting data"; + type string; + } + leaf interval { + description "Polling interval"; + default "15"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2880"; + } + } + } + leaf schema-version { + description "Name of the schema"; + type string; + } + container fields { + description "Statistics to log to file"; + uses apply-advanced; + leaf all-fields { + description "All parameters"; + type empty; + } + leaf service-accounting { + description "Service accounting for filters"; + type empty; + } + container general-param { + presence "enable general-param"; + description "General interface parameters"; + uses apply-advanced; + leaf all-fields { + description "All general interface parameters"; + type empty; + } + leaf timestamp { + description "Timestamp"; + type empty; + } + leaf accounting-type { + description "Accounting status type"; + type empty; + } + leaf descr { + description "Description"; + type empty; + } + leaf routing-instances { + description "Routing Instances where interface belongs"; + type empty; + } + leaf nas-port-id { + description "NAS port id"; + type empty; + } + leaf line-id { + description "Line id"; + type empty; + } + leaf vlan-id { + description "Vlan-id"; + type empty; + } + leaf logical-interface { + description "Logical-Interface"; + type empty; + } + leaf physical-interface { + description "Physical Interface name"; + type empty; + } + leaf user-name { + description "User name of the subscriber"; + type empty; + } + } + container overall-packet { + presence "enable overall-packet"; + description "Overall packet statistics"; + uses apply-advanced; + leaf all-fields { + description "All overall packet statistics"; + type empty; + } + leaf input-bytes { + description "Input bytes"; + type empty; + } + leaf input-packets { + description "Input packets"; + type empty; + } + leaf input-v6-bytes { + description "Input IPV6 bytes"; + type empty; + } + leaf input-v6-packets { + description "Input IPV6 packets"; + type empty; + } + leaf output-bytes { + description "Output bytes"; + type empty; + } + leaf output-packets { + description "Output packets"; + type empty; + } + leaf output-v6-bytes { + description "Output IPV6 bytes"; + type empty; + } + leaf output-v6-packets { + description "Output IPV6 packets"; + type empty; + } + leaf input-errors { + description "Total input errors"; + type empty; + } + leaf output-errors { + description "Total output errors"; + type empty; + } + leaf input-discards { + description "Total input discards"; + type empty; + } + } + container l2-stats { + presence "enable l2-stats"; + description "Layer2 statistics"; + uses apply-advanced; + leaf all-fields { + description "All Layer2 statistics"; + type empty; + } + leaf input-mcast-bytes { + description "L2 multicast bytes from input side"; + type empty; + } + leaf input-mcast-packets { + description "L2 multicast packets from input side"; + type empty; + } + } + container ingress-stats { + presence "enable ingress-stats"; + description "Ingress queue statistics"; + uses apply-advanced; + leaf all-fields { + description "All ingress queue statistics"; + type empty; + } + leaf queue-id { + description "Queue ID"; + type empty; + } + leaf input-packets { + description "Total input packets on the queue"; + type empty; + } + leaf input-bytes { + description "Total input bytes on the queue"; + type empty; + } + leaf output-packets { + description "Total output packet on the queue"; + type empty; + } + leaf output-bytes { + description "Total output bytes on the queue"; + type empty; + } + leaf drop-packets { + description "Ingress queue dropped packets"; + type empty; + } + } + container egress-stats { + presence "enable egress-stats"; + description "Egress queue statistics"; + uses apply-advanced; + leaf all-fields { + description "All egress queue statistics"; + type empty; + } + leaf queue-id { + description "Queue ID"; + type empty; + } + leaf input-packets { + description "Total input packets on the queue"; + type empty; + } + leaf input-bytes { + description "Total input bytes on the queue"; + type empty; + } + leaf output-packets { + description "Total output packet on the queue"; + type empty; + } + leaf output-bytes { + description "Total output bytes on the queue"; + type empty; + } + leaf tail-drop-packets { + description "Egress queue tail dropped packets"; + type empty; + } + leaf red-drop-packets { + description "Egress queue red dropped packets"; + type empty; + } + leaf red-drop-bytes { + description "Egress queue red drop bytes"; + type empty; + } + } + } + container format { + description "Flat file accounting format"; + uses apply-advanced; + choice flatfileformat { + case case_1 { + leaf ipdr { + description "IPDR format"; + type empty; + } + } + case case_2 { + leaf csv { + description "CSV format"; + type empty; + } + } + } + } + } + container cleanup-interval { + presence "enable cleanup-interval"; + description "Backup files cleanup interval"; + uses apply-advanced; + leaf interval { + description "Cleanup interval in days"; + default "1"; + units "day"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 31"; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping counter-object { + leaf name { + description "Name of counter"; + type string; + } + } + grouping dest-class-name-object { + leaf name { + description "Class name"; + type string; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mib-variable-name-object { + leaf name { + description "MIB variable name"; + type string { + } + } + } + grouping source-class-name-object { + leaf name { + description "Class name"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-applications@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-applications@2019-01-01.yang new file mode 100644 index 00000000..af833db6 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-applications@2019-01-01.yang @@ -0,0 +1,429 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-applications { + namespace "http://yang.juniper.net/junos-qfx/conf/applications"; + + prefix jc-applications; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos applications configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses applications-group; + } + augment /jc:configuration/jc:groups { + uses applications-group; + } + grouping applications-group { + container applications { + description "Define applications by protocol characteristics"; + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Define an application"; + uses application_object; + } + list application-set { + key name; + ordered-by user; + description "Define an application set"; + uses application_set_object; + } + } + } + grouping application_object { + leaf name { + description "Application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf application-protocol { + description "Application protocol type"; + type enumeration { + enum "bootp" { + description "Bootstrap protocol"; + } + enum "dce-rpc" { + description "DCE RPC"; + } + enum "dce-rpc-portmap" { + description "DCE RPC portmap"; + } + enum "dns" { + description "Domain Name Service"; + } + enum "exec" { + description "Remote Execution Protocol"; + } + enum "ftp" { + description "File Transfer Protocol"; + } + enum "ftp-data" { + description "File Transfer Protocol Data Session"; + } + enum "gprs-gtp-c" { + description "GPRS Tunneling Control Plane"; + } + enum "gprs-gtp-u" { + description "GPRS Tunneling User Plane"; + } + enum "gprs-gtp-v0" { + description "GPRS Tunneling Version 0"; + } + enum "gprs-sctp" { + description "GPRS Stream Control Protocol"; + } + enum "h323" { + description "H.323"; + } + enum "icmp" { + description "ICMP"; + } + enum "icmpv6" { + description "ICMPv6"; + } + enum "ignore" { + description "Ignore application type"; + } + enum "iiop" { + description "Internet Inter-ORB Protocol"; + } + enum "ike-esp-nat" { + description "IKE/ESP with NAT"; + } + enum "ip" { + description "IP"; + } + enum "login" { + description "Login"; + } + enum "mgcp-ca" { + description "MGCP-CA"; + } + enum "mgcp-ua" { + description "MGCP-UA"; + } + enum "ms-rpc" { + description "Microsoft RPC"; + } + enum "netbios" { + description "NetBIOS"; + } + enum "netshow" { + description "NetShow"; + } + enum "none" { + description "None"; + } + enum "pptp" { + description "Point-to-Point Tunneling Protocol"; + } + enum "q931" { + description "Q.931"; + } + enum "ras" { + description "RAS"; + } + enum "realaudio" { + description "RealAudio"; + } + enum "rpc" { + description "RPC"; + } + enum "rpc-portmap" { + description "RPC portmap"; + } + enum "rsh" { + description "Remote Shell"; + } + enum "rtsp" { + description "Real Time Streaming Protocol"; + } + enum "sccp" { + description "Skinny Client Control Protocol"; + } + enum "sip" { + description "Session Initiation Protocol"; + } + enum "shell" { + description "Shell"; + } + enum "snmp" { + description "SNMP"; + } + enum "sqlnet" { + description "SQLNet"; + } + enum "sqlnet-v2" { + description "Oracle SQL*Net Version 2"; + } + enum "sun-rpc" { + description "Sun Microsystems RPC"; + } + enum "talk" { + description "Talk Program"; + } + enum "tftp" { + description "Trivial File Transfer Protocol"; + } + enum "traceroute" { + description "Traceroute"; + } + enum "http" { + description "Hypertext Transfer Protocol"; + } + enum "winframe" { + description "WinFrame"; + } + enum "https" { + description "Hypertext Transfer Protocol"; + } + enum "imap" { + description "Internet Mail Access Protocol"; + } + enum "smtp" { + description "Simple Mail Transfer Protocol"; + } + enum "ssh" { + description "Secure Shell Protocol"; + } + enum "telnet" { + description "Telnet Protocol"; + } + enum "twamp" { + description "Two Way Active Meaurement Protocol"; + } + } + } + leaf protocol { + description "Match IP protocol type"; + type string; + } + leaf source-port { + description "Match TCP/UDP source port"; + type string; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type string; + } + leaf ether-type { + description "Match ether type"; + type string { + } + } + leaf snmp-command { + description "Match SNMP command"; + type enumeration { + enum "get" { + description "Get request"; + } + enum "get-next" { + description "Get-next request"; + } + enum "get-response" { + description "Get response"; + } + enum "set" { + description "Set request"; + } + enum "trap" { + description "Trap"; + } + } + } + leaf icmp-type { + description "Match ICMP message type"; + type string; + } + leaf icmp6-type { + description "Match ICMP6 message type"; + type string; + } + leaf icmp-code { + description "Match ICMP message code"; + type string; + } + leaf icmp6-code { + description "Match ICMP6 message code"; + type string; + } + leaf ttl-threshold { + description "Traceroute TTL threshold"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rpc-program-number { + description "Match range of RPC program numbers"; + type string { + } + } + leaf uuid { + description "Match universal unique identifier for DCE RPC objects"; + type string { + } + } + leaf inactivity-timeout { + description "Application-specific inactivity timeout"; + units "seconds"; + type string; + } + leaf gate-timeout { + description "Application-specific gate timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 21600"; + } + } + } + leaf child-inactivity-timeout { + description "Application-specific child session inactivity timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf learn-sip-register { + description "Learn potential incoming SIP calls by inspecting the SIP register method"; + type empty; + } + leaf sip-call-hold-timeout { + description "SIP flow timeout when call is put on hold"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 36000"; + } + } + } + choice dns-choice { + case case_1 { + leaf do-not-translate-AAAA-query-to-A-query { + description "Knob to control the translation of AAAA query to A query"; + type empty; + } + } + case case_2 { + leaf do-not-translate-A-query-to-AAAA-query { + description "Knob to control the translation of A query to AAAA query"; + type empty; + } + } + } + } + grouping application_set_object { + leaf name { + description "Application set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf description { + description "Text description of application set"; + type string { + length "1 .. 900"; + } + } + list application { + key name; + ordered-by user; + description "Application to be included in the set"; + leaf name { + description "Application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list application-set { + key name; + ordered-by user; + description "Define an application-set"; + leaf name { + description "Define an application-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-bridge-domains@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-bridge-domains@2019-01-01.yang new file mode 100644 index 00000000..ca80988b --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-bridge-domains@2019-01-01.yang @@ -0,0 +1,6041 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-bridge-domains { + namespace "http://yang.juniper.net/junos-qfx/conf/bridge-domains"; + + prefix jc-bridge-domains; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos bridge-domains configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses bridge-domains-group; + } + augment /jc:configuration/jc:groups { + uses bridge-domains-group; + } + grouping bridge-domains-group { + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-bridge-domains { + description "Bridge domains"; + leaf name { + description "Bridge domain name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of bridge domain"; + type string { + } + } + leaf domain-type { + description "Type of bridge domain"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + case case_3 { + leaf-list vlan-id-list { + description "Create bridge-domain for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Create bridge-domain for isid (Valid isid:256..16777214)"; + type string; + } + leaf vlan-id-scope-local { + description "Enable the scope of vlan-id local to avoid transmitting vlan tagged packets"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface name for this bridge domain"; + leaf name { + type string; + } + uses apply-advanced; + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this bridge-domain"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-bridge-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container bridge-options { + description "Bridge domain configuration"; + uses juniper-protocols-bd; + } + container protocols { + presence "enable protocols"; + uses apply-advanced; + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-bd-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-bd-protocols-mld-snooping; + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf isolated-vlan { + description "Isolated VLAN ID for private vlan bridge domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list community-vlans { + description "List of Community VLANs for private vlan bridge domain"; + type jt:vlan-range; + } + } + grouping juniper-bd-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bd-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bridge-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for bridge forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for bridge flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for bridge flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "Dynamic ARP Inspection configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + container traceoptions { + description "DHCP relay trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container interface-traceoptions { + description "DHCP relay interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-interface-traceoptions-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping jdhcp-traceoptions-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-protocols-bd { + description "Bridging configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container traceoptions { + description "Trace options for this bridge domain"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf always-write-giaddr { + description "Overwrite existing 'giaddr' field, when present"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf layer2-unicast-replies { + description "Do not broadcast client responses"; + type empty; + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container proxy-mode { + presence "enable proxy-mode"; + description "Put the relay in proxy mode"; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip for relay interfaces"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-chassis@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-chassis@2019-01-01.yang new file mode 100644 index 00000000..1670e5ee --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-chassis@2019-01-01.yang @@ -0,0 +1,4469 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-chassis { + namespace "http://yang.juniper.net/junos-qfx/conf/chassis"; + + prefix jc-chassis; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos chassis configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses chassis-group; + } + augment /jc:configuration/jc:groups { + uses chassis-group; + } + grouping chassis-group { + container chassis { + description "Chassis configuration"; + uses chassis_type; + } + } + grouping chassis_type { + uses apply-advanced; + container nssu { + presence "enable nssu"; + description "Nonstop Software Upgrade settings"; + uses apply-advanced; + list upgrade-group { + key name; + ordered-by user; + description "Nonstop Software Upgrade group"; + leaf name { + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf-list fpcs { + description "FPCs associated with update-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + max-elements 16; + } + } + leaf rcp-count { + description "Parallel rcp count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 8"; + } + } + } + leaf lc-reboot-delay { + description "Delay between linecard reboot during NSSU"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 600"; + } + } + } + } + container psu { + description "Power Supply Unit redundancy configuration"; + uses apply-advanced; + container redundancy { + description "PSU Redundancy settings"; + uses apply-advanced; + leaf n-plus-n { + description "PSU redundancy: N+N configuration"; + type empty; + } + } + } + leaf craft-lockout { + description "Disable craft interface input"; + type empty; + } + choice source-route-choice { + leaf source-route { + description "Enable IP source-route processing"; + status deprecated; + type empty; + } + leaf no-source-route { + description "Don't enable IP source-route processing"; + status deprecated; + type empty; + } + } + choice packet-scheduling-choice { + leaf packet-scheduling { + description "Enable DX2.0 packet scheduling"; + type empty; + } + leaf no-packet-scheduling { + description "Don't enable DX2.0 packet scheduling"; + type empty; + } + } + leaf maximum-ecmp { + description "Maximum ECMP limit for nexthops"; + type enumeration { + enum "16" { + description "Maximum 16 ECMP routes"; + } + enum "32" { + description "Maximum 32 ECMP routes"; + } + enum "64" { + description "Maximum 64 ECMP routes"; + } + enum "96" { + description "Maximum 96 ECMP routes"; + } + enum "128" { + description "Maximum 128 ECMP routes"; + } + } + } + container redundancy { + description "Redundancy settings"; + uses chassis_redundancy_type; + } + container routing-engine { + description "Routing Engine settings"; + uses chassis_routing_engine_type; + } + container aggregated-devices { + description "Aggregated devices configuration"; + uses chassis_agg_dev_type; + } + list disk-partition { + key name; + ordered-by user; + description "Chassis disk monitor configuration"; + leaf name { + description "Choose disk partition to monitor"; + type enumeration { + enum "/var" { + description "Monitor /var partition"; + } + enum "/config" { + description "Monitor /config partition"; + } + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Threshold level"; + leaf name { + type enumeration { + enum "high" { + description "Set high level of threshold"; + } + enum "full" { + description "Set full level of threshold"; + } + } + } + uses apply-advanced; + container free-space { + description "Enter threshold value & choose the metric"; + leaf thres-free { + description "Enter free space threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice thres-metric { + case case_1 { + leaf percent { + description "Free space threshold in %"; + type empty; + } + } + case case_2 { + leaf mb { + description "Free space threshold in MB"; + type empty; + } + } + } + } + } + } + container container-devices { + description "Container devices configuration"; + uses chassisd_agg_container_type; + } + container pseudowire-service { + description "Pseudowire L3 termination device configuration"; + presence "enable pseudowire-service"; + uses chassis-pw-type; + } + container redundancy-group { + description "Redundancy group configuration"; + uses chassisd-redundancy-group-type; + } + container fabric { + description "Switch fabric settings"; + uses chassis_fabric_type; + } + list fpc { + key name; + description "Flexible PIC Concentrator parameters"; + uses chassis_fpc_type; + } + leaf disable-fm { + description "Disable Fabric Manager"; + type empty; + } + container fpc-feb-connectivity { + description "Connectivity between Flexible PIC Concentrators and Forwarding Engine Boards"; + uses apply-advanced; + list fpc { + key name; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container feb { + description "FEB slot number"; + choice feb-slot-choice { + case case_1 { + leaf none { + description "FPC not connected to any FEB"; + type empty; + } + } + case case_2 { + leaf feb-slot { + description "FEB slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + } + } + } + container pem { + description "Power supply (PEM) parameters"; + uses chassis_pem_type; + } + container sib { + description "Switch Interface Board parameters"; + uses chassis_sib_type; + } + container tfeb { + description "Taz Forwarding Engine Board parameters"; + uses chassis_feb_type; + } + container alarm { + description "Global alarm settings"; + uses chassis_alarm_type; + } + leaf slow-pfe-alarm { + description "Enable slow (potential) PFE alarm"; + type empty; + } + leaf fpc-ifl-ae-statistics { + description "Enable fpc ifl ae child statistics"; + type empty; + } + leaf network-services { + description "Chassis network services configuration"; + type enumeration { + enum "ip" { + description "IP network services"; + } + enum "ethernet" { + description "Ethernet network services"; + } + enum "enhanced-ip" { + description "Enhanced IP network services"; + } + enum "enhanced-ethernet" { + description "Enhanced ethernet network services"; + } + enum "enhanced-mode" { + description "Enhanced network services"; + } + enum "lan" { + description "Ethernet LAN services"; + } + } + } + list lcc { + key name; + description "Line-card chassis configuration"; + leaf name { + description "LCC number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + list fpc { + key name; + description "Flexible PIC Concentrator parameters"; + uses chassis_fpc_type; + } + container pem { + description "Power supply (PEM) parameters"; + uses chassis_pem_type; + } + choice state { + case case_1 { + leaf online-expected { + description "LCC is expected to be online"; + type empty; + } + } + case case_2 { + leaf offline { + description "LCC is expected to be offline"; + type empty; + } + } + } + } + container lcd { + description "Chassis LCD"; + status deprecated; + uses apply-advanced; + choice menu-item { + case case_1 { + leaf maintenance-menu { + description "LCD maintenance menu"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable maintenance-menu"; + type empty; + } + } + } + } + container forwarding-options { + description "Configure options to control packet forwarding"; + uses apply-advanced; + choice uft_object { + case case_1 { + container l2-profile-one { + presence "enable l2-profile-one"; + description "MAC: 288K L3-host: 16K LPM: 16K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_2 { + container l2-profile-two { + presence "enable l2-profile-two"; + description "MAC: 224K L3-host: 80K LPM: 16K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_3 { + container l2-profile-three { + presence "enable l2-profile-three"; + description "(default) MAC: 160K L3-host: 144K LPM: 16K, needs reboot for VC;restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_4 { + container l3-profile { + presence "enable l3-profile"; + description "MAC: 96K L3-host: 208K LPM: 16K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_5 { + container lpm-profile { + presence "enable lpm-profile"; + description "MAC: 32K L3-host: 16K LPM: 128K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf prefix-65-127-disable { + description "Disable IPV6 prefixes with length > 64"; + type empty; + } + leaf unicast-in-lpm { + description "Install unicast host entries in LPM table"; + type empty; + } + } + } + case case_6 { + container exact-match-profile { + presence "enable exact-match-profile"; + description "MAC: 8K L3-host: 8K LPM: 16K EM: 64K, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_7 { + container custom-profile { + description "(Partition the shared banks, will automatically restart the PFE when configured)"; + uses apply-advanced; + container l2-entries { + description "Customize l2 entries needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + container l3-entries { + description "Customize l3 entries needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + container exact-match-entries { + description "Customize exact match entries needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + container lpm-entries { + description "Customize lpm banks needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type enumeration { + enum "0" { + } + enum "2" { + } + enum "4" { + } + } + } + leaf prefix-65-127-disable { + description "Disable IPV6 prefixes with length > 64"; + type empty; + } + } + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + } + } + leaf fru-poweron-sequence { + description "FRUs power on sequence like 0 1 2 3 ... within double quotes"; + type string { + } + } + leaf auto-image-upgrade { + description "Auto image upgrade using DHCP"; + type empty; + } + container error { + description "Error level configuration for all FPC"; + presence "enable error"; + uses chassis_fpc_error_type; + } + container oss-map { + description "Translate Operation Supported System's requirements"; + uses apply-advanced; + leaf model-name { + description "Override chassis model name for specific show/snmp output"; + type enumeration { + enum "t640" { + description "Set to T640's model"; + } + enum "t1600" { + description "Set to T1600's model"; + } + } + } + } + list satellite { + key name; + ordered-by user; + description "List of available satellite configurations"; + leaf name { + description "Satellite name"; + type string { + } + } + uses apply-advanced; + } + leaf auto-satellite-conversion { + description "Enable remote conversion to satellite device-mode"; + type empty; + } + container satellite-management { + presence "enable satellite-management"; + description "Satellite management configuration"; + uses apply-advanced; + container designated-event-forwarding { + presence "enable designated-event-forwarding"; + description "Designated event forwarding"; + } + container traceoptions { + description "Global satelite discovery and provisioning trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace SDPD task processing"; + } + enum "timer" { + description "Trace SDPD task timer processing"; + } + enum "krt" { + description "Trace communication over routing socket"; + } + enum "lldp" { + description "Trace LLDP events"; + } + enum "provision" { + description "Trace provisioning events"; + } + enum "extended-port" { + description "Trace extended-port events"; + } + enum "multi-chassis" { + description "Trace multi-chassis events"; + } + enum "upgrade-group" { + description "Trace sw-update events"; + } + enum "device" { + description "Trace device FSM events"; + } + enum "tcp" { + description "Trace TCP events"; + } + enum "interface" { + description "Trace interface events"; + } + enum "cluster" { + description "Trace cluster events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf cluster-policy { + description "Cluster policy"; + type string; + } + list cluster { + key name; + description "Configure a satellite device cluster"; + leaf name { + description "Satellite cluster name"; + type string { + length "1 .. 16"; + } + } + uses apply-advanced; + leaf cluster-id { + description "Satellite cluster identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf-list cascade-ports { + description "Cascade ports"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf cluster-policy { + description "Candidate uplink policy"; + type string; + } + list fpc { + key name; + leaf name { + description "Satellite slot identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "65 .. 254"; + } + } + } + uses apply-advanced; + leaf alias { + description "Satellite alias"; + type string { + length "1 .. 16"; + } + } + leaf description { + description "Satellite description"; + type string { + length "1 .. 64"; + } + } + leaf member-id { + description "Satellite member id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 62"; + } + } + } + leaf system-id { + description "Satellite system id"; + type jt:mac-addr; + } + leaf cluster-policy { + description "Candidate uplink policy"; + type string; + } + } + } + list fpc { + key name; + description "FPC identifier for a satellite device"; + leaf name { + description "Satellite slot identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "65 .. 254"; + } + } + } + uses apply-advanced; + leaf serial-number { + description "Satellite serial number"; + type string { + length "1 .. 16"; + } + } + leaf system-id { + description "Satellite system id"; + type jt:mac-addr; + } + leaf target-mode { + description "Enable target mode forwarding for extended-ports"; + type empty; + } + leaf alias { + description "Satellite alias"; + type string { + length "1 .. 16"; + } + } + leaf description { + description "Satellite description"; + type string { + length "1 .. 64"; + } + } + container management-address { + presence "enable management-address"; + description "Satellite Management Interface IP"; + uses apply-advanced; + leaf address { + description "Satellite Management Interface IP address"; + type jt:ipv4prefix; + } + leaf gateway { + description "Satellite Management Interface Gateway IP address"; + type jt:ipv4addr; + } + } + leaf-list cascade-ports { + description "Cascade ports"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf extended-ports-template { + description "Extended ports template"; + type string; + } + choice ufd_type { + case case_1 { + container uplink-failure-detection { + presence "enable uplink-failure-detection"; + description "Enable uplink-failure-detection"; + uses apply-advanced; + leaf candidate-uplink-policy { + description "Candidate uplink policy"; + type string; + } + } + } + } + leaf environment-monitoring-policy { + description "Environment monitoring policy"; + type string; + } + choice forwarding-policy-type { + case case_1 { + container forwarding-policy { + presence "enable forwarding-policy"; + description "Enable a forwarding policy"; + uses apply-advanced; + leaf forwarding-policy-alias { + description "Define forwarding policy alias"; + type string; + } + } + } + } + } + leaf extended-ports-policy { + description "Extended ports policy"; + type string; + } + choice ufd_type { + case case_1 { + container uplink-failure-detection { + presence "enable uplink-failure-detection"; + description "Enable uplink-failure-detection"; + uses apply-advanced; + leaf candidate-uplink-policy { + description "Candidate uplink policy"; + type string; + } + } + } + } + container psu { + description "Power Supply Unit redundancy configuration"; + uses apply-advanced; + container redundancy { + description "PSU Redundancy settings"; + uses apply-advanced; + leaf n-plus-n { + description "PSU redundancy: N+N configuration"; + type empty; + } + } + } + container environment-monitoring-policy { + presence "enable environment-monitoring-policy"; + description "Environment monitoring policy"; + uses apply-advanced; + leaf policy-name { + description "Default environment monitoring policy"; + type string; + } + } + choice forwarding-policy-type { + case case_1 { + container forwarding-policy { + presence "enable forwarding-policy"; + description "Enable a forwarding policy"; + uses apply-advanced; + leaf forwarding-policy-alias { + description "Define forwarding policy alias"; + type string; + } + } + } + } + container redundancy-groups { + description "Redundancy groups configuration"; + uses apply-advanced; + leaf chassis-id { + description "Chassis identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + list rg-group { + key name; + ordered-by user; + description "Redundancy groups"; + uses redundancy-group-type; + } + } + container upgrade-groups { + description "Upgrade group configuration"; + uses apply-advanced; + list upgrade-group { + key name; + description "Upgrade group"; + uses upgrade-group-type; + } + } + container auto-satellite-conversion { + description "Enable automatic satellite conversion"; + uses apply-advanced; + leaf-list satellite { + ordered-by user; + description "Satellite slot-id or range or all"; + type string { + length "1 .. 100"; + } + } + } + container single-home { + description "Devices are connected to local aggregation device only"; + uses apply-advanced; + leaf-list satellite { + ordered-by user; + description "Satellite slot-id or range or all"; + type string { + length "1 .. 100"; + } + } + } + leaf aging-timer { + description "Aging-timer"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 60000"; + } + } + } + leaf block-console-access { + description "Block console access"; + type empty; + } + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses satellite-bridge-filter; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses satellite-bridge-filter; + } + } + } + } + } + container system-domains { + presence "enable system-domains"; + description "Root and protected system domain configuration"; + uses apply-advanced; + leaf root-domain-id { + description "Root domain identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3"; + } + } + } + list protected-system-domains { + key name; + description "Protected system domain configuration"; + uses juniper-protected-system-domain; + } + container traceoptions { + description "Protected system domain traceoptions"; + uses juniper-protected-system-domain-traceoptions; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping chassis-pw-type { + uses apply-advanced; + leaf device-count { + description "Number of pseudo-wire ps devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7000"; + } + } + } + } + grouping chassis_agg_dev_type { + uses apply-advanced; + container ethernet { + description "Aggregated device options for Ethernet"; + uses chassisd_agg_enet_type; + } + container sonet { + description "Aggregated device options for SONET"; + uses chassisd_agg_pos_type; + } + leaf maximum-links { + description "Maximum links limit for aggregated devices (16, 32, or 64)"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping chassis_alarm_type { + uses apply-advanced; + container management-ethernet { + description "Management Ethernet alarms"; + uses chassis_alarm_ethernet_type; + } + container otn-odu { + description "OTN ODU alarms"; + uses chassis_alarm_otn_odu_type; + } + container otn-otu { + description "OTN OTU alarms"; + uses chassis_alarm_otn_otu_type; + } + container sonet { + description "SONET alarms"; + uses chassis_alarm_sonet_type; + } + container t3 { + description "DS3 alarms"; + uses chassis_alarm_ds3_type; + } + container ds1 { + description "DS1 alarms"; + uses chassis_alarm_ds1_type; + } + container ethernet { + description "Ethernet alarms"; + uses chassis_alarm_ethernet_type; + } + container integrated-services { + description "Integrated services alarms"; + uses chassis_alarm_integrated_services_type; + } + container services { + description "Services PIC alarms"; + uses chassis_alarm_services_type; + } + container serial { + description "Serial alarms"; + uses chassis_alarm_serial_type; + } + container fibre-channel { + description "Fibre Channel alarms"; + uses chassis_alarm_fibre-channel_type; + } + } + grouping chassis_alarm_ds1_type { + uses apply-advanced; + leaf ais { + description "Alarm indicator signal"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ylw { + description "Yellow alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_ds3_type { + uses apply-advanced; + leaf ais { + description "Alarm indicator signal"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf exz { + description "Excessive zeros"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ferf { + description "Far-end failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf idle { + description "Idle alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf lcv { + description "Line code violation"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf lof { + description "Loss of frame"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf los { + description "Loss of signal"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf pll { + description "Phase-locked loop out of lock"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ylw { + description "Yellow alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_ethernet_type { + uses apply-advanced; + leaf link-down { + description "Link has gone down"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_fibre-channel_type { + uses apply-advanced; + leaf link-down { + description "Link has gone down"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_integrated_services_type { + uses apply-advanced; + leaf failure { + description "Integrated Services failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_otn_odu_type { + uses apply-advanced; + leaf odu-bdi { + description "ODU backward-defect-indicator, ODU-BDI failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf odu-ttim { + description "ODU trail-trace-identifier-mismatch, ODU-TTIM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf odu-ptim { + description "ODU payload-type-mismatch, ODU-PTIM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_otn_otu_type { + uses apply-advanced; + leaf oc-los { + description "Loss of signal, LOS failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf oc-lof { + description "Loss of framing, LOF failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf oc-lom { + description "Loss of multiframe, LOM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf wavelength-lock { + description "Wavelength lock alarm"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-bdi { + description "OTU backward-defect-indicator, OTU-BDI failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-iae { + description "OTU incoming-alignment-error, OTU-IAE failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-ttim { + description "OTU trail-trace-identifier-mismatch, OTU-TTIM failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf otu-fec-excessive-errs { + description "OTU fec-excessive-errors, OTU-FEC_EXE failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_serial_type { + uses apply-advanced; + leaf loss-of-rx-clock { + description "RX clock absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf loss-of-tx-clock { + description "TX clock absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf dcd-absent { + description "DCD signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf cts-absent { + description "CTS signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf dsr-absent { + description "DSR signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf tm-absent { + description "TM signal absent"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_services_type { + uses apply-advanced; + leaf pic-reset { + description "Services PIC reset"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf pic-hold-reset { + description "Services PIC held in reset"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf linkdown { + description "Services PIC linkdown"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf rx-errors { + description "Services PIC excessive rx errors"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf tx-errors { + description "Services PIC excessive tx errors"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf sw-down { + description "Services PIC software problem"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf hw-down { + description "Services PIC hardware problem"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_alarm_sonet_type { + uses apply-advanced; + leaf lol { + description "Loss of light"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf pll { + description "Phase locked loop out of lock"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf lof { + description "Loss of framing, LOF failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf los { + description "Loss of signal, LOS failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ais-l { + description "Line alarm indication signal, AIS-L failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ais-p { + description "Path alarm indication signal, AIS-P failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf lop-p { + description "Loss of pointer, LOP-P failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ber-sd { + description "Signal Degrade (SD), bit error rate > 1E-6"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf ber-sf { + description "Signal Fail (SF), bit error rate > 1E-3"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf rfi-l { + description "Line remote failure indication, RFI-L, line FERF"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf rfi-p { + description "Path remote failure indication, RFI-P, STS path yellow"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf uneq-p { + description "STS Path (C2) unequipped, UNEQ-P failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf locd { + description "Loss of cell delineation (ATM only)"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + leaf plm-p { + description "STS payload label (C2) mismatch, PLM-P failure"; + type enumeration { + enum "red" { + description "Assert red system alarm"; + } + enum "yellow" { + description "Assert yellow system alarm"; + } + enum "ignore" { + description "Do not assert any alarm signals"; + } + } + } + } + grouping chassis_fabric_type { + uses apply-advanced; + container redundancy-mode { + description "Fabric redundancy mode"; + uses apply-advanced; + choice mode { + case case_1 { + leaf redundant { + description "Fabric is configured in redundant mode"; + type empty; + } + } + case case_2 { + leaf increased-bandwidth { + description "Fabric is configured in increased bandwidth mode"; + type empty; + } + } + } + } + } + grouping chassis_feb_type { + uses apply-advanced; + } + grouping chassis_fpc_error_type { + description "Chassis Fpc Error level"; + uses apply-advanced; + container fatal { + description "FPC Fatal errors (default threshold = 1)"; + uses chassis_fpc_error_level_major_fatal; + } + container major { + description "FPC Major Level errors (default threshold = 1)"; + uses chassis_fpc_error_level_major_fatal; + } + container minor { + description "FPC Minor Level errors (default threshold = 10)"; + uses chassis_fpc_error_level_minor; + } + list override-cmerror { + key name; + ordered-by user; + description "Error configuration override"; + max-elements 100; + uses chassis_fru_cmerror_override_type; + } + container scope { + description "Error scope"; + uses chassis_fpc_scope_type; + } + } + grouping chassis_fpc_error_level_major_fatal { + uses apply-advanced; + leaf threshold { + description "Error count at which to take the action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + list action { + key name; + ordered-by user; + description "Configure the action for this level"; + leaf name { + type enumeration { + enum "reset" { + description "Reset FPC"; + } + enum "offline" { + description "Offline FPC"; + } + enum "alarm" { + description "Raise FPC alarm"; + } + enum "get-state" { + description "Retreive FPC state for debugging"; + } + enum "log" { + description "Log occurence to system log file"; + } + enum "disable-pfe" { + description "Disable PFE interfaces on FPC"; + } + enum "offline-pic" { + description "Offline PICs associated with PFE on FPC"; + } + enum "fault" { + description "Set device state to fault"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_fpc_error_level_minor { + uses apply-advanced; + leaf threshold { + description "Error count at which to take the action"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + list action { + key name; + ordered-by user; + description "Configure the action for this level"; + leaf name { + type enumeration { + enum "reset" { + description "Reset FPC"; + } + enum "offline" { + description "Offline FPC"; + } + enum "alarm" { + description "Raise FPC alarm"; + } + enum "get-state" { + description "Retreive FPC state for debugging"; + } + enum "log" { + description "Log occurence to system log file"; + } + enum "disable-pfe" { + description "Disable PFE interfaces on FPC"; + } + enum "offline-pic" { + description "Offline PICs associated with PFE on FPC"; + } + enum "fault" { + description "Set device state to fault"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_fpc_scope_type { + description "Chassis Fpc Error Scope"; + uses apply-advanced; + container board { + description "Board level scope"; + uses chassis_fpc_scope_category; + } + container pfe { + description "Forwarding engine scope "; + uses chassis_fpc_scope_category; + } + } + grouping chassis_fpc_scope_category { + description "Chassis Fpc Error Category"; + uses apply-advanced; + container category { + description "FPC error category"; + uses chassis_fpc_scope_category_type; + } + } + grouping chassis_fpc_scope_category_type { + description "Chassis Fpc Category level"; + uses apply-advanced; + container functional { + description "FPC functional category"; + uses chassis_fpc_scope_category_error_type; + } + container memory { + description "FPC memory category"; + uses chassis_fpc_scope_category_error_type; + } + container io { + description "FPC input-output category"; + uses chassis_fpc_scope_category_error_type; + } + container storage { + description "FPC storage category"; + uses chassis_fpc_scope_category_error_type; + } + container switch { + description "FPC switch category"; + uses chassis_fpc_scope_category_error_type; + } + container processing { + description "FPC processing category"; + uses chassis_fpc_scope_category_error_type; + } + } + grouping chassis_fpc_scope_category_error_type { + description "Chassis Fpc Error level"; + uses apply-advanced; + container fatal { + description "FPC Fatal errors (default threshold = 1)"; + uses chassis_fpc_error_level_type; + } + container major { + description "FPC Major Level errors (default threshold = 1)"; + uses chassis_fpc_error_level_type; + } + container minor { + description "FPC Minor Level errors (default threshold = 10)"; + uses chassis_fpc_error_level_type; + } + } + grouping chassis_fpc_error_level_type { + uses apply-advanced; + leaf threshold { + description "Error count at which to take the action (0 - valid for minor only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list action { + key name; + ordered-by user; + description "Configure the action for this level"; + leaf name { + type enumeration { + enum "reset" { + description "Reset FPC"; + } + enum "offline" { + description "Offline FPC"; + } + enum "alarm" { + description "Raise FPC alarm"; + } + enum "get-state" { + description "Retreive FPC state for debugging"; + } + enum "log" { + description "Log occurence to system log file"; + } + enum "disable-pfe" { + description "Disable PFE interfaces on FPC"; + } + enum "offline-pic" { + description "Offline PICs associated with PFE on FPC"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_fpc_type { + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container auto-speed-detection { + description "Disables auto-speed detection"; + uses apply-advanced; + choice auto-speed-detections { + case case_1 { + leaf disable { + description "Disables automatic speed detection"; + type empty; + } + } + } + } + container forwarding-options { + description "Configure options to control packet forwarding"; + uses apply-advanced; + choice uft_object { + case case_1 { + container l2-profile-one { + presence "enable l2-profile-one"; + description "MAC: 288K L3-host: 16K LPM: 16K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_2 { + container l2-profile-two { + presence "enable l2-profile-two"; + description "MAC: 224K L3-host: 80K LPM: 16K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_3 { + container l2-profile-three { + presence "enable l2-profile-three"; + description "(default) MAC: 160K L3-host: 144K LPM: 16K, needs reboot for VC;restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_4 { + container l3-profile { + presence "enable l3-profile"; + description "MAC: 96K L3-host: 208K LPM: 16K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_5 { + container lpm-profile { + presence "enable lpm-profile"; + description "MAC: 32K L3-host: 16K LPM: 128K EM:0, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf prefix-65-127-disable { + description "Disable IPV6 prefixes with length > 64"; + type empty; + } + leaf unicast-in-lpm { + description "Install unicast host entries in LPM table"; + type empty; + } + } + } + case case_6 { + container exact-match-profile { + presence "enable exact-match-profile"; + description "MAC: 8K L3-host: 8K LPM: 16K EM: 64K, needs reboot for VC; restarts PFE if standalone"; + uses apply-advanced; + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + case case_7 { + container custom-profile { + description "(Partition the shared banks, will automatically restart the PFE when configured)"; + uses apply-advanced; + container l2-entries { + description "Customize l2 entries needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + container l3-entries { + description "Customize l3 entries needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + container exact-match-entries { + description "Customize exact match entries needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + container lpm-entries { + description "Customize lpm banks needed"; + uses apply-advanced; + leaf num-banks { + description "Number of banks needed for entries of this type"; + default "0"; + type enumeration { + enum "0" { + } + enum "2" { + } + enum "4" { + } + } + } + leaf prefix-65-127-disable { + description "Disable IPV6 prefixes with length > 64"; + type empty; + } + } + leaf num-65-127-prefix { + description "IPV6 prefixes > 64, in multiples of 1K e.g 3 = 3x1K entries(default 1)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 4"; + } + } + } + } + } + } + } + list pic { + key name; + description "Physical Interface Card number"; + uses chassis_pic_type; + } + leaf power { + description "Power FPCs on or off"; + type enumeration { + enum "off" { + description "Do not provide power to FPCs"; + } + enum "on" { + description "Provide power to FPCs"; + } + } + } + choice mode { + case case_1 { + leaf disable-power { + description "Do not provide power to the card"; + status deprecated; + type empty; + } + } + case case_2 { + leaf allow-sram-parity-errors { + description "Do not power cycle FPC when SRAM parity errors occur"; + type empty; + } + } + } + choice riot-mode { + case case_1 { + } + case case_2 { + } + } + leaf offline { + description "Keep FPC offline"; + type empty; + } + list port-mirror-instance { + key name; + ordered-by user; + max-elements 2; + leaf name { + description "Associate a port mirroring instance with the FPC"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list sampling-instance { + key name; + ordered-by user; + max-elements 1; + leaf name { + description "Associate a sampling instance with the FPC"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + container inline-services { + uses apply-advanced; + leaf report-zero-oif-gw-on-discard { + description "Jflow reports value zero in OIF and GW when traffic is not forwarded"; + type empty; + } + leaf flex-flow-sizing { + description "No fixed size allocation of flow tables for proto families"; + type empty; + } + leaf use-extended-flow-memory { + description "Use extended memory for flow records"; + type empty; + } + container flow-table-size { + uses apply-advanced; + leaf ipv4-flow-table-size { + description "IPv4 flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf ipv6-flow-table-size { + description "IPv6 flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf vpls-flow-table-size { + description "VPLS flow table size in units of 256k"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf bridge-flow-table-size { + description "BRIDGE flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + leaf ipv6-extended-attrib { + description "Enable extended flow attribute"; + type empty; + } + leaf mpls-flow-table-size { + description "MPLS flow table size in units of 256k"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 245"; + } + } + } + } + } + container inline-video-monitoring { + uses apply-advanced; + leaf maximum-flows-count { + description "Maximum number of inline video monitoring flows per PFE instance."; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 8192"; + } + } + } + leaf flow-table-size { + description "Size of flow table size per PFE instance"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 8192"; + } + } + } + } + container slamon-services { + description "SLA monitoring services"; + uses apply-advanced; + } + list pfe { + key name; + description "Packet forwarding engine parameters"; + uses chassis_pfe_type; + } + container error { + description "Error level configuration for FPC"; + uses chassis_fpc_error_type; + } + container openflow { + description "Openflow configuration"; + uses apply-advanced; + leaf access-list-partition { + description "Space reserved for openflow access-list rules"; + units "percents"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf buffer-partition { + description "Buffer space reserved for openflow traffic"; + units "percents"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + grouping chassis_fru_cmerror_override_type { + description "Chassis Fpc Error override"; + leaf name { + description "Error identifier"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf state { + description "State"; + type enumeration { + enum "disable" { + description "Disable error"; + } + } + } + leaf severity { + description "Severity"; + type enumeration { + enum "minor" { + description "Minor Severity"; + } + enum "major" { + description "Major Severity"; + } + enum "fatal" { + description "Fatal Severity"; + } + } + } + } + grouping chassis_pem_type { + uses apply-advanced; + leaf minimum { + description "Minimum number of power supplies required for normal operation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf input-current { + description "Input current (Amps) in each feed "; + default "60"; + type enumeration { + enum "40" { + description "40 Amps in each Feed"; + } + enum "60" { + description "60 Amps in each Feed"; + } + } + } + } + grouping chassis_pfe_type { + description "PFE(Packet forwarding engine)"; + leaf name { + description "PFE(Packet forwarding engine) identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + uses apply-advanced; + container forwarding-packages { + description "Associated forwarding package configuration"; + uses apply-advanced; + container mobility { + description "Mobility related PFE configuration"; + uses apply-advanced; + choice package-type { + case case_1 { + leaf ggsn-pgw { + description "GGSN packet gateway"; + type empty; + } + } + case case_2 { + leaf sgw { + description "Serving gateway"; + type empty; + } + } + } + } + } + leaf tunnel-services { + description "Tunnel services configuration"; + type empty; + } + } + grouping chassis_pic_type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + container tunnel-services { + presence "enable tunnel-services"; + description "Tunnel services configuration"; + uses apply-advanced; + leaf bandwidth { + description "Amount of bandwidth reserved for tunnel service"; + type string; + } + leaf tunnel-only { + description "Support only tunnel traffic"; + type empty; + } + container priority { + presence "enable priority"; + description "Specify bandwidths with priorities"; + uses apply-advanced; + container high { + presence "enable high"; + description "High Priority"; + uses apply-advanced; + leaf bandwidth { + description "Amount of bandwidth reserved for tunnel service"; + type string; + } + } + container medium { + presence "enable medium"; + description "Medium Priority"; + uses apply-advanced; + leaf bandwidth { + description "Amount of bandwidth reserved for tunnel service"; + type string; + } + } + container low { + presence "enable low"; + description "Low Priority"; + uses apply-advanced; + leaf bandwidth { + description "Amount of bandwidth reserved for tunnel service"; + type string; + } + } + } + } + choice adaptive-or-monitoring { + case case_1 { + } + case case_2 { + container monitoring-services { + description "Monitoring services configuration"; + uses apply-advanced; + leaf application { + description "Application mode"; + type enumeration { + enum "dynamic-flow-capture" { + description "Dynamic flow capture mode"; + } + enum "flow-collector" { + description "Flow collector mode"; + } + enum "monitor" { + description "Monitor mode"; + } + } + } + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sonet" { + description "SONET mode"; + } + enum "sdh" { + description "SDH mode"; + } + enum "t3" { + description "T3 mode"; + } + enum "e3" { + description "E3 mode"; + } + enum "t1" { + description "T1 mode"; + } + enum "e1" { + description "E1 mode"; + } + enum "lan" { + description "LAN mode"; + } + } + } + leaf vtmapping { + description "Virtual tunnel mapping mode"; + type enumeration { + enum "klm" { + description "KLM mode"; + } + enum "itu-t" { + description "ITU-T mode"; + } + } + } + leaf no-concatenate { + description "Do not concatenate channels"; + type empty; + } + leaf no-multi-rate { + description "Disable multi-rate mode"; + type empty; + } + leaf aggregate-ports { + description "Aggregate multiple ports on a PIC as a single port"; + type empty; + } + container aggregated-devices { + description "Aggregated devices configuration"; + uses apply-advanced; + container ima { + description "Aggregated device options for Inverse Multiplexing for ATM"; + uses apply-advanced; + leaf device-count { + description "Number of IMA groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 42"; + } + } + } + } + } + leaf sparse-dlcis { + description "Run in sparse data-link connection identifier mode"; + type empty; + } + container q-pic-large-buffer { + presence "enable q-pic-large-buffer"; + description "Run in large delay buffer mode"; + uses apply-advanced; + choice buffer-type { + case case_1 { + leaf small-scale { + description "Supports less number of interfaces"; + type empty; + } + } + case case_2 { + leaf large-scale { + description "Supports large number of interfaces"; + type empty; + } + } + } + } + container red-buffer-occupancy { + description "Computation type for RED buffer occupancy"; + uses apply-advanced; + container weighted-averaged { + presence "enable weighted-averaged"; + description "Weighted-average computation"; + uses apply-advanced; + leaf instant-usage-weight-exponent { + description "Weight for instant buffer usage (negative exponent of 2)"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traffic-manager { + description "Configure traffic manager attributes"; + uses apply-advanced; + leaf ingress-shaping-overhead { + description "Number of CoS shaping overhead bytes in ingress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-62 .. 192"; + } + } + } + leaf egress-shaping-overhead { + description "Number of CoS shaping overhead bytes in egress"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-62 .. 192"; + } + } + } + leaf mode { + description "Configure traffic manager mode"; + type enumeration { + enum "egress-only" { + description "Egress traffic manager enabled, ingress traffic manager disabled"; + } + enum "session-shaping" { + description "Enable egress session shaping"; + } + enum "ingress-and-egress" { + description "Enable the ingress and egress traffic managers"; + } + } + } + } + container idle-cell-format { + description "ATM idle cell configuration"; + uses apply-advanced; + leaf itu-t { + description "ITU-T idle cell header format"; + type empty; + } + leaf payload-pattern { + description "Payload pattern byte (0x00-0xff)"; + type string; + } + } + container atm-l2circuit-mode { + description "Enable ATM Layer 2 circuit transport mode"; + uses apply-advanced; + choice mode_choice { + case case_1 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + case case_2 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_3 { + container trunk { + presence "enable trunk"; + description "Set ATM Layer 2 circuit trunk mode"; + uses apply-advanced; + choice trunk-mode { + case case_1 { + container uni { + presence "enable uni"; + description "ATM Layer 2 circuit user-to-network interface trunk mode"; + uses apply-advanced; + } + } + case case_2 { + container nni { + presence "enable nni"; + description "ATM Layer 2 circuit network-to-network interface trunk mode"; + uses apply-advanced; + } + } + } + } + } + } + } + leaf atm-cell-relay-accumulation { + description "Enable ATM cell-relay accumulation mode"; + type empty; + } + leaf mlfr-uni-nni-bundles { + description "Number of multilink Frame Relay UNI NNI (FRF.16) bundles to allocate on PIC"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf mlfr-uni-nni-bundles-inline { + description "Number of inline multilink frame relay UNI NNI bundles"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container ct3 { + description "CT3 NxDS0 PIC configuration"; + uses apply-advanced; + list port { + key name; + description "CT3 port"; + uses ct3_port_type; + } + } + container ce1 { + description "CE1 NxDS0 PIC configuration"; + uses apply-advanced; + list e1 { + key name; + description "E1 link"; + uses ce1_channel_type; + } + } + container shdsl { + description "SHDSL chassis configuration"; + uses apply-advanced; + leaf pic-mode { + description "PIC mode"; + default "2-port-atm"; + type enumeration { + enum "1-port-atm" { + description "Single port ATM, 8 wire mode"; + } + enum "2-port-atm" { + description "Two port ATM, 4 wire mode"; + } + enum "4-port-atm" { + description "Four port ATM, 2 wire mode"; + } + enum "efm" { + description "Single port EFM, 2 wire mode"; + } + } + } + } + list port-mirror-instance { + key name; + ordered-by user; + max-elements 2; + leaf name { + description "Associate a port mirroring instance with the PIC"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + list port { + key name; + description "Port number"; + uses chassis_pic_port_framing; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Physical ports to channelize"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf short-reach-mode { + description "Short reach mode (For ports 0..47)"; + type enumeration { + enum "disable" { + description "Disable"; + } + enum "enable" { + description "Enable"; + } + } + } + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G. This will restart PFE"; + } + enum "25g" { + description "Set the port speed to 25G."; + } + enum "50g" { + description "Set the port speed to 50G."; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + container fibre-channel { + description "Fibre channel configuration option"; + uses chassis_fibre_channel_type; + } + container xe { + description "Ports configurable in 10G mode"; + uses apply-advanced; + list port { + key port-number; + ordered-by user; + description "Attribute port"; + leaf port-number { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Attribute port range"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + } + container xle { + description "Ports configurable in 40G mode "; + uses apply-advanced; + list port { + key port-number; + ordered-by user; + description "Attribute port"; + leaf port-number { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Attribute port range"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + } + container fte { + description "Ports configurable in 40G HIGIG mode"; + uses apply-advanced; + list port { + key port-number; + ordered-by user; + description "Attribute port"; + leaf port-number { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Attribute port range"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + } + } + grouping ce1_channel_type { + leaf name { + description "E1 link number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + uses apply-advanced; + list channel-group { + key name; + description "Define channel group"; + leaf name { + description "Channel group number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 23"; + } + } + } + leaf timeslots { + description "DS0 timeslots (1..31); for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + } + } + grouping chassis_fibre_channel_type { + description "Fibre channel configuration option"; + uses apply-advanced; + list port { + key name; + ordered-by user; + description "Fibre channel port"; + leaf name { + description "Port number for fibre channel mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 47"; + } + } + } + uses apply-advanced; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Fibre channel port range"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 47"; + } + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 47"; + } + } + } + uses apply-advanced; + } + } + grouping chassis_pic_port_framing { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf short-reach-mode { + description "Short reach mode (For ports 0...47)"; + type enumeration { + enum "disable" { + description "Disable"; + } + enum "enable" { + description "Enable"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sonet" { + description "SONET mode"; + } + enum "sdh" { + description "SDH mode"; + } + enum "t3" { + description "T3 mode"; + } + enum "e3" { + description "E3 mode"; + } + enum "t1" { + description "T1 mode"; + } + enum "e1" { + description "E1 mode"; + } + } + } + leaf speed { + description "Port speed"; + type enumeration { + enum "oc3-stm1" { + description "OC3 or STM1"; + } + enum "oc12-stm4" { + description "OC12 or STM4"; + } + enum "oc48-stm16" { + description "OC48 or STM16"; + } + enum "1G" { + description "1GE-Gigabit Ethernet"; + } + enum "10g" { + description "Sets the interface mode to 10Gbps"; + } + enum "25g" { + description "Sets the interface mode to 25Gbps"; + } + enum "40g" { + description "Sets the interface mode to 40Gbps"; + } + enum "100g" { + description "Sets the interface mode to 100Gbps"; + } + } + } + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G. This will restart PFE on some platforms."; + } + enum "25g" { + description "Set the port speed to 25G."; + } + enum "50g" { + description "Set the port speed to 50G."; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + grouping chassis_redundancy_type { + uses apply-advanced; + list routing-engine { + key name; + description "Redundancy options for Routing Engines"; + uses chassis_rdd_re_type; + } + container failover { + description "Failover to other Routing Engine"; + uses chassis_rdd_failover_type; + } + leaf keepalive-time { + description "Time before Routing Engine failover"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + container graceful-switchover { + description "Enable graceful switchover on supported hardware"; + presence "enable graceful-switchover"; + uses chassis_non_stop_forwarding_type; + } + } + grouping chassis_non_stop_forwarding_type { + uses apply-advanced; + container traceoptions { + description "Graceful switchover trace options"; + status deprecated; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "update" { + description "Trace state updates"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping chassis_rdd_failover_type { + uses apply-advanced; + leaf on-loss-of-keepalives { + description "Failover on loss of keepalives"; + type empty; + } + leaf on-disk-failure { + description "Failover on disk failure"; + type empty; + } + leaf not-on-disk-underperform { + description "Prevent gstatd from initiating failovers in response to slow disks"; + type empty; + } + leaf disk-read-threshold { + description "Read threshold (ms) on disk underperform monitoring"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 10000"; + } + } + } + leaf disk-write-threshold { + description "Write threshold (ms) on disk underperform monitoring"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 10000"; + } + } + } + leaf on-loss-of-vm-host-connection { + description "Failover on loss of vm host connection"; + type empty; + } + } + grouping chassis_rdd_re_type { + leaf name { + description "Routing Engine slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + choice priority { + case case_1 { + leaf master { + description "Master Routing Engine"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup Routing Engine"; + type empty; + } + } + case case_3 { + leaf disabled { + description "Routing Engine disabled"; + type empty; + } + } + } + } + grouping chassis_routing_engine_type { + uses apply-advanced; + container on-disk-failure { + description "Action to take when Routing Engine disk fails"; + uses chassis_re_on_disk_failure; + } + } + grouping chassis_re_on_disk_failure { + choice reboot_or_halt { + case case_1 { + leaf reboot { + description "Reboot on disk failure"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disk-failure-action { + type enumeration { + enum "reboot" { + description "Reboot on disk failure"; + } + enum "halt" { + description "Halt on disk failure"; + } + } + } + } + } + } + grouping chassis_sib_type { + uses apply-advanced; + container power-off { + description "Power off the SIB slot"; + uses apply-advanced; + list slot { + key name; + ordered-by user; + description "SIB slot number to be powered off"; + leaf name { + description "SIB slot number to be offlined"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + } + } + } + grouping chassisd-redundancy-group-type { + uses apply-advanced; + container interface-type { + uses apply-advanced; + container redundant-logical-tunnel { + description "Redundant logical tunnel interface group"; + uses apply-advanced; + leaf device-count { + description "Number of devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container redundant-virtual-tunnel { + description "Redundant virtual tunnel interface group"; + uses apply-advanced; + leaf device-count { + description "Number of devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + } + } + grouping chassisd_agg_container_type { + uses apply-advanced; + leaf device-count { + description "Number of container devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + grouping chassisd_agg_enet_type { + uses apply-advanced; + leaf device-count { + description "Number of aggregated Ethernet devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container lacp { + description "Global Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf non-revertive { + description "Don't revert links when better priority link comes up"; + type empty; + } + } + } + } + grouping chassisd_agg_pos_type { + uses apply-advanced; + leaf device-count { + description "Number of aggregated SONET devices"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + grouping ct3_port_type { + leaf name { + description "CT3 L2NG_PRODUCTSport number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 1"; + } + } + } + uses apply-advanced; + list t1 { + key name; + description "T1 link"; + uses ct3_channel_type; + } + } + grouping ct3_channel_type { + leaf name { + description "T1 link number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 27"; + } + } + } + uses apply-advanced; + list channel-group { + key name; + description "Define channel group"; + leaf name { + description "Channel group number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf timeslots { + description "DS0 timeslots (1..24); for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + } + } + grouping juniper-protected-system-domain { + description "Protected system domain configuration"; + leaf name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Description of protected system domain"; + type string; + } + list lcc { + key name; + leaf name { + description "Specific LCC"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf-list fpcs { + description "FPC associated with protected system domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf control-system-id { + description "Control system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf-list control-slot-numbers { + ordered-by user; + description "Slots associated with protected system domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + max-elements 2; + } + leaf control-plane-bandwidth-percent { + description "Percentage of control plane bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + grouping juniper-protected-system-domain-traceoptions { + description "Protected system domain traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "rtsock" { + description "Trace rtsock messages"; + } + enum "ipc" { + description "Trace IPC messages"; + } + enum "init" { + description "Trace intialization messages"; + } + enum "psd" { + description "Trace psd messages"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping redundancy-group-type { + description "Redundancy-group provisioning"; + leaf name { + description "Redundancy-group name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf redundancy-group-id { + description "Redundancy Group ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container protocol { + description "Redundancy-group Protocol"; + uses apply-advanced; + container evpn { + description "EVPN Redundancy Group"; + uses apply-advanced; + leaf-list peer-ip { + ordered-by user; + description "Peer chassis IPs for EVPN Cluster"; + type jt:ipv4addr; + } + leaf local-ip { + description "Local chassis IP for EVPN Cluster"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Name of routing instance for EVPN Cluster"; + type string; + } + } + } + list peer-chassis-id { + key name; + ordered-by user; + description "Peer Chassis ID"; + leaf name { + description "Peer chassis identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + uses apply-advanced; + leaf no-auto-vlan-provisioning { + description "Disable auto VLAN provisioning on inter-chassis-link"; + type empty; + } + leaf inter-chassis-link { + description "ICL interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-auto-iccp-provisioning { + description "Disable auto ICCP provisioning"; + type empty; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with this peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + container liveness-detection { + presence "enable liveness-detection"; + description "Bidirectional Forwarding Detection options for the peer"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + container traceoptions { + description "Trace options for ICCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + leaf-list satellite { + ordered-by user; + description "Satellite slot-id or range or all"; + type string { + length "1 .. 100"; + } + } + leaf system-mac-address { + description "System MAC address"; + type jt:mac-unicast; + } + list cluster { + key name; + description "Cluster member of redundancy-group"; + leaf name { + description "Cluster name"; + type string; + } + uses apply-advanced; + } + } + grouping satellite-bridge-filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packets"; + type empty; + } + } + } + leaf next-hop-group { + description "Use specified next-hop group"; + type string; + } + } + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping upgrade-group-type { + description "Upgrade group"; + leaf name { + description "Upgrade group name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf-list satellite { + ordered-by user; + description "Satellite slot-id or range or all"; + type string { + length "1 .. 100"; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-class-of-service@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-class-of-service@2019-01-01.yang new file mode 100644 index 00000000..5f90d0c2 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-class-of-service@2019-01-01.yang @@ -0,0 +1,3780 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-class-of-service { + namespace "http://yang.juniper.net/junos-qfx/conf/class-of-service"; + + prefix jc-class-of-service; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos class-of-service configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses class-of-service-group; + } + augment /jc:configuration/jc:groups { + uses class-of-service-group; + } + grouping class-of-service-group { + container class-of-service { + description "Class-of-service configuration"; + uses juniper-class-of-service-options; + } + } + grouping juniper-class-of-service-options { + uses apply-advanced; + container forwarding-policy { + description "Class-of-service forwarding policy"; + uses apply-advanced; + list next-hop-map { + key name; + ordered-by user; + description "Class-of-service next-hop map"; + leaf name { + description "Name to identify next-hop map"; + type string { + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class from which to map"; + leaf name { + description "Forwarding class"; + type string { + } + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + container forwarding-class-default { + description "Next Hop For traffic which does not meet any FC in the next-hop-map"; + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + } + list class { + key name; + ordered-by user; + description "Class-of-service description"; + leaf name { + description "Name to identify class of service"; + type string { + } + } + uses apply-advanced; + container classification-override { + description "Define classification overrides"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + } + } + } + container classifiers { + description "Classify incoming packets based on code point value"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + } + container code-point-aliases { + description "Mapping of code point aliases to bit strings"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point aliases"; + leaf name { + description "DSCP alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point aliases IPv6"; + leaf name { + description "DSCP IPv6 alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP code point aliases"; + leaf name { + description "EXP alias name"; + type string { + } + } + leaf bits { + description "EXP 3-bit pattern"; + type string { + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 code point aliases"; + leaf name { + description "IEEE-802.1 alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1 3-bit pattern"; + type string { + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence code point aliases"; + leaf name { + description "IPv4 precedence alias name"; + type string { + } + } + leaf bits { + description "IPv4 precedence 3-bit pattern"; + type string { + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) code point aliases"; + leaf name { + description "IEEE-802.1ad (DEI) alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1ad (DEI) 4-bit pattern"; + type string { + } + } + } + } + container host-outbound-traffic { + description "Classify and mark host traffic to forwarding engine"; + uses apply-advanced; + leaf forwarding-class { + description "Classification of host traffic to forwarding engine"; + type string { + length "1 .. 64"; + } + } + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + leaf override-firewall { + description "Override firewall filter actions for RE generated traffic"; + type empty; + } + container tcp { + presence "enable tcp"; + description "Settings for host outbound TCP packets"; + uses apply-advanced; + leaf raise-internet-control-priority { + description "Place packets with IP Precedence set to Internet control into Q3 (network-control)"; + type empty; + } + } + container protocol { + description "Settings for specific host outbound protocol packets"; + uses apply-advanced; + container isis-over-gre { + description "Settings for ISIS over GRE packets"; + uses apply-advanced; + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + } + } + } + list drop-profiles { + key name; + ordered-by user; + description "Random Early Drop (RED) data point map"; + leaf name { + description "Drop profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list fill-level { + key name; + ordered-by user; + description "Fill-level value of data point"; + leaf name { + description "Percentage the queue is full"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf drop-probability { + description "Probability packet will be dropped"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container interpolate { + description "Data points interpolated"; + uses apply-advanced; + leaf-list fill-level { + ordered-by user; + description "Data points for queue full percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf-list drop-probability { + ordered-by user; + description "Data points for packet drop probability"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + leaf tri-color { + description "Enable tricolor marking"; + type empty; + } + container shared-buffer { + description "Shared buffer configuration"; + uses apply-advanced; + leaf percent { + description "Percentage of shared buffer to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + container ingress { + description "Shared buffer configuration at ingress"; + uses apply-advanced; + leaf percent { + description "Percentage of shared buffer to be used at ingress"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + list buffer-partition { + key name; + ordered-by user; + description "Buffer-partition"; + leaf name { + description "Buffer-partition name"; + type string { + } + } + uses apply-advanced; + leaf percent { + description "Percentage of ingress shared buffer to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf dynamic-threshold { + description "Threshold for maximum buffer share for a queue at ingress buffer-partition"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + } + container egress { + description "Shared buffer configuration at egress"; + uses apply-advanced; + leaf percent { + description "Percentage of shared buffer to be used at egress"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + list buffer-partition { + key name; + ordered-by user; + description "Buffer-partition"; + leaf name { + description "Buffer-partition name"; + type string { + } + } + uses apply-advanced; + leaf percent { + description "Percentage of egress shared buffer to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf dynamic-threshold { + description "Threshold for maximum buffer share for a queue at egress buffer-partition"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + } + } + container forwarding-classes { + description "One or more mappings of forwarding class to queue number"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class to map to queue number"; + max-elements 16; + leaf name { + description "Name of forwarding class"; + type string { + length "1 .. 64"; + } + } + leaf queue-num { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Low fabric priority"; + } + enum "high" { + description "High fabric priority"; + } + } + } + leaf no-loss { + description "This is no traffic loss class"; + type empty; + } + leaf pfc-priority { + description "PFC priority (FC id's)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + list queue { + key name; + ordered-by user; + description "Queue number to map to forwarding class"; + leaf name { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf class-name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Fabric priority low"; + } + enum "high" { + description "Fabric priority high"; + } + } + } + } + } + list traffic-control-profiles { + key name; + ordered-by user; + description "Traffic shaping and scheduling profiles"; + leaf name { + description "Traffic control profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf scheduler-map { + description "Mapping of forwarding classes to packet schedulers"; + type string { + length "1 .. 64"; + } + } + leaf atm-service { + description "ATM service category"; + type enumeration { + enum "cbr" { + description "Constant bit rate"; + } + enum "rtvbr" { + description "Real-time variable bit rate"; + } + enum "nrtvbr" { + description "Non-real-time variable bit rate"; + } + } + } + leaf peak-rate { + description "ATM Peak Cell Rate (PCR)"; + units "cps"; + type string; + } + leaf sustained-rate { + description "ATM Sustained Cell Rate (SCR)"; + units "cps"; + type string; + } + leaf max-burst-size { + description "ATM Maximum Burst Size (MBS)"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "1 .. 4000"; + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container overhead-accounting { + description "Overhead accounting"; + leaf mode { + type string { + length "1 .. 64"; + } + } + leaf bytes { + description "Byte adjust value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf frame-mode-bytes { + description "Overhead bytes when in frame-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf cell-mode-bytes { + description "Overhead bytes when in cell-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + } + container shaping-rate-priority-strict-high { + description "Shaping rate for strict high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-high { + description "Shaping rate for high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium { + description "Shaping rate for medium priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium-low { + description "Shaping rate for medium low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-low { + description "Shaping rate for low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-high { + description "Shaping rate for excess high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-low { + description "Shaping rate for excess low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-high { + description "Shaping rate for excess medium-high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-low { + description "Shaping rate for excess medium-low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container guaranteed-rate { + description "Guaranteed rate"; + choice guaranteed_rate_choice { + case case_1 { + leaf rate { + description "Guaranteed rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Guaranteed rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate { + description "Excess bandwidth sharing proportion"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-high { + description "Excess bandwidth sharing for excess-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-high { + description "Excess bandwidth sharing for excess-medium-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-low { + description "Excess bandwidth sharing for excess-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-low { + description "Excess bandwidth sharing for excess-medium-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + choice delay_buffer_sizing { + case case_1 { + container delay-buffer-rate { + description "Delay buffer rate"; + choice delay_buffer_rate_choice { + case case_1 { + leaf rate { + description "Delay buffer rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Delay buffer rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_3 { + leaf cps { + description "Delay buffer rate as an absolute cells per second rate"; + units "cells per second"; + type string; + } + } + } + } + } + } + } + list forwarding-class-sets { + key name; + ordered-by user; + description "Forwarding class sets"; + leaf name { + description "Forwarding class set"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + description "Class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + } + list congestion-notification-profile { + key name; + ordered-by user; + description "Congestion notification profile"; + leaf name { + description "Congestion notification name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container input { + description "Input congestion notification components"; + uses apply-advanced; + leaf cable-length { + description "Length of cable in metre"; + units "metre"; + type string; + } + container ieee-802.1 { + description "IEEE 802.1 code point"; + uses apply-advanced; + list code-point { + key name; + ordered-by user; + description "IEEE 802.1 code point"; + max-elements 8; + leaf name { + description "IEEE 802.1 code point"; + type string { + } + } + uses apply-advanced; + leaf pfc { + description "PFC"; + type empty; + } + leaf mru { + description "Max Receive Size of packet for this code point"; + units "bytes"; + type string; + } + choice qfc-control { + case case_1 { + leaf qfc { + description "QFC"; + type empty; + } + } + case case_2 { + container qcn { + presence "enable qcn"; + description "QCN"; + uses apply-advanced; + container defense-mode-edge { + description "Choose the defense mode edge"; + uses apply-advanced; + container alternate-priority { + description "Choose the alternate priority for defense mode edge"; + uses apply-advanced; + leaf bits { + description "IEEE 802.1 code point"; + type string { + } + } + } + } + } + } + } + } + } + container dscp { + description "DSCP code point"; + uses apply-advanced; + list code-point { + key name; + ordered-by user; + description "DSCP code point"; + max-elements 64; + leaf name { + description "DSCP code point"; + type string { + } + } + uses apply-advanced; + leaf pfc { + description "PFC"; + type empty; + } + leaf mru { + description "Max Receive Size of packet for this code point"; + units "bytes"; + type string; + } + } + } + } + container output { + description "Output congestion notification components"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + max-elements 16; + leaf name { + description "Class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf remove-cntag { + description "Remove cntag for this forwarding class"; + type empty; + } + leaf qcn { + description "Enabling Quantized Congestion Notification for this forwarding class"; + type empty; + } + } + container ieee-802.1 { + description "IEEE 802.1 code point"; + uses apply-advanced; + list code-point { + key name; + ordered-by user; + description "IEEE 802.1 code point"; + max-elements 8; + leaf name { + description "IEEE 802.1 code point"; + type string { + } + } + uses apply-advanced; + leaf-list flow-control-queue { + ordered-by user; + description "Flow control queue( set of queues)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + } + } + list scheduler-map-forwarding-class-sets { + key name; + ordered-by user; + description "Mapping of forwarding class sets to packet schedulers"; + leaf name { + description "Scheduler map forwarding class set name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class-set { + key name; + ordered-by user; + description "Forwarding class set name to map to scheduler"; + leaf name { + description "Forwarding class set name"; + type string { + length "1 .. 64"; + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + container system-defaults { + description "System defaults"; + uses apply-advanced; + container classifiers { + description "System wide Classifiers applied to incoming packets"; + uses apply-advanced; + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + } + container interfaces { + description "Apply class-of-service options to interfaces"; + uses apply-advanced; + list interface { + key name; + uses cos_interfaces_type; + } + } + list routing-instances { + key name; + ordered-by user; + description "Apply CoS options to routing instances with VRF table label"; + leaf name { + description "Routing instance name (or wildcard)"; + type string { + } + } + uses apply-advanced; + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container dscp { + description "Differentiated Services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container dscp-ipv6 { + description "Differentiated Services code point classifier IPv6"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + } + container rewrite-rules { + description "Write code point value of outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + } + container fabric { + description "Define CoS parameters of switch fabric"; + uses apply-advanced; + container scheduler-map { + description "Mapping of fabric traffic to packet schedulers"; + uses apply-advanced; + list priority { + key name; + ordered-by user; + description "Fabric traffic priority"; + leaf name { + type enumeration { + enum "low" { + description "Low priority fabric traffic"; + } + enum "high" { + description "High priority fabric traffic"; + } + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "Mapping of forwarding classes to packet schedulers"; + leaf name { + description "Scheduler map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to scheduler"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + list fragmentation-maps { + key name; + ordered-by user; + description "Mapping of forwarding class to fragmentation options"; + leaf name { + description "Fragmentation map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to fragmentation options"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice fragmentation-control { + case case_1 { + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 9192"; + } + } + } + } + case case_2 { + leaf no-fragmentation { + description "Don't allow fragmentation"; + type empty; + } + } + } + leaf multilink-class { + description "Multilink-Class assigned to the forwarding class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + } + } + list schedulers { + key name; + ordered-by user; + description "Packet schedulers"; + leaf name { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container transmit-rate { + description "Transmit rate"; + uses apply-advanced; + choice transmit_rate_choice { + case case_1 { + leaf rate { + description "Transmit rate as rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Transmit rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_3 { + container remainder { + presence "enable remainder"; + description "Remainder available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + choice rate_limit_choice { + case case_1 { + leaf exact { + description "Enforce exact transmit rate"; + type empty; + } + } + case case_2 { + leaf rate-limit { + description "Enforce rate limit that uses policer"; + type empty; + } + } + } + } + container excess-rate { + description "Excess bandwidth sharing proportion"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container buffer-size { + description "Queue transmission buffer size"; + uses apply-advanced; + choice buffer_size_choice { + case case_1 { + leaf percent { + description "Buffer size as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + case case_2 { + container remainder { + presence "enable remainder"; + description "Remainder of buffer size available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + case case_3 { + } + case case_4 { + } + } + choice buffer_limit { + case case_1 { + leaf exact { + description "Enforce exact buffer size"; + type empty; + } + } + } + container buffer-partition { + presence "enable buffer-partition"; + description "Partition buffer size among multicast and unicast"; + uses apply-advanced; + container multicast { + presence "enable multicast"; + description "Specify multicast fraction of reserved buffer"; + uses apply-advanced; + leaf percent { + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + leaf priority { + description "Scheduling priority"; + type string { + length "1 .. 64"; + } + } + leaf excess-priority { + description "Priority in the excess region"; + type string { + length "1 .. 64"; + } + } + list drop-profile-map { + key "loss-priority protocol"; + ordered-by user; + description "Assign drop profile to a loss priority and protocol"; + leaf loss-priority { + description "Loss priority value"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + enum "any" { + description "Ignore loss priority when assigning drop profile"; + } + } + } + leaf protocol { + description "Protocol type"; + type enumeration { + enum "tcp" { + description "TCP protocol only"; + } + enum "non-tcp" { + description "Non-TCP protocols only"; + } + enum "any" { + description "Ignore protocol type when assigning drop profile"; + } + } + } + leaf drop-profile { + description "Name of drop profile to apply"; + type string { + length "1 .. 64"; + } + } + } + leaf explicit-congestion-notification { + description "Enable or Disable Explicit Congestion Notification"; + type empty; + } + container drop-profile-map-set { + presence "enable drop-profile-map-set"; + description "System drop profile"; + uses apply-advanced; + leaf profile-name { + description "Drop Profile Name"; + type string { + length "1 .. 64"; + } + } + leaf profile-type { + type enumeration { + enum "drop" { + description "Set drop type"; + } + enum "mark" { + description "Set ECN marking"; + } + } + } + } + } + container traceoptions { + description "Trace options for class-of-service process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace configuration processing"; + } + enum "util" { + description "Trace utilities"; + } + enum "restart" { + description "Trace restart processing"; + } + enum "snmp" { + description "Trace SNMP-related processing"; + } + enum "hardware-database" { + description "Trace chassis hardware database related processing"; + } + enum "asynch" { + description "Trace asynchronous configuration processing"; + } + enum "dynamic" { + description "Trace dynamic CoS functions"; + } + enum "cos-adjustment" { + description "Trace CoS rate adjustments"; + } + enum "performance-monitor" { + description "Trace performance monitor counters"; + } + enum "chassis-scheduler" { + description "Trace chassis stream scheduler processing"; + } + enum "cn-util" { + description "Trace utilities for congestion-notification"; + } + enum "snmp-timeouts" { + description "Trace SNMP COSD kernel timeouts"; + } + enum "all" { + description "Trace everything"; + } + enum "feature-capability" { + description "Trace feature capability"; + } + enum "application" { + description "Trace Junos application programming"; + } + } + } + } + } + container multi-destination { + description "Multicast class of service"; + uses apply-advanced; + leaf scheduler-map { + description "Scheduler map for multi destination"; + type string { + length "1 .. 64"; + } + } + container family { + description "Family Inet/Inet6/Ethernet"; + uses apply-advanced; + container ethernet { + description "Ethernet switching options"; + uses apply-advanced; + leaf broadcast { + description "Forwarding class to be applied to broadcast"; + type string { + length "1 .. 64"; + } + } + } + container inet { + description "IP Multicast"; + uses apply-advanced; + container classifier { + description "Classifier applied to ip-multicast"; + uses apply-advanced; + container dscp { + description "Differentiated Services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + } + container inet6 { + description "IPv6 Multicast"; + uses apply-advanced; + container classifier { + description "Classifier applied to ipv6-multicast"; + uses apply-advanced; + container dscp-ipv6 { + description "Differentiated Services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + } + } + container classifiers { + description "Classifier applied to multicast traffic"; + uses apply-advanced; + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp { + description "Differentiated services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp-ipv6 { + description "Differentiated services code point classifier IPv6"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + leaf forwarding-class { + description "Forwarding class assigned to incoming Multi-destination packets"; + type string { + } + } + } + container application-traffic-control { + presence "enable application-traffic-control"; + description "Application classifier configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for application classifier"; + uses appqos-traceoptions-type; + } + list rate-limiters { + key name; + ordered-by user; + description "Configure application-traffic-control rate limiters"; + leaf name { + description "Application classifier rate-limiter name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf bandwidth-limit { + description "Bandwidth limit"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 10485760"; + } + } + } + leaf burst-size-limit { + description "Burst size limit (default with bandwidth-limit and no larger than 6400 * bandwidth)"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1342177280"; + } + } + } + } + list rule-sets { + key name; + ordered-by user; + description "Configure application-traffic-control rule-sets"; + leaf name { + description "Application classifier rule-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule"; + uses appqos_rule_type; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping appqos-traceoptions-type { + description "Trace options for application classifier"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping appqos_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + description "Specify application traffic control rule match-criteria"; + uses apply-advanced; + leaf application-any { + description "Any applications"; + type empty; + } + leaf application-unknown { + description "Uknown applcations"; + status deprecated; + type empty; + } + leaf application-known { + description "Identifiable applications"; + type empty; + } + leaf-list application { + ordered-by user; + description "Specify application name to match"; + type string { + length "1 .. 63"; + } + } + leaf-list application-group { + ordered-by user; + description "Specify application group name to match"; + type string { + length "1 .. 63"; + } + } + } + container then { + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "DSCP code point bitmap or alias"; + type string { + } + } + leaf loss-priority { + description "Packet loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + container rate-limit { + description "Apply rate limiters"; + uses apply-advanced; + leaf client-to-server { + description "Client-to-server rate limiter"; + type string; + } + leaf server-to-client { + description "Server-to-client rate limiter"; + type string; + } + leaf loss-priority-high { + description "Set Rate limiter's action Loss-Priority to high"; + type empty; + } + } + leaf log { + description "Log the action"; + type empty; + } + } + } + grouping cos_interfaces_type { + description "Physical interface"; + leaf name { + description "Interface name (or wildcard)"; + type union { + type jt:interface-device-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list forwarding-class-set { + key name; + ordered-by user; + description "Map forwarding class sets to output traffic control profile"; + max-elements 4; + leaf name { + description "Forwarding class sets name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container output-traffic-control-profile { + description "Output traffic control profile for the interface"; + leaf profile-name { + description "Name of the output traffic control profile associated with the interface"; + type string { + length "1 .. 64"; + } + } + } + } + leaf congestion-notification-profile { + description "Congestion notification profile for the interface"; + type string { + length "1 .. 64"; + } + } + container rewrite-value { + description "FC interface rewrite value"; + uses apply-advanced; + container input { + description "Input direction"; + uses apply-advanced; + container ieee-802.1 { + description "IEEE 802.1 code point"; + uses apply-advanced; + container code-point { + description "IEEE 802.1 code point"; + uses apply-advanced; + leaf bits { + description "IEEE 802.1 code point"; + type string { + } + } + } + } + } + } + leaf scheduler-map-forwarding-class-set { + description "Output scheduler map forwarding-class-set "; + type string { + } + } + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf input-scheduler-map { + description "Input scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf scheduler-map-chassis { + description "Scheduler map applied to chassis queues (not PIC queues)"; + type union { + type string { + pattern "derived"; + } + type string { + length "1 .. 64"; + } + } + } + container shaping-rate { + description "Output shaping rate"; + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + container input-shaping-rate { + description "Input shaping rate"; + leaf rate { + description "Input shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container input-traffic-control-profile-remaining { + description "Input traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container member-link-scheduler { + description "Scheduler parameter model for member link"; + choice model { + case case_1 { + leaf scale { + description "Scale scheduler parameters on aggregate interface"; + type empty; + } + } + case case_2 { + leaf replicate { + description "Copy scheduler parameters from aggregate interface"; + type empty; + } + } + } + } + container exclude-queue-overhead-bytes { + presence "enable exclude-queue-overhead-bytes"; + description "Exclude the overhead bytes from the queue statistics"; + uses apply-advanced; + leaf include-hierarchy { + description "Perform overhead adjustment on IFD and all children"; + type empty; + } + } + container logical-interface-aggregate-statistics { + presence "enable logical-interface-aggregate-statistics"; + description "Logical interface aggregate queue statistics"; + } + list unit { + key name; + description "Logical interface unit (or wildcard)"; + leaf name { + description "Logical unit number"; + type union { + type string { + pattern "\*"; + } + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + } + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class assigned to incoming packets"; + type string { + length "1 .. 64"; + } + } + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf input-scheduler-map { + description "Input scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf fragmentation-map { + description "Fragmentation map applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + presence "enable shaping-rate"; + description "Output shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + container input-shaping-rate { + description "Input shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifl"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + } + } + } + container report-ingress-shaping-rate { + description "Report ingress shaping rate"; + choice report_ingress_shaping_rate_choice { + case case_1 { + leaf rate { + description "Ingress shaping rate as an absolute value"; + units "bits per second"; + type string; + } + } + } + } + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP classifier"; + type string; + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP Ipv6 classifier"; + type string; + } + } + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container rewrite-rules { + description "Rewrite rules applied to outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv6 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + } + } + } + list exp { + key name; + ordered-by user; + description "EXP rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls-any" { + description "Apply to MPLS packets, write MPLS header only"; + } + enum "mpls-inet-both" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header"; + } + enum "mpls-inet-both-non-vpn" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header for only non VPN traffic"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) rewrite rule"; + uses apply-advanced; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + } + } + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + } + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "VLAN tag used for classification"; + type enumeration { + enum "outer" { + description "Classification based on outer VLAN tag"; + } + enum "inner" { + description "Classification based on inner VLAN tag"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "VLAN tag used for classification"; + type enumeration { + enum "outer" { + description "Classification based on outer VLAN tag"; + } + enum "inner" { + description "Classification based on inner VLAN tag"; + } + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + leaf forwarding-class { + description "Forwarding class assigned to incoming packets"; + type string { + } + } + container rewrite-rules { + description "Rewrite rules applied to outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) rewrite rule"; + uses apply-advanced; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container multi-destination { + description "Multi-destination class of service"; + uses apply-advanced; + container classifiers { + description "Classifier applied to multi-destination traffic"; + uses apply-advanced; + container ieee-802.1 { + description "IEEE-802.1P classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp { + description "Differentiated services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp-ipv6 { + description "Differentiated services code point classifier IPv6"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + leaf forwarding-class { + description "Forwarding class assigned to incoming Multi-destination packets"; + type string { + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-diameter@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-diameter@2019-01-01.yang new file mode 100644 index 00000000..07d01c9c --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-diameter@2019-01-01.yang @@ -0,0 +1,394 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-diameter { + namespace "http://yang.juniper.net/junos-qfx/conf/diameter"; + + prefix jc-diameter; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos diameter configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses diameter-group; + } + augment /jc:configuration/jc:groups { + uses diameter-group; + } + grouping diameter-group { + container diameter { + presence "enable diameter"; + description "Diameter protocol layer"; + uses apply-advanced; + container origin { + presence "enable origin"; + description "Origin attributes of this diameter instance"; + uses apply-advanced; + leaf realm { + description "Origin realm of this diameter instance"; + type string { + length "1 .. 255"; + } + } + leaf host { + description "Origin host of this diameter instance"; + type string { + length "1 .. 255"; + } + } + } + list network-element { + key name; + ordered-by user; + description "Network element of this diameter instance"; + leaf name { + description "Name for this network element"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + container dne-origin { + presence "enable dne-origin"; + description "Optional origin filter of this networkd element"; + uses apply-advanced; + leaf realm { + description "Origin realm of this network element"; + type string { + length "1 .. 255"; + } + } + leaf host { + description "Optional origin host of this network element"; + type string { + length "1 .. 255"; + } + } + } + leaf-list function { + ordered-by user; + description "Diameter function associated with by this network element"; + type enumeration { + enum "jsrc" { + description "Function to use SRC application"; + } + enum "gx-plus" { + description "Function to use GX-PLUS application"; + } + enum "sd-3gpp" { + description "Function to use SD-3GPP application"; + } + enum "nasreq" { + description "Function to use NASREQ application"; + } + enum "pcrf" { + description "Function to use PCRF(GX) application"; + } + enum "ocs" { + description "Function to use OCS(GY) application"; + } + } + max-elements 8; + } + list peer { + key name; + ordered-by user; + description "Peer associated with this network element"; + leaf name { + description "Name of a peer associated with this network element"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf priority { + description "Peer priority with this network element"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container forwarding { + description "Forwarding configuration for this network-element"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Routes associated with this network-element"; + max-elements 256; + leaf name { + description "Name of a route associated with this network element"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + container function { + description "Diameter function and partition associated with route"; + leaf function-name { + type enumeration { + enum "jsrc" { + description "Function to use SRC application"; + } + enum "gx-plus" { + description "Function to use GX-PLUS application"; + } + enum "sd-3gpp" { + description "Function to use SD-3GPP application"; + } + enum "nasreq" { + description "Function to use NASREQ application"; + } + enum "pcrf" { + description "Function to use PCRF(GX) application"; + } + enum "ocs" { + description "Function to use OCS(GY) application"; + } + } + } + leaf partition { + description "Diameter function partition name"; + type string { + length "1 .. 255"; + } + } + } + container destination { + description "Destination for this route"; + leaf realm { + description "Diameter destination realm"; + type string { + length "1 .. 255"; + } + } + leaf host { + description "Diameter destination host"; + type string { + length "1 .. 255"; + } + } + } + leaf metric { + description "Metric for this route"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + list transport { + key name; + ordered-by user; + description "Diameter transport configuration"; + max-elements 31; + leaf name { + description "Name for this transport definition"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf address { + description "Source IP address for a peer"; + type jt:ipaddr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system to be used by transport"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance to be used by transport"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list peer { + key name; + ordered-by user; + description "Diameter peer configuration"; + max-elements 31; + leaf name { + description "Name for this Diameter peer"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf address { + description "IP Address of Diameter peer"; + type jt:ipaddr; + } + leaf send-origin-state-id { + description "Include origin-state-id in peer messages"; + type empty; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system to be used by transport"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance to be used by transport"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + container connect-actively { + presence "enable connect-actively"; + uses apply-advanced; + leaf transport { + description "Name of transport"; + type string { + length "1 .. 255"; + } + } + leaf port { + description "Peer port"; + default "3868"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container peer-origin { + presence "enable peer-origin"; + description "Optional origin attributes of this diameter peer"; + uses apply-advanced; + leaf realm { + description "Origin realm of this diameter peer"; + type string { + length "1 .. 255"; + } + } + leaf host { + description "Origin host of this diameter peer"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-dynamic-profiles@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-dynamic-profiles@2019-01-01.yang new file mode 100644 index 00000000..e4c42efc --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-dynamic-profiles@2019-01-01.yang @@ -0,0 +1,49119 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-dynamic-profiles { + namespace "http://yang.juniper.net/junos-qfx/conf/dynamic-profiles"; + + prefix jc-dynamic-profiles; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos dynamic-profiles configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses dynamic-profiles-group; + } + augment /jc:configuration/jc:groups { + uses dynamic-profiles-group; + } + grouping dynamic-profiles-group { + list dynamic-profiles { + key name; + ordered-by user; + description "Dynamic profiles configuration"; + uses juniper-dynamic-profile-object; + } + } + grouping juniper-dynamic-profile-object { + leaf name { + description "Name for dynamic profile"; + type string { + length "1 .. 80"; + } + } + uses apply-advanced; + list variables { + key name; + ordered-by user; + description "Dynamic variable configuration"; + uses juniper-dynamic-variable-object; + } + container predefined-variable-defaults { + description "Assign default values to predefined variables"; + uses apply-advanced; + container cos-excess-rate { + description "Default for junos-cos-excess-rate"; + uses apply-advanced; + leaf proportion { + description "Excess rate as proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf percent { + description "Excess rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container cos-excess-rate-high { + description "Default for junos-cos-excess-rate-high"; + uses apply-advanced; + leaf proportion { + description "Excess rate as proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf percent { + description "Excess rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container cos-excess-rate-low { + description "Default for junos-cos-excess-rate-low"; + uses apply-advanced; + leaf proportion { + description "Excess rate as proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf percent { + description "Excess rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container cos-scheduler-tx { + description "Default for junos-cos-scheduler-tx"; + uses apply-advanced; + leaf rate { + description "Transmit rate as rate"; + type string; + } + leaf percent { + description "Transmit rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container cos-scheduler-bs { + description "Default for junos-cos-scheduler-bs"; + uses apply-advanced; + leaf percent { + description "Buffer size as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf temporal { + description "Buffer size as temporal"; + units "microseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container cos-scheduler-shaping-rate { + description "Default for junos-cos-scheduler-shaping-rate"; + uses apply-advanced; + leaf rate { + description "Shaping rate as rate"; + units "bits per second"; + type string; + } + leaf percent { + description "Shaping rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list other-variables { + key name; + ordered-by user; + uses base-default-variable-object; + } + } + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + ordered-by user; + leaf name { + type enumeration { + enum "$junos-routing-instance" { + description "Dynamic profile routing instance name"; + } + } + } + uses apply-advanced; + list interface { + key name; + description "Interface name for this routing instance"; + leaf name { + type string; + } + uses apply-advanced; + choice mode { + case case_1 { + leaf any { + description "Interface used for both unicast and multicast traffic"; + type empty; + } + } + case case_2 { + leaf unicast { + description "Interface used for unicast traffic only"; + type empty; + } + } + case case_3 { + leaf multicast { + description "Interface used for multicast traffic only"; + type empty; + } + } + } + leaf primary { + description "Preferred multicast vt interface for the routing-instance"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses apply-advanced; + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + container stream-protection { + presence "enable stream-protection"; + description "Multicast only Fast Re-Route"; + uses apply-advanced; + leaf mofrr-primary-path-selection-by-routing { + description "Multicast only Fast Re-Route primary path by Routing"; + type empty; + } + leaf mofrr-disjoint-upstream-only { + description "Multicast only Fast Re-Route disjoint upstream only"; + type empty; + } + leaf mofrr-no-backup-join { + description "Multicast only Fast Re-Route no backup join"; + type empty; + } + leaf mofrr-asm-starg { + description "Multicast only Fast Re-Route asm (*,G)"; + type empty; + } + leaf-list policy { + ordered-by user; + description "MoFRR Policy"; + type jt:policy-algebra; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + } + } + } + container interfaces { + description "Interface configuration"; + uses apply-advanced; + list interface-set { + key name; + ordered-by user; + description "Logical interface set configuration"; + leaf name { + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "One or more interfaces that belong to interface set"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list unit { + key name; + description "One or more logical interface unit numbers"; + leaf name { + description "Unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + uses apply-advanced; + } + list vlan-tags-outer { + key name; + description "One or more outer VLAN tags"; + leaf name { + description "VLAN tag ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + } + container traceoptions { + description "Interface trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Enable all configuration logging"; + } + enum "kernel" { + description "Log configuration IPC messages to kernel"; + } + enum "change-events" { + description "Log changes that produce configuration events"; + } + enum "kernel-detail" { + description "Log details of configuration messages to kernel"; + } + enum "config-states" { + description "Log the configuration state machine changes"; + } + enum "resource-usage" { + description "Log the resource usage for different states"; + } + enum "gres-events" { + description "Log the events related to GRES "; + } + enum "select-events" { + description "Log the events on select state machine "; + } + enum "bfd-events" { + description "Log BFD related events"; + } + enum "lib-events" { + description "Log DCD library related events"; + } + enum "reserved" { + description "Reserved DCD logs"; + } + enum "emergency" { + description "Log DCD emergency events"; + } + enum "alert" { + description "Log DCD alert events"; + } + enum "critical" { + description "Log DCD critical events"; + } + enum "error" { + description "Log DCD error events"; + } + enum "warning" { + description "Log DCD warning events"; + } + enum "notice" { + description "Log DCD notification events"; + } + enum "informational" { + description "Log DCD informations"; + } + enum "debugging" { + description "Log DCD debug events"; + } + enum "verbose" { + description "Log DCD debug all events"; + } + enum "japi" { + description "Log DCD JAPI events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list interface-range { + key name; + ordered-by user; + description "Interface ranges configuration"; + leaf name { + description "Interface-range name"; + type string { + length "1 .. 128"; + } + } + list member { + key name; + ordered-by user; + description "Interfaces belonging to the interface range"; + leaf name { + description "Member interface name"; + type union { + type jt:interface-range-wild; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list member-range { + key name; + ordered-by user; + description "Interfaces range in to format"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf end-range { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + leaf shared-scheduler { + description "Enabled shared queuing on an IQ2 interface"; + type empty; + } + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf cascade-port { + description "Cascade port"; + type empty; + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + } + } + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container esi { + description "ESI configuration of multi-homed interface"; + uses apply-advanced; + leaf identifier { + description "ESI value for the interface"; + type jt:esi; + } + choice mode { + case case_1 { + leaf single-active { + description "Single-active mode"; + type empty; + } + } + case case_2 { + leaf all-active { + description "All-active mode"; + type empty; + } + } + } + leaf source-bmac { + description "Unicast Source B-MAC address per ESI for PBB-EVPN"; + type jt:mac-unicast; + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container sonet-options { + description "SONET interface-specific options"; + uses sonet_options_type; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container redundancy-options { + description "Redundancy options"; + uses apply-advanced; + leaf primary { + description "Specify the primary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secondary { + description "Specify the secondary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container redundancy-peer { + description "Specify information for peer"; + uses apply-advanced; + leaf ipaddress { + description "Specify the IP address"; + type jt:ipv4addr; + } + } + container redundancy-local { + description "Specify information for the local peer"; + uses apply-advanced; + leaf data-address { + description "Specify the HA local data IP address"; + type jt:ipv4addr; + } + } + leaf routing-instance { + description "Specify routing-instance for the HA traffic"; + type string; + } + leaf replication-threshold { + description "Duration for which flow should remain active for replication"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 3600"; + } + } + } + container replication-options { + description "Specify state replication attributes"; + uses apply-advanced; + leaf mtu { + description "Specify the maximal packet size for replicated data"; + default "1500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 8000"; + } + } + } + } + container replicate-services { + description "Replicate services state from active to backup"; + uses apply-advanced; + leaf pgcp { + description "Replicate the PGCP service state"; + type empty; + } + } + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + leaf arp-l2-validate { + description "Validate ARP against L2"; + type empty; + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + container link-protection-sub-group { + description "Link Protection subgroup configuration"; + uses apply-advanced; + leaf subgroup-name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + } + leaf port-priority { + description "Link protection Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + leaf local-minimum-links-threshold { + description "Specify threshold for minimum links per VC/VCF member"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf resilient-hash { + description "Turn on resilient-hash"; + type empty; + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container hold-time { + description "Hold time for link up and link down for AE link members"; + leaf up { + description "Link up hold time for the AE link members"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + } + leaf aggregate-wait-time { + description "Aggregate wait time for the AE"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 1800"; + } + } + } + leaf force-up { + description "Forceup AE interface with LACP"; + type empty; + } + leaf no-peer-loopback-validation { + description "Skip MCLAG peer loop back validation for LACP PDUs on Forceup AE interface"; + type empty; + } + } + list link-protection-sub-group { + key name; + ordered-by user; + description "Link Protection subgroup configuration"; + leaf name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + choice type { + case case_1 { + leaf primary { + description "Primary subgroup for N:N link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup subgroup for N:N link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf init-delay-time { + description "Init delay timer for mcae sm for min traffic loss"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf recovery-delay-time { + description "Delay timer for bringing up ICL, ICCP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf enhanced-convergence { + description "Optimized convergence time for mcae"; + type empty; + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf alias { + description "Interface alias"; + type string; + } + leaf enhanced-convergence { + description "Optimize convergence time for L3"; + type empty; + } + leaf proxy-macip-advertisement { + description "Proxy advertisement of type 2 MAC+IP route for EVPN"; + type empty; + } + leaf virtual-gateway-accept-data { + description "Accept packets destined for virtual gateway address"; + type empty; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + leaf global-layer2-domainid { + description "Global Layer-2 Identifier for this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4094"; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container layer2-policer { + description "Layer2 policing for logical interface"; + uses apply-advanced; + choice layer2-input-policer-choice { + case case_1 { + leaf input-policer { + description "Two-color policer for received packets"; + type string; + } + } + case case_2 { + } + case case_3 { + leaf input-three-color { + description "Color-blind three-color policer for received packets"; + type string; + } + } + } + choice layer2-output-policer-choice { + case case_1 { + leaf output-policer { + description "Two-color policer for transmitted packets"; + type string; + } + } + case case_2 { + leaf output-three-color { + description "Three-color policer for transmitted packets"; + type string; + } + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + presence "enable dhcp"; + description "Configure DHCP Client"; + uses apply-advanced; + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf lease-time { + description "Default lease time requested in "; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 6"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server "; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string; + } + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-labels { + description "Protocol family maximum number of labels"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf mac { + description "Configure logical interface MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + } + list interface { + key name; + uses interfaces_type; + } + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container igmp { + presence "enable igmp"; + description "IGMP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IGMP on this interface"; + type empty; + } + } + } + leaf version { + description "Set IGMP version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv4addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv4addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf promiscuous-mode { + description "Accept igmp messages coming from different subnet"; + type empty; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving IGMP messages"; + leaf allow-receive { + description "Allow receiving IGMP messages"; + type empty; + } + leaf send-general-query { + description "Send IGMP general query messages"; + type empty; + } + leaf send-group-query { + description "Send IGMP group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed IGMP interface"; + type empty; + } + } + container amt { + description "Automatic Multicast Tunnel options for IGMP"; + uses apply-advanced; + container relay { + description "AMT relay options for IGMP"; + uses apply-advanced; + container defaults { + presence "enable defaults"; + description "Default AMT relay options for IGMP"; + uses apply-advanced; + leaf version { + description "Set IGMP version number on AMT interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + } + } + } + } + container oam { + description "Operation, Administration, and Management configuration"; + uses apply-advanced; + container ethernet { + description "OAM configuration for Ethernet"; + uses apply-advanced; + container link-fault-management { + description "802.3ah Ethernet OAM configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for link-fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "action-profile" { + description "Trace action profile invocation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list action-profile { + key name; + ordered-by user; + description "Define an action profile"; + leaf name { + description "Name of action profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container event { + description "Events this action profile will check"; + uses apply-advanced; + leaf link-adjacency-loss { + description "Loss of adjacency with OAM peer"; + type empty; + } + leaf protocol-down { + description "Upper layer indication on protocol down"; + type empty; + } + container link-event-rate { + uses apply-advanced; + leaf symbol-period { + description "Rate of receiving symbol period events"; + units "error(s) per 100 symbol"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-error { + description "Rate of receiving frame error events"; + units "error(s) per 100 milli-second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + leaf frame-period { + description "Rate of receiving frame period events"; + units "error(s) per 100 frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-period-summary { + description "Rate of receiving frame period summary events"; + units "error(s) per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + } + } + container action { + description "Action to take on specified events"; + uses apply-advanced; + leaf syslog { + description "Generate syslog message"; + type empty; + } + leaf link-down { + description "Mark the interface down for transit traffic"; + type empty; + } + leaf send-critical-event { + description "Start sending OAM PDUs with critical event bit set"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface on which to set Ethernet OAM parameters"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list apply-action-profile { + ordered-by user; + description "Apply the specified action profile on the interface"; + type string; + } + leaf pdu-interval { + description "Periodic OAM protocol data unit interval"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "100 .. 1000"; + } + } + } + leaf loopback-tracking { + description "Enable link down on loopback detection"; + type empty; + } + leaf detect-loc { + description "Detects initial lack of adjacency formation"; + type empty; + } + leaf link-discovery { + description "Mode of discovery"; + default "active"; + type enumeration { + enum "active" { + } + enum "passive" { + } + } + } + leaf pdu-threshold { + description "Number of PDUs missed before declaring peer lost"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "3 .. 10"; + } + } + } + leaf remote-loopback { + description "Put remote DTE into remote-loopback mode"; + type empty; + } + container negotiation-options { + description "802.3ah features supported on the interface"; + uses apply-advanced; + leaf no-allow-link-events { + description "Do not emit periodic PDUs detailing framing and symbol errors"; + type empty; + } + leaf allow-remote-loopback { + description "Allow local port to be put into loopback mode"; + type empty; + } + } + container event-thresholds { + description "Thresholds for sending 802.3ah events"; + uses apply-advanced; + leaf symbol-period { + description "Threshold for sending symbol period events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-error { + description "Threshold for sending frame error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period { + description "Threshold for sending frame period error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period-summary { + description "Threshold for sending frame period summary error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + } + } + } + container connectivity-fault-management { + description "Configurations related to 802.1ag ethernet oam"; + uses apply-advanced; + leaf no-aggregate-delegate-processing { + description "Do not distribute aggregate session to pfe"; + type empty; + } + leaf enhanced-cfm-mode { + description "Enables Enhanced CFM Mode"; + type empty; + } + container traceoptions { + description "Trace options for connectivity fault management"; + presence "enable traceoptions"; + uses cfm-traceoptions; + } + list action-profile { + key name; + ordered-by user; + description "Action profiles to use when one or more remote maintenance association endpoints are down"; + leaf name { + description "Name of action profile"; + type string; + } + uses apply-advanced; + container event { + description "Events that need to be monitored"; + uses apply-advanced; + leaf-list interface-status-tlv { + ordered-by user; + description "Values that need to be monitored in interface status TLV"; + type enumeration { + enum "down" { + description "Interface is administratively down"; + } + enum "lower-layer-down" { + description "Interface is physically down"; + } + } + } + leaf-list port-status-tlv { + ordered-by user; + description "Values that need to be monitored in port status TLV"; + type enumeration { + enum "blocked" { + description "Port is blocked"; + } + } + } + leaf adjacency-loss { + description "Connectivity is lost"; + type empty; + } + leaf rdi { + description "RDI received from some MEP"; + type empty; + } + leaf connection-protection-tlv { + description "Values that need to be monitored in connection protection TLV"; + type enumeration { + enum "using-working-path" { + description "Service traffic is using working path"; + } + enum "using-protection-path" { + description "Service traffic is using protection path"; + } + } + } + } + container action { + uses apply-advanced; + leaf interface-down { + description "Mark the interface as down"; + type empty; + } + leaf revertive-interface-down { + description "Wait for CC loss-threshold to bring back the interface up"; + type empty; + } + leaf non-revertive-interface-down { + description "Interface will not be brought up when CC is received"; + type empty; + } + leaf propagate-remote-mac-flush { + description "Remote mac-flush"; + type empty; + } + leaf interface-group-down { + description "Mark the interface group as down"; + type empty; + } + container log-and-generate-ais { + uses apply-advanced; + leaf-list level { + description "Server maintenance domain levels range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + leaf interval { + description "Interval between AIS messages"; + default "1s"; + type enumeration { + enum "1s" { + } + enum "1m" { + } + } + } + leaf priority { + description "802.1p priority of AIS packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container clear-action { + uses apply-advanced; + container interface-down { + description "Mark the interface as down"; + leaf peer-interface { + description "Mark the interface as down"; + type empty; + } + } + leaf propagate-remote-mac-flush { + description "Remote mac flush"; + type empty; + } + } + container default-actions { + description "Action that needs to be taken"; + uses apply-advanced; + leaf interface-down { + description "Bring the interface down"; + type empty; + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for all sessions"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + container linktrace { + presence "enable linktrace"; + description "Linktrace protocol global options"; + uses apply-advanced; + leaf path-database-size { + description "Number of linktrace reply entries to be stored per linktrace request"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf age { + description "Time after which a stale request-response entry is deleted"; + default "10m"; + type enumeration { + enum "10s" { + } + enum "30s" { + } + enum "1m" { + } + enum "10m" { + } + enum "30m" { + } + } + } + } + list maintenance-domain { + key name; + ordered-by user; + description "Maintenance domain configuration"; + leaf name { + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + description "Bridge-domain information for the default maintenance domain"; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + list vlan { + key name; + ordered-by user; + description "VLAN information for the default maintenance domain"; + leaf name { + description "VLAN name"; + type string; + } + } + list virtual-switch { + key name; + ordered-by user; + description "Virtual switch Bridge-domain information for the default maintenance domain"; + leaf name { + description "Routing instance of type virtual switch"; + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + } + list instance { + key name; + ordered-by user; + description "VPLS instance name for the default maintenance domain"; + leaf name { + description "VPLS routing instance name"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Name of interface for the default maintenance domain"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf level { + description "Level value for maintenance domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 7"; + } + } + } + leaf name-format { + description "Format of maintenance domain name"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "none"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + } + } + list maintenance-association { + key name; + ordered-by user; + description "Maintenance association configuration"; + leaf name { + description "Name of maintenance association in IEEE compliant format"; + type string { + length "1 .. 45"; + } + } + uses apply-advanced; + leaf debug-session { + description "Debug the CFM session"; + type empty; + } + leaf short-name-format { + description "Format of Maintenance Association Name"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf primary-vid { + description "VLAN id"; + type string; + } + container continuity-check { + presence "enable continuity-check"; + description "Continuity check configuration"; + uses apply-advanced; + leaf interval { + description "Interval between continuity-check messages"; + default "1m"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + enum "3.3ms" { + } + } + } + leaf loss-threshold { + description "Number of continuity-check messages lost before marking endpoint as down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf hold-interval { + description "Time before flushing MEP database if no updates occur"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30240"; + } + } + } + leaf port-status-tlv { + description "Include port status TLV in CCM"; + type empty; + } + leaf interface-status-tlv { + description "Include interface status TLV in CCM"; + type empty; + } + leaf connection-protection-tlv { + description "Include connection protection OUI TLV in CCM"; + type empty; + } + leaf convey-loss-threshold { + description "Include Loss Threshold OUI TLV in CCM"; + type empty; + } + leaf interface-status-send-rdi { + description "Send RDI on interface operation status down in CCM"; + type empty; + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "defer"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + enum "defer" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefer"; + } + } + } + list mep { + key name; + ordered-by user; + description "Maintenance association endpoint configuration"; + leaf name { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + container interface { + presence "enable interface"; + description "Name of interface"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf vlan { + description "Trunk port interface VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + choice connection-type { + case case_1 { + leaf working { + description "Monitory the primary path"; + type empty; + } + } + case case_2 { + leaf protect { + description "Monitory the protect path"; + type empty; + } + } + } + } + leaf direction { + description "Direction of maintenance endpoint"; + default "down"; + type enumeration { + enum "up" { + } + enum "down" { + } + } + } + leaf priority { + description "802.1p priority of continuity-check and link-trace packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf auto-discovery { + description "Accept continuity-check messages from all remote MEPs"; + type empty; + } + leaf action-profile { + description "Name of the action profile"; + type string; + } + list remote-mep { + key name; + ordered-by user; + description "Remote maintenance association endpoint configuration"; + leaf name { + description "Identifier for remote maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + leaf action-profile { + description "Name of the action profile"; + type string; + } + container interface-group { + presence "enable interface-group"; + description "Mark this interface group down Profile configured with action interface-group-down"; + uses apply-advanced; + leaf interface-device-name { + description "Interface device name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list unit-list { + description "One or more logical interface unit numbers"; + type jt:range; + } + } + list sla-iterator-profile { + key name; + ordered-by user; + description "Name of the iterator profile"; + leaf name { + type string; + } + uses apply-advanced; + leaf iteration-count { + description "Iterations to partake for acquiring SLA measurements"; + units "frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "The vlan pcp value to be sent in the Y.1731 frame"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf data-tlv-size { + description "Size of the data-tlv portion of Y.1731 frame"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1400"; + } + } + } + } + leaf detect-loc { + description "Detects initial loss of connectivity with remote mep"; + type empty; + } + } + leaf lowest-priority-defect { + description "Lowest priority defect that is allowed to generate a fault alarm"; + type enumeration { + enum "all-defects" { + description "Allows all defects"; + } + enum "mac-rem-err-xcon" { + description "Allows only MAC, not receiving CCM, erroneous CCM and cross connect defects"; + } + enum "rem-err-xcon" { + description "Allows only not receiving CCM, erroneous CCM and cross connect CCM defects"; + } + enum "err-xcon" { + description "Allows only erroneous CCM and cross connect CCM defects"; + } + enum "xcon" { + description "Allows only cross connect CCM defect"; + } + enum "no-defect" { + description "Allows no defect"; + } + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for this session"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + } + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + list evcs { + key name; + description "Ethernet virtual circuits configuration"; + leaf name { + description "EVC id"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + container evc-protocol { + description "Signaling protocol to monitor EVC status"; + choice protocol { + case case_1 { + container cfm { + presence "enable cfm"; + description "Connectivity fault management"; + leaf maintenance-domain { + description "Maintenance domain name"; + type string; + } + leaf maintenance-association { + description "Maintenance association name"; + type string; + } + leaf mep { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + } + } + case case_2 { + container vpls { + presence "enable vpls"; + description "Virtual private LAN service (BGP/LDP)"; + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + } + case case_3 { + } + case case_4 { + } + } + } + leaf remote-uni-count { + description "Number of remote UNIs in the EVC"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf multipoint-to-multipoint { + description "Multipoint to Multipoint EVC"; + type empty; + } + } + container lmi { + presence "enable lmi"; + description "Ethernet local management interface configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for ethernet local management interface"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "packet" { + description "Trace events related to packet flow"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + list interface { + key name; + description "Interface options"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf uni-id { + description "UNI identifier"; + type string { + length "1 .. 64"; + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + leaf evc-map-type { + description "CE-VLAN ID/EVC map type"; + default "bundling"; + type enumeration { + enum "all-to-one-bundling" { + description "All to one bundling"; + } + enum "service-multiplexing" { + description "Service multiplexing with no bundling"; + } + enum "bundling" { + description "Bundling with service multiplexing"; + } + } + } + list evc { + key name; + description "EVC configuration"; + leaf name { + description "EVC identifier"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + leaf default-evc { + description "Default EVC"; + type empty; + } + leaf-list vlan-list { + description "Vlans mapped to this EVC"; + type jt:vlan-range; + } + } + } + } + container fnp { + presence "enable fnp"; + description "Failure notification protocol configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for FNP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace protocol events"; + } + enum "pdu" { + description "Trace PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + leaf interval { + description "Interval between FNP messages"; + default "1s"; + type enumeration { + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf loss-threshold { + description "Number of FNP messages lost before clearing FNP state"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "3 .. 255"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf domain-id { + description "Ethernet domain identifier"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + container mld { + presence "enable mld"; + description "MLD options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MLD on this interface"; + type empty; + } + } + } + leaf version { + description "Set mld version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 2"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv6addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv6addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for ssm translation of mld v1 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming mld report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of group-limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving mld messages"; + leaf allow-receive { + description "Allow receiving mld messages"; + type empty; + } + leaf send-general-query { + description "Send mld general query messages"; + type empty; + } + leaf send-group-query { + description "Send mld group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed MLD interface"; + type empty; + } + } + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container router-advertisement { + description "IPv6 router advertisement options"; + uses apply-advanced; + container traceoptions { + description "Trace options for router advertisement"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router advertisement"; + leaf name { + type string; + } + uses apply-advanced; + leaf preference { + description "Set the Preference for Router Selection"; + type enumeration { + enum "medium" { + description "Medium / (Default)"; + } + enum "high" { + description "High"; + } + enum "low" { + description "Low"; + } + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + choice link-mtu-choice { + leaf link-mtu { + description "Link MTU"; + type empty; + } + leaf no-link-mtu { + description "Don't link MTU"; + type empty; + } + } + leaf solicit-router-advertisement-unicast { + description "Enbale solicited router advertisement as unicast"; + type empty; + } + leaf reachable-time { + description "Reachable time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600000"; + } + } + } + leaf retransmit-timer { + description "Retransmit timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf virtual-router-only { + description "Send advertisemnets only for vrrp-inet6-group"; + type empty; + } + leaf current-hop-limit { + description "Current hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf default-lifetime { + description "Router lifetime"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9000"; + } + } + } + list dns-server-address { + key name; + ordered-by user; + description "Recursive DNS address configuration"; + max-elements 3; + leaf name { + description "DNS address to be advertised"; + type string; + } + uses apply-advanced; + leaf lifetime { + description "DNS address lifetime"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + list prefix { + key name; + ordered-by user; + description "Prefix configuration"; + leaf name { + description "Prefix to be advertised"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf valid-lifetime { + description "Valid lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice on-link-choice { + leaf on-link { + description "Set on-link flag"; + type empty; + } + leaf no-on-link { + description "Don't set on-link flag"; + type empty; + } + } + leaf preferred-lifetime { + description "Preferred lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice autonomous-choice { + leaf autonomous { + description "Set autonomous flag"; + type empty; + } + leaf no-autonomous { + description "Don't set autonomous flag"; + type empty; + } + } + } + } + container ra-secure { + description "Protect box against rogue incoming RA messages"; + uses apply-advanced; + } + } + } + container class-of-service { + description "Class-of-service configuration"; + uses juniper-class-of-service-options; + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses apply-advanced; + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + container stream-protection { + presence "enable stream-protection"; + description "Multicast only Fast Re-Route"; + uses apply-advanced; + leaf mofrr-primary-path-selection-by-routing { + description "Multicast only Fast Re-Route primary path by Routing"; + type empty; + } + leaf mofrr-disjoint-upstream-only { + description "Multicast only Fast Re-Route disjoint upstream only"; + type empty; + } + leaf mofrr-no-backup-join { + description "Multicast only Fast Re-Route no backup join"; + type empty; + } + leaf mofrr-asm-starg { + description "Multicast only Fast Re-Route asm (*,G)"; + type empty; + } + leaf-list policy { + ordered-by user; + description "MoFRR Policy"; + type jt:policy-algebra; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + } + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "Protocol family IPv4 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv4 dialer filter"; + uses inet_dialer_filter; + } + list prefix-action { + key name; + ordered-by user; + description "Define a prefix action"; + uses prefix_action; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + list template { + key name; + ordered-by user; + description "Define an Inet firewall template"; + uses inet_template; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv4 service filters"; + uses inet_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet_fuf; + } + } + container inet6 { + description "Protocol family IPv6 for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an IPv6 firewall filter"; + uses inet6_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv6 service filters"; + uses inet6_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet6_fuf; + } + list template { + key name; + ordered-by user; + description "Define an Inet6 firewall template"; + uses inet6_template; + } + } + container mpls { + description "Protocol family MPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses mpls_filter; + } + list template { + key name; + ordered-by user; + description "Define an MPLS firewall template"; + uses mpls_template; + } + } + container vpls { + description "Protocol family VPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container evpn { + description "Protocol family EVPN for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses bridge_filter; + } + } + container ccc { + description "Protocol family CCC for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses ccc_filter; + } + } + container any { + description "Protocol-independent filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define a protocol independent filter"; + uses any_filter; + } + list template { + key name; + ordered-by user; + description "Define Protocol independent filter template"; + uses any_template; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses es_filter; + } + list template { + key name; + ordered-by user; + description "Define an ethernet switching firewall template"; + uses es_template; + } + } + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses firewall_policer; + } + list flexible-match { + key name; + ordered-by user; + description "Flexible packet match template definition"; + uses firewall_flexible_match; + } + list tunnel-end-point { + key name; + ordered-by user; + description "Tunnel end-point template definition"; + uses tunnel_end_point; + } + list interface-set { + key name; + ordered-by user; + description "Interface set definition"; + uses interface_set_type; + } + list three-color-policer { + key name; + ordered-by user; + description "Three-color policer"; + uses three-color-policer-type; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + } + container services { + description "Service PIC applications settings"; + uses apply-advanced; + } + list profile-variable-set { + key name; + ordered-by user; + description "Dynamic profiles variable configuration"; + uses juniper-dynamic-profile-varset-object; + } + container policy-options { + description "Routing policy option configuration"; + uses apply-advanced; + list prefix-list { + key name; + ordered-by user; + description "Define a named set of address prefixes"; + leaf name { + description "Prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list-item { + key name; + uses prefix_list_items; + } + leaf apply-path { + description "Apply IP prefixes from a configuration statement"; + type string; + } + } + } + container extensible-subscriber-services { + presence "enable extensible-subscriber-services"; + description "Extensible subscriber services"; + uses apply-advanced; + leaf-list vsas { + ordered-by user; + description "Service VSAs"; + type string; + } + } + container access-cac { + description "Access ucac configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Access ucac interface options"; + uses access_cac_interface_options; + } + } + } + grouping access_cac_interface_options { + description "Access ucac interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container multicast-video-bandwidth { + presence "enable multicast-video-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf access-cac-bandwidth { + description "Bandwidth used in access cac configuration"; + units "bps"; + type string; + } + } + container video-bandwidth { + presence "enable video-bandwidth"; + description "Maximum video bandwidth for the interface"; + leaf access-cac-bandwidth { + description "Bandwidth used in access cac configuration"; + units "bps"; + type string; + } + } + choice isqos { + case case_1 { + leaf no-qos-adjust { + description "No qos adjustment"; + type empty; + } + } + case case_2 { + container qos-adjust-hierarchical { + description "Ucac interface set configuration"; + uses apply-advanced; + leaf interface-set { + description "Enable hierarchical adjust on iflset"; + type empty; + } + } + } + } + list multicast-video-policy { + key name; + ordered-by user; + description "Mcast video policy"; + leaf name { + description "Mcast video policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container family { + presence "enable family"; + description "Access cac multicast policy family"; + uses apply-advanced; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "Family inet"; + uses apply-advanced; + leaf-list source { + description "One or more multicast source addresses"; + type jt:ipv4addr; + } + leaf-list group { + ordered-by user; + description "One or more multicast group addresses"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "Family inet6"; + uses apply-advanced; + leaf-list source { + description "One or more multicast source addresses"; + type jt:ipv6addr; + } + leaf-list group { + ordered-by user; + description "One or more multicast group addresses"; + type jt:ipv6addr; + } + } + } + } + } + container bandwidth { + presence "enable bandwidth"; + description "Maximum video bandwidth for the interface"; + uses apply-advanced; + leaf access-cac-bandwidth { + description "Bandwidth used in access cac configuration"; + units "bps"; + type string; + } + } + leaf adaptive { + description "Use multicast real traffic rate"; + type empty; + } + } + } + grouping aggregate-load-balance { + description "Load balancing parameters"; + uses apply-advanced; + choice adaptive_option { + case case_1 { + } + case case_2 { + } + case case_3 { + container adaptive { + presence "enable adaptive"; + description "Enable adaptive load balancing by re-programming selector table"; + uses apply-advanced; + leaf tolerance { + description "Target tolerance in percentage (default 20%)"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf pps { + description "Adaptive load balance based on packet per second (default bps)"; + type empty; + } + leaf scan-interval { + description "Scan interval for multiple of 30 seconds (default 30 seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + } + } + } + grouping any_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object_oam; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping any_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf forwarding-class { + description "Match forwarding class"; + type empty; + } + leaf forwarding-class-except { + description "Do not match forwarding class"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf interface-set { + description "Match interface in set"; + type empty; + } + leaf loss-priority { + description "Match Loss Priority"; + type empty; + } + leaf loss-priority-except { + description "Do not match Loss Priority"; + type empty; + } + leaf packet-length { + description "Match packet length"; + type empty; + } + leaf packet-length-except { + description "Do not match packet length"; + type empty; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping aps_type { + uses apply-advanced; + choice aps_mode { + case case_1 { + leaf working-circuit { + description "Working circuit group name"; + type string; + } + } + case case_2 { + leaf protect-circuit { + description "Protect circuit group name"; + type string; + } + } + } + leaf annex-b { + description "Annex-b mode"; + type empty; + } + leaf wait-to-restore-time { + description "Circuit wait-to-restore time for annex-b"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf preserve-interface { + description "Preserve interface state for fast failover"; + type empty; + } + leaf neighbor { + description "Neighbor address"; + type jt:ipv4addr; + } + leaf paired-group { + description "Name of paired APS group"; + type string; + } + container authentication-key { + presence "enable authentication-key"; + description "Authentication parameters"; + leaf auth_key { + description "Authentication key"; + type jt:unreadable; + } + } + leaf switching-mode { + description "APS switching mode"; + type enumeration { + enum "bidirectional" { + description "Bidirectional"; + } + enum "unidirectional" { + description "Unidirectional"; + } + } + } + leaf advertise-interval { + description "Advertise interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf hold-time { + description "Hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf revert-time { + description "Circuit revert time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + choice break-before-make-choice { + leaf break-before-make { + description "Ensure only one interface is active at a time"; + type empty; + } + leaf no-break-before-make { + description "Don't ensure only one interface is active at a time"; + type empty; + } + } + choice manual_mode { + case case_1 { + leaf request { + description "Request circuit state"; + type enumeration { + enum "protect" { + description "Request protect circuit"; + } + enum "working" { + description "Request working circuit"; + } + } + } + } + case case_2 { + leaf force { + description "Force circuit state"; + type enumeration { + enum "protect" { + description "Force protect circuit"; + } + enum "working" { + description "Force working circuit"; + } + } + } + } + case case_3 { + leaf lockout { + description "Lockout protection"; + type empty; + } + } + } + leaf fast-aps-switch { + description "Fast aps switch"; + type empty; + } + } + grouping base-default-variable-object { + leaf name { + description "Name of predefined variable"; + type enumeration { + enum "igmp-enable" { + description "Default for junos-igmp-enable"; + } + enum "igmp-access-group-name" { + description "Default for junos-igmp-access-group-name"; + } + enum "igmp-access-source-group-name" { + description "Default for junos-igmp-access-group-name"; + } + enum "igmp-version" { + description "Default for junos-igmp-version"; + } + enum "igmp-immediate-leave" { + description "Default for junos-igmp-immediate-leave"; + } + enum "mld-access-group-name" { + description "Default for junos-mld-access-group-name"; + } + enum "mld-access-source-group-name" { + description "Default for junos-mld-access-source-group-name"; + } + enum "mld-immediate-leave" { + description "Default for junos-mld-immediate-leave"; + } + enum "input-filter" { + description "Default for junos-input-filter"; + } + enum "output-filter" { + description "Default for junos-output-filter"; + } + enum "input-ipv6-filter" { + description "Default for junos-input-ipv6-filter"; + } + enum "output-ipv6-filter" { + description "Default for junos-output-ipv6-filter"; + } + enum "adf-rule-v4" { + description "Default for junos-adf-rule-v4"; + } + enum "adf-rule-v6" { + description "Default for junos-adf-rule-v6"; + } + enum "cos-scheduler-map" { + description "Default for junos-cos-scheduler-map"; + } + enum "cos-shaping-rate" { + description "Default for junos-cos-shaping-rate"; + } + enum "cos-guaranteed-rate" { + description "Default for junos-cos-guaranteed-rate"; + } + enum "cos-delay-buffer-rate" { + description "Default for junos-cos-delay-buffer-rate"; + } + enum "cos-traffic-control-profile" { + description "Default for junos-cos-traffic-control-profile"; + } + enum "cos-shaping-mode" { + description "Default for junos-cos-shaping-mode"; + } + enum "cos-byte-adjust" { + description "Default for junos-cos-byte-adjust"; + } + enum "cos-scheduler" { + description "Default for junos-cos-scheduler"; + } + enum "cos-scheduler-pri" { + description "Default for junos-cos-scheduler-pri"; + } + enum "cos-scheduler-dropfile-low" { + description "Default for junos-cos-scheduler-dropfile-low"; + } + enum "cos-scheduler-dropfile-medium-low" { + description "Default for junos-cos-scheduler-dropfile-medium-low"; + } + enum "cos-scheduler-dropfile-medium-high" { + description "Default for junos-cos-scheduler-dropfile-medium-high"; + } + enum "cos-scheduler-dropfile-high" { + description "Default for junos-cos-scheduler-dropfile-high"; + } + enum "cos-scheduler-dropfile-any" { + description "Default for junos-cos-scheduler-dropfile-any"; + } + enum "cos-scheduler-excess-rate" { + description "Default for junos-cos-scheduler-excess-rate"; + } + enum "cos-scheduler-explicit-congestion-notification" { + description "Default for junos-cos-scheduler-explicit-congestion-notification"; + } + enum "cos-scheduler-excess-priority" { + description "Default for junos-cos-scheduler-excess-priority"; + } + enum "interface-set-name" { + description "Default for junos-interface-set-name"; + } + enum "cos-adjust-minimum" { + description "Default for junos-cos-adjust-minimum"; + } + enum "cos-excess-rate-high" { + description "Default for junos-cos-excess-rate-high"; + } + enum "cos-excess-rate-low" { + description "Default for junos-cos-excess-rate-low"; + } + enum "cos-shaping-rate-burst" { + description "Default for junos-cos-shaping-rate-burst"; + } + enum "cos-byte-adjust-frame" { + description "Default for junos-cos-byte-adjust-frame"; + } + enum "cos-byte-adjust-cell" { + description "Default for junos-cos-byte-adjust-cell"; + } + enum "cos-shaping-rate-priority-high" { + description "Default for junos-cos-shaping-rate-priority-high"; + } + enum "cos-shaping-rate-priority-high-burst" { + description "Default for junos-cos-shaping-rate-priority-high-burst"; + } + enum "cos-shaping-rate-priority-medium" { + description "Default for junos-cos-shaping-rate-priority-medium"; + } + enum "cos-shaping-rate-priority-medium-burst" { + description "Default for junos-cos-shaping-rate-priority-medium-burst"; + } + enum "cos-shaping-rate-priority-low" { + description "Default for junos-cos-shaping-rate-priority-low"; + } + enum "cos-shaping-rate-priority-low-burst" { + description "Default for junos-cos-shaping-rate-priority-low-burst"; + } + enum "cos-shaping-rate-excess-high" { + description "Default for junos-cos-shaping-rate-excess-high"; + } + enum "cos-shaping-rate-excess-high-burst" { + description "Default for junos-cos-shaping-rate-excess-high-burst"; + } + enum "cos-shaping-rate-excess-low" { + description "Default for junos-cos-shaping-rate-excess-low"; + } + enum "cos-shaping-rate-excess-low-burst" { + description "Default for junos-cos-shaping-rate-excess-low-burst"; + } + enum "cos-guaranteed-rate-burst" { + description "Default for junos-cos-guaranteed-rate-burst"; + } + enum "cos-traffic-control-profile-remaining" { + description "Default for junos-cos-traffic-control-profile-remaining"; + } + enum "routing-instances" { + description "Default for junos-routing-instance"; + } + enum "pim-enable" { + description "Default for junos-pim-enable"; + } + enum "interface-mtu" { + description "Default for junos-interface-mtu"; + } + enum "inner-vlan-tag-protocol-id" { + description "Default for junos-inner-vlan-tag-protocol-id"; + } + } + } + uses apply-advanced; + leaf default-value { + description "Default value for predefined variable"; + type string; + } + } + grouping bridge_filter { + description "Define a BRIDGE firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + leaf-list isid-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + leaf-list isid-priority-code-point-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + leaf-list isid-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + container forwarding-policy { + description "Specify forwarding policy for extended port"; + uses apply-advanced; + leaf uplink-select { + description "Specify port group for uplink selection"; + type string; + } + } + } + } + } + grouping ccc_filter { + description "Define a CCC firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Any counters defined will be interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + leaf-list loss-priority { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + leaf-list learn-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + leaf-list user-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to the specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping cfm-traceoptions { + description "Trace options for connectivity fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "issu" { + description "Trace ISSU related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping cos_policer { + description "Define a CoS based policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + container premium { + description "Policer to apply to premium traffic"; + presence "enable premium"; + uses ethernet_policer; + } + container aggregate { + description "Policer to apply to aggregate traffic"; + presence "enable aggregate"; + uses ethernet_policer; + } + } + grouping cos_policer_input_priority_map { + description "Input policer priority map"; + uses apply-advanced; + container ieee-802.1p { + description "Use IEEE 802.1p to determine policer priority map"; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Input traffic's IEEE 802.1p value to which premium policer is applied"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + grouping cos_policer_output_priority_map { + description "Output policer priority map"; + uses apply-advanced; + container classifier { + description "Use classifier as policer priority map"; + uses apply-advanced; + container premium { + description "Output traffic classifier to which premium policer is applied"; + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Select a classification for this priority map"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Select a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Select low loss priority as premium policer"; + } + enum "high" { + description "Select high loss priority as premium policer"; + } + } + } + } + } + } + } + } + grouping dcd_rx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "tag" { + description "Tag and count overflow packets"; + } + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping dcd_shaping_config { + description "Traffic-shaping profile"; + uses apply-advanced; + choice useless_shaping_choice { + case case_1 { + container cbr { + presence "enable cbr"; + description "Constant bandwidth utilization"; + leaf cbr-value { + description "Constant bandwidth utilization"; + type string; + } + } + } + case case_2 { + container vbr { + description "Variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + case case_3 { + container rtvbr { + description "ATM2 real-time variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + } + leaf queue-length { + description "Queue length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16383"; + } + } + } + } + grouping dcd_tx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping epd_threshold_config { + uses apply-advanced; + leaf epd-threshold-plp0 { + description "Early packet discard threshold value"; + units "cells"; + type string; + } + leaf plp1 { + description "Early packet drop threshold value for PLP 1"; + units "cells"; + type string; + } + } + grouping es_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice l2-encap-type_choice { + case case_1 { + leaf-list l2-encap-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list l2-encap-type-except { + ordered-by user; + type string; + } + } + } + choice vlan_choice { + case case_1 { + leaf-list vlan { + ordered-by user; + description "VLAN name or ID"; + type string; + } + } + case case_2 { + leaf-list vlan-except { + ordered-by user; + description "VLAN name or ID"; + type string; + } + } + } + choice dot1q-tag_choice { + case case_1 { + leaf-list dot1q-tag { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list dot1q-tag-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dot1q-user-priority_choice { + case case_1 { + leaf-list dot1q-user-priority { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dot1q-user-priority-except { + ordered-by user; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string { + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + leaf-list learn-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + leaf-list learn-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + leaf-list user-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + leaf-list isid-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + leaf-list isid-priority-code-point-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + leaf-list isid-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + container to-fabric { + description "Match packets going to fabric"; + presence "enable to-fabric"; + uses to_fabric_object; + } + leaf from-fabric { + description "Match packets coming from fabric"; + type empty; + } + choice arp-type_choice { + case case_1 { + leaf-list arp-type { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection - (Ingress only)"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip6-source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list ip6-destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + leaf vlan { + description "Name of VLAN - (Ingress only)"; + type string; + } + leaf interface { + description "Switch traffic to the specified interface by-passing switching lookup - (Ingress only)"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping es_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf ip-destination-address { + description "Match IP destination address"; + type empty; + } + leaf ip-precedence { + description "Match IP precedence value"; + type empty; + } + leaf ip-protocol { + description "Match IP protocol type"; + type empty; + } + leaf ip-source-address { + description "Match IP source address"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf ip6-destination-address { + description "Match destination address"; + type empty; + } + leaf ip6-source-address { + description "Match source address"; + type empty; + } + leaf next-header { + description "Match next header protocol type"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf traffic-class { + description " Match Differentiated Services (DiffServ) code point"; + type empty; + } + } + } + leaf arp-type { + description "Match ARP type"; + type empty; + } + leaf destination-mac-address { + description "Match MAC destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf ether-type { + description "Match Ethernet Type"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf ip-destination-address { + description "Match IP destination address"; + type empty; + } + leaf ip-precedence { + description "Match IP precedence value"; + type empty; + } + leaf ip-protocol { + description "Match IP protocol type"; + type empty; + } + leaf ip-source-address { + description "Match IP source address"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf l2-encap-type { + description "Match Ethernet Encapsulation Type"; + type empty; + } + leaf learn-vlan-id { + description "Match Learnt VLAN ID"; + type empty; + } + leaf source-mac-address { + description "Match MAC source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf user-vlan-1p-priority { + description "Match User 802.1p VLAN priority"; + type empty; + } + leaf user-vlan-id { + description "Match User VLAN ID"; + type empty; + } + } + } + grouping ethernet-switching-type { + description "Ethernet switching family"; + uses apply-advanced; + leaf port-mode { + description "Type of port mode"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "tagged-access" { + description "Interface mode is tagged-access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf interface-mode { + description "Type of interface mode"; + default "access"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + leaf reflective-relay { + description "Reflective-relay mode for this interface"; + type empty; + } + choice vlan_choice_list { + case case_1 { + container vlan { + description "Virtual LAN parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_2 { + container inner-vlan { + description "Trunk mode vlan membership for this interface"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type"; + type enumeration { + enum "svlan" { + description "Bridge domain type SVLAN"; + } + enum "bvlan" { + description "Bridge domain type BVLAN"; + } + } + } + container vlan-rewrite { + description "Specify VLAN translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf native-vlan-id { + description "Untagged packets on a trunk/tagged-access interface belong to this vlan"; + type string { + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string; + } + leaf input-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + leaf output-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + grouping ethernet_policer { + description "Define a policer"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + grouping fibre-channel-type { + description "Fibre Channel switching family"; + uses apply-advanced; + leaf port-mode { + description "Port mode"; + type enumeration { + enum "f-port" { + description "Fabric port"; + } + enum "e-port" { + description "Inter-switch port"; + } + enum "np-port" { + description "Proxy node port"; + } + enum "auto" { + description "Interface mode (F/E) is determined at runtime"; + } + } + } + leaf no-npiv { + description "Disable NPIV"; + type empty; + } + container fc-fabric { + description "Virtual fabric parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Virtual Fabric Membership for this interface (name or id)"; + type string; + } + } + leaf native-fabric { + description "FC frames with no virtual fabric header on a interface belong to this fabric"; + type string { + } + } + } + grouping firewall_addr6_object { + leaf name { + description "Prefix to match"; + type jt:ipv6prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_flexible_match { + description "Define a flexible match"; + leaf name { + description "Flex match template name"; + type string { + } + } + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping firewall_policer { + description "Define a policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + leaf logical-bandwidth-policer { + description "Policer uses logical interface bandwidth"; + type empty; + } + choice exceeding { + case case_1 { + container if-exceeding { + presence "enable if-exceeding"; + description "Define rate limits"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Bandwidth limit in percentage"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + } + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + } + } + grouping firewall_prefix_list { + leaf name { + description "Prefix list to match"; + type string; + } + leaf except { + description "Match addresses not in this prefix list"; + type empty; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping inet6_filter { + description "Define an IPv6 firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + leaf-list destination-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + leaf-list source-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice hop-limit_choice { + case case_1 { + leaf-list hop-limit { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list hop-limit-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L3_flexible_mask; + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + leaf-list gre-key-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inet6cnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace packet forwarding "; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf analyzer { + description "Name of analyzer"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf traffic-class { + description "Set traffic-class code point"; + type string; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + container decapsulate { + presence "enable decapsulate"; + description "Terminate a tunnel"; + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "GRE protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + container l2tp { + description "L2TP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list cookie { + ordered-by user; + description "L2TPv3 cookie"; + type string { + length "1 .. 32"; + } + } + choice destination { + case case_1 { + leaf output-interface { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_4 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_5 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_6 { + } + case case_7 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_8 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_9 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_10 { + container next-ip6 { + description "Packets are directed to specified the specified ipv6 address"; + leaf address { + description "Address to route"; + type jt:ipv6prefix; + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + case case_11 { + container next-interface { + presence "enable next-interface"; + description "Packets are to be routed through the specified interface"; + uses apply-advanced; + leaf interface-name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + case case_12 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf no-route { + description "Send ICMPv6 No Route message"; + type empty; + } + } + case case_2 { + leaf administratively-prohibited { + description "Send ICMPv6 Administratively Prohibited message"; + type empty; + } + } + case case_3 { + leaf beyond-scope { + description "Send ICMPv6 Beyond Scope of Source Address message"; + type empty; + } + } + case case_4 { + leaf address-unreachable { + description "Send ICMPv6 Address Unreachable message"; + type empty; + } + } + case case_5 { + leaf port-unreachable { + description "Send ICMPv6 Port Unreachable message"; + type empty; + } + } + case case_6 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + case case_7 { + leaf network-unreachable { + description "Send ICMPv4 Network Unreachable message"; + status deprecated; + type empty; + } + } + case case_8 { + leaf host-unreachable { + description "Send ICMPv4 Host Unreachable message"; + status deprecated; + type empty; + } + } + case case_9 { + leaf protocol-unreachable { + description "Send ICMPv4 Protocol Unreachable message"; + status deprecated; + type empty; + } + } + case case_10 { + leaf source-route-failed { + description "Send ICMPv4 Source Route Failed message"; + status deprecated; + type empty; + } + } + case case_11 { + leaf network-unknown { + description "Send ICMPv4 Network Unknown message"; + status deprecated; + type empty; + } + } + case case_12 { + leaf host-unknown { + description "Send ICMPv4 Host Unknown message"; + status deprecated; + type empty; + } + } + case case_13 { + leaf source-host-isolated { + description "Send ICMPv4 Source Host Isolated message"; + status deprecated; + type empty; + } + } + case case_14 { + leaf network-prohibited { + description "Send ICMPv4 Network Prohibited message"; + status deprecated; + type empty; + } + } + case case_15 { + leaf host-prohibited { + description "Send ICMPv4 Host Prohibited message"; + status deprecated; + type empty; + } + } + case case_16 { + leaf bad-network-tos { + description "Send ICMPv4 Bad Network ToS message"; + status deprecated; + type empty; + } + } + case case_17 { + leaf bad-host-tos { + description "Send ICMPv4 Bad Host ToS message"; + status deprecated; + type empty; + } + } + case case_18 { + leaf precedence-violation { + description "Send ICMPv4 Precedence Violation message"; + status deprecated; + type empty; + } + } + case case_19 { + leaf precedence-cutoff { + description "Send ICMPv4 Precedence Cutoff message"; + status deprecated; + type empty; + } + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping inet6_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "next-header" { + description "Include next header protocol in match set"; + } + enum "payload-protocol" { + description "Include payload protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "traffic-class" { + description "Include traffic-class (DSCP) in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr6_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice next-header_choice { + case case_1 { + container next-header { + description "Match next header protocol type"; + uses match_simple_protocol_value; + } + } + } + choice traffic-class_choice { + case case_1 { + container traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping inet6_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Pkt-Trace the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet6_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf destination-address { + description "Match destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match destination prefixes in named list"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match ICMP message code"; + type empty; + } + leaf hop-limit { + description "Match Hop Limit"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message code"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf next-header { + description "Match next header protocol type"; + type empty; + } + leaf source-address { + description "Match source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + } + } + grouping inet_dialer_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping inet_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + leaf-list destination-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + leaf-list source-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string { + } + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + leaf source-port-range-optimize { + description "Optimize the source port range"; + type empty; + } + leaf destination-port-range-optimize { + description "Optimize the destination port range"; + type empty; + } + choice rat-type_choice { + case case_1 { + leaf-list rat-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list rat-type-except { + ordered-by user; + type string; + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + leaf-list gre-key-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L3_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inetcnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + container discard { + presence "enable discard"; + description "Discard the packet"; + uses apply-advanced; + leaf accounting { + description "Named discard collector for packet"; + type string; + } + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_4 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_5 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_6 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_7 { + container next-ip { + description "Packets are directed to specified the specified ipv4 address"; + leaf address { + description "Address to route"; + type jt:ipv4prefix; + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + case case_8 { + container next-interface { + presence "enable next-interface"; + description "Packets are to be routed through the specified interface"; + uses apply-advanced; + leaf interface-name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + case case_9 { + leaf ipsec-sa { + description "Use specified IPSec security association"; + type string; + } + } + case case_10 { + } + case case_11 { + container decapsulate { + presence "enable decapsulate"; + description "Terminate a tunnel"; + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "GRE protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + container mpls-in-udp { + presence "enable mpls-in-udp"; + description "MPLS-in-UDP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_4 { + container l2tp { + description "L2TP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list cookie { + ordered-by user; + description "L2TPv3 cookie"; + type string { + length "1 .. 32"; + } + } + choice destination { + case case_1 { + leaf output-interface { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + case case_12 { + } + case case_13 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf network-unreachable { + description "Send ICMP Network Unreachable message"; + type empty; + } + } + case case_2 { + leaf host-unreachable { + description "Send ICMP Host Unreachable message"; + type empty; + } + } + case case_3 { + leaf protocol-unreachable { + description "Send ICMP Protocol Unreachable message"; + type empty; + } + } + case case_4 { + leaf port-unreachable { + description "Send ICMP Port Unreachable message"; + type empty; + } + } + case case_5 { + leaf fragmentation-needed { + description "Send ICMP Fragmentation Needed message"; + type empty; + } + } + case case_6 { + leaf source-route-failed { + description "Send ICMP Source Route Failed message"; + type empty; + } + } + case case_7 { + leaf network-unknown { + description "Send ICMP Network Unknown message"; + type empty; + } + } + case case_8 { + leaf host-unknown { + description "Send ICMP Host Unknown message"; + type empty; + } + } + case case_9 { + leaf source-host-isolated { + description "Send ICMP Source Host Isolated message"; + type empty; + } + } + case case_10 { + leaf network-prohibited { + description "Send ICMP Network Prohibited message"; + type empty; + } + } + case case_11 { + leaf host-prohibited { + description "Send ICMP Host Prohibited message"; + type empty; + } + } + case case_12 { + leaf bad-network-tos { + description "Send ICMP Bad Network ToS message"; + type empty; + } + } + case case_13 { + leaf bad-host-tos { + description "Send ICMP Bad Host ToS message"; + type empty; + } + } + case case_14 { + leaf administratively-prohibited { + description "Send ICMP Administratively Prohibited message"; + type empty; + } + } + case case_15 { + leaf precedence-violation { + description "Send ICMP Precedence Violation message"; + type empty; + } + } + case case_16 { + leaf precedence-cutoff { + description "Send ICMP Precedence Cutoff message"; + type empty; + } + } + case case_17 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + } + } + } + case case_14 { + } + } + leaf dscp { + description "Set Differentiated Services (DiffServ) code point"; + type string; + } + leaf prefix-action { + description "Police or count packets using named prefix action"; + type string { + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping inet_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "protocol" { + description "Include IP protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "dscp" { + description "Include Differentiated Services (DiffServ) code point in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping inet_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Pkt-Trace the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf destination-address { + description "Match IP destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-port-range-optimize { + description "Optimize the destination port range"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match flexible range"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf ip-options { + description "Match IP options"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf packet-length { + description "Match packet length"; + type empty; + } + leaf precedence { + description "Match IP precedence value"; + type empty; + } + leaf protocol { + description "Match IP protocol type"; + type empty; + } + leaf rat-type { + description "Match RAT Type"; + type empty; + } + leaf redirect-reason { + description "Match Redirect Reason"; + type empty; + } + leaf source-address { + description "Match IP source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-port-range-optimize { + description "Optimize the source port range"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf ttl { + description "Match IP ttl type"; + type empty; + } + } + } + grouping interface_set_type { + leaf name { + description "Interface set name"; + type string { + } + } + uses apply-advanced; + list interface-list { + key name; + ordered-by user; + description "Interface list"; + leaf name { + description "Interface name"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping interfaces_type { + description "Physical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + leaf shared-scheduler { + description "Enabled shared queuing on an IQ2 interface"; + type empty; + } + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf cascade-port { + description "Cascade port"; + type empty; + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + } + } + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container esi { + description "ESI configuration of multi-homed interface"; + uses apply-advanced; + leaf identifier { + description "ESI value for the interface"; + type jt:esi; + } + choice mode { + case case_1 { + leaf single-active { + description "Single-active mode"; + type empty; + } + } + case case_2 { + leaf all-active { + description "All-active mode"; + type empty; + } + } + } + leaf source-bmac { + description "Unicast Source B-MAC address per ESI for PBB-EVPN"; + type jt:mac-unicast; + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container sonet-options { + description "SONET interface-specific options"; + uses sonet_options_type; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container redundancy-options { + description "Redundancy options"; + uses apply-advanced; + leaf primary { + description "Specify the primary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secondary { + description "Specify the secondary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container redundancy-peer { + description "Specify information for peer"; + uses apply-advanced; + leaf ipaddress { + description "Specify the IP address"; + type jt:ipv4addr; + } + } + container redundancy-local { + description "Specify information for the local peer"; + uses apply-advanced; + leaf data-address { + description "Specify the HA local data IP address"; + type jt:ipv4addr; + } + } + leaf routing-instance { + description "Specify routing-instance for the HA traffic"; + type string; + } + leaf replication-threshold { + description "Duration for which flow should remain active for replication"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 3600"; + } + } + } + container replication-options { + description "Specify state replication attributes"; + uses apply-advanced; + leaf mtu { + description "Specify the maximal packet size for replicated data"; + default "1500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 8000"; + } + } + } + } + container replicate-services { + description "Replicate services state from active to backup"; + uses apply-advanced; + leaf pgcp { + description "Replicate the PGCP service state"; + type empty; + } + } + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + leaf arp-l2-validate { + description "Validate ARP against L2"; + type empty; + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + container link-protection-sub-group { + description "Link Protection subgroup configuration"; + uses apply-advanced; + leaf subgroup-name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + } + leaf port-priority { + description "Link protection Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + leaf local-minimum-links-threshold { + description "Specify threshold for minimum links per VC/VCF member"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf resilient-hash { + description "Turn on resilient-hash"; + type empty; + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container hold-time { + description "Hold time for link up and link down for AE link members"; + leaf up { + description "Link up hold time for the AE link members"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + } + leaf aggregate-wait-time { + description "Aggregate wait time for the AE"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 1800"; + } + } + } + leaf force-up { + description "Forceup AE interface with LACP"; + type empty; + } + leaf no-peer-loopback-validation { + description "Skip MCLAG peer loop back validation for LACP PDUs on Forceup AE interface"; + type empty; + } + } + list link-protection-sub-group { + key name; + ordered-by user; + description "Link Protection subgroup configuration"; + leaf name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + choice type { + case case_1 { + leaf primary { + description "Primary subgroup for N:N link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup subgroup for N:N link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf init-delay-time { + description "Init delay timer for mcae sm for min traffic loss"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf recovery-delay-time { + description "Delay timer for bringing up ICL, ICCP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf enhanced-convergence { + description "Optimized convergence time for mcae"; + type empty; + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf alias { + description "Interface alias"; + type string; + } + leaf enhanced-convergence { + description "Optimize convergence time for L3"; + type empty; + } + leaf proxy-macip-advertisement { + description "Proxy advertisement of type 2 MAC+IP route for EVPN"; + type empty; + } + leaf virtual-gateway-accept-data { + description "Accept packets destined for virtual gateway address"; + type empty; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + leaf global-layer2-domainid { + description "Global Layer-2 Identifier for this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4094"; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container layer2-policer { + description "Layer2 policing for logical interface"; + uses apply-advanced; + choice layer2-input-policer-choice { + case case_1 { + leaf input-policer { + description "Two-color policer for received packets"; + type string; + } + } + case case_2 { + } + case case_3 { + leaf input-three-color { + description "Color-blind three-color policer for received packets"; + type string; + } + } + } + choice layer2-output-policer-choice { + case case_1 { + leaf output-policer { + description "Two-color policer for transmitted packets"; + type string; + } + } + case case_2 { + leaf output-three-color { + description "Three-color policer for transmitted packets"; + type string; + } + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + presence "enable dhcp"; + description "Configure DHCP Client"; + uses apply-advanced; + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf lease-time { + description "Default lease time requested in "; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 6"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server "; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string; + } + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-labels { + description "Protocol family maximum number of labels"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf mac { + description "Configure logical interface MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + } + grouping juniper-class-of-service-options { + uses apply-advanced; + container forwarding-policy { + description "Class-of-service forwarding policy"; + uses apply-advanced; + list next-hop-map { + key name; + ordered-by user; + description "Class-of-service next-hop map"; + leaf name { + description "Name to identify next-hop map"; + type string { + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class from which to map"; + leaf name { + description "Forwarding class"; + type string { + } + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + container forwarding-class-default { + description "Next Hop For traffic which does not meet any FC in the next-hop-map"; + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next-hop identifier to which to map"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list lsp-next-hop { + ordered-by user; + description "Regular expression for LSP next hop"; + type string; + } + leaf non-lsp-next-hop { + description "Any non-RSVP LSP next hop"; + type empty; + } + leaf discard { + description "Discard next hop"; + type empty; + } + } + } + list class { + key name; + ordered-by user; + description "Class-of-service description"; + leaf name { + description "Name to identify class of service"; + type string { + } + } + uses apply-advanced; + container classification-override { + description "Define classification overrides"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class name"; + type string { + } + } + } + } + } + container classifiers { + description "Classify incoming packets based on code point value"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) classifier"; + leaf name { + description "Classifier name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this classifier in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Define a classification of code point aliases"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Classify code points to a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Code points to classify to loss priority low"; + } + enum "high" { + description "Code points to classify to loss priority high"; + } + enum "medium-low" { + description "Code points to classify to loss priority medium-low"; + } + enum "medium-high" { + description "Code points to classify to loss priority medium-high"; + } + } + } + leaf-list code-points { + ordered-by user; + description "List of code point aliases and/or bit strings"; + type string; + } + } + } + } + } + container code-point-aliases { + description "Mapping of code point aliases to bit strings"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point aliases"; + leaf name { + description "DSCP alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point aliases IPv6"; + leaf name { + description "DSCP IPv6 alias name"; + type string { + } + } + leaf bits { + description "DSCP 6-bit pattern"; + type string { + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP code point aliases"; + leaf name { + description "EXP alias name"; + type string { + } + } + leaf bits { + description "EXP 3-bit pattern"; + type string { + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 code point aliases"; + leaf name { + description "IEEE-802.1 alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1 3-bit pattern"; + type string { + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence code point aliases"; + leaf name { + description "IPv4 precedence alias name"; + type string { + } + } + leaf bits { + description "IPv4 precedence 3-bit pattern"; + type string { + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) code point aliases"; + leaf name { + description "IEEE-802.1ad (DEI) alias name"; + type string { + } + } + leaf bits { + description "IEEE-802.1ad (DEI) 4-bit pattern"; + type string { + } + } + } + } + container host-outbound-traffic { + description "Classify and mark host traffic to forwarding engine"; + uses apply-advanced; + leaf forwarding-class { + description "Classification of host traffic to forwarding engine"; + type string { + length "1 .. 64"; + } + } + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + leaf override-firewall { + description "Override firewall filter actions for RE generated traffic"; + type empty; + } + container tcp { + presence "enable tcp"; + description "Settings for host outbound TCP packets"; + uses apply-advanced; + leaf raise-internet-control-priority { + description "Place packets with IP Precedence set to Internet control into Q3 (network-control)"; + type empty; + } + } + container protocol { + description "Settings for specific host outbound protocol packets"; + uses apply-advanced; + container isis-over-gre { + description "Settings for ISIS over GRE packets"; + uses apply-advanced; + leaf dscp-code-point { + description "Static DSCP code point of egress host traffic"; + type string { + } + } + } + } + } + list drop-profiles { + key name; + ordered-by user; + description "Random Early Drop (RED) data point map"; + leaf name { + description "Drop profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list fill-level { + key name; + ordered-by user; + description "Fill-level value of data point"; + leaf name { + description "Percentage the queue is full"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf drop-probability { + description "Probability packet will be dropped"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + container interpolate { + description "Data points interpolated"; + uses apply-advanced; + leaf-list fill-level { + ordered-by user; + description "Data points for queue full percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf-list drop-probability { + ordered-by user; + description "Data points for packet drop probability"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + leaf tri-color { + description "Enable tricolor marking"; + type empty; + } + container shared-buffer { + description "Shared buffer configuration"; + uses apply-advanced; + leaf percent { + description "Percentage of shared buffer to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + container ingress { + description "Shared buffer configuration at ingress"; + uses apply-advanced; + leaf percent { + description "Percentage of shared buffer to be used at ingress"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + list buffer-partition { + key name; + ordered-by user; + description "Buffer-partition"; + leaf name { + description "Buffer-partition name"; + type string { + } + } + uses apply-advanced; + leaf percent { + description "Percentage of ingress shared buffer to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf dynamic-threshold { + description "Threshold for maximum buffer share for a queue at ingress buffer-partition"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + } + container egress { + description "Shared buffer configuration at egress"; + uses apply-advanced; + leaf percent { + description "Percentage of shared buffer to be used at egress"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + list buffer-partition { + key name; + ordered-by user; + description "Buffer-partition"; + leaf name { + description "Buffer-partition name"; + type string { + } + } + uses apply-advanced; + leaf percent { + description "Percentage of egress shared buffer to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf dynamic-threshold { + description "Threshold for maximum buffer share for a queue at egress buffer-partition"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + } + } + container forwarding-classes { + description "One or more mappings of forwarding class to queue number"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class to map to queue number"; + max-elements 16; + leaf name { + description "Name of forwarding class"; + type string { + length "1 .. 64"; + } + } + leaf queue-num { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Low fabric priority"; + } + enum "high" { + description "High fabric priority"; + } + } + } + leaf no-loss { + description "This is no traffic loss class"; + type empty; + } + leaf pfc-priority { + description "PFC priority (FC id's)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + list queue { + key name; + ordered-by user; + description "Queue number to map to forwarding class"; + leaf name { + description "Queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf class-name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf priority { + description "Fabric priority"; + type enumeration { + enum "low" { + description "Fabric priority low"; + } + enum "high" { + description "Fabric priority high"; + } + } + } + } + } + list traffic-control-profiles { + key name; + ordered-by user; + description "Traffic shaping and scheduling profiles"; + leaf name { + description "Traffic control profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf scheduler-map { + description "Mapping of forwarding classes to packet schedulers"; + type string { + length "1 .. 64"; + } + } + leaf atm-service { + description "ATM service category"; + type enumeration { + enum "cbr" { + description "Constant bit rate"; + } + enum "rtvbr" { + description "Real-time variable bit rate"; + } + enum "nrtvbr" { + description "Non-real-time variable bit rate"; + } + } + } + leaf peak-rate { + description "ATM Peak Cell Rate (PCR)"; + units "cps"; + type string; + } + leaf sustained-rate { + description "ATM Sustained Cell Rate (SCR)"; + units "cps"; + type string; + } + leaf max-burst-size { + description "ATM Maximum Burst Size (MBS)"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "1 .. 4000"; + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container overhead-accounting { + description "Overhead accounting"; + leaf mode { + type string { + length "1 .. 64"; + } + } + leaf bytes { + description "Byte adjust value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf frame-mode-bytes { + description "Overhead bytes when in frame-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + leaf cell-mode-bytes { + description "Overhead bytes when in cell-mode"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-120 .. 124"; + } + } + } + } + container shaping-rate-priority-strict-high { + description "Shaping rate for strict high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-high { + description "Shaping rate for high priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium { + description "Shaping rate for medium priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-medium-low { + description "Shaping rate for medium low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-priority-low { + description "Shaping rate for low priority traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-high { + description "Shaping rate for excess high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-low { + description "Shaping rate for excess low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-high { + description "Shaping rate for excess medium-high traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container shaping-rate-excess-medium-low { + description "Shaping rate for excess medium-low traffic"; + leaf rate { + description "Shaping rate in bits per second"; + units "bits per second"; + type string; + } + leaf burst-size { + description "Shaping rate burst size"; + units "bytes"; + type string; + } + } + container guaranteed-rate { + description "Guaranteed rate"; + choice guaranteed_rate_choice { + case case_1 { + leaf rate { + description "Guaranteed rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Guaranteed rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate { + description "Excess bandwidth sharing proportion"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-high { + description "Excess bandwidth sharing for excess-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-high { + description "Excess bandwidth sharing for excess-medium-high priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-low { + description "Excess bandwidth sharing for excess-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container excess-rate-medium-low { + description "Excess bandwidth sharing for excess-medium-low priority"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + choice delay_buffer_sizing { + case case_1 { + container delay-buffer-rate { + description "Delay buffer rate"; + choice delay_buffer_rate_choice { + case case_1 { + leaf rate { + description "Delay buffer rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Delay buffer rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_3 { + leaf cps { + description "Delay buffer rate as an absolute cells per second rate"; + units "cells per second"; + type string; + } + } + } + } + } + } + } + list forwarding-class-sets { + key name; + ordered-by user; + description "Forwarding class sets"; + leaf name { + description "Forwarding class set"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + description "Class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + } + list congestion-notification-profile { + key name; + ordered-by user; + description "Congestion notification profile"; + leaf name { + description "Congestion notification name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container input { + description "Input congestion notification components"; + uses apply-advanced; + leaf cable-length { + description "Length of cable in metre"; + units "metre"; + type string; + } + container ieee-802.1 { + description "IEEE 802.1 code point"; + uses apply-advanced; + list code-point { + key name; + ordered-by user; + description "IEEE 802.1 code point"; + max-elements 8; + leaf name { + description "IEEE 802.1 code point"; + type string { + } + } + uses apply-advanced; + leaf pfc { + description "PFC"; + type empty; + } + leaf mru { + description "Max Receive Size of packet for this code point"; + units "bytes"; + type string; + } + choice qfc-control { + case case_1 { + leaf qfc { + description "QFC"; + type empty; + } + } + case case_2 { + container qcn { + presence "enable qcn"; + description "QCN"; + uses apply-advanced; + container defense-mode-edge { + description "Choose the defense mode edge"; + uses apply-advanced; + container alternate-priority { + description "Choose the alternate priority for defense mode edge"; + uses apply-advanced; + leaf bits { + description "IEEE 802.1 code point"; + type string { + } + } + } + } + } + } + } + } + } + container dscp { + description "DSCP code point"; + uses apply-advanced; + list code-point { + key name; + ordered-by user; + description "DSCP code point"; + max-elements 64; + leaf name { + description "DSCP code point"; + type string { + } + } + uses apply-advanced; + leaf pfc { + description "PFC"; + type empty; + } + leaf mru { + description "Max Receive Size of packet for this code point"; + units "bytes"; + type string; + } + } + } + } + container output { + description "Output congestion notification components"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + max-elements 16; + leaf name { + description "Class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf remove-cntag { + description "Remove cntag for this forwarding class"; + type empty; + } + leaf qcn { + description "Enabling Quantized Congestion Notification for this forwarding class"; + type empty; + } + } + container ieee-802.1 { + description "IEEE 802.1 code point"; + uses apply-advanced; + list code-point { + key name; + ordered-by user; + description "IEEE 802.1 code point"; + max-elements 8; + leaf name { + description "IEEE 802.1 code point"; + type string { + } + } + uses apply-advanced; + leaf-list flow-control-queue { + ordered-by user; + description "Flow control queue( set of queues)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + } + } + list scheduler-map-forwarding-class-sets { + key name; + ordered-by user; + description "Mapping of forwarding class sets to packet schedulers"; + leaf name { + description "Scheduler map forwarding class set name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class-set { + key name; + ordered-by user; + description "Forwarding class set name to map to scheduler"; + leaf name { + description "Forwarding class set name"; + type string { + length "1 .. 64"; + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + container system-defaults { + description "System defaults"; + uses apply-advanced; + container classifiers { + description "System wide Classifiers applied to incoming packets"; + uses apply-advanced; + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + } + container interfaces { + description "Apply class-of-service options to interfaces"; + uses apply-advanced; + list interface { + key name; + uses cos_interfaces_type; + } + } + list routing-instances { + key name; + ordered-by user; + description "Apply CoS options to routing instances with VRF table label"; + leaf name { + description "Routing instance name (or wildcard)"; + type string { + } + } + uses apply-advanced; + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container dscp { + description "Differentiated Services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container dscp-ipv6 { + description "Differentiated Services code point classifier IPv6"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + } + container rewrite-rules { + description "Write code point value of outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list exp { + key name; + ordered-by user; + description "MPLS EXP rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1 { + key name; + ordered-by user; + description "IEEE-802.1 rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + list ieee-802.1ad { + key name; + ordered-by user; + description "IEEE-802.1ad (DEI) rewrite rule"; + leaf name { + description "Rewrite rule name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf import { + description "Include this rewrite rule in this definition"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Markings for named forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Code point marking based on loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Marking when loss priority is low"; + } + enum "high" { + description "Marking when loss priority is high"; + } + enum "medium-low" { + description "Marking when loss priority is medium-low"; + } + enum "medium-high" { + description "Marking when loss priority is medium-high"; + } + } + } + leaf code-point { + description "Code point aliases or bit string"; + type string { + } + } + } + } + } + } + container fabric { + description "Define CoS parameters of switch fabric"; + uses apply-advanced; + container scheduler-map { + description "Mapping of fabric traffic to packet schedulers"; + uses apply-advanced; + list priority { + key name; + ordered-by user; + description "Fabric traffic priority"; + leaf name { + type enumeration { + enum "low" { + description "Low priority fabric traffic"; + } + enum "high" { + description "High priority fabric traffic"; + } + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "Mapping of forwarding classes to packet schedulers"; + leaf name { + description "Scheduler map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to scheduler"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + leaf scheduler { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + } + } + list fragmentation-maps { + key name; + ordered-by user; + description "Mapping of forwarding class to fragmentation options"; + leaf name { + description "Fragmentation map name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Forwarding class name to map to fragmentation options"; + leaf name { + description "Forwarding class name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice fragmentation-control { + case case_1 { + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 9192"; + } + } + } + } + case case_2 { + leaf no-fragmentation { + description "Don't allow fragmentation"; + type empty; + } + } + } + leaf multilink-class { + description "Multilink-Class assigned to the forwarding class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + } + } + list schedulers { + key name; + ordered-by user; + description "Packet schedulers"; + leaf name { + description "Scheduler name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container transmit-rate { + description "Transmit rate"; + uses apply-advanced; + choice transmit_rate_choice { + case case_1 { + leaf rate { + description "Transmit rate as rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Transmit rate as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_3 { + container remainder { + presence "enable remainder"; + description "Remainder available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + choice rate_limit_choice { + case case_1 { + leaf exact { + description "Enforce exact transmit rate"; + type empty; + } + } + case case_2 { + leaf rate-limit { + description "Enforce rate limit that uses policer"; + type empty; + } + } + } + } + container excess-rate { + description "Excess bandwidth sharing proportion"; + choice excess_rate_choice { + case case_1 { + leaf proportion { + description "Excess rate as a proportion"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + } + case case_2 { + leaf percent { + description "Excess rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container shaping-rate { + description "Shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + container buffer-size { + description "Queue transmission buffer size"; + uses apply-advanced; + choice buffer_size_choice { + case case_1 { + leaf percent { + description "Buffer size as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + case case_2 { + container remainder { + presence "enable remainder"; + description "Remainder of buffer size available"; + uses apply-advanced; + leaf percent { + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + case case_3 { + } + case case_4 { + } + } + choice buffer_limit { + case case_1 { + leaf exact { + description "Enforce exact buffer size"; + type empty; + } + } + } + container buffer-partition { + presence "enable buffer-partition"; + description "Partition buffer size among multicast and unicast"; + uses apply-advanced; + container multicast { + presence "enable multicast"; + description "Specify multicast fraction of reserved buffer"; + uses apply-advanced; + leaf percent { + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + leaf priority { + description "Scheduling priority"; + type string { + length "1 .. 64"; + } + } + leaf excess-priority { + description "Priority in the excess region"; + type string { + length "1 .. 64"; + } + } + list drop-profile-map { + key "loss-priority protocol"; + ordered-by user; + description "Assign drop profile to a loss priority and protocol"; + leaf loss-priority { + description "Loss priority value"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + enum "any" { + description "Ignore loss priority when assigning drop profile"; + } + } + } + leaf protocol { + description "Protocol type"; + type enumeration { + enum "tcp" { + description "TCP protocol only"; + } + enum "non-tcp" { + description "Non-TCP protocols only"; + } + enum "any" { + description "Ignore protocol type when assigning drop profile"; + } + } + } + leaf drop-profile { + description "Name of drop profile to apply"; + type string { + length "1 .. 64"; + } + } + } + leaf explicit-congestion-notification { + description "Enable or Disable Explicit Congestion Notification"; + type empty; + } + container drop-profile-map-set { + presence "enable drop-profile-map-set"; + description "System drop profile"; + uses apply-advanced; + leaf profile-name { + description "Drop Profile Name"; + type string { + length "1 .. 64"; + } + } + leaf profile-type { + type enumeration { + enum "drop" { + description "Set drop type"; + } + enum "mark" { + description "Set ECN marking"; + } + } + } + } + } + container traceoptions { + description "Trace options for class-of-service process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace configuration processing"; + } + enum "util" { + description "Trace utilities"; + } + enum "restart" { + description "Trace restart processing"; + } + enum "snmp" { + description "Trace SNMP-related processing"; + } + enum "hardware-database" { + description "Trace chassis hardware database related processing"; + } + enum "asynch" { + description "Trace asynchronous configuration processing"; + } + enum "dynamic" { + description "Trace dynamic CoS functions"; + } + enum "cos-adjustment" { + description "Trace CoS rate adjustments"; + } + enum "performance-monitor" { + description "Trace performance monitor counters"; + } + enum "chassis-scheduler" { + description "Trace chassis stream scheduler processing"; + } + enum "cn-util" { + description "Trace utilities for congestion-notification"; + } + enum "snmp-timeouts" { + description "Trace SNMP COSD kernel timeouts"; + } + enum "all" { + description "Trace everything"; + } + enum "feature-capability" { + description "Trace feature capability"; + } + enum "application" { + description "Trace Junos application programming"; + } + } + } + } + } + container multi-destination { + description "Multicast class of service"; + uses apply-advanced; + leaf scheduler-map { + description "Scheduler map for multi destination"; + type string { + length "1 .. 64"; + } + } + container family { + description "Family Inet/Inet6/Ethernet"; + uses apply-advanced; + container ethernet { + description "Ethernet switching options"; + uses apply-advanced; + leaf broadcast { + description "Forwarding class to be applied to broadcast"; + type string { + length "1 .. 64"; + } + } + } + container inet { + description "IP Multicast"; + uses apply-advanced; + container classifier { + description "Classifier applied to ip-multicast"; + uses apply-advanced; + container dscp { + description "Differentiated Services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + } + container inet6 { + description "IPv6 Multicast"; + uses apply-advanced; + container classifier { + description "Classifier applied to ipv6-multicast"; + uses apply-advanced; + container dscp-ipv6 { + description "Differentiated Services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + } + } + container classifiers { + description "Classifier applied to multicast traffic"; + uses apply-advanced; + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp { + description "Differentiated services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp-ipv6 { + description "Differentiated services code point classifier IPv6"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + leaf forwarding-class { + description "Forwarding class assigned to incoming Multi-destination packets"; + type string { + } + } + } + container application-traffic-control { + presence "enable application-traffic-control"; + description "Application classifier configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for application classifier"; + uses appqos-traceoptions-type; + } + list rate-limiters { + key name; + ordered-by user; + description "Configure application-traffic-control rate limiters"; + leaf name { + description "Application classifier rate-limiter name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf bandwidth-limit { + description "Bandwidth limit"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 10485760"; + } + } + } + leaf burst-size-limit { + description "Burst size limit (default with bandwidth-limit and no larger than 6400 * bandwidth)"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1342177280"; + } + } + } + } + list rule-sets { + key name; + ordered-by user; + description "Configure application-traffic-control rule-sets"; + leaf name { + description "Application classifier rule-set name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule"; + uses appqos_rule_type; + } + } + } + } + grouping appqos-traceoptions-type { + description "Trace options for application classifier"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping appqos_rule_type { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container match { + description "Specify application traffic control rule match-criteria"; + uses apply-advanced; + leaf application-any { + description "Any applications"; + type empty; + } + leaf application-unknown { + description "Uknown applcations"; + status deprecated; + type empty; + } + leaf application-known { + description "Identifiable applications"; + type empty; + } + leaf-list application { + ordered-by user; + description "Specify application name to match"; + type string { + length "1 .. 63"; + } + } + leaf-list application-group { + ordered-by user; + description "Specify application group name to match"; + type string { + length "1 .. 63"; + } + } + } + container then { + description "Specify rule action to take when packet match criteria"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "DSCP code point bitmap or alias"; + type string { + } + } + leaf loss-priority { + description "Packet loss priority"; + type enumeration { + enum "low" { + description "Low loss priority"; + } + enum "medium-low" { + description "Medium-low loss priority"; + } + enum "medium-high" { + description "Medium-high loss priority"; + } + enum "high" { + description "High loss priority"; + } + } + } + container rate-limit { + description "Apply rate limiters"; + uses apply-advanced; + leaf client-to-server { + description "Client-to-server rate limiter"; + type string; + } + leaf server-to-client { + description "Server-to-client rate limiter"; + type string; + } + leaf loss-priority-high { + description "Set Rate limiter's action Loss-Priority to high"; + type empty; + } + } + leaf log { + description "Log the action"; + type empty; + } + } + } + grouping cos_interfaces_type { + description "Physical interface"; + leaf name { + description "Interface name (or wildcard)"; + type union { + type jt:interface-device-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list forwarding-class-set { + key name; + ordered-by user; + description "Map forwarding class sets to output traffic control profile"; + max-elements 4; + leaf name { + description "Forwarding class sets name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container output-traffic-control-profile { + description "Output traffic control profile for the interface"; + leaf profile-name { + description "Name of the output traffic control profile associated with the interface"; + type string { + length "1 .. 64"; + } + } + } + } + leaf congestion-notification-profile { + description "Congestion notification profile for the interface"; + type string { + length "1 .. 64"; + } + } + container rewrite-value { + description "FC interface rewrite value"; + uses apply-advanced; + container input { + description "Input direction"; + uses apply-advanced; + container ieee-802.1 { + description "IEEE 802.1 code point"; + uses apply-advanced; + container code-point { + description "IEEE 802.1 code point"; + uses apply-advanced; + leaf bits { + description "IEEE 802.1 code point"; + type string { + } + } + } + } + } + } + leaf scheduler-map-forwarding-class-set { + description "Output scheduler map forwarding-class-set "; + type string { + } + } + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf input-scheduler-map { + description "Input scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf scheduler-map-chassis { + description "Scheduler map applied to chassis queues (not PIC queues)"; + type union { + type string { + pattern "derived"; + } + type string { + length "1 .. 64"; + } + } + } + container shaping-rate { + description "Output shaping rate"; + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + container input-shaping-rate { + description "Input shaping rate"; + leaf rate { + description "Input shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container input-traffic-control-profile-remaining { + description "Input traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifd"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + } + container member-link-scheduler { + description "Scheduler parameter model for member link"; + choice model { + case case_1 { + leaf scale { + description "Scale scheduler parameters on aggregate interface"; + type empty; + } + } + case case_2 { + leaf replicate { + description "Copy scheduler parameters from aggregate interface"; + type empty; + } + } + } + } + container exclude-queue-overhead-bytes { + presence "enable exclude-queue-overhead-bytes"; + description "Exclude the overhead bytes from the queue statistics"; + uses apply-advanced; + leaf include-hierarchy { + description "Perform overhead adjustment on IFD and all children"; + type empty; + } + } + container logical-interface-aggregate-statistics { + presence "enable logical-interface-aggregate-statistics"; + description "Logical interface aggregate queue statistics"; + } + list unit { + key name; + description "Logical interface unit (or wildcard)"; + leaf name { + description "Logical unit number"; + type union { + type string { + pattern "\*"; + } + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + } + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class assigned to incoming packets"; + type string { + length "1 .. 64"; + } + } + leaf scheduler-map { + description "Output scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf input-scheduler-map { + description "Input scheduler map"; + type string { + length "1 .. 64"; + } + } + leaf fragmentation-map { + description "Fragmentation map applied to this logical interface"; + type string { + length "1 .. 64"; + } + } + container shaping-rate { + presence "enable shaping-rate"; + description "Output shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + container input-shaping-rate { + description "Input shaping rate"; + choice shaping_rate_choice { + case case_1 { + leaf rate { + description "Shaping rate as an absolute rate"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf percent { + description "Shaping rate as a percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + container input-traffic-control-profile { + description "Input traffic control profile"; + leaf profile-name { + description "Name of traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile { + description "Output traffic control profile"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + length "1 .. 64"; + } + } + leaf shared-instance { + description "Name of the shared instance"; + type string { + length "1 .. 64"; + } + } + } + container output-traffic-control-profile-remaining { + description "Output traffic control profile for remaining traffic on the ifl"; + leaf profile-name { + description "Name of the traffic control profile"; + type string { + } + } + } + container report-ingress-shaping-rate { + description "Report ingress shaping rate"; + choice report_ingress_shaping_rate_choice { + case case_1 { + leaf rate { + description "Ingress shaping rate as an absolute value"; + units "bits per second"; + type string; + } + } + } + } + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP classifier"; + type string; + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + leaf-list family { + ordered-by user; + description "Family for DSCP Ipv6 classifier"; + type string; + } + } + container exp { + description "EXP classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container rewrite-rules { + description "Rewrite rules applied to outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv6 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + } + } + } + list exp { + key name; + ordered-by user; + description "EXP rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls-any" { + description "Apply to MPLS packets, write MPLS header only"; + } + enum "mpls-inet-both" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header"; + } + enum "mpls-inet-both-non-vpn" { + description "Apply to IPv4 MPLS packets, write MPLS and IPv4 header for only non VPN traffic"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Specify protocol matching criteria"; + type enumeration { + enum "mpls" { + description "Apply to IPv4 packets entering MPLS tunnel"; + } + enum "gtp-inet-outer" { + description "Apply to outer IP header"; + } + enum "gtp-inet-both" { + description "Apply to both IP header"; + } + enum "inet-outer" { + description "Apply to outer IP header"; + } + enum "inet-both" { + description "Apply to both IP header"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) rewrite rule"; + uses apply-advanced; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + enum "outer-and-inner" { + description "Rewrite rule applies to both outer and inner VLAN tags"; + } + } + } + } + } + } + container classifiers { + description "Classifiers applied to incoming packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point classifier"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point classifier IPv6"; + leaf name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + uses apply-advanced; + } + container ieee-802.1 { + description "IEEE-802.1 classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "VLAN tag used for classification"; + type enumeration { + enum "outer" { + description "Classification based on outer VLAN tag"; + } + enum "inner" { + description "Classification based on inner VLAN tag"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "VLAN tag used for classification"; + type enumeration { + enum "outer" { + description "Classification based on outer VLAN tag"; + } + enum "inner" { + description "Classification based on inner VLAN tag"; + } + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + leaf forwarding-class { + description "Forwarding class assigned to incoming packets"; + type string { + } + } + container rewrite-rules { + description "Rewrite rules applied to outgoing packets"; + uses apply-advanced; + list dscp { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + list dscp-ipv6 { + key name; + ordered-by user; + description "Differentiated Services code point rewrite rule IPv6"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1 { + description "IEEE-802.1 rewrite rule"; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + container ieee-802.1ad { + description "IEEE-802.1ad (DEI) rewrite rule"; + uses apply-advanced; + leaf rewrite-rule-name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + leaf vlan-tag { + description "One or more VLAN tags to which rewrite rule applies"; + type enumeration { + enum "outer" { + description "Rewrite rule applies to outer VLAN tag"; + } + } + } + } + list inet-precedence { + key name; + ordered-by user; + description "IPv4 precedence rewrite rule"; + leaf name { + description "Name of rewrite rule to be applied"; + type union { + type string { + pattern "default"; + } + type string { + length "1 .. 64"; + } + } + } + } + } + container multi-destination { + description "Multi-destination class of service"; + uses apply-advanced; + container classifiers { + description "Classifier applied to multi-destination traffic"; + uses apply-advanced; + container ieee-802.1 { + description "IEEE-802.1P classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp { + description "Differentiated services code point classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container dscp-ipv6 { + description "Differentiated services code point classifier IPv6"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + container inet-precedence { + description "IPv4 precedence classifier"; + leaf classifier-name { + description "Name of classifier to be applied"; + type string { + length "1 .. 64"; + } + } + } + } + leaf forwarding-class { + description "Forwarding class assigned to incoming Multi-destination packets"; + type string { + } + } + } + } + grouping juniper-dynamic-profile-varset-object { + leaf name { + description "Profile varset associated with the profile"; + type string { + length "1 .. 80"; + } + } + uses apply-advanced; + leaf junos-mep-id { + description "Dynamic variable to substitute 'mep' value in the profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8191"; + } + } + } + leaf junos-md-level { + description "Dynamic variable to substitute 'level' value in the profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf junos-remote-mep-id { + description "Dynamic variable to substitute 'remote-mep' value in the profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8191"; + } + } + } + leaf junos-md-name { + description "Dynamic variable to substitute 'maintenance-domain' in profile"; + type string; + } + leaf junos-ma-name { + description "Dynamic variable to substitute 'maintenance-association' in profile"; + type string { + length "1 .. 32"; + } + } + leaf junos-loss-threshold { + description "Dynamic variable to substitute 'loss-threshold' in profile"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf junos-md-name-format { + description "Dynamic variable to substitute 'name-format' in profile"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf junos-ma-name-format { + description "Dynamic variable to substitute 'short-name-format' in profile"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf junos-ccm-interval { + description "Dynamic variable to substitute 'interval' in profile"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf junos-action-profile { + description "Dynamic variable to substitute 'action-profile' in profile"; + type string; + } + leaf junos-layer2-output-policer { + description "Dynamic variable to substitute 'layer2 output-policer'"; + type string; + } + } + grouping juniper-dynamic-variable-object { + leaf name { + description "Name of variable"; + type string { + } + } + uses apply-advanced; + leaf equals { + description "Computable expression of dynamic profile variables"; + type string; + } + leaf default-value { + description "Default value for variable"; + type string; + } + leaf mandatory { + description "Variable must be supplied by external server"; + type empty; + } + leaf uid-reference { + description "Variable that refers to the uid variable"; + type empty; + } + leaf uid { + description "Compute unique Id value for the variable"; + type empty; + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + leaf register-probe-time { + description "Register probe time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 60"; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping keepalives_type { + uses apply-advanced; + leaf interval { + description "Keepalive period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf up-count { + description "Keepalive received to bring link up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Keepalive missed to bring link down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping mac_list { + description "MAC address"; + leaf name { + type jt:mac-addr; + } + uses apply-advanced; + container policer { + description "MAC policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping match_L2_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + } + grouping match_L3_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + } + grouping match_interface_object { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_object_oam { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_set_object { + leaf name { + description "Interface set to match"; + type string; + } + } + grouping match_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping mpls_filter { + description "Define an MPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list label { + key name; + ordered-by user; + description "MPLS label bits"; + leaf name { + description "Range of values between 0 and 1048575 in decimal or hexadecimal"; + type string { + } + } + uses apply-advanced; + } + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_mpls_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice mplscnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping match_mpls_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-3" { + description "Layer-3 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mask-in-hex { + description "Mask out bits in the packet data to be matched"; + type string { + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + leaf flexible-mask-name { + description "Select a flexible match from predefined template field"; + type string; + } + } + grouping mpls_ifd_options { + uses apply-advanced; + container pop-all-labels { + presence "enable pop-all-labels"; + description "Pop all MPLS labels off incoming packets"; + uses apply-advanced; + leaf-list required-depth { + ordered-by user; + description "Required label depth of packet to pop all labels"; + type enumeration { + enum "all" { + description "Takes effect only in Stoli based FPCs, in all other FPCs equivalent to '[1 2]'"; + } + enum "1" { + description "Required label depth of packet to pop labels"; + } + enum "2" { + description "Required label depth of packet to pop labels"; + } + } + } + } + } + grouping mpls_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf exp { + description "Match MPLS EXP bits"; + type empty; + } + leaf exp-except { + description "Do not match MPLS EXP bits"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match flexible range"; + type empty; + } + leaf forwarding-class { + description "Match forwarding class"; + type empty; + } + leaf forwarding-class-except { + description "Do not match forwarding class"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf interface-group { + description "Match interface group"; + type empty; + } + leaf interface-set { + description "Match interface in set"; + type empty; + } + leaf loss-priority { + description "Match Loss Priority"; + type empty; + } + leaf loss-priority-except { + description "Do not match Loss Priority"; + type empty; + } + leaf label { + description "MPLS label bits"; + type empty; + } + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping otn_options_type { + uses apply-advanced; + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + choice line-loopback-choice { + leaf line-loopback { + description "Enable line loopback"; + type empty; + } + leaf no-line-loopback { + description "Don't enable line loopback"; + type empty; + } + } + choice local-loopback-choice { + leaf local-loopback { + description "Enable local host loopback"; + type empty; + } + leaf no-local-loopback { + description "Don't enable local host loopback"; + type empty; + } + } + choice prbs-choice { + leaf prbs { + description "Enable otn payload prbs"; + type empty; + } + leaf no-prbs { + description "Don't enable otn payload prbs"; + type empty; + } + } + choice odu-ttim-action-enable-choice { + leaf odu-ttim-action-enable { + description "Enable consequent action for ODU TTIM"; + type empty; + } + leaf no-odu-ttim-action-enable { + description "Don't enable consequent action for ODU TTIM"; + type empty; + } + } + choice otu-ttim-action-enable-choice { + leaf otu-ttim-action-enable { + description "Enable consequent action for OTU TTIM"; + type empty; + } + leaf no-otu-ttim-action-enable { + description "Don't enable consequent action for OTU TTIM"; + type empty; + } + } + choice transport-monitoring-choice { + leaf transport-monitoring { + description "Enable transport monitoring"; + type empty; + } + leaf no-transport-monitoring { + description "Don't enable transport monitoring"; + type empty; + } + } + container odu-delay-management { + description "Set odu delay management"; + uses apply-advanced; + choice monitor-end-point-choice { + leaf monitor-end-point { + description "Originate connection monitor end point"; + type empty; + } + leaf no-monitor-end-point { + description "Don't originate connection monitor end point"; + type empty; + } + } + choice start-measurement-choice { + leaf start-measurement { + description "Enable to start a dm measurement"; + type empty; + } + leaf no-start-measurement { + description "Don't enable to start a dm measurement"; + type empty; + } + } + choice bypass-choice { + leaf bypass { + description "Act as tandem passing dm value through node"; + type empty; + } + leaf no-bypass { + description "Don't act as tandem passing dm value through node"; + type empty; + } + } + leaf number-of-frames { + description "Number of consequent frames to declare dm done"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice remote-loop-enable-choice { + leaf remote-loop-enable { + description "Enable remote DM loop on remote end"; + type empty; + } + leaf no-remote-loop-enable { + description "Don't enable remote DM loop on remote end"; + type empty; + } + } + } + container signal-degrade { + description "Signal degrade thresholds"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber threshold for signal degrade clear (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber threshold for signal-degrade (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf q-threshold-signal-degrade-clear { + description "Q threshold for signal-degrade clear (e.g. 14.26)"; + units "dB"; + type string; + } + leaf q-threshold-signal-degrade { + description "Q threshold for signal-degrade (e.g. 9.26)"; + units "dB"; + type string; + } + } + container odu-signal-degrade { + description "Signal degrade thresholds for ODU"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber th for sd clear (format: xe-n, example: 4.5e-3)"; + default "1.0e-9"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber th for sd (format: xe-n, example: 4.5e-3)"; + default "1.0e-6"; + type string { + } + } + } + container preemptive-fast-reroute { + description "Preemptive fast reroute"; + uses apply-advanced; + choice odu-signal-degrade-monitor-enable-choice { + leaf odu-signal-degrade-monitor-enable { + description "Enable ODU signal degrade monitoring"; + type empty; + } + leaf no-odu-signal-degrade-monitor-enable { + description "Don't enable ODU signal degrade monitoring"; + type empty; + } + } + choice odu-backward-frr-enable-choice { + leaf odu-backward-frr-enable { + description "Enable ODU backward frr insertion"; + type empty; + } + leaf no-odu-backward-frr-enable { + description "Don't enable ODU backward frr insertion"; + type empty; + } + } + choice signal-degrade-monitor-enable-choice { + leaf signal-degrade-monitor-enable { + description "Enable signal degrade monitoring"; + type empty; + } + leaf no-signal-degrade-monitor-enable { + description "Don't enable signal degrade monitoring"; + type empty; + } + } + choice backward-frr-enable-choice { + leaf backward-frr-enable { + description "Enable backward frr insertion"; + type empty; + } + leaf no-backward-frr-enable { + description "Don't enable backward frr insertion"; + type empty; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "GFEC all 0's"; + } + enum "gfec" { + description "GFEC-Generic Forward Error Correction"; + } + enum "efec" { + description "EFEC-Enhanced Forward Error Correction"; + } + enum "gfec-sdfec" { + description "Both gfec and sdfec"; + } + enum "ufec" { + description "UFEC-Ultra Forward Error Correction"; + } + enum "sdfec" { + description "SDFEC-Soft Decision Forward Error Correction"; + } + enum "hgfec" { + description "HGFEC-High Gain Forward Error Correction"; + } + } + } + choice insert-odu-oci-choice { + leaf insert-odu-oci { + description "Force odu open connection indication"; + type empty; + } + leaf no-insert-odu-oci { + description "Don't force odu open connection indication"; + type empty; + } + } + choice insert-odu-lck-choice { + leaf insert-odu-lck { + description "Force odu locked maintenance signal"; + type empty; + } + leaf no-insert-odu-lck { + description "Don't force odu locked maintenance signal"; + type empty; + } + } + leaf rate { + description "Optical Transmission Network mode"; + type enumeration { + enum "pass-thru" { + description "Pass through mode - No OTN framing"; + } + enum "fixed-stuff-bytes" { + description "Fixed Stuff Bytes 11.0957Gbps"; + } + enum "no-fixed-stuff-bytes" { + description "No Fixed Stuff Bytes 11.0491Gbps"; + } + enum "oc192" { + description "OTU2 for OC192 10.7Gbps"; + } + enum "otu3" { + description "OTU3 for 40Gbps"; + } + enum "otu4" { + description "OTU4/OTU4v for 100Gbps-127Gbps"; + } + } + } + container bytes { + description "Set OTN header bytes"; + uses apply-advanced; + leaf transmit-payload-type { + description "Transmit payload type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container tti { + description "Trace Identifier"; + uses apply-advanced; + leaf otu-dapi { + description "OTU Destination Access Point Identifier"; + type string; + } + leaf otu-sapi { + description "OTU Source Access Point Identifier"; + type string; + } + leaf otu-expected-receive-dapi { + description "OTU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf otu-expected-receive-sapi { + description "OTU Expected Receive Source Access Point Identifier"; + type string; + } + leaf odu-dapi { + description "ODU Destination Access Point Identifier"; + type string; + } + leaf odu-sapi { + description "ODU Source Access Point Identifier"; + type string; + } + leaf odu-expected-receive-dapi { + description "ODU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf odu-expected-receive-sapi { + description "ODU Expected Receive Source Access Point Identifier"; + type string; + } + choice otu-dapi-first-byte-nul-choice { + leaf otu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-sapi-first-byte-nul-choice { + leaf otu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-dapi-first-byte-nul-choice { + leaf otu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-sapi-first-byte-nul-choice { + leaf otu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-dapi-first-byte-nul-choice { + leaf odu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-sapi-first-byte-nul-choice { + leaf odu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-dapi-first-byte-nul-choice { + leaf odu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-sapi-first-byte-nul-choice { + leaf odu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + } + container trigger { + description "Defect triggers"; + uses apply-advanced; + container oc-los { + description "OC Loss Of Signal defect trigger"; + choice oc_los_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lof { + description "OC Loss Of Frame defect trigger"; + choice oc_lof_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lom { + description "OC Loss Of Multiframe defect trigger"; + choice oc_lom_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-wavelength-lock { + description "OC Wavelength Lock defect trigger"; + choice oc_wavelength_lock_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-tsf { + description "Oc tsf defect trigger"; + choice oc-tsf-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ais { + description "OTU Alarm Indication Signal defect trigger"; + choice otu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-bdi { + description "OTU Backward Defect Indication defect trigger"; + choice otu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-iae { + description "OTU Incoming Alignment defect trigger"; + choice otu_iae_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ttim { + description "OTU Trail Trace Identifier Mismatch defect trigger"; + choice otu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-sd { + description "OTU Signal Degrade defect trigger"; + choice otu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-deg { + description "OTU FEC Degrade defect trigger"; + choice otu_fec_deg_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-exe { + description "OTU FEC Excessive Error defect trigger"; + choice otu_fec_exe_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ais { + description "ODU Alarm Indication Signal defect trigger"; + choice odu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bdi { + description "ODU Backward Defect Indication defect trigger"; + choice odu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-iae { + description "Odu iae defect trigger"; + choice odu-iae-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bei { + description "Odu backward error indication defect trigger"; + choice odu_bei_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-oci { + description "ODU Open Connection Indication defect trigger"; + choice odu_oci_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-lck { + description "ODU Locked defect trigger"; + choice odu_lck_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ttim { + description "ODU Trail Trace Identifier Mismatch defect trigger"; + choice odu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-sd { + description "ODU Signal Degrade defect trigger"; + choice odu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container opu-ptim { + description "Payload Type Mismatch defect trigger"; + choice opu_ptm_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + } + container tca { + description "TCA - threshold crossing alerts"; + uses apply-advanced; + container otu-tca-es { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses { + description "OTU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas { + description "OTU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe { + description "OTU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU BBE in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-es-fe { + description "OTU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses-fe { + description "OTU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas-fe { + description "OTU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe-fe { + description "OTU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end BBE (BEI) in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es { + description "ODU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses { + description "ODU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas { + description "ODU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe { + description "ODU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es-fe { + description "ODU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses-fe { + description "ODU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas-fe { + description "ODU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe-fe { + description "ODU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-fec-ber { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + } + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping ppp_options_type { + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile name"; + type string; + } + container chap { + presence "enable chap"; + description "Challenge Handshake Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-chap-secret { + description "Default CHAP secret to be used when no matching access profile exists"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in CHAP-Challenge and CHAP-Response"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf passive { + description "Handle incoming CHAP requests only"; + type empty; + } + } + container pap { + presence "enable pap"; + description "Password Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-password { + description "Default PAP password used in the absence of matching profile"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in PAP request packet"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf local-password { + description "Password sent in PAP request packet"; + type jt:unreadable; + } + leaf passive { + description "Do not handle PAP authentication requests"; + type empty; + } + } + container compression { + description "Set compression options"; + leaf acfc { + description "Negotiate Address/Control field compression"; + type empty; + } + leaf pfc { + description "Negotiate Protocol field compression"; + type empty; + } + } + leaf lcp-restart-timer { + description "LCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "20 .. 10000"; + } + } + } + leaf ncp-restart-timer { + description "NCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "500 .. 10000"; + } + } + } + leaf no-termination-request { + description "Don't send PPP termination requests"; + type empty; + } + leaf loopback-clear-timer { + description "Loopback clear timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf lcp-max-conf-req { + description "Maximum LCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ncp-max-conf-req { + description "Maximum NCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf on-demand-ip-address { + description "Enable On-Demand IPv4 address allocation and de-allocation"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to dynamic-profile"; + type string { + length "1 .. 63"; + } + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf mtu { + description "The Maximum Transfer Unit size in bytes"; + type string; + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + container local-authentication { + description "Local Authentication Protocol options"; + uses local_auth_type; + } + } + grouping local_auth_type { + description "Local authentication"; + uses apply-advanced; + leaf password { + description "Username password"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf circuit-id { + description "Include circuit-id "; + type empty; + } + leaf remote-id { + description "Include remote-id "; + type empty; + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf delimiter { + description "Delimiter/separator character"; + type string { + length 1; + } + } + } + } + grouping pppoe_options_type { + uses apply-advanced; + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + leaf idle-timeout { + description "Time for which session can be idle (0 = forever)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf access-concentrator { + description "Name of the access concentrator (PPPoE server)"; + type string; + } + leaf service-name { + description "Service to be requested (from PPPoE server)"; + type string; + } + leaf auto-reconnect { + description "Time to reconnect after session terminates (0 = never)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice pppoe-mode { + case case_1 { + leaf server { + description "PPPoE operates in server mode"; + type empty; + } + } + case case_2 { + leaf client { + description "PPPoE operates in client mode"; + type empty; + } + } + } + leaf ppp-max-payload { + description "Specify the value of ppp-max-payload tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1492 .. 9192"; + } + } + } + } + grouping prefix_action { + leaf name { + description "Prefix action name"; + type string { + } + } + uses apply-advanced; + leaf policer { + description "Police the packet using a set of named policer"; + type string { + } + } + leaf count { + description "Enable counters"; + type empty; + } + leaf filter-specific { + description "Filter specific, else term specific"; + type empty; + } + leaf subnet-prefix-length { + description "Prefix length for the total address range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + choice source_or_dest { + case case_1 { + leaf source-prefix-length { + description "Source prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + case case_2 { + leaf destination-prefix-length { + description "Destination prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + } + grouping prefix_list_items { + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping service_set_syslog_object { + uses apply-advanced; + list host { + key name; + ordered-by user; + max-elements 10; + leaf name { + description "Name of host to notify"; + type string { + } + } + uses apply-advanced; + list contents { + key name; + leaf name { + description "Facility type"; + type enumeration { + enum "services" { + description "Adaptive Services PIC"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf log-prefix { + description "Prefix for all logging to this host"; + type string { + } + } + leaf port { + description "UDP port for syslogd on the host"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container class { + description "Syslog messages classes"; + uses apply-advanced; + container session-logs { + presence "enable session-logs"; + description "Allow syslog messages for session events"; + uses apply-advanced; + container open { + presence "enable open"; + description "Allow syslog messages for session open events"; + } + container close { + presence "enable close"; + description "Allow syslog messages for session close events"; + } + } + container packet-logs { + presence "enable packet-logs"; + description "Allow syslog messages for packet related events"; + } + container stateful-firewall-logs { + presence "enable stateful-firewall-logs"; + description "Allow syslog messages for stateful firewall events"; + } + container alg-logs { + presence "enable alg-logs"; + description "Allow syslog messages for ALG events"; + } + container nat-logs { + presence "enable nat-logs"; + description "Allow syslog messages for NAT events"; + uses apply-advanced; + container deterministic-nat-configuration-log { + presence "enable deterministic-nat-configuration-log"; + description "Allow syslog messages for Determinisitic NAT config events"; + } + } + container ids-logs { + presence "enable ids-logs"; + description "Allow syslog messages for IDS events"; + } + container pcp-logs { + presence "enable pcp-logs"; + description "PCP logs"; + container map { + presence "enable map"; + description "Allow syslog messages for PCP"; + } + container debug { + presence "enable debug"; + description "Allow PCP debug syslogs"; + } + } + container ha-logs { + description "Stateful high availability logs"; + uses apply-advanced; + container open-synchronized { + presence "enable open-synchronized"; + description "Allow syslog message for session open events"; + } + container close-synchronized { + presence "enable close-synchronized"; + description "Allow syslog message for session close events"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipv4addr; + } + } + leaf message-rate-limit { + description "Maximum syslog messages per second allowed from this interface. Applies per member if set at aggregate level"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + } + grouping sonet_options_type { + uses apply-advanced; + leaf vtmapping { + description "VT mapping mode"; + type enumeration { + enum "klm" { + description "KLM mode"; + } + enum "itu-t" { + description "ITU-T mode"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf path-trace { + description "Path trace string"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container trigger { + description "Defect triggers"; + uses apply-advanced; + container lol { + description "LOL defect trigger"; + choice lol_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container pll { + description "PLL defect trigger"; + choice pll_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container lof { + description "LOF defect trigger"; + choice lof_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container los { + description "LOS defect trigger"; + choice los_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ais-l { + description "AIS-L defect trigger"; + choice ais_l_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container rfi-l { + description "RFI-L defect trigger"; + choice rfi_l_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ber-sd { + description "BER-SD defect trigger"; + uses apply-advanced; + choice ber_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ber-sf { + description "BER-SF defect trigger"; + uses apply-advanced; + choice ber_sf_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ais-p { + description "AIS-P defect trigger"; + choice ais_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container lop-p { + description "LOP-P defect trigger"; + choice lop_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container rfi-p { + description "RFI-P defect trigger"; + choice rfi_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container uneq-p { + description "UNEQ-P defect trigger"; + choice uneq_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container plm-p { + description "PLM-P defect trigger"; + choice plm_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container locd { + description "LOCD defect trigger (ATM only)"; + choice locd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container lcdp { + description "LCD-P defect trigger (Ethernet WAN only)"; + choice lcdp_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + } + container aps { + description "Automatic Protection Switching"; + uses aps_type; + } + choice payload_scrambler_choices { + case case_1 { + container payload-scrambler { + presence "enable payload-scrambler"; + description "Enable payload scrambling"; + choice payload-choice { + } + } + } + case case_2 { + leaf no-payload-scrambler { + description "Do not enable payload scrambling"; + type empty; + } + } + } + choice z0-increment-choice { + leaf z0-increment { + description "Increment Z0 in SDH mode"; + type empty; + } + leaf no-z0-increment { + description "Don't increment Z0 in SDH mode"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for STM-1"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for STM-1"; + type empty; + } + } + container bytes { + description "Set SONET header bytes"; + uses apply-advanced; + leaf e1-quiet { + description "E1-quiet value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf f1 { + description "F1 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf f2 { + description "F2 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf s1 { + description "S1/Z1 value (stratum clock by convention)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf z3 { + description "Z3 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf z4 { + description "Z4 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf c2 { + description "C2 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf rfc-2615 { + description "RFC 2615 compliance"; + type empty; + } + leaf aggregate { + description "Join a SONET aggregate"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + } + grouping three-color-policer-type { + description "Three-color policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Three color policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + container action { + description "Action for three-color policer"; + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Loss priority for packet"; + uses three-color-policer-action; + } + } + choice rate-type-choice { + case case_1 { + container single-rate { + description "Single-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic"; + units "bytes"; + type string; + } + leaf excess-burst-size { + description "Burst size allowed for excess traffic"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + case case_3 { + container two-rate { + presence "enable two-rate"; + description "Two-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic "; + units "bytes"; + type string; + } + leaf peak-information-rate { + description "Bandwidth allowed for peak traffic"; + units "bits per second"; + type string; + } + leaf peak-burst-size { + description "Burst size allowed for peak traffic "; + units "bytes"; + type string; + } + container aggregate-policing { + presence "enable aggregate-policing"; + description "Configure Aggregate Policer"; + uses apply-advanced; + list policer { + key name; + ordered-by user; + description "Two-color policer to be used as aggregate"; + max-elements 1; + leaf name { + description "Name of two-color policer to use to aggregate police"; + type string; + } + uses apply-advanced; + leaf aggregate-sharing-mode { + description "Hierarchical Metering model"; + type enumeration { + enum "hybrid" { + description "Child policer CIR rates are guaranteed rates and PIR rate are peak rates for member flow"; + } + } + } + } + } + } + } + case case_4 { + } + } + } + grouping three-color-policer-action { + description "Action for three-color policer"; + leaf name { + description "Loss priority for packet"; + type enumeration { + enum "high" { + description "High loss priority"; + } + } + } + uses apply-advanced; + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + } + } + grouping to_fabric_object { + description "Match traffic going to fabric"; + uses apply-advanced; + leaf except { + description "Match traffic switched locally and not going to fabric"; + type empty; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunnel_end_point { + description "Define a tunnel end point"; + leaf name { + description "Tunnel end-point identifier (ASCII string)"; + type string { + } + } + uses apply-advanced; + choice l3-protocol { + case case_1 { + container ipv6 { + presence "enable ipv6"; + description "Enter an IPv6 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv6addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv6prefix; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Enter an IPv4 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv4addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv4prefix; + } + } + } + } + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "Tunnel is GRE"; + uses apply-advanced; + leaf key { + description "Key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + container gre-in-udp { + presence "enable gre-in-udp"; + description "Tunnel is GRE-in-UDP"; + uses apply-advanced; + leaf source-port { + description "UDP source port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "UDP destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf key { + description "GRE key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + grouping vlan_map { + description "IEEE 802.1q Virtual LAN (VLAN) Tag mapping"; + uses apply-advanced; + choice operation_choices { + case case_1 { + leaf push { + description "Push a VLAN tag"; + type empty; + } + } + case case_2 { + leaf swap { + description "Swap a VLAN tag"; + type empty; + } + } + case case_3 { + leaf pop { + description "Pop a VLAN tag"; + type empty; + } + } + case case_4 { + leaf push-push { + description "Push two VLAN tags"; + type empty; + } + } + case case_5 { + leaf swap-push { + description "Swap VLAN tag and push a new VLAN tag"; + type empty; + } + } + case case_6 { + leaf swap-swap { + description "Swap both outer and inner VLAN tags"; + type empty; + } + } + case case_7 { + leaf pop-swap { + description "Pop outer VLAN tag and swap inner VLAN tag"; + type empty; + } + } + case case_8 { + leaf pop-pop { + description "Pop both outer and inner VLAN tags"; + type empty; + } + } + } + leaf tag-protocol-id { + description "IEEE 802.1q Tag Protocol Identifier to rewrite"; + type string { + } + } + leaf inner-tag-protocol-id { + description "IEEE 802.1q Tag Protocol ID to rewrite for inner tag"; + type string; + } + leaf vlan-id { + description "VLAN ID to rewrite"; + type string; + } + leaf inner-vlan-id { + description "VLAN ID to rewrite for inner tag"; + type string; + } + } + grouping vpls_filter { + description "Define an VPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + } + } + } + grouping vrrp-group { + description "Virtual Router Redundancy Protocol group"; + leaf name { + description "Identifier for VRRP group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + choice address { + case case_1 { + leaf-list virtual-address { + ordered-by user; + description "One or more virtual IPv4 addresses"; + type jt:ipv4addr; + } + } + case case_2 { + leaf-list virtual-inet6-address { + ordered-by user; + description "One or more virtual inet6 addresses"; + type jt:ipv6addr; + } + } + } + leaf virtual-link-local-address { + description "Virtual link-local addresses"; + type jt:ipv6addr; + } + leaf priority { + description "Virtual router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf preferred { + description "Preferred group on subnet"; + type empty; + } + choice advertisement_type { + case case_1 { + leaf advertise-interval { + description "Advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + case case_2 { + leaf fast-interval { + description "Fast advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 40950"; + } + } + } + } + case case_3 { + leaf inet6-advertise-interval { + description "Inet6 advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 40000"; + } + } + } + } + } + choice preempt_type { + case case_1 { + container preempt { + presence "enable preempt"; + description "Allow preemption"; + uses apply-advanced; + leaf hold-time { + description "Preemption hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + } + case case_2 { + leaf no-preempt { + description "Don't allow preemption"; + type empty; + } + } + } + choice accept_type { + case case_1 { + leaf accept-data { + description "Accept packets destined for virtual IP address"; + type empty; + } + } + case case_2 { + leaf no-accept-data { + description "Don't accept packets destined for virtual IP address"; + type empty; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "HMAC-MD5-96"; + } + enum "simple" { + description "Simple password"; + } + } + } + leaf authentication-key { + description "Authentication key"; + type jt:unreadable; + } + container track { + description "Interfaces to track for VRRP group"; + uses apply-advanced; + leaf priority-hold-time { + description "Priority hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface to track in VRRP group"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list bandwidth-threshold { + key name; + description "Track bandwidth of interface"; + leaf name { + description "Interface speed below which priority cost is incurred"; + units "bits per second"; + type string; + } + leaf priority-cost { + description "Value subtracted from priority when bandwidth is below threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + leaf priority-cost { + description "Value to subtract from priority when interface is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + list route { + key "route_address routing-instance"; + ordered-by user; + description "Route to track in VRRP group"; + leaf route_address { + description "Route address"; + type jt:ipprefix-mandatory; + } + leaf routing-instance { + description "Routing instance to which route belongs, or 'default'"; + type string { + } + } + leaf priority-cost { + description "Value to subtract from priority when route is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + } + container vrrp-inherit-from { + description "VRRP group to follow for this VRRP group"; + uses apply-advanced; + leaf active-interface { + description "Interface name of VRRP active group"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf active-group { + description "Identifier for VRRP active group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-event-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-event-options@2019-01-01.yang new file mode 100644 index 00000000..5e149ea7 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-event-options@2019-01-01.yang @@ -0,0 +1,986 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-event-options { + namespace "http://yang.juniper.net/junos-qfx/conf/event-options"; + + prefix jc-event-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos event-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses event-options-group; + } + augment /jc:configuration/jc:groups { + uses event-options-group; + } + grouping event-options-group { + container event-options { + description "Event processing configuration"; + uses apply-advanced; + leaf max-policies { + description "Number of policies that can be executed simultaneously"; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + list generate-event { + key name; + ordered-by user; + description "Generate an internal event"; + max-elements 10; + leaf name { + description "Name of the event to be generated"; + type string { + length "1 .. 63"; + } + } + choice time_choice { + case case_1 { + leaf time-of-day { + description "Time of day at which to generate event (hh:mm:ss)"; + type jt:time-of-day; + } + } + case case_2 { + leaf time-interval { + description "Frequency for generating the event"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2592000"; + } + } + } + } + } + leaf no-drift { + description "Avoid event generation delay propagating to next event"; + type empty; + } + } + list policy { + key name; + ordered-by user; + description "Event policy for event policy manager"; + leaf name { + description "Name of policy"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list events { + ordered-by user; + description "List of events that trigger this policy"; + type string; + } + list within { + key name; + ordered-by user; + description "List of events correlated with trigering events"; + leaf name { + description "Time within which correlated events must occur (or not)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + uses apply-advanced; + container trigger { + description "Correlate events based on the number of occurrences"; + choice when { + case case_1 { + leaf until { + description "Trigger when occurrences of triggering event < 'count'"; + type empty; + } + } + case case_2 { + leaf on { + description "Trigger when occurrences of triggering event = 'count'"; + type empty; + } + } + case case_3 { + leaf after { + description "Trigger when occurrences of triggering event > 'count'"; + type empty; + } + } + } + leaf count { + description "Number of occurrences of triggering event"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list events { + ordered-by user; + description "List of events that must occur within time interval"; + type string; + } + container not { + description "Events must not occur within time interval"; + leaf-list events { + ordered-by user; + description "List of events that must not occur within time interval"; + type string; + } + } + } + list attributes-match { + key "from-event-attribute condition to-event-attribute-value"; + ordered-by user; + description "List of attributes to compare for two events"; + leaf from-event-attribute { + description "First attribute to compare"; + type string { + } + } + leaf condition { + description "Relationship that must hold between attributes"; + type enumeration { + enum "equals" { + description "Attributes match"; + } + enum "starts-with" { + description "Second attribute starts with first attribute value"; + } + enum "matches" { + description "Regular expression matching the first attribute value"; + } + } + } + leaf to-event-attribute-value { + description "Second attribute or value to compare"; + type string; + } + } + container then { + description "List of actions to perform when policy matches"; + uses apply-advanced; + leaf ignore { + description "Do not log event or perform any other action"; + type empty; + } + container priority-override { + description "Change syslog priority value"; + uses apply-advanced; + leaf facility { + description "Facility type"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "ntp" { + description "NTP process"; + } + enum "security" { + description "Security related"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "dfc" { + description "Dynamic flow capture"; + } + enum "external" { + description "Local external applications"; + } + enum "firewall" { + description "Firewall filtering system"; + } + enum "pfe" { + description "Packet Forwarding Engine"; + } + enum "conflict-log" { + description "Configuration conflict log"; + } + enum "change-log" { + description "Configuration change log"; + } + enum "interactive-commands" { + description "Commands executed by the UI"; + } + } + } + leaf severity { + description "Severity type"; + type enumeration { + enum "emergency" { + description "Panic conditions"; + } + enum "alert" { + description "Conditions that should be corrected immediately"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "Error conditions"; + } + enum "warning" { + description "Warning messages"; + } + enum "notice" { + description "Conditions that should be handled specially"; + } + enum "info" { + description "Informational messages"; + } + } + } + } + list upload { + key "filename destination"; + ordered-by user; + description "Upload file to specified destination"; + leaf filename { + description "Name of file to upload"; + type string; + } + leaf destination { + description "Location to which to output file"; + type string; + } + uses apply-advanced; + leaf user-name { + description "User under whose privileges upload action will execute"; + type string; + } + leaf transfer-delay { + description "Delay before uploading file to the destination"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container retry-count { + description "Upload output-filename retry attempt count"; + leaf retry { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf retry-interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container change-configuration { + description "Change configuration"; + uses apply-advanced; + container retry { + description "Change configuration retry attempt count"; + leaf count { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list commands { + key name; + ordered-by user; + description "List of configuration commands"; + leaf name { + description "Configuration command to issue"; + type string; + } + uses apply-advanced; + } + leaf user-name { + description "User under whose privileges configuration should be changed"; + type string; + } + container commit-options { + description "List of commit options"; + uses apply-advanced; + container check { + presence "enable check"; + description "Check correctness of syntax; do not apply changes"; + uses apply-advanced; + leaf synchronize { + description "Synchronize commit on both Routing Engines"; + type empty; + } + } + leaf synchronize { + description "Synchronize commit on both Routing Engines"; + type empty; + } + leaf force { + description "Force commit on other Routing Engine (ignore warnings)"; + type empty; + } + leaf log { + description "Message to write to commit log"; + type string { + length "1 .. 512"; + } + } + } + } + container execute-commands { + description "Issue one or more CLI commands"; + uses apply-advanced; + list commands { + key name; + ordered-by user; + description "List of CLI commands to issue"; + leaf name { + description "CLI command to issue"; + type string; + } + uses apply-advanced; + } + leaf user-name { + description "User under whose privileges command will execute"; + type string; + } + leaf output-filename { + description "Name of file in which to write command output"; + type string { + } + } + list destination { + key name; + ordered-by user; + description "Location to which to upload command output"; + max-elements 1; + leaf name { + description "Location to which to upload command output"; + type string; + } + uses apply-advanced; + leaf transfer-delay { + description "Delay before uploading file to the destination"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container retry-count { + description "Upload output-filename retry attempt count"; + leaf retry { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf retry-interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf output-format { + description "Format of output from CLI commands"; + default "xml"; + type enumeration { + enum "text" { + description "Formatted ASCII text"; + } + enum "xml" { + description "JUNOS XML tags"; + } + } + } + } + list event-script { + key name; + ordered-by user; + description "Invoke event scripts"; + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + list arguments { + key name; + ordered-by user; + description "Command line argument to the script"; + leaf name { + description "Name of the argument"; + type string { + length "1 .. 254"; + } + } + leaf value { + description "Value of the argument"; + type string; + } + } + leaf user-name { + description "User under whose privileges event script will execute"; + type string; + } + leaf output-filename { + description "Name of file in which to write event script output"; + type string { + } + } + list destination { + key name; + ordered-by user; + description "Location to which to upload event script output"; + max-elements 1; + leaf name { + description "Location to which to upload event script output"; + type string; + } + uses apply-advanced; + leaf transfer-delay { + description "Delay before uploading files"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container retry-count { + description "Upload output-filename retry attempt count"; + leaf retry { + description "Number of retry attempts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 10"; + } + } + } + leaf retry-interval { + description "Time interval between each retry"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf output-format { + description "Format of output from event-script"; + type enumeration { + enum "text" { + description "Formatted ASCII text"; + } + enum "xml" { + description "JUNOS XML tags"; + } + } + } + } + leaf raise-trap { + description "Raise SNMP trap"; + type empty; + } + } + } + container event-script { + description "Configure event-scripts"; + uses apply-advanced; + leaf optional { + description "Allow commit to succeed if the script is missing"; + type empty; + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + container dampen { + presence "enable dampen"; + description "Run event scripts in dampen mode"; + uses apply-advanced; + container dampen-options { + description "Dampen options for event scripts"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container traceoptions { + description "Trace options for event scripts"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace important events"; + } + enum "input" { + description "Trace script input data"; + } + enum "offline" { + description "Generate data for offline development"; + } + enum "output" { + description "Trace script output data"; + } + enum "rpc" { + description "Trace script RPCs"; + } + enum "xslt" { + description "Trace the XSLT library"; + } + enum "all" { + description "Trace all operations"; + } + } + } + } + } + list file { + key name; + ordered-by user; + description "File name for event script"; + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf python-script-user { + description "Run the python event script with privileges of user"; + type string; + } + container dampen { + presence "enable dampen"; + description "Run script in dampen mode"; + uses apply-advanced; + container dampen-options { + description "Dampen options for the script"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + list remote-execution { + key name; + ordered-by user; + description "Remote login username and password details for script"; + leaf name { + description "Remote hostname"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf username { + description "SSH username for login into the remote host"; + type string { + } + } + leaf passphrase { + description "SSH passphrase for login into the remote host"; + type jt:unreadable; + } + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + } + list destinations { + key name; + ordered-by user; + description "List of destinations referred to in 'then' clause"; + leaf name { + description "Destination name"; + type string; + } + uses apply-advanced; + leaf transfer-delay { + description "Delay before transferring files"; + default "0"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list archive-sites { + key name; + ordered-by user; + description "List of archive destinations"; + leaf name { + description "URL of destination for file"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + } + } + container traceoptions { + description "Trace options for the event processing daemon"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "List of event types to include in trace"; + leaf name { + type enumeration { + enum "server" { + description "Communication with processes that are generating events"; + } + enum "configuration" { + description "Reading of configuration"; + } + enum "events" { + description "Event processing"; + } + enum "timer-events" { + description "Internally generated events"; + } + enum "database" { + description "Events involving storage and retrieval in events database"; + } + enum "policy" { + description "Policy processing"; + } + enum "registration" { + description "Event registration"; + } + enum "syslogd" { + description "Syslog related traces"; + } + enum "all" { + description "Everything"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-fabric@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-fabric@2019-01-01.yang new file mode 100644 index 00000000..3a33c8e7 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-fabric@2019-01-01.yang @@ -0,0 +1,6684 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-fabric { + namespace "http://yang.juniper.net/junos-qfx/conf/fabric"; + + prefix jc-fabric; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos fabric configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses fabric-group; + } + augment /jc:configuration/jc:groups { + uses fabric-group; + } + grouping fabric-group { + container fabric { + description "Fabric configuration"; + uses apply-advanced; + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + uses juniper-fabric-routing-instance; + } + } + container routing-options { + description "Fabric routing option configuration"; + uses juniper-fabric-routing-options; + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + } + container virtual-chassis { + description "Virtual chassis configuration"; + uses apply-advanced; + container flow-groups { + description "Flow groups"; + uses apply-advanced; + list flow-group { + key name; + uses flow_group_type; + } + list node-device { + key name; + ordered-by user; + description "Node device"; + leaf name { + description "Serial ID or alias of node-device"; + type string; + } + uses apply-advanced; + list interconnect-device { + key name; + ordered-by user; + description "Interconnect device"; + leaf name { + description "Serial ID or alias of interconnect-device"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference metric for link"; + type enumeration { + enum "high" { + description "High link preference"; + } + enum "normal" { + description "Normal link preference"; + } + enum "never" { + description "Never use this link"; + } + } + } + } + } + } + container traceoptions { + uses juniper-virtual-chassis-traceoptions; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping flow_group_type { + description "Flow Group"; + leaf name { + description "Flow Group name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list node-device { + key name; + ordered-by user; + description "Node device(s) associated with this flow group"; + leaf name { + description "Alias of node-device"; + type string { + length "1 .. 40"; + } + } + uses apply-advanced; + } + list interconnect-device { + key name; + ordered-by user; + description "Interconnect device(s) associated with this flow group"; + leaf name { + description "Alias of interconnect-device"; + type string { + length "1 .. 40"; + } + } + uses apply-advanced; + } + } + grouping juniper-fabric-routing-instance { + description "Routing instance"; + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of routing instance"; + type string { + } + } + leaf instance-type { + description "Type of routing instance"; + type enumeration { + enum "vrf" { + description "Virtual routing forwarding instance"; + } + } + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + container routing-options { + description "Fabric routing option configuration"; + uses juniper-fabric-routing-options; + } + } + grouping juniper-fabric-routing-options { + uses apply-advanced; + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + enum "eswd" { + description "Trace ESWD notifications"; + } + enum "arp" { + description "Trace ARP route processing"; + } + enum "prefix" { + description "Trace prefix route processing"; + } + enum "ne-port" { + description "Trace ne-port route processing"; + } + enum "route-selection" { + description "Trace route-selection"; + } + enum "bridge" { + description "Trace Bridge route notifications"; + } + enum "grat-arp" { + description "Trace Gratuitous ARP notifications"; + } + enum "l2l3-map" { + description "Trace L2L3 map events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + leaf l2-root { + description "Set this switch as L2 multicast root"; + type empty; + } + leaf replication { + description "Enable multicast replication on this switch"; + type empty; + } + container traceoptions { + description "Trace options for DCF multicast"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "vccpdf" { + description "Trace VCCPDF notifications"; + } + enum "root" { + description "Trace L2-root processing"; + } + enum "core" { + description "Trace core tree processing"; + } + enum "edge" { + description "Trace edge tree processing"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf no-make-before-break { + description "Disable multicast make-before-break"; + type empty; + } + leaf make-before-break-timeout { + description "Configure make-before-break timeout in seconds"; + default "45"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf no-make-before-break-convergence { + description "Disable multicast make-before-break-convergence"; + type empty; + } + leaf make-before-break-convergence-timeout { + description "Configure make-before-break-convergence timeout in seconds"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 5"; + } + } + } + leaf ic-node-recomputation-delay-timeout { + description "Configure IC node recomputation delay timeout in seconds"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf fabric-optimized-distribution { + description "Enable fabric-optimized-distribution mode - Reboot required"; + status deprecated; + type empty; + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice ecmp-fast-reroute-choice { + leaf ecmp-fast-reroute { + description "Enable fast reroute for ECMP next hops"; + type empty; + } + leaf no-ecmp-fast-reroute { + description "Don't enable fast reroute for ECMP next hops"; + type empty; + } + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + leaf transit-lsp-statistics-from-route { + description "Enable LSP statistics collection from the route"; + type empty; + } + container chained-composite-next-hop { + description "Next-hop chaining mode"; + uses apply-advanced; + container ingress { + description "Ingress LSP nexthop settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + } + choice l2ckt-choice { + leaf l2ckt { + description "Create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + leaf no-l2ckt { + description "Don't create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + } + choice fec129-vpws-choice { + leaf fec129-vpws { + description "Create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + leaf no-fec129-vpws { + description "Don't create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + } + choice evpn-choice { + leaf evpn { + description "Create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + leaf no-evpn { + description "Don't create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + } + container l3vpn { + presence "enable l3vpn"; + description "Create composite-chained nexthops for ingress l3vpn LSPs"; + leaf extended-space { + description "Allocate in extended-space for scalability"; + type empty; + } + } + } + container transit { + description "Transit LSP nexthops settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + } + choice l3vpn-choice { + leaf l3vpn { + description "Create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + leaf no-l3vpn { + description "Don't create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + } + choice labeled-bgp-choice { + leaf labeled-bgp { + description "Create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + leaf no-labeled-bgp { + description "Don't create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + } + choice static-choice { + leaf static { + description "Create composite-chained nexthops for static LSPs"; + type empty; + } + leaf no-static { + description "Don't create composite-chained nexthops for static LSPs"; + type empty; + } + } + choice rsvp-choice { + leaf rsvp { + description "Create composite-chained nexthops for RSVP LSPs"; + type empty; + } + leaf no-rsvp { + description "Don't create composite-chained nexthops for RSVP LSPs"; + type empty; + } + } + choice rsvp-p2mp-choice { + leaf rsvp-p2mp { + description "Create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + leaf no-rsvp-p2mp { + description "Don't create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + } + choice ldp-choice { + leaf ldp { + description "Create composite-chained nexthops for LDP LSPs"; + type empty; + } + leaf no-ldp { + description "Don't create composite-chained nexthops for LDP LSPs"; + type empty; + } + } + choice ldp-p2mp-choice { + leaf ldp-p2mp { + description "Create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + leaf no-ldp-p2mp { + description "Don't create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + } + choice labeled-isis-choice { + leaf labeled-isis { + description "Create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + leaf no-labeled-isis { + description "Don't create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-virtual-chassis-traceoptions { + description "Global tracing options for virtual chassis"; + uses apply-advanced; + container file { + description "Trace file options"; + uses vchassis_trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "hello" { + description "Trace virtual chassis hello packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "lsp" { + description "Trace virtual link-state packets"; + } + enum "normal" { + description "Trace normal events"; + } + enum "task" { + description "Trace virtual chassis task processing"; + } + enum "krt" { + description "Trace virtual chassis kernel events"; + } + enum "spf" { + description "Trace virtual chassis SPF events"; + } + enum "me" { + description "Trace virtual chassis master election events"; + } + enum "packets" { + description "Trace virtual chassis packets"; + } + enum "lsp-generation" { + description "Trace virtual chassis LSP generation"; + } + enum "error" { + description "Trace virtual chassis errors"; + } + enum "route" { + description "Trace virtual chassis routing information"; + } + enum "state" { + description "Trace virtual chassis state transitions"; + } + enum "auto-configuration" { + description "Trace virtual chassis ports auto configuration"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "dcp-infra" { + description "Trace dcp infrastructure configuration"; + } + enum "dcp-dev-state" { + description "Trace dcp infrastructure configuration"; + } + enum "heartbeat" { + description "Trace virtual chassis heartbeat packets"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping vchassis_trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-firewall@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-firewall@2019-01-01.yang new file mode 100644 index 00000000..282fdf37 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-firewall@2019-01-01.yang @@ -0,0 +1,8067 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-firewall { + namespace "http://yang.juniper.net/junos-qfx/conf/firewall"; + + prefix jc-firewall; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos firewall configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses firewall-group; + } + augment /jc:configuration/jc:groups { + uses firewall-group; + } + grouping firewall-group { + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "Protocol family IPv4 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv4 dialer filter"; + uses inet_dialer_filter; + } + list prefix-action { + key name; + ordered-by user; + description "Define a prefix action"; + uses prefix_action; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + list template { + key name; + ordered-by user; + description "Define an Inet firewall template"; + uses inet_template; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv4 service filters"; + uses inet_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet_fuf; + } + } + container inet6 { + description "Protocol family IPv6 for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an IPv6 firewall filter"; + uses inet6_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv6 service filters"; + uses inet6_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet6_fuf; + } + list template { + key name; + ordered-by user; + description "Define an Inet6 firewall template"; + uses inet6_template; + } + } + container mpls { + description "Protocol family MPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses mpls_filter; + } + list template { + key name; + ordered-by user; + description "Define an MPLS firewall template"; + uses mpls_template; + } + } + container vpls { + description "Protocol family VPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container evpn { + description "Protocol family EVPN for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses bridge_filter; + } + } + container ccc { + description "Protocol family CCC for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses ccc_filter; + } + } + container any { + description "Protocol-independent filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define a protocol independent filter"; + uses any_filter; + } + list template { + key name; + ordered-by user; + description "Define Protocol independent filter template"; + uses any_template; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses es_filter; + } + list template { + key name; + ordered-by user; + description "Define an ethernet switching firewall template"; + uses es_template; + } + } + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses firewall_policer; + } + list flexible-match { + key name; + ordered-by user; + description "Flexible packet match template definition"; + uses firewall_flexible_match; + } + list tunnel-end-point { + key name; + ordered-by user; + description "Tunnel end-point template definition"; + uses tunnel_end_point; + } + list interface-set { + key name; + ordered-by user; + description "Interface set definition"; + uses interface_set_type; + } + list three-color-policer { + key name; + ordered-by user; + description "Three-color policer"; + uses three-color-policer-type; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + } + } + grouping any_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object_oam; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping any_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf forwarding-class { + description "Match forwarding class"; + type empty; + } + leaf forwarding-class-except { + description "Do not match forwarding class"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf interface-set { + description "Match interface in set"; + type empty; + } + leaf loss-priority { + description "Match Loss Priority"; + type empty; + } + leaf loss-priority-except { + description "Do not match Loss Priority"; + type empty; + } + leaf packet-length { + description "Match packet length"; + type empty; + } + leaf packet-length-except { + description "Do not match packet length"; + type empty; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping bridge_filter { + description "Define a BRIDGE firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + leaf-list isid-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + leaf-list isid-priority-code-point-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + leaf-list isid-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + container forwarding-policy { + description "Specify forwarding policy for extended port"; + uses apply-advanced; + leaf uplink-select { + description "Specify port group for uplink selection"; + type string; + } + } + } + } + } + grouping ccc_filter { + description "Define a CCC firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Any counters defined will be interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + leaf-list loss-priority { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + leaf-list learn-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + leaf-list user-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to the specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping es_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice l2-encap-type_choice { + case case_1 { + leaf-list l2-encap-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list l2-encap-type-except { + ordered-by user; + type string; + } + } + } + choice vlan_choice { + case case_1 { + leaf-list vlan { + ordered-by user; + description "VLAN name or ID"; + type string; + } + } + case case_2 { + leaf-list vlan-except { + ordered-by user; + description "VLAN name or ID"; + type string; + } + } + } + choice dot1q-tag_choice { + case case_1 { + leaf-list dot1q-tag { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list dot1q-tag-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dot1q-user-priority_choice { + case case_1 { + leaf-list dot1q-user-priority { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dot1q-user-priority-except { + ordered-by user; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string { + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + leaf-list learn-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + leaf-list learn-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + leaf-list user-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + leaf-list isid-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + leaf-list isid-priority-code-point-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + leaf-list isid-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + container to-fabric { + description "Match packets going to fabric"; + presence "enable to-fabric"; + uses to_fabric_object; + } + leaf from-fabric { + description "Match packets coming from fabric"; + type empty; + } + choice arp-type_choice { + case case_1 { + leaf-list arp-type { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection - (Ingress only)"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip6-source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list ip6-destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + leaf vlan { + description "Name of VLAN - (Ingress only)"; + type string; + } + leaf interface { + description "Switch traffic to the specified interface by-passing switching lookup - (Ingress only)"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping es_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf ip-destination-address { + description "Match IP destination address"; + type empty; + } + leaf ip-precedence { + description "Match IP precedence value"; + type empty; + } + leaf ip-protocol { + description "Match IP protocol type"; + type empty; + } + leaf ip-source-address { + description "Match IP source address"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf ip6-destination-address { + description "Match destination address"; + type empty; + } + leaf ip6-source-address { + description "Match source address"; + type empty; + } + leaf next-header { + description "Match next header protocol type"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf traffic-class { + description " Match Differentiated Services (DiffServ) code point"; + type empty; + } + } + } + leaf arp-type { + description "Match ARP type"; + type empty; + } + leaf destination-mac-address { + description "Match MAC destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf ether-type { + description "Match Ethernet Type"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf ip-destination-address { + description "Match IP destination address"; + type empty; + } + leaf ip-precedence { + description "Match IP precedence value"; + type empty; + } + leaf ip-protocol { + description "Match IP protocol type"; + type empty; + } + leaf ip-source-address { + description "Match IP source address"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf l2-encap-type { + description "Match Ethernet Encapsulation Type"; + type empty; + } + leaf learn-vlan-id { + description "Match Learnt VLAN ID"; + type empty; + } + leaf source-mac-address { + description "Match MAC source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf user-vlan-1p-priority { + description "Match User 802.1p VLAN priority"; + type empty; + } + leaf user-vlan-id { + description "Match User VLAN ID"; + type empty; + } + } + } + grouping firewall_addr6_object { + leaf name { + description "Prefix to match"; + type jt:ipv6prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_flexible_match { + description "Define a flexible match"; + leaf name { + description "Flex match template name"; + type string { + } + } + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping firewall_policer { + description "Define a policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + leaf logical-bandwidth-policer { + description "Policer uses logical interface bandwidth"; + type empty; + } + choice exceeding { + case case_1 { + container if-exceeding { + presence "enable if-exceeding"; + description "Define rate limits"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Bandwidth limit in percentage"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + } + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + } + } + grouping firewall_prefix_list { + leaf name { + description "Prefix list to match"; + type string; + } + leaf except { + description "Match addresses not in this prefix list"; + type empty; + } + } + grouping inet6_filter { + description "Define an IPv6 firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + leaf-list destination-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + leaf-list source-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice hop-limit_choice { + case case_1 { + leaf-list hop-limit { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list hop-limit-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L3_flexible_mask; + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + leaf-list gre-key-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inet6cnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace packet forwarding "; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf analyzer { + description "Name of analyzer"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf traffic-class { + description "Set traffic-class code point"; + type string; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + container decapsulate { + presence "enable decapsulate"; + description "Terminate a tunnel"; + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "GRE protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + container l2tp { + description "L2TP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list cookie { + ordered-by user; + description "L2TPv3 cookie"; + type string { + length "1 .. 32"; + } + } + choice destination { + case case_1 { + leaf output-interface { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_4 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_5 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_6 { + } + case case_7 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_8 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_9 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_10 { + container next-ip6 { + description "Packets are directed to specified the specified ipv6 address"; + leaf address { + description "Address to route"; + type jt:ipv6prefix; + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + case case_11 { + container next-interface { + presence "enable next-interface"; + description "Packets are to be routed through the specified interface"; + uses apply-advanced; + leaf interface-name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + case case_12 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf no-route { + description "Send ICMPv6 No Route message"; + type empty; + } + } + case case_2 { + leaf administratively-prohibited { + description "Send ICMPv6 Administratively Prohibited message"; + type empty; + } + } + case case_3 { + leaf beyond-scope { + description "Send ICMPv6 Beyond Scope of Source Address message"; + type empty; + } + } + case case_4 { + leaf address-unreachable { + description "Send ICMPv6 Address Unreachable message"; + type empty; + } + } + case case_5 { + leaf port-unreachable { + description "Send ICMPv6 Port Unreachable message"; + type empty; + } + } + case case_6 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + case case_7 { + leaf network-unreachable { + description "Send ICMPv4 Network Unreachable message"; + status deprecated; + type empty; + } + } + case case_8 { + leaf host-unreachable { + description "Send ICMPv4 Host Unreachable message"; + status deprecated; + type empty; + } + } + case case_9 { + leaf protocol-unreachable { + description "Send ICMPv4 Protocol Unreachable message"; + status deprecated; + type empty; + } + } + case case_10 { + leaf source-route-failed { + description "Send ICMPv4 Source Route Failed message"; + status deprecated; + type empty; + } + } + case case_11 { + leaf network-unknown { + description "Send ICMPv4 Network Unknown message"; + status deprecated; + type empty; + } + } + case case_12 { + leaf host-unknown { + description "Send ICMPv4 Host Unknown message"; + status deprecated; + type empty; + } + } + case case_13 { + leaf source-host-isolated { + description "Send ICMPv4 Source Host Isolated message"; + status deprecated; + type empty; + } + } + case case_14 { + leaf network-prohibited { + description "Send ICMPv4 Network Prohibited message"; + status deprecated; + type empty; + } + } + case case_15 { + leaf host-prohibited { + description "Send ICMPv4 Host Prohibited message"; + status deprecated; + type empty; + } + } + case case_16 { + leaf bad-network-tos { + description "Send ICMPv4 Bad Network ToS message"; + status deprecated; + type empty; + } + } + case case_17 { + leaf bad-host-tos { + description "Send ICMPv4 Bad Host ToS message"; + status deprecated; + type empty; + } + } + case case_18 { + leaf precedence-violation { + description "Send ICMPv4 Precedence Violation message"; + status deprecated; + type empty; + } + } + case case_19 { + leaf precedence-cutoff { + description "Send ICMPv4 Precedence Cutoff message"; + status deprecated; + type empty; + } + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping inet6_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "next-header" { + description "Include next header protocol in match set"; + } + enum "payload-protocol" { + description "Include payload protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "traffic-class" { + description "Include traffic-class (DSCP) in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr6_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice next-header_choice { + case case_1 { + container next-header { + description "Match next header protocol type"; + uses match_simple_protocol_value; + } + } + } + choice traffic-class_choice { + case case_1 { + container traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping inet6_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Pkt-Trace the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet6_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf destination-address { + description "Match destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match destination prefixes in named list"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match ICMP message code"; + type empty; + } + leaf hop-limit { + description "Match Hop Limit"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message code"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf next-header { + description "Match next header protocol type"; + type empty; + } + leaf source-address { + description "Match source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + } + } + grouping inet_dialer_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping inet_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + leaf-list destination-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + leaf-list source-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string { + } + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + leaf source-port-range-optimize { + description "Optimize the source port range"; + type empty; + } + leaf destination-port-range-optimize { + description "Optimize the destination port range"; + type empty; + } + choice rat-type_choice { + case case_1 { + leaf-list rat-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list rat-type-except { + ordered-by user; + type string; + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + leaf-list gre-key-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L3_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inetcnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + container discard { + presence "enable discard"; + description "Discard the packet"; + uses apply-advanced; + leaf accounting { + description "Named discard collector for packet"; + type string; + } + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_4 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_5 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_6 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_7 { + container next-ip { + description "Packets are directed to specified the specified ipv4 address"; + leaf address { + description "Address to route"; + type jt:ipv4prefix; + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + case case_8 { + container next-interface { + presence "enable next-interface"; + description "Packets are to be routed through the specified interface"; + uses apply-advanced; + leaf interface-name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + case case_9 { + leaf ipsec-sa { + description "Use specified IPSec security association"; + type string; + } + } + case case_10 { + } + case case_11 { + container decapsulate { + presence "enable decapsulate"; + description "Terminate a tunnel"; + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "GRE protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + container mpls-in-udp { + presence "enable mpls-in-udp"; + description "MPLS-in-UDP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_4 { + container l2tp { + description "L2TP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list cookie { + ordered-by user; + description "L2TPv3 cookie"; + type string { + length "1 .. 32"; + } + } + choice destination { + case case_1 { + leaf output-interface { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + case case_12 { + } + case case_13 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf network-unreachable { + description "Send ICMP Network Unreachable message"; + type empty; + } + } + case case_2 { + leaf host-unreachable { + description "Send ICMP Host Unreachable message"; + type empty; + } + } + case case_3 { + leaf protocol-unreachable { + description "Send ICMP Protocol Unreachable message"; + type empty; + } + } + case case_4 { + leaf port-unreachable { + description "Send ICMP Port Unreachable message"; + type empty; + } + } + case case_5 { + leaf fragmentation-needed { + description "Send ICMP Fragmentation Needed message"; + type empty; + } + } + case case_6 { + leaf source-route-failed { + description "Send ICMP Source Route Failed message"; + type empty; + } + } + case case_7 { + leaf network-unknown { + description "Send ICMP Network Unknown message"; + type empty; + } + } + case case_8 { + leaf host-unknown { + description "Send ICMP Host Unknown message"; + type empty; + } + } + case case_9 { + leaf source-host-isolated { + description "Send ICMP Source Host Isolated message"; + type empty; + } + } + case case_10 { + leaf network-prohibited { + description "Send ICMP Network Prohibited message"; + type empty; + } + } + case case_11 { + leaf host-prohibited { + description "Send ICMP Host Prohibited message"; + type empty; + } + } + case case_12 { + leaf bad-network-tos { + description "Send ICMP Bad Network ToS message"; + type empty; + } + } + case case_13 { + leaf bad-host-tos { + description "Send ICMP Bad Host ToS message"; + type empty; + } + } + case case_14 { + leaf administratively-prohibited { + description "Send ICMP Administratively Prohibited message"; + type empty; + } + } + case case_15 { + leaf precedence-violation { + description "Send ICMP Precedence Violation message"; + type empty; + } + } + case case_16 { + leaf precedence-cutoff { + description "Send ICMP Precedence Cutoff message"; + type empty; + } + } + case case_17 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + } + } + } + case case_14 { + } + } + leaf dscp { + description "Set Differentiated Services (DiffServ) code point"; + type string; + } + leaf prefix-action { + description "Police or count packets using named prefix action"; + type string { + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping inet_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "protocol" { + description "Include IP protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "dscp" { + description "Include Differentiated Services (DiffServ) code point in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping inet_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Pkt-Trace the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf destination-address { + description "Match IP destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-port-range-optimize { + description "Optimize the destination port range"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match flexible range"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf ip-options { + description "Match IP options"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf packet-length { + description "Match packet length"; + type empty; + } + leaf precedence { + description "Match IP precedence value"; + type empty; + } + leaf protocol { + description "Match IP protocol type"; + type empty; + } + leaf rat-type { + description "Match RAT Type"; + type empty; + } + leaf redirect-reason { + description "Match Redirect Reason"; + type empty; + } + leaf source-address { + description "Match IP source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-port-range-optimize { + description "Optimize the source port range"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf ttl { + description "Match IP ttl type"; + type empty; + } + } + } + grouping interface_set_type { + leaf name { + description "Interface set name"; + type string { + } + } + uses apply-advanced; + list interface-list { + key name; + ordered-by user; + description "Interface list"; + leaf name { + description "Interface name"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping match_L2_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + } + grouping match_L3_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + } + grouping match_interface_object { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_object_oam { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_set_object { + leaf name { + description "Interface set to match"; + type string; + } + } + grouping match_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping mpls_filter { + description "Define an MPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list label { + key name; + ordered-by user; + description "MPLS label bits"; + leaf name { + description "Range of values between 0 and 1048575 in decimal or hexadecimal"; + type string { + } + } + uses apply-advanced; + } + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_mpls_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice mplscnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping match_mpls_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-3" { + description "Layer-3 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mask-in-hex { + description "Mask out bits in the packet data to be matched"; + type string { + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + leaf flexible-mask-name { + description "Select a flexible match from predefined template field"; + type string; + } + } + grouping mpls_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf exp { + description "Match MPLS EXP bits"; + type empty; + } + leaf exp-except { + description "Do not match MPLS EXP bits"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match flexible range"; + type empty; + } + leaf forwarding-class { + description "Match forwarding class"; + type empty; + } + leaf forwarding-class-except { + description "Do not match forwarding class"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf interface-group { + description "Match interface group"; + type empty; + } + leaf interface-set { + description "Match interface in set"; + type empty; + } + leaf loss-priority { + description "Match Loss Priority"; + type empty; + } + leaf loss-priority-except { + description "Do not match Loss Priority"; + type empty; + } + leaf label { + description "MPLS label bits"; + type empty; + } + } + } + grouping prefix_action { + leaf name { + description "Prefix action name"; + type string { + } + } + uses apply-advanced; + leaf policer { + description "Police the packet using a set of named policer"; + type string { + } + } + leaf count { + description "Enable counters"; + type empty; + } + leaf filter-specific { + description "Filter specific, else term specific"; + type empty; + } + leaf subnet-prefix-length { + description "Prefix length for the total address range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + choice source_or_dest { + case case_1 { + leaf source-prefix-length { + description "Source prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + case case_2 { + leaf destination-prefix-length { + description "Destination prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + } + grouping three-color-policer-type { + description "Three-color policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Three color policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + container action { + description "Action for three-color policer"; + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Loss priority for packet"; + uses three-color-policer-action; + } + } + choice rate-type-choice { + case case_1 { + container single-rate { + description "Single-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic"; + units "bytes"; + type string; + } + leaf excess-burst-size { + description "Burst size allowed for excess traffic"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + case case_3 { + container two-rate { + presence "enable two-rate"; + description "Two-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic "; + units "bytes"; + type string; + } + leaf peak-information-rate { + description "Bandwidth allowed for peak traffic"; + units "bits per second"; + type string; + } + leaf peak-burst-size { + description "Burst size allowed for peak traffic "; + units "bytes"; + type string; + } + container aggregate-policing { + presence "enable aggregate-policing"; + description "Configure Aggregate Policer"; + uses apply-advanced; + list policer { + key name; + ordered-by user; + description "Two-color policer to be used as aggregate"; + max-elements 1; + leaf name { + description "Name of two-color policer to use to aggregate police"; + type string; + } + uses apply-advanced; + leaf aggregate-sharing-mode { + description "Hierarchical Metering model"; + type enumeration { + enum "hybrid" { + description "Child policer CIR rates are guaranteed rates and PIR rate are peak rates for member flow"; + } + } + } + } + } + } + } + case case_4 { + } + } + } + grouping three-color-policer-action { + description "Action for three-color policer"; + leaf name { + description "Loss priority for packet"; + type enumeration { + enum "high" { + description "High loss priority"; + } + } + } + uses apply-advanced; + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + } + } + grouping to_fabric_object { + description "Match traffic going to fabric"; + uses apply-advanced; + leaf except { + description "Match traffic switched locally and not going to fabric"; + type empty; + } + } + grouping tunnel_end_point { + description "Define a tunnel end point"; + leaf name { + description "Tunnel end-point identifier (ASCII string)"; + type string { + } + } + uses apply-advanced; + choice l3-protocol { + case case_1 { + container ipv6 { + presence "enable ipv6"; + description "Enter an IPv6 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv6addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv6prefix; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Enter an IPv4 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv4addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv4prefix; + } + } + } + } + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "Tunnel is GRE"; + uses apply-advanced; + leaf key { + description "Key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + container gre-in-udp { + presence "enable gre-in-udp"; + description "Tunnel is GRE-in-UDP"; + uses apply-advanced; + leaf source-port { + description "UDP source port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "UDP destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf key { + description "GRE key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + grouping vpls_filter { + description "Define an VPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-forwarding-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-forwarding-options@2019-01-01.yang new file mode 100644 index 00000000..df8ff462 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-forwarding-options@2019-01-01.yang @@ -0,0 +1,8915 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-forwarding-options { + namespace "http://yang.juniper.net/junos-qfx/conf/forwarding-options"; + + prefix jc-forwarding-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos forwarding-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses forwarding-options-group; + } + augment /jc:configuration/jc:groups { + uses forwarding-options-group; + } + grouping forwarding-options-group { + container forwarding-options { + description "Configure options to control packet forwarding"; + uses juniper-forwarding-options; + } + } + grouping juniper-forwarding-options { + uses apply-advanced; + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + choice sampling-or-packet-capture { + case case_1 { + container sampling { + description "Statistical traffic sampling options"; + uses juniper-sampling-options; + } + } + case case_2 { + } + } + list accounting { + key name; + description "Configure accounting of traffic"; + uses juniper-packet-accounting-options; + } + list analyzer { + key name; + description "Analyzer options"; + uses smpl-analyzer-type; + } + container port-mirroring { + description "Configure port mirroring of traffic"; + uses juniper-port-mirror-options; + } + container load-balance { + description "Configure load-balancing attributes on the forwarding path"; + uses apply-advanced; + container indexed-load-balance { + presence "enable indexed-load-balance"; + description "Use indexed permuted next hop lists for unilist and aggregate next hops"; + uses apply-advanced; + } + container per-flow { + uses apply-advanced; + } + container per-prefix { + presence "enable per-prefix"; + uses apply-advanced; + leaf hash-seed { + description "Specifies per-router input value for per-prefix load-balancing hash function"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + } + } + container hash-key { + description "Select data used in the hash key"; + uses junos_hash_key; + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + container enhanced-hash-key { + description "Select data used in the hash key for Enhanced IP Forwarding Engines"; + uses apply-advanced; + leaf ecmp-resilient-hash { + description "Set resilient hashing for ECMP"; + type empty; + } + container fabric-load-balance { + presence "enable fabric-load-balance"; + description "Set load balancing options for VC-Fabric forwarding"; + status deprecated; + uses apply-advanced; + choice mode { + case case_1 { + container flowlet { + presence "enable flowlet"; + description "Inactivity-based flowlet link assignment (default)"; + status deprecated; + uses apply-advanced; + leaf inactivity-interval { + description "Minimum inactivity interval for flowlet detection"; + status deprecated; + type enumeration { + enum "16us" { + description "16 microseconds (default)"; + status deprecated; + } + enum "64us" { + description "64 microseconds"; + status deprecated; + } + enum "512us" { + description "512 microseconds"; + status deprecated; + } + enum "32ms" { + description "32 milliseconds"; + status deprecated; + } + } + } + } + } + case case_2 { + leaf per-packet { + description "Per-packet optimal spraying"; + status deprecated; + type empty; + } + } + } + } + container hash-mode { + description "Hashing mode"; + uses apply-advanced; + choice instance { + case case_1 { + leaf layer2-header { + description "Only layer2 header fields are considered for hashing"; + type empty; + } + } + case case_2 { + leaf layer2-payload { + description "Only layer2 payload fields are considered for hashing"; + type empty; + } + } + case case_3 { + leaf gtp-header-offset { + description "Gtp header first byte offset"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container hash-seed { + presence "enable hash-seed"; + description "Hash seed"; + uses apply-advanced; + leaf seed-value { + description "Hash seed value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container resilient-hash-seed { + presence "enable resilient-hash-seed"; + description "Resilient hash seed"; + uses apply-advanced; + leaf resilient-seed-value { + description "Hash seed value for resilient ECMP and LAG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container layer2 { + description "Configure layer2 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-source-mac-address { + description "Exclude source MAC address from the hash key"; + type empty; + } + leaf source-mac-address { + description "Include source MAC address from the hash key"; + type empty; + } + leaf no-destination-mac-address { + description "Exclude destination MAC address from the hash key"; + type empty; + } + leaf destination-mac-address { + description "Include destination MAC address from the hash key"; + type empty; + } + leaf no-ether-type { + description "Exclude ether type from the hash key"; + type empty; + } + leaf vlan-id { + description "Include incoming vlan-id in hash key"; + type empty; + } + leaf no-vlan-id { + description "Not include vlan-id in hash key"; + type empty; + } + leaf inner-vlan-id { + description "Include incoming inner-vlan-id in hash key"; + type empty; + } + } + container inet { + description "Configure inet4 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-l4-source-port { + description "Exclude l4 source port from the hash key"; + type empty; + } + leaf no-l4-destination-port { + description "Exclude l4 dest port from the hash key"; + type empty; + } + leaf no-protocol { + description "Exclude protocol from the hash key"; + type empty; + } + leaf no-ipv4-source-address { + description "Exclude IPv4 source address"; + type empty; + } + leaf no-ipv4-destination-address { + description "Exclude IPv4 destination address"; + type empty; + } + leaf vlan-id { + description "Include incoming vlan-id in hash key"; + type empty; + } + } + container inet6 { + description "Configure inet6 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-l4-source-port { + description "Exclude l4 source port from the hash key"; + type empty; + } + leaf no-l4-destination-port { + description "Exclude l4 dest port from the hash key"; + type empty; + } + leaf ipv6-flow-label { + description "Include IPv6 flow label"; + type empty; + } + leaf no-next-header { + description "Exclude next header from the hash key"; + type empty; + } + leaf no-ipv6-source-address { + description "Exclude IPv6 source address"; + type empty; + } + leaf no-ipv6-destination-address { + description "Exclude IPv6 destination address"; + type empty; + } + leaf vlan-id { + description "Include vlan-id in hash key"; + type empty; + } + } + leaf no-mpls { + description "Disable mpls in hash key"; + type empty; + } + container gre { + description "Configure for GRE "; + uses apply-advanced; + leaf key { + description "Include key in hash key"; + type empty; + } + leaf protocol { + description "Include protocol in hash key"; + type empty; + } + } + leaf vxlan-vnid { + description "Enable vxlan-vnid"; + type empty; + } + container services-loadbalancing { + description "Select key to load balance across service PICs"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf src-prefix-len { + description "Enhanced hash key inet6 source prefix length"; + default "127"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "56 .. 127"; + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf type-of-service { + description "Include TOS byte in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf l2tp-tunnel-session-identifier { + description "Include TID SID in the hash key for L2TP packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class byte in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + leaf label-1-exp { + description "Include EXP of first MPLS label from the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + choice pseudowire_option { + case case_1 { + leaf no-ether-pseudowire { + description "Omit IP payload over ethernet PW from the hash-key"; + type empty; + } + } + case case_2 { + } + } + leaf no-payload { + description "Omit MPLS payload data from the hash key"; + type empty; + } + } + container multiservice { + description "Multiservice protocol (bridged/CCC/VPLS) family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in hash key"; + type empty; + } + leaf outer-priority { + description "Include Outer 802.1 Priority bits in the hash key"; + type empty; + } + leaf no-payload { + description "Omit payload data from the hash key"; + type empty; + } + leaf no-mac-addresses { + description "Omit source and destination MAC addresses from the hash key"; + type empty; + } + } + } + } + container next-hop { + description "Next hop throttle"; + uses apply-advanced; + } + container multicast { + description "Multicast resolve and mismatch rate"; + uses apply-advanced; + leaf resolve-rate { + description "Multicast resolve rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf mismatch-rate { + description "Multicast interface mismatch rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + } + container rpf-loose-mode-discard { + description "Configure rpf loose mode behavior"; + uses apply-advanced; + container family { + description "Protocol family"; + uses apply-advanced; + leaf inet { + description "Configure rpf loose mode behavior for IPv4"; + type empty; + } + leaf inet6 { + description "Configure rpf loose mode behavior for IPv6"; + type empty; + } + } + } + container explicit-null-cos { + presence "enable explicit-null-cos"; + description "Configure to use MPLS explicit null exp for COS classification"; + uses apply-advanced; + leaf inet { + description "Include family inet"; + type empty; + } + leaf inet6 { + description "Include family inet6"; + type empty; + } + } + container helpers { + description "Port forwarding configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of UDP forwarding helper process on which to enable debugging output"; + leaf name { + type enumeration { + enum "trace" { + description "Trace tracing code"; + } + enum "address" { + description "Trace address management code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "util" { + description "Trace miscellaneous utility code"; + } + enum "gencfg" { + description "Trace fud gencfg message"; + } + enum "domain" { + description "Trace DNS service-specific code"; + } + enum "tftp" { + description "Trace TFTP service-specific code"; + } + enum "bootp" { + description "Trace BOOTP/DHCP service-specific code"; + } + enum "port" { + description "Trace arbitrary protocol code"; + } + enum "if-rtsdb" { + description "Trace interface hierarchy rtsdb"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + container rtsdb-client-traceoptions { + presence "enable rtsdb-client-traceoptions"; + description "SHM rtsock database client library trace options"; + status deprecated; + uses apply-advanced; + container if-rtsdb { + presence "enable if-rtsdb"; + description "Trace interface hierarchy rtsdb"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "map" { + description "Trace shared memory mapping"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container domain { + description "Incoming DNS request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming DNS request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container tftp { + description "Incoming TFTP request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming TFTP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container bootp { + description "Incoming BOOTP/DHCP request forwarding configuration"; + uses apply-advanced; + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + type empty; + } + container dhcp-option82 { + description "Configure DHCP option 82"; + presence "enable dhcp-option82"; + uses dhcp-option82-type; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on all interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Incoming BOOTP/DHCP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container dhcp-option82 { + description "Configure DHCP option 82"; + presence "enable dhcp-option82"; + uses dhcp-option82-type; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on this interface"; + type empty; + } + } + } + list port { + key name; + ordered-by user; + description "Incoming arbitrary protocol request forwarding configuration"; + leaf name { + description "Port number of the protocol to listen"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + status deprecated; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container inet6 { + description "IPv6 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + leaf route-accounting { + description "Enable IPv6 route accounting"; + type empty; + } + leaf source-checking { + description "Discard IPv6 packet when source address type is unspecified, loopback, multicast or link-local "; + type empty; + } + } + container mpls { + description "MPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container vpls { + description "VPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for VPLS DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for VPLS flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for VPLS flood packets"; + type string; + } + } + } + container evpn { + description "EVPN parameters"; + uses apply-advanced; + container filter { + description "Filtering for EVPN DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for EVPN flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for EVPN flood packets"; + type string; + } + } + } + } + list next-hop-group { + key name; + description "Next hop group forwarding option"; + uses juniper-next-hop-group-options; + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + choice load-balance-label-capability-choice { + leaf load-balance-label-capability { + description "Load balance label capability"; + type empty; + } + leaf no-load-balance-label-capability { + description "Don't load balance label capability"; + type empty; + } + } + list ip-options-protocol-queue { + key name; + ordered-by user; + description "IP Options protocol logical queue parameters"; + leaf name { + description "Protocol name"; + type string; + } + uses apply-advanced; + leaf protocol-id { + description "Protocol Identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + leaf queue-depth { + description "Size of the protocol logical options queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 807"; + } + } + } + } + leaf cut-through { + description "Enable cut-through forwarding"; + type empty; + } + leaf vrf-fallback { + description "Enable vrf-fallback forwarding. This will restart PFE"; + type empty; + } + leaf no-hierarchical-ecmp { + description "Disable hierarchical ecmp. This will restart PFE"; + type empty; + } + leaf ipmc-miss-do-l2mc { + description "Do L2MC forwarding when IPMC miss"; + type empty; + } + leaf ecmp-do-local-lookup { + description "Do ECMP local lookup only"; + type empty; + } + container access-security { + description "Access security configuration"; + uses jdhcp-access-security-type; + } + list forwarding-sandbox { + key name; + description "Create forwarding sandbox"; + max-elements 8; + uses juniper-forwarding-sandbox-options; + } + container vxlan-routing { + description "VXLAN Routing forwarding options"; + uses apply-advanced; + leaf next-hop { + description "Next-hop. Must be multiple of 4096. This will restart PFE"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 45056"; + } + } + } + leaf interface-num { + description "Interface. Must be multiple of 2048. This will restart PFE"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10240"; + } + } + } + leaf overlay-ecmp { + description "Enable overlay ecmp for vxlan L3. This will restart PFE"; + type empty; + } + } + container satellite { + description "Satellite forwarding options"; + uses apply-advanced; + container traceoptions { + description "Global tracing options for satellite control plane"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + enum "bd" { + description "Trace BD events"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "interface" { + description "Trace interface events"; + } + enum "interface-vlan" { + description "Trace IFBD events"; + } + enum "ipc" { + description "Trace internal IPC messages"; + } + enum "kernel" { + description "Trace Kernel messages"; + } + enum "krt" { + description "Trace communication over routing socket"; + } + enum "mac" { + description "Trace MAC events "; + } + enum "nh" { + description "Trace NH events"; + } + enum "normal" { + description "Trace normal events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "stp" { + description "Trace STP events"; + } + enum "task" { + description "Trace task processing"; + } + enum "timer" { + description "Trace task timer processing"; + } + enum "firewall" { + description "Trace firewall processing"; + } + enum "l3" { + description "Trace Layer-3 processing"; + } + enum "fip-snooping" { + description "Trace FIP-Snooping processing"; + } + } + } + } + } + leaf local-replication { + description "Enable satellite multicast replication"; + type empty; + } + list fpc { + key name; + leaf name { + description "Satellite slot identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "65 .. 254"; + } + } + } + uses apply-advanced; + choice local-switching-mode-choice { + case case_1 { + container local-switching { + presence "enable local-switching"; + description "Enable local-switching on Satellite device"; + uses apply-advanced; + leaf l3 { + description "Enable L3 local switching on the Satellite device"; + type empty; + } + } + } + case case_2 { + container selective-vlan-switching { + description "Enable selective-vlan-switching on Satellite device"; + uses apply-advanced; + leaf routing-instance { + description "Associated Routing instance name"; + type string { + } + } + } + } + } + } + container vlan-auto-sense { + description "Vlan-auto-sense attributes provisioning"; + uses apply-advanced; + leaf expiry-time { + description "Expiry time (in seconds) after last MAC aged out"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + } + container analyzer-vlan { + description "Output VLAN for Analyzer"; + uses apply-advanced; + leaf vlan-name { + description "Name of the analyzer VLAN"; + type string; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping dhcp-option82-type { + uses apply-advanced; + leaf disable { + description "Disable DHCP option 82 on this VLAN"; + type empty; + } + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + leaf prefix { + description "Configure DHCP option 82 circuit id prefix"; + type enumeration { + enum "hostname" { + description "Set hostname as the prefix"; + } + } + } + leaf use-interface-description { + description "Use interface description instead of name"; + type empty; + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf prefix { + description "Configure DHCP option 82 remote id prefix"; + type enumeration { + enum "none" { + description "Set no prefix"; + } + enum "hostname" { + description "Set hostname as the prefix"; + } + enum "mac" { + description "Set chassis MAC as the prefix"; + } + } + } + leaf use-interface-description { + description "Use interface description instead of name"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + type string; + } + } + } + grouping jdhcp-access-security-type { + description "Access security configuration"; + uses apply-advanced; + container router-advertisement-guard { + presence "enable router-advertisement-guard"; + description "Router Advertisement Guard Configuration"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Router Advertisement Guard policy"; + leaf name { + description "Router Advertisement Guard policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container discard { + description "Discard parameters"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + } + container accept { + description "Accept parameters"; + uses apply-advanced; + container match-list { + description "List of parameters to check"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + leaf match-criteria { + description "Match Criteria"; + type enumeration { + enum "match-all" { + description "A match from every list"; + } + enum "match-any" { + description "A match from any list"; + } + } + } + } + container match-options { + presence "enable match-options"; + description "List of Options to check"; + uses apply-advanced; + container hop-limit { + description "Hop limit"; + uses apply-advanced; + leaf maximum { + description "Maximum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf minimum { + description "Minimum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container route-preference { + description "Accept route preference"; + uses apply-advanced; + leaf maximum { + description "Maximum route preference"; + type enumeration { + enum "low" { + description "Route preference low"; + } + enum "medium" { + description "Route preference medium"; + } + enum "high" { + description "Route preference high"; + } + } + } + } + leaf managed-config-flag { + description "Check Managed config flag"; + type empty; + } + leaf other-config-flag { + description "Check Other config flag"; + type empty; + } + } + } + } + container interface { + description "RA Guard config on Interface"; + uses apply-advanced; + list intf-config { + key name; + description "Interface Configuration"; + uses interface-policy; + } + } + container vlans { + description "RA Guard config on Vlan"; + uses apply-advanced; + list vlan-config { + key name; + description "Virtual LAN Configuration"; + uses vlan-policy; + } + } + } + } + grouping interface-policy { + description "Interface Name"; + leaf name { + description "Interface Name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + container mark-interface { + description "Mark interface"; + uses apply-advanced; + choice mark-intf-type { + case case_1 { + leaf trusted { + description "Mark interface trusted"; + type empty; + } + } + case case_2 { + leaf block { + description "Block router-advertisement"; + type empty; + } + } + } + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + container traceoptions { + description "DHCP relay trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container interface-traceoptions { + description "DHCP relay interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-interface-traceoptions-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-traceoptions-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-forwarding-sandbox-options { + leaf name { + description "Sandbox name"; + type string; + } + uses apply-advanced; + leaf size { + description "Size of the sandbox"; + default "small"; + type enumeration { + enum "small" { + description "Sandbox size small"; + } + enum "medium" { + description "Sandbox size medium"; + } + enum "large" { + description "Sandbox size large"; + } + } + } + list port { + key name; + description "Sandbox port"; + max-elements 64; + uses juniper-forwarding-sandbox-port-options; + } + } + grouping juniper-forwarding-sandbox-port-options { + leaf name { + description "Port name"; + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to which the port is mapped"; + max-elements 1; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping juniper-next-hop-group-options { + leaf name { + description "Next hop group name"; + type string; + } + uses apply-advanced; + leaf group-type { + description "Next hop group type"; + default "inet"; + type enumeration { + enum "inet" { + description "Group of family inet next-hops"; + } + enum "layer-2" { + description "Layer-2 next-hop group"; + } + enum "inet6" { + description "Group of family inet6 next-hops"; + } + } + } + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses next_hop_group_intf_type; + } + list next-hop-subgroup { + key name; + description "Group of interfaces through which to send sampled traffic"; + uses juniper-next-hop-subgroup-options; + } + } + grouping juniper-next-hop-subgroup-options { + leaf name { + description "Next-hop sub-group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "Interface through which to send the sampled traffic"; + max-elements 16; + uses next_hop_subgroup_intf_type; + } + } + grouping juniper-packet-accounting-options { + leaf name { + description "Name for accounting group"; + type string; + } + uses apply-advanced; + container output { + description "Accounting data disposition"; + uses packet_accounting_output_type; + } + } + grouping juniper-port-mirror-options { + uses apply-advanced; + container traceoptions { + description "Port-mirroring trace options"; + uses sampling_traceoptions_type; + } + leaf disable { + description "Disable the global port-mirroring instance"; + type empty; + } + leaf disable-all-instances { + description "Disable the all port-mirroring instances"; + type empty; + } + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container inet6 { + description "Mirror IPv6 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet6_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ethernet-switching { + description "Mirror Layer-2 ethernet-switched packets"; + uses apply-advanced; + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of port-mirroring parameters"; + leaf name { + description "Name for port-mirroring instance"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf disable { + description "Disable the this port-mirroring instance"; + type empty; + } + choice input_params_or_instance { + case case_1 { + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + } + case case_2 { + leaf input-parameters-instance { + description "Name of port-mirroring instance to use for input parameters"; + type string; + } + } + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container inet6 { + description "Mirror IPv6 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet6_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ethernet-switching { + description "Mirror Layer-2 ethernet-switched packets"; + uses apply-advanced; + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + } + } + grouping inet6_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet6_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping inet6_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet6_next_hop_type; + } + } + grouping inet6_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv6addr; + } + uses apply-advanced; + } + grouping inet_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses inet_pm_output-routing-instance-type; + } + } + grouping inet_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping inet_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv4addr; + } + uses apply-advanced; + } + grouping inet_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + grouping juniper-sampling-options { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable global sampling instance"; + type empty; + } + } + } + container traceoptions { + description "Traffic sampling trace options"; + uses sampling_traceoptions_type; + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_input_type; + } + container output { + description "Traffic sampling data disposition"; + status deprecated; + uses sampling_output_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_global_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet6"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_family_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family mpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_global_mpls_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_instance_input_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet6"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family mpls"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_mpls_output_type; + } + } + container vpls { + description "Sample vpls packets"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family vpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_vpls_output_type; + } + } + container bridge { + description "Sample bridge packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family bridge"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_bridge_output_type; + } + } + } + } + container jflow-service { + description "Jflow service configuration"; + uses apply-advanced; + container traceoptions { + description "Jflow service trace options"; + uses jflow_service_traceoptions; + } + } + container route-record { + description "Sampling route record configuration"; + uses apply-advanced; + container traceoptions { + description "Sampling route record trace options"; + uses route_record_traceoptions; + } + } + } + grouping jflow_service_traceoptions { + description "Traceoptions for jflow-service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of jflow-service to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "sm" { + description "Trace State machine code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping junos_hash_key { + description "Select data used in the hash key"; + uses apply-advanced; + container family { + description "Protocol family"; + container fcoe { + description "FCoE protocol family"; + uses apply-advanced; + container ethernet-interfaces { + description "FCoE hash-key configuration on ethernet interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container fabric-interfaces { + description "FCoE hash-key configuration on fabric interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf next-header { + description "Include IP Next Header field in the hash key"; + type empty; + } + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class field in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + leaf destination-port { + description "Include IP destination port in the hash key"; + type empty; + } + leaf source-port { + description "Include IP source port in the hash key"; + type empty; + } + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + choice label { + case case_1 { + leaf label-1 { + description "Include the first MPLS label in the hash key"; + type empty; + } + } + case case_2 { + leaf all-labels { + description "Include all MPLS labels in hash key"; + type empty; + } + } + case case_3 { + leaf no-labels { + description "Exclude all MPLS labels from hash key"; + type empty; + } + } + case case_4 { + leaf bottom-label-1 { + description "Include the first MPLS label from bottom-of-stack in the hash key"; + type empty; + } + } + } + leaf label-2 { + description "Include the second MPLS label in the hash key"; + type empty; + } + leaf label-3 { + description "Include the third MPLS label in the hash key"; + type empty; + } + container payload { + description "Include payload data in the hash key"; + uses apply-advanced; + container ip { + presence "enable ip"; + description "Include IPv4 or IPv6 payload data in the hash key"; + uses apply-advanced; + choice layer-4-select { + case case_1 { + choice ip-payload { + case case_1 { + leaf layer-3-only { + description "Include only layer-3 IP information"; + type empty; + } + } + case case_2 { + leaf enable { + description "Include layer3/4 IP payload in the hash key"; + type empty; + } + } + case case_3 { + leaf disable { + description "Exclude layer3/4 IP payload in the hash key"; + type empty; + } + } + } + } + case case_2 { + container port-data { + presence "enable port-data"; + uses apply-advanced; + leaf source-msb { + description "Include the most significant byte of the source port"; + type empty; + } + leaf source-lsb { + description "Include the least significant byte of the source port"; + type empty; + } + leaf destination-msb { + description "Include the most significant byte of the destination port"; + type empty; + } + leaf destination-lsb { + description "Include the least significant byte of the destination port"; + type empty; + } + } + } + } + } + } + } + container multiservice { + description "Multiservice protocol family"; + uses apply-advanced; + leaf source-mac { + description "Include source MAC address in hash key"; + type empty; + } + leaf destination-mac { + description "Include destination MAC address in hash key"; + type empty; + } + } + } + } + grouping layer2_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + leaf interface { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_3 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses layer2_pm_output-routing-instance-type; + } + } + case case_4 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_5 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping layer2_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mpls_pm_family_output_type { + uses apply-advanced; + } + grouping next_hop_group_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_subgroup_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf always-write-giaddr { + description "Overwrite existing 'giaddr' field, when present"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf layer2-unicast-replies { + description "Do not broadcast client responses"; + type empty; + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container proxy-mode { + presence "enable proxy-mode"; + description "Put the relay in proxy mode"; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip for relay interfaces"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping packet_accounting_output_type { + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list cflowd { + key name; + description "Cflowd collector where flow records are sent"; + uses cflowd_packet_accounting_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + uses packet_export_intf_type; + } + } + grouping cflowd_packet_accounting_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + } + grouping aggregation_type { + uses apply-advanced; + leaf autonomous-system { + description "Aggregate by autonomous system number"; + type empty; + } + leaf protocol-port { + description "Aggregate by protocol and port number"; + type empty; + } + leaf source-prefix { + description "Aggregate by source prefix"; + type empty; + } + leaf destination-prefix { + description "Aggregate by destination prefix"; + type empty; + } + container source-destination-prefix { + presence "enable source-destination-prefix"; + description "Aggregate by source and destination prefix"; + uses apply-advanced; + leaf caida-compliant { + description "Compatible with Caida record format for prefix aggregation (v8)"; + type empty; + } + } + } + grouping packet_export_intf_type { + leaf name { + description "Interfaces used to send monitored information"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf engine-id { + description "Identity (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf engine-type { + description "Type (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + container export-port { + description "Jflow export port configuration"; + presence "enable export-port"; + uses export_port_address_type; + } + } + grouping export_port_address_type { + uses apply-advanced; + leaf address { + description "Address to use for jflow export port"; + type jt:ipv4prefix; + } + leaf gateway { + description "Gateway address to reach jflow server"; + type jt:ipv4addr; + } + } + grouping pm-rspan-vlan { + description "RSPAN vlan for pm"; + leaf name { + description "VLAN name or VLAN id"; + type string { + } + } + uses apply-advanced; + leaf no-tag { + description "Removes extra RSPAN tag from mirrored packets"; + type empty; + } + } + grouping pm_family_input_type { + description "Input options for port mirroring"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping route_record_traceoptions { + description "Traceoptions for sampling route record"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of route-record to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping sampling_family_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet6_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_family_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_global_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_global_mpls_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + } + grouping cflowd_global_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + container family { + presence "enable family"; + description "Protocol family"; + status deprecated; + container inet { + description "Sampling parameters for IPv4"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + container mpls { + description "Sampling parameters for MPLS"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + } + } + grouping sampling_instance_bridge_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_bridge_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_bridge_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline_instance { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_instance_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet6_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_inet_global_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_instance_inet_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + } + grouping sampling_instance_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_instance_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_mpls_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_vpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_vpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_vpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_traceoptions_type { + description "Configure packet sampling traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping smpl-analyzer-type { + leaf name { + description "Analyzer name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container input { + description "Ports and VLANs to monitor"; + uses smpl-analyzer-input-type; + } + container output { + description "Outgoing port or VLAN for mirrored packets"; + uses smpl-analyzer-output-type; + } + } + grouping smpl-analyzer-input-type { + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + container ingress { + description "Ports and VLANs to monitor incoming traffic"; + uses smpl-analyzer-ingress-type; + } + container egress { + description "Ports and VLANs to monitor outgoing traffic"; + uses smpl-analyzer-egress-type; + } + } + grouping smpl-analyzer-egress-type { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Port to monitor outgoing traffic"; + uses analyzer-egress-interface-type; + } + list routing-instance { + key name; + description "Routing instances"; + uses analyzer-egress-routing-instance-type; + } + list vlan { + key name; + ordered-by user; + description "VLAN to monitor outgoing traffic"; + uses analyzer-egress-vlan-type; + } + } + grouping analyzer-egress-interface-type { + leaf name { + description "Logical interface name"; + type string; + } + uses apply-advanced; + } + grouping analyzer-egress-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN to monitor outgoing traffic"; + uses analyzer-egress-vlan-type; + } + } + grouping analyzer-egress-vlan-type { + leaf name { + description "VLAN name, VLAN id or VLAN range string"; + type string; + } + uses apply-advanced; + } + grouping smpl-analyzer-ingress-type { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Port to monitor incoming traffic"; + uses analyzer-ingress-interface-type; + } + list routing-instance { + key name; + description "Routing instances"; + uses analyzer-ingress-routing-instance-type; + } + list vlan { + key name; + ordered-by user; + description "VLAN to monitor incoming traffic"; + uses analyzer-ingress-vlan-type; + } + } + grouping analyzer-ingress-interface-type { + leaf name { + description "Logical interface name"; + type string; + } + uses apply-advanced; + } + grouping analyzer-ingress-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN to monitor incoming traffic"; + uses analyzer-ingress-vlan-type; + } + } + grouping analyzer-ingress-vlan-type { + leaf name { + description "VLAN name, VLAN id or VLAN range string"; + type string; + } + uses apply-advanced; + } + grouping smpl-analyzer-output-type { + uses apply-advanced; + choice interface_or_vlan { + case case_1 { + leaf interface { + description "Outgoing port for mirrored packets"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + case case_3 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_4 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses output-routing-instance-type; + } + } + case case_5 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_6 { + } + } + } + grouping output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping vlan-policy { + description "Virtual LAN"; + leaf name { + description "VLAN id"; + type string; + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-interfaces@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-interfaces@2019-01-01.yang new file mode 100644 index 00000000..0523f9cb --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-interfaces@2019-01-01.yang @@ -0,0 +1,28084 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-interfaces { + namespace "http://yang.juniper.net/junos-qfx/conf/interfaces"; + + prefix jc-interfaces; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos interfaces configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses interfaces-group; + } + augment /jc:configuration/jc:groups { + uses interfaces-group; + } + grouping interfaces-group { + container interfaces { + description "Interface configuration"; + uses apply-advanced; + list interface-set { + key name; + ordered-by user; + description "Logical interface set configuration"; + leaf name { + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "One or more interfaces that belong to interface set"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list unit { + key name; + description "One or more logical interface unit numbers"; + leaf name { + description "Unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1073741823"; + } + } + } + uses apply-advanced; + } + list vlan-tags-outer { + key name; + description "One or more outer VLAN tags"; + leaf name { + description "VLAN tag ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + } + container traceoptions { + description "Interface trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Enable all configuration logging"; + } + enum "kernel" { + description "Log configuration IPC messages to kernel"; + } + enum "change-events" { + description "Log changes that produce configuration events"; + } + enum "kernel-detail" { + description "Log details of configuration messages to kernel"; + } + enum "config-states" { + description "Log the configuration state machine changes"; + } + enum "resource-usage" { + description "Log the resource usage for different states"; + } + enum "gres-events" { + description "Log the events related to GRES "; + } + enum "select-events" { + description "Log the events on select state machine "; + } + enum "bfd-events" { + description "Log BFD related events"; + } + enum "lib-events" { + description "Log DCD library related events"; + } + enum "reserved" { + description "Reserved DCD logs"; + } + enum "emergency" { + description "Log DCD emergency events"; + } + enum "alert" { + description "Log DCD alert events"; + } + enum "critical" { + description "Log DCD critical events"; + } + enum "error" { + description "Log DCD error events"; + } + enum "warning" { + description "Log DCD warning events"; + } + enum "notice" { + description "Log DCD notification events"; + } + enum "informational" { + description "Log DCD informations"; + } + enum "debugging" { + description "Log DCD debug events"; + } + enum "verbose" { + description "Log DCD debug all events"; + } + enum "japi" { + description "Log DCD JAPI events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list interface-range { + key name; + ordered-by user; + description "Interface ranges configuration"; + leaf name { + description "Interface-range name"; + type string { + length "1 .. 128"; + } + } + list member { + key name; + ordered-by user; + description "Interfaces belonging to the interface range"; + leaf name { + description "Member interface name"; + type union { + type jt:interface-range-wild; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list member-range { + key name; + ordered-by user; + description "Interfaces range in to format"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf end-range { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + leaf shared-scheduler { + description "Enabled shared queuing on an IQ2 interface"; + type empty; + } + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf cascade-port { + description "Cascade port"; + type empty; + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + } + } + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container esi { + description "ESI configuration of multi-homed interface"; + uses apply-advanced; + leaf identifier { + description "ESI value for the interface"; + type jt:esi; + } + choice mode { + case case_1 { + leaf single-active { + description "Single-active mode"; + type empty; + } + } + case case_2 { + leaf all-active { + description "All-active mode"; + type empty; + } + } + } + leaf source-bmac { + description "Unicast Source B-MAC address per ESI for PBB-EVPN"; + type jt:mac-unicast; + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container sonet-options { + description "SONET interface-specific options"; + uses sonet_options_type; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container redundancy-options { + description "Redundancy options"; + uses apply-advanced; + leaf primary { + description "Specify the primary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secondary { + description "Specify the secondary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container redundancy-peer { + description "Specify information for peer"; + uses apply-advanced; + leaf ipaddress { + description "Specify the IP address"; + type jt:ipv4addr; + } + } + container redundancy-local { + description "Specify information for the local peer"; + uses apply-advanced; + leaf data-address { + description "Specify the HA local data IP address"; + type jt:ipv4addr; + } + } + leaf routing-instance { + description "Specify routing-instance for the HA traffic"; + type string; + } + leaf replication-threshold { + description "Duration for which flow should remain active for replication"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 3600"; + } + } + } + container replication-options { + description "Specify state replication attributes"; + uses apply-advanced; + leaf mtu { + description "Specify the maximal packet size for replicated data"; + default "1500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 8000"; + } + } + } + } + container replicate-services { + description "Replicate services state from active to backup"; + uses apply-advanced; + leaf pgcp { + description "Replicate the PGCP service state"; + type empty; + } + } + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + leaf arp-l2-validate { + description "Validate ARP against L2"; + type empty; + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + container link-protection-sub-group { + description "Link Protection subgroup configuration"; + uses apply-advanced; + leaf subgroup-name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + } + leaf port-priority { + description "Link protection Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + leaf local-minimum-links-threshold { + description "Specify threshold for minimum links per VC/VCF member"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf resilient-hash { + description "Turn on resilient-hash"; + type empty; + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container hold-time { + description "Hold time for link up and link down for AE link members"; + leaf up { + description "Link up hold time for the AE link members"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + } + leaf aggregate-wait-time { + description "Aggregate wait time for the AE"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 1800"; + } + } + } + leaf force-up { + description "Forceup AE interface with LACP"; + type empty; + } + leaf no-peer-loopback-validation { + description "Skip MCLAG peer loop back validation for LACP PDUs on Forceup AE interface"; + type empty; + } + } + list link-protection-sub-group { + key name; + ordered-by user; + description "Link Protection subgroup configuration"; + leaf name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + choice type { + case case_1 { + leaf primary { + description "Primary subgroup for N:N link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup subgroup for N:N link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf init-delay-time { + description "Init delay timer for mcae sm for min traffic loss"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf recovery-delay-time { + description "Delay timer for bringing up ICL, ICCP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf enhanced-convergence { + description "Optimized convergence time for mcae"; + type empty; + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf alias { + description "Interface alias"; + type string; + } + leaf enhanced-convergence { + description "Optimize convergence time for L3"; + type empty; + } + leaf proxy-macip-advertisement { + description "Proxy advertisement of type 2 MAC+IP route for EVPN"; + type empty; + } + leaf virtual-gateway-accept-data { + description "Accept packets destined for virtual gateway address"; + type empty; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + leaf global-layer2-domainid { + description "Global Layer-2 Identifier for this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4094"; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container layer2-policer { + description "Layer2 policing for logical interface"; + uses apply-advanced; + choice layer2-input-policer-choice { + case case_1 { + leaf input-policer { + description "Two-color policer for received packets"; + type string; + } + } + case case_2 { + } + case case_3 { + leaf input-three-color { + description "Color-blind three-color policer for received packets"; + type string; + } + } + } + choice layer2-output-policer-choice { + case case_1 { + leaf output-policer { + description "Two-color policer for transmitted packets"; + type string; + } + } + case case_2 { + leaf output-three-color { + description "Three-color policer for transmitted packets"; + type string; + } + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + presence "enable dhcp"; + description "Configure DHCP Client"; + uses apply-advanced; + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf lease-time { + description "Default lease time requested in "; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 6"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server "; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string; + } + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-labels { + description "Protocol family maximum number of labels"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf mac { + description "Configure logical interface MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + } + list interface { + key name; + uses interfaces_type; + } + } + } + grouping aggregate-load-balance { + description "Load balancing parameters"; + uses apply-advanced; + choice adaptive_option { + case case_1 { + } + case case_2 { + } + case case_3 { + container adaptive { + presence "enable adaptive"; + description "Enable adaptive load balancing by re-programming selector table"; + uses apply-advanced; + leaf tolerance { + description "Target tolerance in percentage (default 20%)"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf pps { + description "Adaptive load balance based on packet per second (default bps)"; + type empty; + } + leaf scan-interval { + description "Scan interval for multiple of 30 seconds (default 30 seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping aps_type { + uses apply-advanced; + choice aps_mode { + case case_1 { + leaf working-circuit { + description "Working circuit group name"; + type string; + } + } + case case_2 { + leaf protect-circuit { + description "Protect circuit group name"; + type string; + } + } + } + leaf annex-b { + description "Annex-b mode"; + type empty; + } + leaf wait-to-restore-time { + description "Circuit wait-to-restore time for annex-b"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf preserve-interface { + description "Preserve interface state for fast failover"; + type empty; + } + leaf neighbor { + description "Neighbor address"; + type jt:ipv4addr; + } + leaf paired-group { + description "Name of paired APS group"; + type string; + } + container authentication-key { + presence "enable authentication-key"; + description "Authentication parameters"; + leaf auth_key { + description "Authentication key"; + type jt:unreadable; + } + } + leaf switching-mode { + description "APS switching mode"; + type enumeration { + enum "bidirectional" { + description "Bidirectional"; + } + enum "unidirectional" { + description "Unidirectional"; + } + } + } + leaf advertise-interval { + description "Advertise interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf hold-time { + description "Hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf revert-time { + description "Circuit revert time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + choice break-before-make-choice { + leaf break-before-make { + description "Ensure only one interface is active at a time"; + type empty; + } + leaf no-break-before-make { + description "Don't ensure only one interface is active at a time"; + type empty; + } + } + choice manual_mode { + case case_1 { + leaf request { + description "Request circuit state"; + type enumeration { + enum "protect" { + description "Request protect circuit"; + } + enum "working" { + description "Request working circuit"; + } + } + } + } + case case_2 { + leaf force { + description "Force circuit state"; + type enumeration { + enum "protect" { + description "Force protect circuit"; + } + enum "working" { + description "Force working circuit"; + } + } + } + } + case case_3 { + leaf lockout { + description "Lockout protection"; + type empty; + } + } + } + leaf fast-aps-switch { + description "Fast aps switch"; + type empty; + } + } + grouping cos_policer { + description "Define a CoS based policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + container premium { + description "Policer to apply to premium traffic"; + presence "enable premium"; + uses ethernet_policer; + } + container aggregate { + description "Policer to apply to aggregate traffic"; + presence "enable aggregate"; + uses ethernet_policer; + } + } + grouping cos_policer_input_priority_map { + description "Input policer priority map"; + uses apply-advanced; + container ieee-802.1p { + description "Use IEEE 802.1p to determine policer priority map"; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Input traffic's IEEE 802.1p value to which premium policer is applied"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + grouping cos_policer_output_priority_map { + description "Output policer priority map"; + uses apply-advanced; + container classifier { + description "Use classifier as policer priority map"; + uses apply-advanced; + container premium { + description "Output traffic classifier to which premium policer is applied"; + uses apply-advanced; + list forwarding-class { + key name; + ordered-by user; + description "Select a classification for this priority map"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Select a loss priority"; + leaf name { + type enumeration { + enum "low" { + description "Select low loss priority as premium policer"; + } + enum "high" { + description "Select high loss priority as premium policer"; + } + } + } + } + } + } + } + } + grouping dcd_rx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "tag" { + description "Tag and count overflow packets"; + } + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping dcd_shaping_config { + description "Traffic-shaping profile"; + uses apply-advanced; + choice useless_shaping_choice { + case case_1 { + container cbr { + presence "enable cbr"; + description "Constant bandwidth utilization"; + leaf cbr-value { + description "Constant bandwidth utilization"; + type string; + } + } + } + case case_2 { + container vbr { + description "Variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + case case_3 { + container rtvbr { + description "ATM2 real-time variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + } + leaf queue-length { + description "Queue length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16383"; + } + } + } + } + grouping dcd_tx_bucket_config { + uses apply-advanced; + leaf overflow { + description "Overflow behavior"; + type enumeration { + enum "discard" { + description "Discard overflow packets"; + } + } + } + leaf rate { + description "Bucket rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf threshold { + description "Bucket threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping epd_threshold_config { + uses apply-advanced; + leaf epd-threshold-plp0 { + description "Early packet discard threshold value"; + units "cells"; + type string; + } + leaf plp1 { + description "Early packet drop threshold value for PLP 1"; + units "cells"; + type string; + } + } + grouping ethernet-switching-type { + description "Ethernet switching family"; + uses apply-advanced; + leaf port-mode { + description "Type of port mode"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "tagged-access" { + description "Interface mode is tagged-access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf interface-mode { + description "Type of interface mode"; + default "access"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + leaf reflective-relay { + description "Reflective-relay mode for this interface"; + type empty; + } + choice vlan_choice_list { + case case_1 { + container vlan { + description "Virtual LAN parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_2 { + container inner-vlan { + description "Trunk mode vlan membership for this interface"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type"; + type enumeration { + enum "svlan" { + description "Bridge domain type SVLAN"; + } + enum "bvlan" { + description "Bridge domain type BVLAN"; + } + } + } + container vlan-rewrite { + description "Specify VLAN translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf native-vlan-id { + description "Untagged packets on a trunk/tagged-access interface belong to this vlan"; + type string { + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string; + } + leaf input-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + leaf output-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + grouping ethernet_policer { + description "Define a policer"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + grouping fibre-channel-type { + description "Fibre Channel switching family"; + uses apply-advanced; + leaf port-mode { + description "Port mode"; + type enumeration { + enum "f-port" { + description "Fabric port"; + } + enum "e-port" { + description "Inter-switch port"; + } + enum "np-port" { + description "Proxy node port"; + } + enum "auto" { + description "Interface mode (F/E) is determined at runtime"; + } + } + } + leaf no-npiv { + description "Disable NPIV"; + type empty; + } + container fc-fabric { + description "Virtual fabric parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Virtual Fabric Membership for this interface (name or id)"; + type string; + } + } + leaf native-fabric { + description "FC frames with no virtual fabric header on a interface belong to this fabric"; + type string { + } + } + } + grouping interfaces_type { + description "Physical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this interface"; + type empty; + } + } + } + container traceoptions { + presence "enable traceoptions"; + description "Interface trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ipc" { + description "Trace interface IPC messages"; + } + enum "event" { + description "Trace interface events"; + } + enum "media" { + description "Trace interface media changes"; + } + enum "all" { + description "Enable all interface trace flags"; + } + } + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send keepalive messages"; + type empty; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice interface-mib-choice { + leaf interface-mib { + description "Enable interface-related MIBs"; + type empty; + } + leaf no-interface-mib { + description "Don't enable interface-related MIBs"; + type empty; + } + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + choice scheduler_type { + case case_1 { + choice per-unit-scheduler-choice { + leaf per-unit-scheduler { + description "Enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + leaf no-per-unit-scheduler { + description "Don't enable subunit queuing on Frame Relay or VLAN IQ interface"; + type empty; + } + } + } + case case_2 { + leaf shared-scheduler { + description "Enabled shared queuing on an IQ2 interface"; + type empty; + } + } + case case_3 { + container hierarchical-scheduler { + presence "enable hierarchical-scheduler"; + description "Enable hierarchical scheduling"; + leaf maximum-hierarchy-levels { + description "Maximum hierarchy levels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4"; + } + } + } + leaf implicit-hierarchy { + description "Implicit hierarchy (follows interface hierarchy)"; + type empty; + } + } + } + } + leaf l2tp-maximum-session { + description "Maximum L2TP session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64000"; + } + } + } + leaf schedulers { + description "Number of schedulers to allocate for interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf cascade-port { + description "Cascade port"; + type empty; + } + leaf dce { + description "Respond to Frame Relay status enquiry messages"; + type empty; + } + choice vlan_tag_mode { + case case_1 { + leaf vlan-tagging { + description "802.1q VLAN tagging support"; + type empty; + } + } + case case_2 { + leaf stacked-vlan-tagging { + description "Stacked 802.1q VLAN tagging support"; + type empty; + } + } + case case_3 { + leaf flexible-vlan-tagging { + description "Support for no tagging, or single and double 802.1q VLAN tagging"; + type empty; + } + } + case case_4 { + leaf vlan-vci-tagging { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + type empty; + } + } + } + leaf native-vlan-id { + description "Virtual LAN identifier for untagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + leaf speed { + description "Link speed"; + type enumeration { + enum "auto" { + description "Enable auto negotiation of interface speed"; + } + enum "auto-10m-100m" { + description "Enable auto negotiation of limiting interface speed to 10m/100m"; + } + enum "10m" { + } + enum "100m" { + } + enum "1g" { + } + enum "2.5g" { + } + enum "5g" { + } + enum "10g" { + } + enum "40g" { + } + enum "oc3" { + } + enum "oc12" { + } + enum "oc48" { + } + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container link-degrade-monitor { + presence "enable link-degrade-monitor"; + description "Enable link degrade monitoring"; + uses apply-advanced; + container actions { + description "Action upon link degrade event"; + uses apply-advanced; + choice action_choice { + case case_1 { + leaf media-based { + description "Media based"; + type empty; + } + } + } + } + container recovery { + description "Link degrade recovery mechanism"; + uses apply-advanced; + leaf timer { + description "Auto recovery timer in seconds"; + default "1800"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice receovery_choice { + case case_1 { + leaf auto { + description "Automatic recovery"; + type empty; + } + } + case case_2 { + leaf manual { + description "Manual recovery"; + type empty; + } + } + } + } + container thresholds { + description "Link degrade threshold parameters"; + uses apply-advanced; + leaf set { + description "BER at which link considered degraded(1..16)"; + default "1e-7"; + type string { + } + } + leaf clear { + description "BER at which link considered improved(1..16)"; + default "1e-12"; + type string { + } + } + leaf warning-set { + description "BER at which link degrade warning raised(1..16)"; + default "1e-9"; + type string { + } + } + leaf warning-clear { + description "BER at which link degrade warning cleared(1..16)"; + default "1e-11"; + type string { + } + } + leaf interval { + description "Consecutive link degrade events"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + } + } + container satop-options { + description "Structure-Agnostic TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container cesopsn-options { + description "Structure-Aware TDM over Packet protocol options"; + uses apply-advanced; + leaf idle-pattern { + description "An 8-bit hexadecimal pattern to replace TDM data in a lost packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf packetization-latency { + description "Number of microseconds to create packets"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 8000"; + } + } + } + leaf payload-size { + description "Number of payload bytes per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 1024"; + } + } + } + container excessive-packet-loss-rate { + description "Packet loss options"; + uses apply-advanced; + leaf threshold { + description "Percentile designating the threshold of excessive packet loss rate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf sample-period { + description "Number of milliseconds over which excessive packet loss rate is calculated"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 65535"; + } + } + } + } + choice jitter-buffer-size { + case case_1 { + leaf jitter-buffer-packets { + description "Number of packets in jitter buffer before packet data is played out in the line"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + } + case case_2 { + leaf jitter-buffer-latency { + description "Number of milliseconds delay in jitter buffer before packet data is played out in the line"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + case case_3 { + leaf jitter-buffer-auto-adjust { + description "Automatically adjust jitter buffer"; + type empty; + } + } + } + leaf bit-rate { + description "In multiples of DS0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10240"; + } + } + } + } + container clocking { + description "Interface clock source"; + choice clocking_choices { + case case_1 { + leaf internal { + description "Clocking provided by local system"; + type empty; + } + } + case case_2 { + container external { + presence "enable external"; + description "Clocking provided by DCE (loop timing)"; + } + } + } + } + leaf link-mode { + description "Link operational mode"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf encapsulation { + description "Physical link-layer encapsulation"; + type enumeration { + enum "ethernet" { + description "Ethernet physical media"; + } + enum "fddi" { + description "FDDI physical media"; + } + enum "token-ring" { + description "Token Ring physical media"; + } + enum "ppp" { + description "Serial PPP device"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + enum "ppp-tcc" { + description "Serial PPP device for a translational cross-connect"; + } + enum "ether-vpls-ppp" { + description "Ethernet VPLS over PPP (bridging) device"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "frame-relay-ccc" { + description "Frame Relay for cross-connect"; + } + enum "frame-relay-tcc" { + description "Frame Relay for translational cross-connect"; + } + enum "extended-frame-relay-ccc" { + description "Any Frame Relay DLCI for cross-connect"; + } + enum "extended-frame-relay-tcc" { + description "Any Frame Relay DLCI for translational cross-connect"; + } + enum "flexible-frame-relay" { + description "Multiple Frame Relay encapsulations"; + } + enum "frame-relay-port-ccc" { + description "Frame Relay port encapsulation for a cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay encapsulation"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation for translational cross-connect"; + } + enum "extended-frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay encapsulation any DLCI for translational cross-connect"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC framing"; + } + enum "cisco-hdlc-ccc" { + description "Cisco-compatible HDLC framing for a cross-connect"; + } + enum "cisco-hdlc-tcc" { + description "Cisco-compatible HDLC framing for a translational cross-connect"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "extended-vlan-ccc" { + description "Nonstandard TPID tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet cross-connect"; + } + enum "flexible-ethernet-services" { + description "Allows per-unit Ethernet encapsulation configuration"; + } + enum "smds-dxi" { + description "SMDS DXI framing"; + } + enum "atm-pvc" { + description "ATM permanent virtual circuits"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay encapsulation for cross-connect"; + } + enum "ethernet-over-atm" { + description "Ethernet over ATM encapsulation"; + } + enum "ethernet-tcc" { + description "Ethernet translational cross-connect"; + } + enum "extended-vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-frame-relay-uni-nni" { + description "Multilink Frame Relay UNI NNI (FRF.16) encapsulation"; + } + enum "satop" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "cesopsn" { + description "Structure-Agnostic TDM over Packet encapsulation"; + } + enum "ima" { + description "Inverse Multiplexing for ATM"; + } + enum "ethernet-vpls" { + description "Ethernet virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet layer-2 bridging"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "extended-vlan-vpls" { + description "Extended VLAN virtual private LAN service"; + } + enum "extended-vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "generic-services" { + description "Generic services"; + } + } + } + container esi { + description "ESI configuration of multi-homed interface"; + uses apply-advanced; + leaf identifier { + description "ESI value for the interface"; + type jt:esi; + } + choice mode { + case case_1 { + leaf single-active { + description "Single-active mode"; + type empty; + } + } + case case_2 { + leaf all-active { + description "All-active mode"; + type empty; + } + } + } + leaf source-bmac { + description "Unicast Source B-MAC address per ESI for PBB-EVPN"; + type jt:mac-unicast; + } + } + container framing { + description "Frame type"; + uses apply-advanced; + choice frame { + case case_1 { + leaf lan-phy { + description "802.3ae 10-Gbps LAN-mode interface"; + type empty; + } + } + case case_2 { + leaf wan-phy { + description "802.3ae 10-Gbps WAN-mode interface"; + type empty; + } + } + case case_3 { + leaf sonet { + description "SONET framing"; + type empty; + } + } + case case_4 { + leaf sdh { + description "SDH framing"; + type empty; + } + } + } + } + container lmi { + description "Local Management Interface settings"; + uses apply-advanced; + leaf n391dte { + description "DTE full status polling interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392dce { + description "DCE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n392dte { + description "DTE error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dce { + description "DCE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393dte { + description "DTE monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391dte { + description "DTE polling timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392dce { + description "DCE polling verification timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf lmi-type { + description "Specify the Frame Relay LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + } + container mlfr-uni-nni-bundle-options { + description "Multilink Frame Relay UNI NNI (FRF.16) management settings"; + uses apply-advanced; + container cisco-interoperability { + description "FRF.16 Cisco interoperability settings"; + uses apply-advanced; + leaf send-lip-remove-link-for-link-reject { + description "Send Link Integrity Protocol remove link on receiving add-link rejection"; + type empty; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf yellow-differential-delay { + description "Yellow differential delay among bundle links to give warning"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "3 .. 2000"; + } + } + } + leaf red-differential-delay { + description "Red differential delay among bundle links to take action"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 2000"; + } + } + } + leaf action-red-differential-delay { + description "Type of actions when differential delay exceeds red limit"; + type enumeration { + enum "remove-link" { + description "Remove bundle link from service when exceeding red limit"; + } + enum "disable-tx" { + description "Disable transfer of bundle link when exceeding red limit"; + } + } + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 16320"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf lmi-type { + description "Specify the multilink Frame Relay UNI NNI LMI type"; + type enumeration { + enum "ansi" { + description "Use ANSI Annex D LMI"; + } + enum "itu" { + description "Use ITU Q933a Annex A LMI"; + } + enum "c-lmi" { + description "Use Consortium LMI"; + } + } + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8"; + } + } + } + leaf hello-timer { + description "LIP hello timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 180"; + } + } + } + leaf acknowledge-timer { + description "LIP ack timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf acknowledge-retries { + description "LIP ack retry times"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 5"; + } + } + } + leaf n391 { + description "Multilink Frame Relay UNI NNI full status polling counter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf n392 { + description "Multilink Frame Relay UNI NNI LMI error threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf n393 { + description "Multilink Frame Relay UNI NNI LMI monitored event count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf t391 { + description "Multilink Frame Relay UNI NNI link integrity verify polling timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + leaf t392 { + description "Multilink Frame Relay UNI NNI polling verification timer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 30"; + } + } + } + } + leaf mac { + description "Hardware MAC address"; + type jt:mac-unicast; + } + container receive-bucket { + description "Set receive bucket parameters"; + uses dcd_rx_bucket_config; + } + container transmit-bucket { + description "Set transmit bucket parameters"; + uses dcd_tx_bucket_config; + } + leaf shared-interface { + description "Enable shared interface on the interface"; + type empty; + } + container sonet-options { + description "SONET interface-specific options"; + uses sonet_options_type; + } + container logical-tunnel-options { + description "Logical Tunnel interface-specific options"; + uses apply-advanced; + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back (Default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back from active backup link to primary, if primary is UP"; + type empty; + } + } + leaf per-unit-mac-disable { + description "Disable the creation of per unit mac address on LT IFLs for VPLS/CCC encaps"; + type empty; + } + } + container aggregated-sonet-options { + description "Aggregated SONET interface-specific options"; + uses apply-advanced; + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf link-speed { + description "Aggregated links speed"; + type enumeration { + enum "oc3" { + description "Links are OC-3c or STM-1c"; + } + enum "oc12" { + description "Links are OC-12c or STM-4c"; + } + enum "oc48" { + description "Links are OC-48c or STM-16c"; + } + enum "oc192" { + description "Links are OC-192c or STM-64c"; + } + enum "oc768" { + description "Links are OC-768c or STM-256c"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + leaf minimum-bandwidth { + description "Minimum bandwidth necessary to sustain bundle"; + units "bps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "0 .. 159232000000"; + } + } + } + } + container atm-options { + description "ATM interface-specific options"; + uses apply-advanced; + leaf pic-type { + description "Type of ATM PIC (ATM I, ATM II or ATM CE)"; + type enumeration { + enum "atm-ce" { + description "CE PIC"; + } + enum "atm2" { + description "ATM II IQ PIC"; + } + enum "atm1" { + description "ATM I PIC"; + } + } + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf use-null-cw { + description "Always insert/strip null control words with cell-relay"; + type empty; + } + container promiscuous-mode { + presence "enable promiscuous-mode"; + description "Set ATM interface to promiscuous mode"; + uses apply-advanced; + list vpi { + key name; + ordered-by user; + description "Open this VPI in promiscuous mode"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + list vpi { + key name; + ordered-by user; + description "Define a virtual path"; + leaf name { + description "Virtual path index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf maximum-vcs { + description "Maximum number of virtual circuits on this VP"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container shaping { + description "Virtual path traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "F4 OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "F4 OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F4 OAM loopback"; + } + } + } + } + container oam-liveness { + description "F4 OAM virtual path liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of F4 OAM cells to consider VP up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of F4 OAM cells to consider VP down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container ilmi { + presence "enable ilmi"; + description "Enable Interim Local Management Interface"; + uses apply-advanced; + } + list linear-red-profiles { + key name; + ordered-by user; + description "ATM2 CoS virtual circuit drop profiles"; + leaf name { + description "Linear RED profile name"; + type string { + } + } + leaf queue-depth { + description "Maximum queue depth"; + units "cells"; + type string; + } + leaf high-plp-threshold { + description "Fill level percentage when linear RED is applied for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-threshold { + description "Fill level percentage when linear RED is applied for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf high-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for high PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf low-plp-max-threshold { + description "Fill level percentage with 100 percent packet drop for low PLP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + list scheduler-maps { + key name; + ordered-by user; + description "ATM2 CoS parameters assigned to forwarding classes"; + leaf name { + description "ATM2 CoS scheduler map name"; + type string { + } + } + uses apply-advanced; + leaf vc-cos-mode { + description "ATM2 virtual circuit CoS mode"; + type enumeration { + enum "strict" { + description "Always schedule high priority queue first"; + } + enum "alternate" { + description "Every other packet from high priority queue (default)"; + } + } + } + list forwarding-class { + key name; + ordered-by user; + description "Scheduling parameters associated with forwarding class"; + leaf name { + description "Forwarding class name"; + type string { + } + } + uses apply-advanced; + leaf priority { + description "Queuing priority assigned to forwarding class"; + type enumeration { + enum "low" { + description "Low priority queuing"; + } + enum "high" { + description "High priority queuing"; + } + } + } + container transmit-weight { + description "Transmit weight"; + choice weight-method { + case case_1 { + leaf percent { + description "Transmit weight as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 100"; + } + } + } + } + case case_2 { + leaf cells { + description "Transmit weight by cells count"; + type string; + } + } + } + } + choice drop-profile-method { + case case_1 { + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + case case_2 { + leaf linear-red-profile { + description "Linear RED profile profile name"; + type string; + } + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + } + container multiservice-options { + description "Multiservice interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + choice dump-on-flow-control-choice { + leaf dump-on-flow-control { + description "Enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-dump-on-flow-control { + description "Don't enable dumping for this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + choice reset-on-flow-control-choice { + leaf reset-on-flow-control { + description "Enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + leaf no-reset-on-flow-control { + description "Don't enable resetting this interface on prolonged flow-control"; + status deprecated; + type empty; + } + } + container flow-control-options { + description "Flow control configuration"; + uses apply-advanced; + leaf dump-on-flow-control { + description "Cause core dump during prolonged flow-control"; + type empty; + } + leaf reset-on-flow-control { + description "Reset interface during prolonged flow-control"; + type empty; + } + leaf down-on-flow-control { + description "Bring interface down during prolonged flow-control"; + type empty; + } + leaf up-on-flow-control { + description "Keep interface up during prolonged flow-control"; + type empty; + } + } + } + container ggsn-options { + description "GGSN interface-specific options"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Enable system logging on this interface"; + type empty; + } + leaf no-syslog { + description "Don't enable system logging on this interface"; + type empty; + } + } + choice core-dump-choice { + leaf core-dump { + description "Enable core dumping on this interface"; + type empty; + } + leaf no-core-dump { + description "Don't enable core dumping on this interface"; + type empty; + } + } + } + container ppp-options { + description "Point-to-Point Protocol (PPP) interface-specific options"; + uses ppp_options_type; + } + container redundancy-options { + description "Redundancy options"; + uses apply-advanced; + leaf primary { + description "Specify the primary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secondary { + description "Specify the secondary interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container redundancy-peer { + description "Specify information for peer"; + uses apply-advanced; + leaf ipaddress { + description "Specify the IP address"; + type jt:ipv4addr; + } + } + container redundancy-local { + description "Specify information for the local peer"; + uses apply-advanced; + leaf data-address { + description "Specify the HA local data IP address"; + type jt:ipv4addr; + } + } + leaf routing-instance { + description "Specify routing-instance for the HA traffic"; + type string; + } + leaf replication-threshold { + description "Duration for which flow should remain active for replication"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 3600"; + } + } + } + container replication-options { + description "Specify state replication attributes"; + uses apply-advanced; + leaf mtu { + description "Specify the maximal packet size for replicated data"; + default "1500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 8000"; + } + } + } + } + container replicate-services { + description "Replicate services state from active to backup"; + uses apply-advanced; + leaf pgcp { + description "Replicate the PGCP service state"; + type empty; + } + } + } + container lsq-failure-options { + description "Link services queuing failure options"; + uses apply-advanced; + list trigger-link-failure { + key name; + ordered-by user; + description "Link on which to trigger failure"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + choice no-termination-request-choice { + leaf no-termination-request { + description "Do not send PPP termination requests"; + type empty; + } + leaf no-no-termination-request { + description "Don't do not send PPP termination requests"; + type empty; + } + } + } + container services-options { + description "Services interface-specific options"; + uses apply-advanced; + container syslog { + description "Define system log parameters"; + uses service_set_syslog_object; + } + container jflow-log { + description "Define Jflow-log parameters."; + uses apply-advanced; + leaf message-rate-limit { + description "Maximum jflow-log NAT error events allowed per second from this interface"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + } + container deterministic-nat-configuration-log-interval { + presence "enable deterministic-nat-configuration-log-interval"; + description "Define Deterministic NAT parameters"; + uses apply-advanced; + leaf interval { + description "Interval in which deterministic NAT logs are generated"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1800 .. 86400"; + } + } + } + } + leaf open-timeout { + description "Timeout period for TCP session establishment"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 300"; + } + } + } + leaf close-timeout { + description "Timeout period for TCP session tear-down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 300"; + } + } + } + leaf inactivity-timeout { + description "Inactivity timeout period for established sessions (4..86400)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf inactivity-tcp-timeout { + description "Inactivity timeout period for TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-asymm-tcp-timeout { + description "Inactivity timeout period for asymmetric TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf inactivity-non-tcp-timeout { + description "Inactivity timeout period for non-TCP established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf session-timeout { + description "Session timeout period for established sessions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 86400"; + } + } + } + leaf disable-global-timeout-override { + description "Disallow overriding global inactivity or session timeout"; + type empty; + } + leaf tcp-tickles { + description "Number of TCP keep-alive packets to be sent for bi-directional TCP flows"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 30"; + } + } + } + leaf fragment-limit { + description "Maximum number of fragments allowed for a packet"; + default "250"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 250"; + } + } + } + leaf reassembly-timeout { + description "Re-assembly timeout (seconds) for fragments of a packet"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf cgn-pic { + description "PIC will be used for Carrier Grade NAT configuration only"; + type empty; + } + leaf pba-interim-logging-interval { + description "Interim logging interval in seconds"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + container session-limit { + presence "enable session-limit"; + description "Session limit"; + uses apply-advanced; + leaf maximum { + description "Maximum number of sessions allowed simultaneously"; + type string; + } + leaf rate { + description "Maximum number of new sessions allowed per second"; + type string; + } + leaf cpu-load-threshold { + description "CPU limit in percentage for auto-tuning of session rate"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + container ignore-errors { + presence "enable ignore-errors"; + description "Ignore anomalies or errors"; + leaf tcp { + description "TCP protocol errors"; + type empty; + } + leaf alg { + description "ALG anomalies or errors"; + type empty; + } + } + container capture { + description "Packet capture for SFW and NAT on the Services PIC"; + uses apply-advanced; + leaf capture-size { + description "The number of packets to store"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 344000"; + } + } + } + leaf pkt-size { + description "Number of bytes to be saved from each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "64 .. 15000"; + } + } + } + leaf logs-per-packet { + description "The number of trace messages stored for each packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 500"; + } + } + } + leaf max-log-line-size { + description "The maximum length of a stored trace message"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter { + presence "enable filter"; + description "Filtering options for the packet capture"; + uses apply-advanced; + container source-ip { + description "Filter based on source-ip (and wildcard)"; + leaf ip { + description "Source IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipaddr; + } + } + container dest-ip { + description "Filter based on dest-ip (and wildcard)"; + leaf ip { + description "Dest IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Dest IP wildcard"; + type jt:ipaddr; + } + } + container sw-sip { + description "Filter based on source softwire ip (and wildcard)"; + leaf ip { + description "Source softwire IP"; + type jt:ipv6addr; + } + leaf wildcard { + description "Source IP wildcard"; + type jt:ipv6addr; + } + } + container sw-dip { + description "Filter based on destination softwire ip (and wildcard)"; + leaf ip { + description "Destination softwire IP"; + type jt:ipaddr; + } + leaf wildcard { + description "Destination IP wildcard"; + type jt:ipaddr; + } + } + container sport-range { + description "Filter based on source port"; + leaf low { + description "Source port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Source port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container dport-range { + description "Filter based on destination port"; + leaf low { + description "Destination port range start"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf high { + description "Destination port range end"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf proto { + description "Filter based on L4 protocol"; + type enumeration { + enum "icmp" { + } + enum "tcp" { + } + enum "udp" { + } + } + } + } + } + } + container t3-options { + description "T3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + choice long-buildout-choice { + leaf long-buildout { + description "Set hardware to drive line longer than 255 feet"; + type empty; + } + leaf no-long-buildout { + description "Don't set hardware to drive line longer than 255 feet"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for T3"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for T3"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + container larscom { + presence "enable larscom"; + description "Compatible with Larscom CSU"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 14"; + } + } + } + } + } + case case_2 { + container verilink { + presence "enable verilink"; + description "Compatible with Verilink CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 28"; + } + } + } + } + } + case case_3 { + container adtran { + presence "enable adtran"; + description "Compatible with Adtran CSU (not on 2/4-port T3 PIC)"; + leaf subrate { + description "Set subrate value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 588"; + } + } + } + } + } + case case_4 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (not on 2/4-port T3 PIC)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 69"; + } + } + } + } + } + case case_5 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "301Kb" { + description "301 Kbps"; + } + enum "601Kb" { + description "601 Kbps"; + } + enum "902Kb" { + description "902 Kbps"; + } + enum "1.2Mb" { + description "1.2 Mbps"; + } + enum "1.5Mb" { + description "1.5 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.4Mb" { + description "2.4 Mbps"; + } + enum "2.7Mb" { + description "2.7 Mbps"; + } + enum "3.0Mb" { + description "3.0 Mbps"; + } + enum "3.3Mb" { + description "3.3 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.2Mb" { + description "4.2 Mbps"; + } + enum "4.5Mb" { + description "4.5 Mbps"; + } + enum "4.8Mb" { + description "4.8 Mbps"; + } + enum "5.1Mb" { + description "5.1 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.0Mb" { + description "6.0 Mbps"; + } + enum "6.3Mb" { + description "6.3 Mbps"; + } + enum "6.6Mb" { + description "6.6 Mbps"; + } + enum "6.9Mb" { + description "6.9 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.8Mb" { + description "7.8 Mbps"; + } + enum "8.1Mb" { + description "8.1 Mbps"; + } + enum "8.4Mb" { + description "8.4 Mbps"; + } + enum "8.7Mb" { + description "8.7 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.6Mb" { + description "9.6 Mbps"; + } + enum "9.9Mb" { + description "9.9 Mbps"; + } + enum "10.2Mb" { + description "10.2 Mbps"; + } + enum "10.5Mb" { + description "10.5 Mbps"; + } + enum "10.8Mb" { + description "10.8 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.4Mb" { + description "11.4 Mbps"; + } + enum "11.7Mb" { + description "11.7 Mbps"; + } + enum "12.0Mb" { + description "12.0 Mbps"; + } + enum "12.3Mb" { + description "12.3 Mbps"; + } + enum "12.6Mb" { + description "12.6 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.5Mb" { + description "13.5 Mbps"; + } + enum "13.8Mb" { + description "13.8 Mbps"; + } + enum "14.1Mb" { + description "14.1 Mbps"; + } + enum "14.4Mb" { + description "14.4 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.3Mb" { + description "15.3 Mbps"; + } + enum "15.6Mb" { + description "15.6 Mbps"; + } + enum "15.9Mb" { + description "15.9 Mbps"; + } + enum "16.2Mb" { + description "16.2 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.1Mb" { + description "17.1 Mbps"; + } + enum "17.4Mb" { + description "17.4 Mbps"; + } + enum "17.7Mb" { + description "17.7 Mbps"; + } + enum "18.0Mb" { + description "18.0 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "18.9Mb" { + description "18.9 Mbps"; + } + enum "19.2Mb" { + description "19.2 Mbps"; + } + enum "19.5Mb" { + description "19.5 Mbps"; + } + enum "19.8Mb" { + description "19.8 Mbps"; + } + enum "20.1Mb" { + description "20.1 Mbps"; + } + enum "20.5Mb" { + description "20.5 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.4Mb" { + description "21.4 Mbps"; + } + enum "21.7Mb" { + description "21.7 Mbps"; + } + enum "22.0Mb" { + description "22.0 Mbps"; + } + enum "22.3Mb" { + description "22.3 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.2Mb" { + description "23.2 Mbps"; + } + enum "23.5Mb" { + description "23.5 Mbps"; + } + enum "23.8Mb" { + description "23.8 Mbps"; + } + enum "24.1Mb" { + description "24.1 Mbps"; + } + enum "24.4Mb" { + description "24.4 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.0Mb" { + description "25.0 Mbps"; + } + enum "25.3Mb" { + description "25.3 Mbps"; + } + enum "25.6Mb" { + description "25.6 Mbps"; + } + enum "25.9Mb" { + description "25.9 Mbps"; + } + enum "26.2Mb" { + description "26.2 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.8Mb" { + description "26.8 Mbps"; + } + enum "27.1Mb" { + description "27.1 Mbps"; + } + enum "27.4Mb" { + description "27.4 Mbps"; + } + enum "27.7Mb" { + description "27.7 Mbps"; + } + enum "28.0Mb" { + description "28.0 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "28.9Mb" { + description "28.9 Mbps"; + } + enum "29.2Mb" { + description "29.2 Mbps"; + } + enum "29.5Mb" { + description "29.5 Mbps"; + } + enum "29.8Mb" { + description "29.8 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.7Mb" { + description "30.7 Mbps"; + } + enum "31.0Mb" { + description "31.0 Mbps"; + } + enum "31.3Mb" { + description "31.3 Mbps"; + } + enum "31.6Mb" { + description "31.6 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.5Mb" { + description "32.5 Mbps"; + } + enum "32.8Mb" { + description "32.8 Mbps"; + } + enum "33.1Mb" { + description "33.1 Mbps"; + } + enum "33.4Mb" { + description "33.4 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + enum "34.3Mb" { + description "34.3 Mbps"; + } + enum "34.6Mb" { + description "34.6 Mbps"; + } + enum "34.9Mb" { + description "34.9 Mbps"; + } + enum "35.2Mb" { + description "35.2 Mbps"; + } + enum "35.5Mb" { + description "35.5 Mbps"; + } + enum "35.8Mb" { + description "35.8 Mbps"; + } + enum "36.1Mb" { + description "36.1 Mbps"; + } + enum "36.4Mb" { + description "36.4 Mbps"; + } + enum "36.7Mb" { + description "36.7 Mbps"; + } + enum "37.0Mb" { + description "37.0 Mbps"; + } + enum "37.3Mb" { + description "37.3 Mbps"; + } + enum "37.6Mb" { + description "37.6 Mbps"; + } + enum "37.9Mb" { + description "37.9 Mbps"; + } + enum "38.2Mb" { + description "38.2 Mbps"; + } + enum "38.5Mb" { + description "38.5 Mbps"; + } + enum "38.8Mb" { + description "38.8 Mbps"; + } + enum "39.1Mb" { + description "39.1 Mbps"; + } + enum "39.4Mb" { + description "39.4 Mbps"; + } + enum "39.7Mb" { + description "39.7 Mbps"; + } + enum "40.0Mb" { + description "40.0 Mbps"; + } + enum "40.3Mb" { + description "40.3 Mbps"; + } + enum "40.6Mb" { + description "40.6 Mbps"; + } + enum "40.9Mb" { + description "40.9 Mbps"; + } + enum "41.2Mb" { + description "41.2 Mbps"; + } + enum "41.5Mb" { + description "41.5 Mbps"; + } + enum "41.8Mb" { + description "41.8 Mbps"; + } + enum "42.1Mb" { + description "42.1 Mbps"; + } + enum "42.4Mb" { + description "42.4 Mbps"; + } + enum "42.7Mb" { + description "42.7 Mbps"; + } + enum "43.0Mb" { + description "43.0 Mbps"; + } + enum "43.3Mb" { + description "43.3 Mbps"; + } + enum "43.6Mb" { + description "43.6 Mbps"; + } + enum "43.9Mb" { + description "43.9 Mbps"; + } + enum "44.2Mb" { + description "44.2 Mbps"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + choice cbit-parity-choice { + leaf cbit-parity { + description "Enable C-bit parity mode"; + type empty; + } + leaf no-cbit-parity { + description "Don't enable C-bit parity mode"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + choice feac-loop-respond-choice { + leaf feac-loop-respond { + description "Respond to FEAC loop requests"; + type empty; + } + leaf no-feac-loop-respond { + description "Don't respond to FEAC loop requests"; + type empty; + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "DS-3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + } + container e3-options { + description "E3 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + choice unframed-choice { + leaf unframed { + description "Enable unframed mode"; + type empty; + } + leaf no-unframed { + description "Don't enable unframed mode"; + type empty; + } + } + container compatibility-mode { + description "Set CSU compatibility mode"; + choice vendor { + case case_1 { + leaf larscom { + description "Compatible with Larscom CSU (only non IQ E3 interfaces)"; + type empty; + } + } + case case_2 { + container digital-link { + presence "enable digital-link"; + description "Compatible with Digital Link CSU"; + leaf subrate { + description "Set subrate value"; + type enumeration { + enum "358Kb" { + description "358 Kbps"; + } + enum "716Kb" { + description "716 Kbps"; + } + enum "1.1Mb" { + description "1.1 Mbps"; + } + enum "1.4Mb" { + description "1.4 Mbps"; + } + enum "1.8Mb" { + description "1.8 Mbps"; + } + enum "2.1Mb" { + description "2.1 Mbps"; + } + enum "2.5Mb" { + description "2.5 Mbps"; + } + enum "2.9Mb" { + description "2.9 Mbps"; + } + enum "3.2Mb" { + description "3.2 Mbps"; + } + enum "3.6Mb" { + description "3.6 Mbps"; + } + enum "3.9Mb" { + description "3.9 Mbps"; + } + enum "4.3Mb" { + description "4.3 Mbps"; + } + enum "4.7Mb" { + description "4.7 Mbps"; + } + enum "5.0Mb" { + description "5.0 Mbps"; + } + enum "5.4Mb" { + description "5.4 Mbps"; + } + enum "5.7Mb" { + description "5.7 Mbps"; + } + enum "6.1Mb" { + description "6.1 Mbps"; + } + enum "6.4Mb" { + description "6.4 Mbps"; + } + enum "6.8Mb" { + description "6.8 Mbps"; + } + enum "7.2Mb" { + description "7.2 Mbps"; + } + enum "7.5Mb" { + description "7.5 Mbps"; + } + enum "7.9Mb" { + description "7.9 Mbps"; + } + enum "8.2Mb" { + description "8.2 Mbps"; + } + enum "8.6Mb" { + description "8.6 Mbps"; + } + enum "9.0Mb" { + description "9.0 Mbps"; + } + enum "9.3Mb" { + description "9.3 Mbps"; + } + enum "9.7Mb" { + description "9.7 Mbps"; + } + enum "10.0Mb" { + description "10.0 Mbps"; + } + enum "10.4Mb" { + description "10.4 Mbps"; + } + enum "10.7Mb" { + description "10.7 Mbps"; + } + enum "11.1Mb" { + description "11.1 Mbps"; + } + enum "11.5Mb" { + description "11.5 Mbps"; + } + enum "11.8Mb" { + description "11.8 Mbps"; + } + enum "12.2Mb" { + description "12.2 Mbps"; + } + enum "12.5Mb" { + description "12.5 Mbps"; + } + enum "12.9Mb" { + description "12.9 Mbps"; + } + enum "13.2Mb" { + description "13.2 Mbps"; + } + enum "13.6Mb" { + description "13.6 Mbps"; + } + enum "14.0Mb" { + description "14.0 Mbps"; + } + enum "14.3Mb" { + description "14.3 Mbps"; + } + enum "14.7Mb" { + description "14.7 Mbps"; + } + enum "15.0Mb" { + description "15.0 Mbps"; + } + enum "15.4Mb" { + description "15.4 Mbps"; + } + enum "15.8Mb" { + description "15.8 Mbps"; + } + enum "16.1Mb" { + description "16.1 Mbps"; + } + enum "16.5Mb" { + description "16.5 Mbps"; + } + enum "16.8Mb" { + description "16.8 Mbps"; + } + enum "17.2Mb" { + description "17.2 Mbps"; + } + enum "17.5Mb" { + description "17.5 Mbps"; + } + enum "17.9Mb" { + description "17.9 Mbps"; + } + enum "18.3Mb" { + description "18.3 Mbps"; + } + enum "18.6Mb" { + description "18.6 Mbps"; + } + enum "19.0Mb" { + description "19.0 Mbps"; + } + enum "19.3Mb" { + description "19.3 Mbps"; + } + enum "19.7Mb" { + description "19.7 Mbps"; + } + enum "20.0Mb" { + description "20.0 Mbps"; + } + enum "20.4Mb" { + description "20.4 Mbps"; + } + enum "20.8Mb" { + description "20.8 Mbps"; + } + enum "21.1Mb" { + description "21.1 Mbps"; + } + enum "21.5Mb" { + description "21.5 Mbps"; + } + enum "21.8Mb" { + description "21.8 Mbps"; + } + enum "22.2Mb" { + description "22.2 Mbps"; + } + enum "22.6Mb" { + description "22.6 Mbps"; + } + enum "22.9Mb" { + description "22.9 Mbps"; + } + enum "23.3Mb" { + description "23.3 Mbps"; + } + enum "23.6Mb" { + description "23.6 Mbps"; + } + enum "24.0Mb" { + description "24.0 Mbps"; + } + enum "24.3Mb" { + description "24.3 Mbps"; + } + enum "24.7Mb" { + description "24.7 Mbps"; + } + enum "25.1Mb" { + description "25.1 Mbps"; + } + enum "25.4Mb" { + description "25.4 Mbps"; + } + enum "25.8Mb" { + description "25.8 Mbps"; + } + enum "26.1Mb" { + description "26.1 Mbps"; + } + enum "26.5Mb" { + description "26.5 Mbps"; + } + enum "26.9Mb" { + description "26.9 Mbps"; + } + enum "27.2Mb" { + description "27.2 Mbps"; + } + enum "27.6Mb" { + description "27.6 Mbps"; + } + enum "27.9Mb" { + description "27.9 Mbps"; + } + enum "28.3Mb" { + description "28.3 Mbps"; + } + enum "28.6Mb" { + description "28.6 Mbps"; + } + enum "29.0Mb" { + description "29.0 Mbps"; + } + enum "29.4Mb" { + description "29.4 Mbps"; + } + enum "29.7Mb" { + description "29.7 Mbps"; + } + enum "30.1Mb" { + description "30.1 Mbps"; + } + enum "30.4Mb" { + description "30.4 Mbps"; + } + enum "30.8Mb" { + description "30.8 Mbps"; + } + enum "31.1Mb" { + description "31.1 Mbps"; + } + enum "31.5Mb" { + description "31.5 Mbps"; + } + enum "31.9Mb" { + description "31.9 Mbps"; + } + enum "32.2Mb" { + description "32.2 Mbps"; + } + enum "32.6Mb" { + description "32.6 Mbps"; + } + enum "32.9Mb" { + description "32.9 Mbps"; + } + enum "33.3Mb" { + description "33.3 Mbps"; + } + enum "33.7Mb" { + description "33.7 Mbps"; + } + enum "34.0Mb" { + description "34.0 Mbps"; + } + } + } + } + } + case case_3 { + container kentrox { + presence "enable kentrox"; + description "Compatible with Kentrox CSU"; + leaf subrate { + description "Set subrate value (only for E3 IQ interfaces)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + } + } + } + choice payload-scrambler-choice { + leaf payload-scrambler { + description "Enable payload scrambling"; + type empty; + } + leaf no-payload-scrambler { + description "Don't enable payload scrambling"; + type empty; + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + leaf buildout { + description "Line buildout"; + units "feet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 450"; + } + } + } + leaf atm-encapsulation { + description "E3 interface encapsulation"; + type enumeration { + enum "plcp" { + description "PLCP encapsulation"; + } + enum "direct" { + description "ATM direct mapping"; + } + } + } + leaf framing { + description "E3 line format"; + type enumeration { + enum "g.751" { + description "G.751 format"; + } + enum "g.832" { + description "G.832 format"; + } + } + } + } + container e1-options { + description "E1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..32); for example, 1-4,6,9-11,32 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "g704" { + description "G704 mode with CRC4"; + } + enum "unframed" { + description "Unframed mode"; + } + enum "g704-no-crc4" { + description "G704 mode without CRC4"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container t1-options { + description "T1 interface-specific options"; + uses apply-advanced; + leaf timeslots { + description "Timeslots (1..24; for example, 1-3,4,9,22-24 (no space)"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + enum "payload" { + description "Payload loopback"; + } + } + } + leaf buildout { + description "Line buildout"; + type enumeration { + enum "0-132" { + description "Line buildout is between 0-132 feet"; + } + enum "133-265" { + description "Line buildout is between 133-265 feet"; + } + enum "266-398" { + description "Line buildout is between 266-398 feet"; + } + enum "399-531" { + description "Line buildout is between 399-531 feet"; + } + enum "532-655" { + description "Line buildout is between 532-655 feet"; + } + enum "long-0db" { + description "Long buildout with 0 dB transmit attenuation"; + } + enum "long-7.5db" { + description "Long buildout with 7.5 dB transmit attenuation"; + } + enum "long-15db" { + description "Long buildout with 15 dB transmit attenuation"; + } + enum "long-22.5db" { + description "Long buildout with 22.5 dB transmit attenuation"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf line-encoding { + description "Line encoding"; + type enumeration { + enum "ami" { + description "Automatic mark inversion"; + } + enum "b8zs" { + description "8-bit zero suppression"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf framing { + description "Framing mode"; + type enumeration { + enum "sf" { + description "Super frame"; + } + enum "esf" { + description "Extended super frame"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e3" { + description "Pattern is 2^3 - 1"; + } + enum "pseudo-2e4" { + description "Pattern is 2^4 - 1"; + } + enum "pseudo-2e5" { + description "Pattern is 2^5 - 1"; + } + enum "pseudo-2e6" { + description "Pattern is 2^6 - 1"; + } + enum "pseudo-2e7" { + description "Pattern is 2^7 - 1"; + } + enum "pseudo-2e9-o153" { + description "Pattern is 2^9 - 1 (per O.153 standard)"; + } + enum "pseudo-2e10" { + description "Pattern is 2^10 - 1"; + } + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e17" { + description "Pattern is 2^17 - 1"; + } + enum "pseudo-2e18" { + description "Pattern is 2^18 - 1"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "pseudo-2e21" { + description "Pattern is 2^21 - 1"; + } + enum "pseudo-2e22" { + description "Pattern is 2^22 - 1"; + } + enum "pseudo-2e23-o151" { + description "Pattern is 2^23 (per O.151 standard)"; + } + enum "pseudo-2e25" { + description "Pattern is 2^25 - 1"; + } + enum "pseudo-2e28" { + description "Pattern is 2^28 - 1"; + } + enum "pseudo-2e29" { + description "Pattern is 2^29 - 1"; + } + enum "pseudo-2e31" { + description "Pattern is 2^31 - 1"; + } + enum "pseudo-2e32" { + description "Pattern is 2^32 - 1"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf remote-loopback-respond { + description "Respond to loop requests from remote end"; + type empty; + } + leaf crc-major-alarm-threshold { + description "CRC Major alarm threshold value"; + default "5e-5"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + } + } + leaf crc-minor-alarm-threshold { + description "CRC Minor alarm threshold value"; + default "5e-6"; + type enumeration { + enum "1e-3" { + description "1 crc error in 10^3 bits"; + } + enum "5e-4" { + description "5 crc errors in 10^4 bits"; + } + enum "1e-4" { + description "1 crc error in 10^4 bits"; + } + enum "5e-5" { + description "5 crc errors in 10^5 bits"; + } + enum "1e-5" { + description "1 crc error in 10^5 bits"; + } + enum "5e-6" { + description "5 crc errors in 10^6 bits"; + } + enum "1e-6" { + description "1 crc error in 10^6 bits"; + } + } + } + } + container ds0-options { + description "DS-0 interface-specific options"; + uses apply-advanced; + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "payload" { + description "Payload loopback"; + } + } + } + leaf byte-encoding { + description "Byte encoding"; + type enumeration { + enum "nx64" { + description "8 bits per byte"; + } + enum "nx56" { + description "7 bits per byte"; + } + } + } + leaf invert-data { + description "Invert data"; + type empty; + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf idle-cycle-flag { + description "Value to transmit in idle cycles"; + type enumeration { + enum "flags" { + description "Transmit 0x7E in idle cycles"; + } + enum "ones" { + description "Transmit 0xFF (all ones) in idle cycles"; + } + } + } + leaf start-end-flag { + description "Set start/end flags on transmission"; + type enumeration { + enum "shared" { + description "Share start/end flags on transmit"; + } + enum "filler" { + description "Send two idle cycles between start/end flags"; + } + } + } + leaf bert-algorithm { + description "Set BERT algorithm"; + type enumeration { + enum "pseudo-2e11-o152" { + description "Pattern is 2^11 -1 (per O.152 standard)"; + } + enum "pseudo-2e15-o151" { + description "Pattern is 2^15 - 1 (per O.151 standard)"; + } + enum "pseudo-2e20-o153" { + description "Pattern is 2^20 - 1 (per O.153 standard)"; + } + enum "pseudo-2e20-o151" { + description "Pattern is 2^20 - 1 (per O.151 standard)"; + } + enum "all-ones-repeating" { + description "Repeating one bits"; + } + enum "all-zeros-repeating" { + description "Repeating zero bits"; + } + enum "alternating-ones-zeros" { + description "Alternating ones and zeros"; + } + enum "alternating-double-ones-zeros" { + description "Alternating pairs of ones and zeros"; + } + enum "repeating-3-in-24" { + description "3 bits in 24 are set"; + } + enum "repeating-1-in-8" { + description "1 bit in 8 is set"; + } + enum "repeating-1-in-4" { + description "1 bit in 4 is set"; + } + enum "repeating-1-in-16" { + description "1 bit in 16 is set"; + } + } + } + leaf bert-error-rate { + description "Bit error rate (10^-n for n > 0, and zero for n = 0)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bert-period { + description "Length of BERT test"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 240"; + } + } + } + } + container serial-options { + description "Serial interface-specific options"; + uses apply-advanced; + leaf line-protocol { + description "Line protocol to be used"; + default "eia530"; + type enumeration { + enum "eia530" { + description "Line protocol EIA530"; + } + enum "v.35" { + description "Line protocol V.35"; + } + enum "x.21" { + description "Line protocol X.21"; + } + } + } + choice control_leads_choice { + case case_1 { + container dte-options { + description "DTE options/control leads"; + uses apply-advanced; + leaf ignore-all { + description "Ignore all control leads"; + type empty; + } + container dtr { + description "Data Transmit Ready signal handling"; + choice dtr_choices { + case case_1 { + leaf assert { + description "Assert DTR signal"; + type empty; + } + } + case case_2 { + leaf de-assert { + description "Deassert DTR signal"; + type empty; + } + } + case case_3 { + leaf normal { + description "Normal DTR signal"; + type empty; + } + } + case case_4 { + container auto-synchronize { + presence "enable auto-synchronize"; + description "Normal DTR signal, with autoresynchronization"; + uses apply-advanced; + leaf duration { + description "Duration of autoresynchronization"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf interval { + description "Interval for autoresynchronization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 31"; + } + } + } + } + } + } + } + leaf control-signal { + description "X.21 control signal handling"; + type enumeration { + enum "assert" { + description "Assert control signal"; + } + enum "de-assert" { + description "Deassert control signal"; + } + enum "normal" { + description "Normal control signal"; + } + } + } + leaf rts { + description "Request To Send signal handling"; + type enumeration { + enum "assert" { + description "Assert RTS signal"; + } + enum "de-assert" { + description "Deassert RTS signal"; + } + enum "normal" { + description "Normal RTS signal"; + } + } + } + leaf dcd { + description "Data Carrier Detect signal handling"; + type enumeration { + enum "require" { + description "Require DCD signal"; + } + enum "ignore" { + description "Ignore DCD signal"; + } + enum "normal" { + description "Normal DCD signal"; + } + } + } + leaf dsr { + description "Data Set Ready signal handling"; + type enumeration { + enum "require" { + description "Require DSR signal"; + } + enum "ignore" { + description "Ignore DSR signal"; + } + enum "normal" { + description "Normal DSR signal"; + } + } + } + leaf cts { + description "Clear To Send signal handling"; + type enumeration { + enum "require" { + description "Require CTS signal"; + } + enum "ignore" { + description "Ignore CTS signal"; + } + enum "normal" { + description "Normal CTS signal"; + } + } + } + leaf indication { + description "X.21 Indication signal handling"; + type enumeration { + enum "require" { + description "Require Indication signal"; + } + enum "ignore" { + description "Ignore Indication signal"; + } + enum "normal" { + description "Normal Indication signal"; + } + } + } + leaf tm { + description "Test Mode signal handling"; + type enumeration { + enum "require" { + description "Require TM signal"; + } + enum "ignore" { + description "Ignore TM signal"; + } + enum "normal" { + description "Normal TM signal"; + } + } + } + } + } + case case_2 { + } + } + leaf dtr-circuit { + description "Data Transmit Ready circuit mode"; + type enumeration { + enum "balanced" { + description "Balanced signal"; + } + enum "unbalanced" { + description "Unbalanced signal"; + } + } + } + leaf dtr-polarity { + description "Data Transmit Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf rts-polarity { + description "Request To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf control-polarity { + description "X.21 Control signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dcd-polarity { + description "Data Carrier Detect signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf dsr-polarity { + description "Data Set Ready signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf cts-polarity { + description "Clear To Send signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf indication-polarity { + description "X.21 Indication signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf tm-polarity { + description "Test Mode signal polarity"; + type enumeration { + enum "positive" { + description "Positive polarity"; + } + enum "negative" { + description "Negative polarity"; + } + } + } + leaf clocking-mode { + description "Clock mode"; + type enumeration { + enum "dce" { + description "DCE timing (DTE mode only, not valid for X.21)"; + } + enum "internal" { + description "Internal baud timing"; + } + enum "loop" { + description "Loop timing"; + } + } + } + leaf transmit-clock { + description "Transmit clock phase"; + type enumeration { + enum "invert" { + description "Shift clock phase 180 degrees"; + } + } + } + leaf clock-rate { + description "Interface clock rate"; + type enumeration { + enum "2.048mhz" { + description "2.048 MHz"; + } + enum "2.341mhz" { + description "2.341 MHz"; + } + enum "2.731mhz" { + description "2.731 MHz"; + } + enum "3.277mhz" { + description "3.277 MHz"; + } + enum "4.096mhz" { + description "4.096 MHz"; + } + enum "5.461mhz" { + description "5.461 MHz"; + } + enum "8.192mhz" { + description "8.192 MHz"; + } + enum "16.384mhz" { + description "16.384 MHz"; + } + enum "1.2khz" { + description "1.2 KHz"; + } + enum "2.4khz" { + description "2.4 KHz"; + } + enum "9.6khz" { + description "9.6 KHz"; + } + enum "19.2khz" { + description "19.2 KHz"; + } + enum "38.4khz" { + description "38.4 KHz"; + } + enum "56.0khz" { + description "56.0 KHz"; + } + enum "64.0khz" { + description "64.0 KHz"; + } + enum "72.0khz" { + description "72.0 KHz"; + } + enum "125.0khz" { + description "125.0 KHz"; + } + enum "148.0khz" { + description "148.0 KHz"; + } + enum "250.0khz" { + description "250.0 KHz"; + } + enum "500.0khz" { + description "500.0 KHz"; + } + enum "800.0khz" { + description "800.0 KHz"; + } + enum "1.0mhz" { + description "1.0 MHz"; + } + enum "1.3mhz" { + description "1.3 MHz"; + } + enum "2.0mhz" { + description "2.0 MHz"; + } + enum "4.0mhz" { + description "4.0 MHz"; + } + enum "8.0mhz" { + description "8.0 MHz"; + } + } + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote/LIU loopback"; + } + enum "dce-local" { + description "DCE local loopback (DTE mode only)"; + } + enum "dce-remote" { + description "DCE remote loopback"; + } + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "nrz" { + description "Non-Return-To-Zero"; + } + enum "nrzi" { + description "Non-Return-To-Zero-Invertible"; + } + } + } + } + choice gratuitous-arp-reply-choice { + leaf gratuitous-arp-reply { + description "Enable gratuitous ARP reply"; + type empty; + } + leaf no-gratuitous-arp-reply { + description "Don't enable gratuitous ARP reply"; + type empty; + } + } + choice no-gratuitous-arp-request-choice { + leaf no-gratuitous-arp-request { + description "Ignore gratuitous ARP request"; + type empty; + } + leaf no-no-gratuitous-arp-request { + description "Don't ignore gratuitous ARP request"; + type empty; + } + } + leaf arp-l2-validate { + description "Validate ARP against L2"; + type empty; + } + container ether-options { + description "Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + choice mac-learn-enable-choice { + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + leaf no-mac-learn-enable { + description "Don't learn MAC addresses dynamically"; + type empty; + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + choice auto-negotiation-choice { + leaf auto-negotiation { + description "Enable auto-negotiation"; + type empty; + } + leaf no-auto-negotiation { + description "Don't enable auto-negotiation"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + leaf link-mode { + description "Link duplex"; + type enumeration { + enum "automatic" { + description "Automatic negotiate duplex "; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf no-auto-mdix { + description "Disable auto MDI/MDIX"; + type empty; + } + container speed { + description "Specify speed"; + choice automatic { + case case_1 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf auto-negotiate-10-100 { + description "Limits the auto-negotiation to 10m/100m only"; + type empty; + } + } + } + case case_2 { + leaf ethernet-10m { + description "10Mbps"; + type empty; + } + } + case case_3 { + leaf ethernet-100m { + description "100Mbps"; + type empty; + } + } + case case_4 { + leaf ethernet-1g { + description "1Gbps"; + type empty; + } + } + case case_5 { + leaf ethernet-10g { + description "10Gbps"; + type empty; + } + } + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf force-up { + description "Keep the port up in absence of received LACPDU"; + type empty; + } + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + container link-protection-sub-group { + description "Link Protection subgroup configuration"; + uses apply-advanced; + leaf subgroup-name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + } + leaf port-priority { + description "Link protection Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + } + container fibrechannel-options { + description "Fibre Channel interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf bb-sc-n { + description "B2B state change number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 15"; + } + } + } + leaf speed { + description "Specify speed"; + type enumeration { + enum "auto-negotiation" { + description "Enable auto-negotiation"; + } + enum "1g" { + description "1Gbps"; + } + enum "2g" { + description "2Gbps"; + } + enum "4g" { + description "4Gbps"; + } + enum "8g" { + description "8Gbps"; + } + } + } + } + container gigether-options { + description "Gigabit Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + leaf loopback-remote { + description "Enable remote loopback"; + type empty; + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + choice auto_negotiation_option { + case case_1 { + leaf no-auto-negotiation { + description "Disable auto-negotiation"; + type empty; + } + } + case case_2 { + container auto-negotiation { + presence "enable auto-negotiation"; + description "Enable auto-negotiation"; + leaf remote-fault { + type enumeration { + enum "local-interface-offline" { + description "Disable local interface"; + } + enum "local-interface-online" { + description "Enable local interface"; + } + } + } + } + } + } + leaf asynchronous-notification { + description "Enable sending asynchronous notification to peer on CCC-down"; + type empty; + } + list source-address-filter { + key name; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + container ethernet-policer-profile { + description "Ethernet level CoS-based policer configuration"; + uses apply-advanced; + container ieee802.1-priority-map { + presence "enable ieee802.1-priority-map"; + description "Premium priority values for IEEE 802.1p bits"; + status deprecated; + uses apply-advanced; + leaf-list premium { + ordered-by user; + description "Premium policer priority map"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container input-priority-map { + description "Input policer priority map"; + uses cos_policer_input_priority_map; + } + container output-priority-map { + description "Output policer priority map"; + uses cos_policer_output_priority_map; + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses cos_policer; + } + } + container accept-from { + description "Accept traffic from or to specified remote MAC"; + status deprecated; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC"; + uses mac_list; + } + } + choice reject-the-rest-choice { + leaf reject-the-rest { + description "Accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + leaf no-reject-the-rest { + description "Don't accept traffic from only the specified MAC addresses"; + status deprecated; + type empty; + } + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + leaf ieee-802-3az-eee { + description "IEEE 802.3az Energy Efficient Ethernet(EEE)"; + type empty; + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "FEC disabled"; + } + enum "fec91" { + description "IEEE 802.3bj Clause 91, Reed-Solomon FEC (RS-FEC)"; + } + enum "fec74" { + description "FEC74 enabled"; + } + } + } + } + container optics-options { + description "Optics options"; + uses apply-advanced; + leaf wavelength { + description "Wavelength of the optics (nanometers) for 50Ghz/100Ghz spacing"; + type enumeration { + enum "1568.77" { + description "1568.77 nm/191.1003 THz 50/100Ghz spacing"; + } + enum "1568.36" { + description "1568.36 nm/191.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1568.31" { + description "1568.31 nm/191.15625 THz 6.25GHz spacing"; + } + enum "1568.26" { + description "1568.26 nm/191.16250 THz 6.25/12.5GHz spacing"; + } + enum "1568.21" { + description "1568.21 nm/191.16875 THz 6.25GHz spacing"; + } + enum "1568.16" { + description "1568.16 nm/191.17500 THz 6.25/12.5GHz spacing"; + } + enum "1568.11" { + description "1568.11 nm/191.18125 THz 6.25GHz spacing"; + } + enum "1568.05" { + description "1568.05 nm/191.18750 THz 6.25/12.5GHz spacing"; + } + enum "1568.00" { + description "1568.00 nm/191.19375 THz 6.25GHz spacing"; + } + enum "1567.95" { + description "1567.95 nm/191.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.90" { + description "1567.90 nm/191.20625 THz 6.25GHz spacing"; + } + enum "1567.85" { + description "1567.85 nm/191.21250 THz 6.25/12.5GHz spacing"; + } + enum "1567.80" { + description "1567.80 nm/191.21875 THz 6.25GHz spacing"; + } + enum "1567.75" { + description "1567.75 nm/191.22500 THz 6.25/12.5GHz spacing"; + } + enum "1567.70" { + description "1567.70 nm/191.23125 THz 6.25GHz spacing"; + } + enum "1567.64" { + description "1567.64 nm/191.23750 THz 6.25/12.5GHz spacing"; + } + enum "1567.59" { + description "1567.59 nm/191.24375 THz 6.25GHz spacing"; + } + enum "1567.54" { + description "1567.54 nm/191.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1567.49" { + description "1567.49 nm/191.25625 THz 6.25GHz spacing"; + } + enum "1567.44" { + description "1567.44 nm/191.26250 THz 6.25/12.5GHz spacing"; + } + enum "1567.39" { + description "1567.39 nm/191.26875 THz 6.25GHz spacing"; + } + enum "1567.34" { + description "1567.34 nm/191.27500 THz 6.25/12.5GHz spacing"; + } + enum "1567.29" { + description "1567.29 nm/191.28125 THz 6.25GHz spacing"; + } + enum "1567.23" { + description "1567.23 nm/191.28750 THz 6.25/12.5GHz spacing"; + } + enum "1567.18" { + description "1567.18 nm/191.29375 THz 6.25GHz spacing"; + } + enum "1567.13" { + description "1567.13 nm/191.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1567.08" { + description "1567.08 nm/191.30625 THz 6.25GHz spacing"; + } + enum "1567.03" { + description "1567.03 nm/191.31250 THz 6.25/12.5GHz spacing"; + } + enum "1566.98" { + description "1566.98 nm/191.31875 THz 6.25GHz spacing"; + } + enum "1566.93" { + description "1566.93 nm/191.32500 THz 6.25/12.5GHz spacing"; + } + enum "1566.88" { + description "1566.88 nm/191.33125 THz 6.25GHz spacing"; + } + enum "1566.83" { + description "1566.83 nm/191.33750 THz 6.25/12.5GHz spacing"; + } + enum "1566.77" { + description "1566.77 nm/191.34375 THz 6.25GHz spacing"; + } + enum "1566.72" { + description "1566.72 nm/191.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1566.67" { + description "1566.67 nm/191.35625 THz 6.25GHz spacing"; + } + enum "1566.62" { + description "1566.62 nm/191.36250 THz 6.25/12.5GHz spacing"; + } + enum "1566.57" { + description "1566.57 nm/191.36875 THz 6.25GHz spacing"; + } + enum "1566.52" { + description "1566.52 nm/191.37500 THz 6.25/12.5GHz spacing"; + } + enum "1566.47" { + description "1566.47 nm/191.38125 THz 6.25GHz spacing"; + } + enum "1566.42" { + description "1566.42 nm/191.38750 THz 6.25/12.5GHz spacing"; + } + enum "1566.36" { + description "1566.36 nm/191.39375 THz 6.25GHz spacing"; + } + enum "1566.31" { + description "1566.31 nm/191.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1566.26" { + description "1566.26 nm/191.40625 THz 6.25GHz spacing"; + } + enum "1566.21" { + description "1566.21 nm/191.41250 THz 6.25/12.5GHz spacing"; + } + enum "1566.16" { + description "1566.16 nm/191.41875 THz 6.25GHz spacing"; + } + enum "1566.11" { + description "1566.11 nm/191.42500 THz 6.25/12.5GHz spacing"; + } + enum "1566.06" { + description "1566.06 nm/191.43125 THz 6.25GHz spacing"; + } + enum "1566.01" { + description "1566.01 nm/191.43750 THz 6.25/12.5GHz spacing"; + } + enum "1565.96" { + description "1565.96 nm/191.44375 THz 6.25GHz spacing"; + } + enum "1565.90" { + description "1565.90 nm/191.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.85" { + description "1565.85 nm/191.45625 THz 6.25GHz spacing"; + } + enum "1565.80" { + description "1565.80 nm/191.46250 THz 6.25/12.5GHz spacing"; + } + enum "1565.75" { + description "1565.75 nm/191.46875 THz 6.25GHz spacing"; + } + enum "1565.70" { + description "1565.70 nm/191.47500 THz 6.25/12.5GHz spacing"; + } + enum "1565.65" { + description "1565.65 nm/191.48125 THz 6.25GHz spacing"; + } + enum "1565.60" { + description "1565.60 nm/191.48750 THz 6.25/12.5GHz spacing"; + } + enum "1565.55" { + description "1565.55 nm/191.49375 THz 6.25GHz spacing"; + } + enum "1565.50" { + description "1565.50 nm/191.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1565.44" { + description "1565.44 nm/191.50625 THz 6.25GHz spacing"; + } + enum "1565.39" { + description "1565.39 nm/191.51250 THz 6.25/12.5GHz spacing"; + } + enum "1565.34" { + description "1565.34 nm/191.51875 THz 6.25GHz spacing"; + } + enum "1565.29" { + description "1565.29 nm/191.52500 THz 6.25/12.5GHz spacing"; + } + enum "1565.24" { + description "1565.24 nm/191.53125 THz 6.25GHz spacing"; + } + enum "1565.19" { + description "1565.19 nm/191.53750 THz 6.25/12.5GHz spacing"; + } + enum "1565.14" { + description "1565.14 nm/191.54375 THz 6.25GHz spacing"; + } + enum "1565.09" { + description "1565.09 nm/191.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1565.04" { + description "1565.04 nm/191.55625 THz 6.25GHz spacing"; + } + enum "1564.99" { + description "1564.99 nm/191.56250 THz 6.25/12.5GHz spacing"; + } + enum "1564.93" { + description "1564.93 nm/191.56875 THz 6.25GHz spacing"; + } + enum "1564.88" { + description "1564.88 nm/191.57500 THz 6.25/12.5GHz spacing"; + } + enum "1564.83" { + description "1564.83 nm/191.58125 THz 6.25GHz spacing"; + } + enum "1564.78" { + description "1564.78 nm/191.58750 THz 6.25/12.5GHz spacing"; + } + enum "1564.73" { + description "1564.73 nm/191.59375 THz 6.25GHz spacing"; + } + enum "1564.68" { + description "1564.68 nm/191.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1564.63" { + description "1564.63 nm/191.60625 THz 6.25GHz spacing"; + } + enum "1564.58" { + description "1564.58 nm/191.61250 THz 6.25/12.5GHz spacing"; + } + enum "1564.53" { + description "1564.53 nm/191.61875 THz 6.25GHz spacing"; + } + enum "1564.47" { + description "1564.47 nm/191.62500 THz 6.25/12.5GHz spacing"; + } + enum "1564.42" { + description "1564.42 nm/191.63125 THz 6.25GHz spacing"; + } + enum "1564.37" { + description "1564.37 nm/191.63750 THz 6.25/12.5GHz spacing"; + } + enum "1564.32" { + description "1564.32 nm/191.64375 THz 6.25GHz spacing"; + } + enum "1564.27" { + description "1564.27 nm/191.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1564.22" { + description "1564.22 nm/191.65625 THz 6.25GHz spacing"; + } + enum "1564.17" { + description "1564.17 nm/191.66250 THz 6.25/12.5GHz spacing"; + } + enum "1564.12" { + description "1564.12 nm/191.66875 THz 6.25GHz spacing"; + } + enum "1564.07" { + description "1564.07 nm/191.67500 THz 6.25/12.5GHz spacing"; + } + enum "1564.02" { + description "1564.02 nm/191.68125 THz 6.25GHz spacing"; + } + enum "1563.96" { + description "1563.96 nm/191.68750 THz 6.25/12.5GHz spacing"; + } + enum "1563.91" { + description "1563.91 nm/191.69375 THz 6.25GHz spacing"; + } + enum "1563.86" { + description "1563.86 nm/191.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.81" { + description "1563.81 nm/191.70625 THz 6.25GHz spacing"; + } + enum "1563.76" { + description "1563.76 nm/191.71250 THz 6.25/12.5GHz spacing"; + } + enum "1563.71" { + description "1563.71 nm/191.71875 THz 6.25GHz spacing"; + } + enum "1563.66" { + description "1563.66 nm/191.72500 THz 6.25/12.5GHz spacing"; + } + enum "1563.61" { + description "1563.61 nm/191.73125 THz 6.25GHz spacing"; + } + enum "1563.56" { + description "1563.56 nm/191.73750 THz 6.25/12.5GHz spacing"; + } + enum "1563.51" { + description "1563.51 nm/191.74375 THz 6.25GHz spacing"; + } + enum "1563.45" { + description "1563.45 nm/191.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1563.40" { + description "1563.40 nm/191.75625 THz 6.25GHz spacing"; + } + enum "1563.35" { + description "1563.35 nm/191.76250 THz 6.25/12.5GHz spacing"; + } + enum "1563.30" { + description "1563.30 nm/191.76875 THz 6.25GHz spacing"; + } + enum "1563.25" { + description "1563.25 nm/191.77500 THz 6.25/12.5GHz spacing"; + } + enum "1563.20" { + description "1563.20 nm/191.78125 THz 6.25GHz spacing"; + } + enum "1563.15" { + description "1563.15 nm/191.78750 THz 6.25/12.5GHz spacing"; + } + enum "1563.10" { + description "1563.10 nm/191.79375 THz 6.25GHz spacing"; + } + enum "1563.05" { + description "1563.05 nm/191.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1563.00" { + description "1563.00 nm/191.80625 THz 6.25GHz spacing"; + } + enum "1562.95" { + description "1562.95 nm/191.81250 THz 6.25/12.5GHz spacing"; + } + enum "1562.89" { + description "1562.89 nm/191.81875 THz 6.25GHz spacing"; + } + enum "1562.84" { + description "1562.84 nm/191.82500 THz 6.25/12.5GHz spacing"; + } + enum "1562.79" { + description "1562.79 nm/191.83125 THz 6.25GHz spacing"; + } + enum "1562.74" { + description "1562.74 nm/191.83750 THz 6.25/12.5GHz spacing"; + } + enum "1562.69" { + description "1562.69 nm/191.84375 THz 6.25GHz spacing"; + } + enum "1562.64" { + description "1562.64 nm/191.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1562.59" { + description "1562.59 nm/191.85625 THz 6.25GHz spacing"; + } + enum "1562.54" { + description "1562.54 nm/191.86250 THz 6.25/12.5GHz spacing"; + } + enum "1562.49" { + description "1562.49 nm/191.86875 THz 6.25GHz spacing"; + } + enum "1562.44" { + description "1562.44 nm/191.87500 THz 6.25/12.5GHz spacing"; + } + enum "1562.39" { + description "1562.39 nm/191.88125 THz 6.25GHz spacing"; + } + enum "1562.33" { + description "1562.33 nm/191.88750 THz 6.25/12.5GHz spacing"; + } + enum "1562.28" { + description "1562.28 nm/191.89375 THz 6.25GHz spacing"; + } + enum "1562.23" { + description "1562.23 nm/191.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1562.18" { + description "1562.18 nm/191.90625 THz 6.25GHz spacing"; + } + enum "1562.13" { + description "1562.13 nm/191.91250 THz 6.25/12.5GHz spacing"; + } + enum "1562.08" { + description "1562.08 nm/191.91875 THz 6.25GHz spacing"; + } + enum "1562.03" { + description "1562.03 nm/191.92500 THz 6.25/12.5GHz spacing"; + } + enum "1561.98" { + description "1561.98 nm/191.93125 THz 6.25GHz spacing"; + } + enum "1561.93" { + description "1561.93 nm/191.93750 THz 6.25/12.5GHz spacing"; + } + enum "1561.88" { + description "1561.88 nm/191.94375 THz 6.25GHz spacing"; + } + enum "1561.83" { + description "1561.83 nm/191.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1561.77" { + description "1561.77 nm/191.95625 THz 6.25GHz spacing"; + } + enum "1561.72" { + description "1561.72 nm/191.96250 THz 6.25/12.5GHz spacing"; + } + enum "1561.67" { + description "1561.67 nm/191.96875 THz 6.25GHz spacing"; + } + enum "1561.62" { + description "1561.62 nm/191.97500 THz 6.25/12.5GHz spacing"; + } + enum "1561.57" { + description "1561.57 nm/191.98125 THz 6.25GHz spacing"; + } + enum "1561.52" { + description "1561.52 nm/191.98750 THz 6.25/12.5GHz spacing"; + } + enum "1561.47" { + description "1561.47 nm/191.99375 THz 6.25GHz spacing"; + } + enum "1561.42" { + description "1561.42 nm/192.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1561.37" { + description "1561.37 nm/192.00625 THz 6.25GHz spacing"; + } + enum "1561.32" { + description "1561.32 nm/192.01250 THz 6.25/12.5GHz spacing"; + } + enum "1561.27" { + description "1561.27 nm/192.01875 THz 6.25GHz spacing"; + } + enum "1561.22" { + description "1561.22 nm/192.02500 THz 6.25/12.5GHz spacing"; + } + enum "1561.16" { + description "1561.16 nm/192.03125 THz 6.25GHz spacing"; + } + enum "1561.11" { + description "1561.11 nm/192.03750 THz 6.25/12.5GHz spacing"; + } + enum "1561.06" { + description "1561.06 nm/192.04375 THz 6.25GHz spacing"; + } + enum "1561.01" { + description "1561.01 nm/192.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.96" { + description "1560.96 nm/192.05625 THz 6.25GHz spacing"; + } + enum "1560.91" { + description "1560.91 nm/192.06250 THz 6.25/12.5GHz spacing"; + } + enum "1560.86" { + description "1560.86 nm/192.06875 THz 6.25GHz spacing"; + } + enum "1560.81" { + description "1560.81 nm/192.07500 THz 6.25/12.5GHz spacing"; + } + enum "1560.76" { + description "1560.76 nm/192.08125 THz 6.25GHz spacing"; + } + enum "1560.71" { + description "1560.71 nm/192.08750 THz 6.25/12.5GHz spacing"; + } + enum "1560.66" { + description "1560.66 nm/192.09375 THz 6.25GHz spacing"; + } + enum "1560.61" { + description "1560.61 nm/192.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1560.56" { + description "1560.56 nm/192.10625 THz 6.25GHz spacing"; + } + enum "1560.50" { + description "1560.50 nm/192.11250 THz 6.25/12.5GHz spacing"; + } + enum "1560.45" { + description "1560.45 nm/192.11875 THz 6.25GHz spacing"; + } + enum "1560.40" { + description "1560.40 nm/192.12500 THz 6.25/12.5GHz spacing"; + } + enum "1560.35" { + description "1560.35 nm/192.13125 THz 6.25GHz spacing"; + } + enum "1560.30" { + description "1560.30 nm/192.13750 THz 6.25/12.5GHz spacing"; + } + enum "1560.25" { + description "1560.25 nm/192.14375 THz 6.25GHz spacing"; + } + enum "1560.20" { + description "1560.20 nm/192.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1560.15" { + description "1560.15 nm/192.15625 THz 6.25GHz spacing"; + } + enum "1560.10" { + description "1560.10 nm/192.16250 THz 6.25/12.5GHz spacing"; + } + enum "1560.05" { + description "1560.05 nm/192.16875 THz 6.25GHz spacing"; + } + enum "1560.00" { + description "1560.00 nm/192.17500 THz 6.25/12.5GHz spacing"; + } + enum "1559.95" { + description "1559.95 nm/192.18125 THz 6.25GHz spacing"; + } + enum "1559.90" { + description "1559.90 nm/192.18750 THz 6.25/12.5GHz spacing"; + } + enum "1559.84" { + description "1559.84 nm/192.19375 THz 6.25GHz spacing"; + } + enum "1559.79" { + description "1559.79 nm/192.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1559.74" { + description "1559.74 nm/192.20625 THz 6.25GHz spacing"; + } + enum "1559.69" { + description "1559.69 nm/192.21250 THz 6.25/12.5GHz spacing"; + } + enum "1559.64" { + description "1559.64 nm/192.21875 THz 6.25GHz spacing"; + } + enum "1559.59" { + description "1559.59 nm/192.22500 THz 6.25/12.5GHz spacing"; + } + enum "1559.54" { + description "1559.54 nm/192.23125 THz 6.25GHz spacing"; + } + enum "1559.49" { + description "1559.49 nm/192.23750 THz 6.25/12.5GHz spacing"; + } + enum "1559.44" { + description "1559.44 nm/192.24375 THz 6.25GHz spacing"; + } + enum "1559.39" { + description "1559.39 nm/192.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1559.34" { + description "1559.34 nm/192.25625 THz 6.25GHz spacing"; + } + enum "1559.29" { + description "1559.29 nm/192.26250 THz 6.25/12.5GHz spacing"; + } + enum "1559.24" { + description "1559.24 nm/192.26875 THz 6.25GHz spacing"; + } + enum "1559.19" { + description "1559.19 nm/192.27500 THz 6.25/12.5GHz spacing"; + } + enum "1559.14" { + description "1559.14 nm/192.28125 THz 6.25GHz spacing"; + } + enum "1559.08" { + description "1559.08 nm/192.28750 THz 6.25/12.5GHz spacing"; + } + enum "1559.03" { + description "1559.03 nm/192.29375 THz 6.25GHz spacing"; + } + enum "1558.98" { + description "1558.98 nm/192.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.93" { + description "1558.93 nm/192.30625 THz 6.25GHz spacing"; + } + enum "1558.88" { + description "1558.88 nm/192.31250 THz 6.25/12.5GHz spacing"; + } + enum "1558.83" { + description "1558.83 nm/192.31875 THz 6.25GHz spacing"; + } + enum "1558.78" { + description "1558.78 nm/192.32500 THz 6.25/12.5GHz spacing"; + } + enum "1558.73" { + description "1558.73 nm/192.33125 THz 6.25GHz spacing"; + } + enum "1558.68" { + description "1558.68 nm/192.33750 THz 6.25/12.5GHz spacing"; + } + enum "1558.63" { + description "1558.63 nm/192.34375 THz 6.25GHz spacing"; + } + enum "1558.58" { + description "1558.58 nm/192.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1558.53" { + description "1558.53 nm/192.35625 THz 6.25GHz spacing"; + } + enum "1558.48" { + description "1558.48 nm/192.36250 THz 6.25/12.5GHz spacing"; + } + enum "1558.43" { + description "1558.43 nm/192.36875 THz 6.25GHz spacing"; + } + enum "1558.38" { + description "1558.38 nm/192.37500 THz 6.25/12.5GHz spacing"; + } + enum "1558.32" { + description "1558.32 nm/192.38125 THz 6.25GHz spacing"; + } + enum "1558.27" { + description "1558.27 nm/192.38750 THz 6.25/12.5GHz spacing"; + } + enum "1558.22" { + description "1558.22 nm/192.39375 THz 6.25GHz spacing"; + } + enum "1558.17" { + description "1558.17 nm/192.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1558.12" { + description "1558.12 nm/192.40625 THz 6.25GHz spacing"; + } + enum "1558.07" { + description "1558.07 nm/192.41250 THz 6.25/12.5GHz spacing"; + } + enum "1558.02" { + description "1558.02 nm/192.41875 THz 6.25GHz spacing"; + } + enum "1557.97" { + description "1557.97 nm/192.42500 THz 6.25/12.5GHz spacing"; + } + enum "1557.92" { + description "1557.92 nm/192.43125 THz 6.25GHz spacing"; + } + enum "1557.87" { + description "1557.87 nm/192.43750 THz 6.25/12.5GHz spacing"; + } + enum "1557.82" { + description "1557.82 nm/192.44375 THz 6.25GHz spacing"; + } + enum "1557.77" { + description "1557.77 nm/192.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1557.72" { + description "1557.72 nm/192.45625 THz 6.25GHz spacing"; + } + enum "1557.67" { + description "1557.67 nm/192.46250 THz 6.25/12.5GHz spacing"; + } + enum "1557.62" { + description "1557.62 nm/192.46875 THz 6.25GHz spacing"; + } + enum "1557.57" { + description "1557.57 nm/192.47500 THz 6.25/12.5GHz spacing"; + } + enum "1557.52" { + description "1557.52 nm/192.48125 THz 6.25GHz spacing"; + } + enum "1557.46" { + description "1557.46 nm/192.48750 THz 6.25/12.5GHz spacing"; + } + enum "1557.41" { + description "1557.41 nm/192.49375 THz 6.25GHz spacing"; + } + enum "1557.36" { + description "1557.36 nm/192.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1557.31" { + description "1557.31 nm/192.50625 THz 6.25GHz spacing"; + } + enum "1557.26" { + description "1557.26 nm/192.51250 THz 6.25/12.5GHz spacing"; + } + enum "1557.21" { + description "1557.21 nm/192.51875 THz 6.25GHz spacing"; + } + enum "1557.16" { + description "1557.16 nm/192.52500 THz 6.25/12.5GHz spacing"; + } + enum "1557.11" { + description "1557.11 nm/192.53125 THz 6.25GHz spacing"; + } + enum "1557.06" { + description "1557.06 nm/192.53750 THz 6.25/12.5GHz spacing"; + } + enum "1557.01" { + description "1557.01 nm/192.54375 THz 6.25GHz spacing"; + } + enum "1556.96" { + description "1556.96 nm/192.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.91" { + description "1556.91 nm/192.55625 THz 6.25GHz spacing"; + } + enum "1556.86" { + description "1556.86 nm/192.56250 THz 6.25/12.5GHz spacing"; + } + enum "1556.81" { + description "1556.81 nm/192.56875 THz 6.25GHz spacing"; + } + enum "1556.76" { + description "1556.76 nm/192.57500 THz 6.25/12.5GHz spacing"; + } + enum "1556.71" { + description "1556.71 nm/192.58125 THz 6.25GHz spacing"; + } + enum "1556.66" { + description "1556.66 nm/192.58750 THz 6.25/12.5GHz spacing"; + } + enum "1556.61" { + description "1556.61 nm/192.59375 THz 6.25GHz spacing"; + } + enum "1556.55" { + description "1556.55 nm/192.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1556.50" { + description "1556.50 nm/192.60625 THz 6.25GHz spacing"; + } + enum "1556.45" { + description "1556.45 nm/192.61250 THz 6.25/12.5GHz spacing"; + } + enum "1556.40" { + description "1556.40 nm/192.61875 THz 6.25GHz spacing"; + } + enum "1556.35" { + description "1556.35 nm/192.62500 THz 6.25/12.5GHz spacing"; + } + enum "1556.30" { + description "1556.30 nm/192.63125 THz 6.25GHz spacing"; + } + enum "1556.25" { + description "1556.25 nm/192.63750 THz 6.25/12.5GHz spacing"; + } + enum "1556.20" { + description "1556.20 nm/192.64375 THz 6.25GHz spacing"; + } + enum "1556.15" { + description "1556.15 nm/192.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1556.10" { + description "1556.10 nm/192.65625 THz 6.25GHz spacing"; + } + enum "1556.05" { + description "1556.05 nm/192.66250 THz 6.25/12.5GHz spacing"; + } + enum "1556.00" { + description "1556.00 nm/192.66875 THz 6.25GHz spacing"; + } + enum "1555.95" { + description "1555.95 nm/192.67500 THz 6.25/12.5GHz spacing"; + } + enum "1555.90" { + description "1555.90 nm/192.68125 THz 6.25GHz spacing"; + } + enum "1555.85" { + description "1555.85 nm/192.68750 THz 6.25/12.5GHz spacing"; + } + enum "1555.80" { + description "1555.80 nm/192.69375 THz 6.25GHz spacing"; + } + enum "1555.75" { + description "1555.75 nm/192.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1555.70" { + description "1555.70 nm/192.70625 THz 6.25GHz spacing"; + } + enum "1555.65" { + description "1555.65 nm/192.71250 THz 6.25/12.5GHz spacing"; + } + enum "1555.60" { + description "1555.60 nm/192.71875 THz 6.25GHz spacing"; + } + enum "1555.55" { + description "1555.55 nm/192.72500 THz 6.25/12.5GHz spacing"; + } + enum "1555.49" { + description "1555.49 nm/192.73125 THz 6.25GHz spacing"; + } + enum "1555.44" { + description "1555.44 nm/192.73750 THz 6.25/12.5GHz spacing"; + } + enum "1555.39" { + description "1555.39 nm/192.74375 THz 6.25GHz spacing"; + } + enum "1555.34" { + description "1555.34 nm/192.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1555.29" { + description "1555.29 nm/192.75625 THz 6.25GHz spacing"; + } + enum "1555.24" { + description "1555.24 nm/192.76250 THz 6.25/12.5GHz spacing"; + } + enum "1555.19" { + description "1555.19 nm/192.76875 THz 6.25GHz spacing"; + } + enum "1555.14" { + description "1555.14 nm/192.77500 THz 6.25/12.5GHz spacing"; + } + enum "1555.09" { + description "1555.09 nm/192.78125 THz 6.25GHz spacing"; + } + enum "1555.04" { + description "1555.04 nm/192.78750 THz 6.25/12.5GHz spacing"; + } + enum "1554.99" { + description "1554.99 nm/192.79375 THz 6.25GHz spacing"; + } + enum "1554.94" { + description "1554.94 nm/192.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.89" { + description "1554.89 nm/192.80625 THz 6.25GHz spacing"; + } + enum "1554.84" { + description "1554.84 nm/192.81250 THz 6.25/12.5GHz spacing"; + } + enum "1554.79" { + description "1554.79 nm/192.81875 THz 6.25GHz spacing"; + } + enum "1554.74" { + description "1554.74 nm/192.82500 THz 6.25/12.5GHz spacing"; + } + enum "1554.69" { + description "1554.69 nm/192.83125 THz 6.25GHz spacing"; + } + enum "1554.64" { + description "1554.64 nm/192.83750 THz 6.25/12.5GHz spacing"; + } + enum "1554.59" { + description "1554.59 nm/192.84375 THz 6.25GHz spacing"; + } + enum "1554.54" { + description "1554.54 nm/192.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1554.49" { + description "1554.49 nm/192.85625 THz 6.25GHz spacing"; + } + enum "1554.44" { + description "1554.44 nm/192.86250 THz 6.25/12.5GHz spacing"; + } + enum "1554.39" { + description "1554.39 nm/192.86875 THz 6.25GHz spacing"; + } + enum "1554.34" { + description "1554.34 nm/192.87500 THz 6.25/12.5GHz spacing"; + } + enum "1554.29" { + description "1554.29 nm/192.88125 THz 6.25GHz spacing"; + } + enum "1554.23" { + description "1554.23 nm/192.88750 THz 6.25/12.5GHz spacing"; + } + enum "1554.18" { + description "1554.18 nm/192.89375 THz 6.25GHz spacing"; + } + enum "1554.13" { + description "1554.13 nm/192.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1554.08" { + description "1554.08 nm/192.90625 THz 6.25GHz spacing"; + } + enum "1554.03" { + description "1554.03 nm/192.91250 THz 6.25/12.5GHz spacing"; + } + enum "1553.98" { + description "1553.98 nm/192.91875 THz 6.25GHz spacing"; + } + enum "1553.93" { + description "1553.93 nm/192.92500 THz 6.25/12.5GHz spacing"; + } + enum "1553.88" { + description "1553.88 nm/192.93125 THz 6.25GHz spacing"; + } + enum "1553.83" { + description "1553.83 nm/192.93750 THz 6.25/12.5GHz spacing"; + } + enum "1553.78" { + description "1553.78 nm/192.94375 THz 6.25GHz spacing"; + } + enum "1553.73" { + description "1553.73 nm/192.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1553.68" { + description "1553.68 nm/192.95625 THz 6.25GHz spacing"; + } + enum "1553.63" { + description "1553.63 nm/192.96250 THz 6.25/12.5GHz spacing"; + } + enum "1553.58" { + description "1553.58 nm/192.96875 THz 6.25GHz spacing"; + } + enum "1553.53" { + description "1553.53 nm/192.97500 THz 6.25/12.5GHz spacing"; + } + enum "1553.48" { + description "1553.48 nm/192.98125 THz 6.25GHz spacing"; + } + enum "1553.43" { + description "1553.43 nm/192.98750 THz 6.25/12.5GHz spacing"; + } + enum "1553.38" { + description "1553.38 nm/192.99375 THz 6.25GHz spacing"; + } + enum "1553.33" { + description "1553.33 nm/193.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1553.28" { + description "1553.28 nm/193.00625 THz 6.25GHz spacing"; + } + enum "1553.23" { + description "1553.23 nm/193.01250 THz 6.25/12.5GHz spacing"; + } + enum "1553.18" { + description "1553.18 nm/193.01875 THz 6.25GHz spacing"; + } + enum "1553.13" { + description "1553.13 nm/193.02500 THz 6.25/12.5GHz spacing"; + } + enum "1553.08" { + description "1553.08 nm/193.03125 THz 6.25GHz spacing"; + } + enum "1553.03" { + description "1553.03 nm/193.03750 THz 6.25/12.5GHz spacing"; + } + enum "1552.98" { + description "1552.98 nm/193.04375 THz 6.25GHz spacing"; + } + enum "1552.93" { + description "1552.93 nm/193.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.88" { + description "1552.88 nm/193.05625 THz 6.25GHz spacing"; + } + enum "1552.83" { + description "1552.83 nm/193.06250 THz 6.25/12.5GHz spacing"; + } + enum "1552.78" { + description "1552.78 nm/193.06875 THz 6.25GHz spacing"; + } + enum "1552.73" { + description "1552.73 nm/193.07500 THz 6.25/12.5GHz spacing"; + } + enum "1552.68" { + description "1552.68 nm/193.08125 THz 6.25GHz spacing"; + } + enum "1552.62" { + description "1552.62 nm/193.08750 THz 6.25/12.5GHz spacing"; + } + enum "1552.57" { + description "1552.57 nm/193.09375 THz 6.25GHz spacing"; + } + enum "1552.52" { + description "1552.52 nm/193.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1552.47" { + description "1552.47 nm/193.10625 THz 6.25GHz spacing"; + } + enum "1552.42" { + description "1552.42 nm/193.11250 THz 6.25/12.5GHz spacing"; + } + enum "1552.37" { + description "1552.37 nm/193.11875 THz 6.25GHz spacing"; + } + enum "1552.32" { + description "1552.32 nm/193.12500 THz 6.25/12.5GHz spacing"; + } + enum "1552.27" { + description "1552.27 nm/193.13125 THz 6.25GHz spacing"; + } + enum "1552.22" { + description "1552.22 nm/193.13750 THz 6.25/12.5GHz spacing"; + } + enum "1552.17" { + description "1552.17 nm/193.14375 THz 6.25GHz spacing"; + } + enum "1552.12" { + description "1552.12 nm/193.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1552.07" { + description "1552.07 nm/193.15625 THz 6.25GHz spacing"; + } + enum "1552.02" { + description "1552.02 nm/193.16250 THz 6.25/12.5GHz spacing"; + } + enum "1551.97" { + description "1551.97 nm/193.16875 THz 6.25GHz spacing"; + } + enum "1551.92" { + description "1551.92 nm/193.17500 THz 6.25/12.5GHz spacing"; + } + enum "1551.87" { + description "1551.87 nm/193.18125 THz 6.25GHz spacing"; + } + enum "1551.82" { + description "1551.82 nm/193.18750 THz 6.25/12.5GHz spacing"; + } + enum "1551.77" { + description "1551.77 nm/193.19375 THz 6.25GHz spacing"; + } + enum "1551.72" { + description "1551.72 nm/193.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1551.67" { + description "1551.67 nm/193.20625 THz 6.25GHz spacing"; + } + enum "1551.62" { + description "1551.62 nm/193.21250 THz 6.25/12.5GHz spacing"; + } + enum "1551.57" { + description "1551.57 nm/193.21875 THz 6.25GHz spacing"; + } + enum "1551.52" { + description "1551.52 nm/193.22500 THz 6.25/12.5GHz spacing"; + } + enum "1551.47" { + description "1551.47 nm/193.23125 THz 6.25GHz spacing"; + } + enum "1551.42" { + description "1551.42 nm/193.23750 THz 6.25/12.5GHz spacing"; + } + enum "1551.37" { + description "1551.37 nm/193.24375 THz 6.25GHz spacing"; + } + enum "1551.32" { + description "1551.32 nm/193.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1551.27" { + description "1551.27 nm/193.25625 THz 6.25GHz spacing"; + } + enum "1551.22" { + description "1551.22 nm/193.26250 THz 6.25/12.5GHz spacing"; + } + enum "1551.17" { + description "1551.17 nm/193.26875 THz 6.25GHz spacing"; + } + enum "1551.12" { + description "1551.12 nm/193.27500 THz 6.25/12.5GHz spacing"; + } + enum "1551.07" { + description "1551.07 nm/193.28125 THz 6.25GHz spacing"; + } + enum "1551.02" { + description "1551.02 nm/193.28750 THz 6.25/12.5GHz spacing"; + } + enum "1550.97" { + description "1550.97 nm/193.29375 THz 6.25GHz spacing"; + } + enum "1550.92" { + description "1550.92 nm/193.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.87" { + description "1550.87 nm/193.30625 THz 6.25GHz spacing"; + } + enum "1550.82" { + description "1550.82 nm/193.31250 THz 6.25/12.5GHz spacing"; + } + enum "1550.77" { + description "1550.77 nm/193.31875 THz 6.25GHz spacing"; + } + enum "1550.72" { + description "1550.72 nm/193.32500 THz 6.25/12.5GHz spacing"; + } + enum "1550.67" { + description "1550.67 nm/193.33125 THz 6.25GHz spacing"; + } + enum "1550.62" { + description "1550.62 nm/193.33750 THz 6.25/12.5GHz spacing"; + } + enum "1550.57" { + description "1550.57 nm/193.34375 THz 6.25GHz spacing"; + } + enum "1550.52" { + description "1550.52 nm/193.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1550.47" { + description "1550.47 nm/193.35625 THz 6.25GHz spacing"; + } + enum "1550.42" { + description "1550.42 nm/193.36250 THz 6.25/12.5GHz spacing"; + } + enum "1550.37" { + description "1550.37 nm/193.36875 THz 6.25GHz spacing"; + } + enum "1550.32" { + description "1550.32 nm/193.37500 THz 6.25/12.5GHz spacing"; + } + enum "1550.27" { + description "1550.27 nm/193.38125 THz 6.25GHz spacing"; + } + enum "1550.22" { + description "1550.22 nm/193.38750 THz 6.25/12.5GHz spacing"; + } + enum "1550.17" { + description "1550.17 nm/193.39375 THz 6.25GHz spacing"; + } + enum "1550.12" { + description "1550.12 nm/193.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1550.07" { + description "1550.07 nm/193.40625 THz 6.25GHz spacing"; + } + enum "1550.02" { + description "1550.02 nm/193.41250 THz 6.25/12.5GHz spacing"; + } + enum "1549.97" { + description "1549.97 nm/193.41875 THz 6.25GHz spacing"; + } + enum "1549.92" { + description "1549.92 nm/193.42500 THz 6.25/12.5GHz spacing"; + } + enum "1549.87" { + description "1549.87 nm/193.43125 THz 6.25GHz spacing"; + } + enum "1549.82" { + description "1549.82 nm/193.43750 THz 6.25/12.5GHz spacing"; + } + enum "1549.77" { + description "1549.77 nm/193.44375 THz 6.25GHz spacing"; + } + enum "1549.72" { + description "1549.72 nm/193.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1549.67" { + description "1549.67 nm/193.45625 THz 6.25GHz spacing"; + } + enum "1549.62" { + description "1549.62 nm/193.46250 THz 6.25/12.5GHz spacing"; + } + enum "1549.57" { + description "1549.57 nm/193.46875 THz 6.25GHz spacing"; + } + enum "1549.52" { + description "1549.52 nm/193.47500 THz 6.25/12.5GHz spacing"; + } + enum "1549.47" { + description "1549.47 nm/193.48125 THz 6.25GHz spacing"; + } + enum "1549.42" { + description "1549.42 nm/193.48750 THz 6.25/12.5GHz spacing"; + } + enum "1549.37" { + description "1549.37 nm/193.49375 THz 6.25GHz spacing"; + } + enum "1549.32" { + description "1549.32 nm/193.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1549.26" { + description "1549.26 nm/193.50625 THz 6.25GHz spacing"; + } + enum "1549.21" { + description "1549.21 nm/193.51250 THz 6.25/12.5GHz spacing"; + } + enum "1549.16" { + description "1549.16 nm/193.51875 THz 6.25GHz spacing"; + } + enum "1549.11" { + description "1549.11 nm/193.52500 THz 6.25/12.5GHz spacing"; + } + enum "1549.06" { + description "1549.06 nm/193.53125 THz 6.25GHz spacing"; + } + enum "1549.01" { + description "1549.01 nm/193.53750 THz 6.25/12.5GHz spacing"; + } + enum "1548.96" { + description "1548.96 nm/193.54375 THz 6.25GHz spacing"; + } + enum "1548.91" { + description "1548.91 nm/193.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.86" { + description "1548.86 nm/193.55625 THz 6.25GHz spacing"; + } + enum "1548.81" { + description "1548.81 nm/193.56250 THz 6.25/12.5GHz spacing"; + } + enum "1548.76" { + description "1548.76 nm/193.56875 THz 6.25GHz spacing"; + } + enum "1548.71" { + description "1548.71 nm/193.57500 THz 6.25/12.5GHz spacing"; + } + enum "1548.66" { + description "1548.66 nm/193.58125 THz 6.25GHz spacing"; + } + enum "1548.61" { + description "1548.61 nm/193.58750 THz 6.25/12.5GHz spacing"; + } + enum "1548.56" { + description "1548.56 nm/193.59375 THz 6.25GHz spacing"; + } + enum "1548.51" { + description "1548.51 nm/193.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1548.46" { + description "1548.46 nm/193.60625 THz 6.25GHz spacing"; + } + enum "1548.41" { + description "1548.41 nm/193.61250 THz 6.25/12.5GHz spacing"; + } + enum "1548.36" { + description "1548.36 nm/193.61875 THz 6.25GHz spacing"; + } + enum "1548.31" { + description "1548.31 nm/193.62500 THz 6.25/12.5GHz spacing"; + } + enum "1548.26" { + description "1548.26 nm/193.63125 THz 6.25GHz spacing"; + } + enum "1548.21" { + description "1548.21 nm/193.63750 THz 6.25/12.5GHz spacing"; + } + enum "1548.16" { + description "1548.16 nm/193.64375 THz 6.25GHz spacing"; + } + enum "1548.11" { + description "1548.11 nm/193.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1548.06" { + description "1548.06 nm/193.65625 THz 6.25GHz spacing"; + } + enum "1548.02" { + description "1548.02 nm/193.66250 THz 6.25/12.5GHz spacing"; + } + enum "1547.97" { + description "1547.97 nm/193.66875 THz 6.25GHz spacing"; + } + enum "1547.92" { + description "1547.92 nm/193.67500 THz 6.25/12.5GHz spacing"; + } + enum "1547.87" { + description "1547.87 nm/193.68125 THz 6.25GHz spacing"; + } + enum "1547.82" { + description "1547.82 nm/193.68750 THz 6.25/12.5GHz spacing"; + } + enum "1547.77" { + description "1547.77 nm/193.69375 THz 6.25GHz spacing"; + } + enum "1547.72" { + description "1547.72 nm/193.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1547.67" { + description "1547.67 nm/193.70625 THz 6.25GHz spacing"; + } + enum "1547.62" { + description "1547.62 nm/193.71250 THz 6.25/12.5GHz spacing"; + } + enum "1547.57" { + description "1547.57 nm/193.71875 THz 6.25GHz spacing"; + } + enum "1547.52" { + description "1547.52 nm/193.72500 THz 6.25/12.5GHz spacing"; + } + enum "1547.47" { + description "1547.47 nm/193.73125 THz 6.25GHz spacing"; + } + enum "1547.42" { + description "1547.42 nm/193.73750 THz 6.25/12.5GHz spacing"; + } + enum "1547.37" { + description "1547.37 nm/193.74375 THz 6.25GHz spacing"; + } + enum "1547.32" { + description "1547.32 nm/193.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1547.27" { + description "1547.27 nm/193.75625 THz 6.25GHz spacing"; + } + enum "1547.22" { + description "1547.22 nm/193.76250 THz 6.25/12.5GHz spacing"; + } + enum "1547.17" { + description "1547.17 nm/193.76875 THz 6.25GHz spacing"; + } + enum "1547.12" { + description "1547.12 nm/193.77500 THz 6.25/12.5GHz spacing"; + } + enum "1547.07" { + description "1547.07 nm/193.78125 THz 6.25GHz spacing"; + } + enum "1547.02" { + description "1547.02 nm/193.78750 THz 6.25/12.5GHz spacing"; + } + enum "1546.97" { + description "1546.97 nm/193.79375 THz 6.25GHz spacing"; + } + enum "1546.92" { + description "1546.92 nm/193.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.87" { + description "1546.87 nm/193.80625 THz 6.25GHz spacing"; + } + enum "1546.82" { + description "1546.82 nm/193.81250 THz 6.25/12.5GHz spacing"; + } + enum "1546.77" { + description "1546.77 nm/193.81875 THz 6.25GHz spacing"; + } + enum "1546.72" { + description "1546.72 nm/193.82500 THz 6.25/12.5GHz spacing"; + } + enum "1546.67" { + description "1546.67 nm/193.83125 THz 6.25GHz spacing"; + } + enum "1546.62" { + description "1546.62 nm/193.83750 THz 6.25/12.5GHz spacing"; + } + enum "1546.57" { + description "1546.57 nm/193.84375 THz 6.25GHz spacing"; + } + enum "1546.52" { + description "1546.52 nm/193.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1546.47" { + description "1546.47 nm/193.85625 THz 6.25GHz spacing"; + } + enum "1546.42" { + description "1546.42 nm/193.86250 THz 6.25/12.5GHz spacing"; + } + enum "1546.37" { + description "1546.37 nm/193.86875 THz 6.25GHz spacing"; + } + enum "1546.32" { + description "1546.32 nm/193.87500 THz 6.25/12.5GHz spacing"; + } + enum "1546.27" { + description "1546.27 nm/193.88125 THz 6.25GHz spacing"; + } + enum "1546.22" { + description "1546.22 nm/193.88750 THz 6.25/12.5GHz spacing"; + } + enum "1546.17" { + description "1546.17 nm/193.89375 THz 6.25GHz spacing"; + } + enum "1546.12" { + description "1546.12 nm/193.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1546.07" { + description "1546.07 nm/193.90625 THz 6.25GHz spacing"; + } + enum "1546.02" { + description "1546.02 nm/193.91250 THz 6.25/12.5GHz spacing"; + } + enum "1545.97" { + description "1545.97 nm/193.91875 THz 6.25GHz spacing"; + } + enum "1545.92" { + description "1545.92 nm/193.92500 THz 6.25/12.5GHz spacing"; + } + enum "1545.87" { + description "1545.87 nm/193.93125 THz 6.25GHz spacing"; + } + enum "1545.82" { + description "1545.82 nm/193.93750 THz 6.25/12.5GHz spacing"; + } + enum "1545.77" { + description "1545.77 nm/193.94375 THz 6.25GHz spacing"; + } + enum "1545.72" { + description "1545.72 nm/193.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1545.67" { + description "1545.67 nm/193.95625 THz 6.25GHz spacing"; + } + enum "1545.62" { + description "1545.62 nm/193.96250 THz 6.25/12.5GHz spacing"; + } + enum "1545.57" { + description "1545.57 nm/193.96875 THz 6.25GHz spacing"; + } + enum "1545.52" { + description "1545.52 nm/193.97500 THz 6.25/12.5GHz spacing"; + } + enum "1545.47" { + description "1545.47 nm/193.98125 THz 6.25GHz spacing"; + } + enum "1545.42" { + description "1545.42 nm/193.98750 THz 6.25/12.5GHz spacing"; + } + enum "1545.37" { + description "1545.37 nm/193.99375 THz 6.25GHz spacing"; + } + enum "1545.32" { + description "1545.32 nm/194.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1545.27" { + description "1545.27 nm/194.00625 THz 6.25GHz spacing"; + } + enum "1545.22" { + description "1545.22 nm/194.01250 THz 6.25/12.5GHz spacing"; + } + enum "1545.17" { + description "1545.17 nm/194.01875 THz 6.25GHz spacing"; + } + enum "1545.12" { + description "1545.12 nm/194.02500 THz 6.25/12.5GHz spacing"; + } + enum "1545.07" { + description "1545.07 nm/194.03125 THz 6.25GHz spacing"; + } + enum "1545.02" { + description "1545.02 nm/194.03750 THz 6.25/12.5GHz spacing"; + } + enum "1544.97" { + description "1544.97 nm/194.04375 THz 6.25GHz spacing"; + } + enum "1544.92" { + description "1544.92 nm/194.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.87" { + description "1544.87 nm/194.05625 THz 6.25GHz spacing"; + } + enum "1544.82" { + description "1544.82 nm/194.06250 THz 6.25/12.5GHz spacing"; + } + enum "1544.77" { + description "1544.77 nm/194.06875 THz 6.25GHz spacing"; + } + enum "1544.72" { + description "1544.72 nm/194.07500 THz 6.25/12.5GHz spacing"; + } + enum "1544.68" { + description "1544.68 nm/194.08125 THz 6.25GHz spacing"; + } + enum "1544.63" { + description "1544.63 nm/194.08750 THz 6.25/12.5GHz spacing"; + } + enum "1544.58" { + description "1544.58 nm/194.09375 THz 6.25GHz spacing"; + } + enum "1544.53" { + description "1544.53 nm/194.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1544.48" { + description "1544.48 nm/194.10625 THz 6.25GHz spacing"; + } + enum "1544.43" { + description "1544.43 nm/194.11250 THz 6.25/12.5GHz spacing"; + } + enum "1544.38" { + description "1544.38 nm/194.11875 THz 6.25GHz spacing"; + } + enum "1544.33" { + description "1544.33 nm/194.12500 THz 6.25/12.5GHz spacing"; + } + enum "1544.28" { + description "1544.28 nm/194.13125 THz 6.25GHz spacing"; + } + enum "1544.23" { + description "1544.23 nm/194.13750 THz 6.25/12.5GHz spacing"; + } + enum "1544.18" { + description "1544.18 nm/194.14375 THz 6.25GHz spacing"; + } + enum "1544.13" { + description "1544.13 nm/194.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1544.08" { + description "1544.08 nm/194.15625 THz 6.25GHz spacing"; + } + enum "1544.03" { + description "1544.03 nm/194.16250 THz 6.25/12.5GHz spacing"; + } + enum "1543.98" { + description "1543.98 nm/194.16875 THz 6.25GHz spacing"; + } + enum "1543.93" { + description "1543.93 nm/194.17500 THz 6.25/12.5GHz spacing"; + } + enum "1543.88" { + description "1543.88 nm/194.18125 THz 6.25GHz spacing"; + } + enum "1543.83" { + description "1543.83 nm/194.18750 THz 6.25/12.5GHz spacing"; + } + enum "1543.78" { + description "1543.78 nm/194.19375 THz 6.25GHz spacing"; + } + enum "1543.73" { + description "1543.73 nm/194.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1543.68" { + description "1543.68 nm/194.20625 THz 6.25GHz spacing"; + } + enum "1543.63" { + description "1543.63 nm/194.21250 THz 6.25/12.5GHz spacing"; + } + enum "1543.58" { + description "1543.58 nm/194.21875 THz 6.25GHz spacing"; + } + enum "1543.53" { + description "1543.53 nm/194.22500 THz 6.25/12.5GHz spacing"; + } + enum "1543.48" { + description "1543.48 nm/194.23125 THz 6.25GHz spacing"; + } + enum "1543.43" { + description "1543.43 nm/194.23750 THz 6.25/12.5GHz spacing"; + } + enum "1543.38" { + description "1543.38 nm/194.24375 THz 6.25GHz spacing"; + } + enum "1543.33" { + description "1543.33 nm/194.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1543.28" { + description "1543.28 nm/194.25625 THz 6.25GHz spacing"; + } + enum "1543.23" { + description "1543.23 nm/194.26250 THz 6.25/12.5GHz spacing"; + } + enum "1543.18" { + description "1543.18 nm/194.26875 THz 6.25GHz spacing"; + } + enum "1543.13" { + description "1543.13 nm/194.27500 THz 6.25/12.5GHz spacing"; + } + enum "1543.08" { + description "1543.08 nm/194.28125 THz 6.25GHz spacing"; + } + enum "1543.04" { + description "1543.04 nm/194.28750 THz 6.25/12.5GHz spacing"; + } + enum "1542.99" { + description "1542.99 nm/194.29375 THz 6.25GHz spacing"; + } + enum "1542.94" { + description "1542.94 nm/194.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.89" { + description "1542.89 nm/194.30625 THz 6.25GHz spacing"; + } + enum "1542.84" { + description "1542.84 nm/194.31250 THz 6.25/12.5GHz spacing"; + } + enum "1542.79" { + description "1542.79 nm/194.31875 THz 6.25GHz spacing"; + } + enum "1542.74" { + description "1542.74 nm/194.32500 THz 6.25/12.5GHz spacing"; + } + enum "1542.69" { + description "1542.69 nm/194.33125 THz 6.25GHz spacing"; + } + enum "1542.64" { + description "1542.64 nm/194.33750 THz 6.25/12.5GHz spacing"; + } + enum "1542.59" { + description "1542.59 nm/194.34375 THz 6.25GHz spacing"; + } + enum "1542.54" { + description "1542.54 nm/194.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1542.49" { + description "1542.49 nm/194.35625 THz 6.25GHz spacing"; + } + enum "1542.44" { + description "1542.44 nm/194.36250 THz 6.25/12.5GHz spacing"; + } + enum "1542.39" { + description "1542.39 nm/194.36875 THz 6.25GHz spacing"; + } + enum "1542.34" { + description "1542.34 nm/194.37500 THz 6.25/12.5GHz spacing"; + } + enum "1542.29" { + description "1542.29 nm/194.38125 THz 6.25GHz spacing"; + } + enum "1542.24" { + description "1542.24 nm/194.38750 THz 6.25/12.5GHz spacing"; + } + enum "1542.19" { + description "1542.19 nm/194.39375 THz 6.25GHz spacing"; + } + enum "1542.14" { + description "1542.14 nm/194.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1542.09" { + description "1542.09 nm/194.40625 THz 6.25GHz spacing"; + } + enum "1542.04" { + description "1542.04 nm/194.41250 THz 6.25/12.5GHz spacing"; + } + enum "1541.99" { + description "1541.99 nm/194.41875 THz 6.25GHz spacing"; + } + enum "1541.94" { + description "1541.94 nm/194.42500 THz 6.25/12.5GHz spacing"; + } + enum "1541.89" { + description "1541.89 nm/194.43125 THz 6.25GHz spacing"; + } + enum "1541.84" { + description "1541.84 nm/194.43750 THz 6.25/12.5GHz spacing"; + } + enum "1541.80" { + description "1541.80 nm/194.44375 THz 6.25GHz spacing"; + } + enum "1541.75" { + description "1541.75 nm/194.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1541.70" { + description "1541.70 nm/194.45625 THz 6.25GHz spacing"; + } + enum "1541.65" { + description "1541.65 nm/194.46250 THz 6.25/12.5GHz spacing"; + } + enum "1541.60" { + description "1541.60 nm/194.46875 THz 6.25GHz spacing"; + } + enum "1541.55" { + description "1541.55 nm/194.47500 THz 6.25/12.5GHz spacing"; + } + enum "1541.50" { + description "1541.50 nm/194.48125 THz 6.25GHz spacing"; + } + enum "1541.45" { + description "1541.45 nm/194.48750 THz 6.25/12.5GHz spacing"; + } + enum "1541.40" { + description "1541.40 nm/194.49375 THz 6.25GHz spacing"; + } + enum "1541.35" { + description "1541.35 nm/194.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1541.30" { + description "1541.30 nm/194.50625 THz 6.25GHz spacing"; + } + enum "1541.25" { + description "1541.25 nm/194.51250 THz 6.25/12.5GHz spacing"; + } + enum "1541.20" { + description "1541.20 nm/194.51875 THz 6.25GHz spacing"; + } + enum "1541.15" { + description "1541.15 nm/194.52500 THz 6.25/12.5GHz spacing"; + } + enum "1541.10" { + description "1541.10 nm/194.53125 THz 6.25GHz spacing"; + } + enum "1541.05" { + description "1541.05 nm/194.53750 THz 6.25/12.5GHz spacing"; + } + enum "1541.00" { + description "1541.00 nm/194.54375 THz 6.25GHz spacing"; + } + enum "1540.95" { + description "1540.95 nm/194.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.90" { + description "1540.90 nm/194.55625 THz 6.25GHz spacing"; + } + enum "1540.85" { + description "1540.85 nm/194.56250 THz 6.25/12.5GHz spacing"; + } + enum "1540.80" { + description "1540.80 nm/194.56875 THz 6.25GHz spacing"; + } + enum "1540.76" { + description "1540.76 nm/194.57500 THz 6.25/12.5GHz spacing"; + } + enum "1540.71" { + description "1540.71 nm/194.58125 THz 6.25GHz spacing"; + } + enum "1540.66" { + description "1540.66 nm/194.58750 THz 6.25/12.5GHz spacing"; + } + enum "1540.61" { + description "1540.61 nm/194.59375 THz 6.25GHz spacing"; + } + enum "1540.56" { + description "1540.56 nm/194.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1540.51" { + description "1540.51 nm/194.60625 THz 6.25GHz spacing"; + } + enum "1540.46" { + description "1540.46 nm/194.61250 THz 6.25/12.5GHz spacing"; + } + enum "1540.41" { + description "1540.41 nm/194.61875 THz 6.25GHz spacing"; + } + enum "1540.36" { + description "1540.36 nm/194.62500 THz 6.25/12.5GHz spacing"; + } + enum "1540.31" { + description "1540.31 nm/194.63125 THz 6.25GHz spacing"; + } + enum "1540.26" { + description "1540.26 nm/194.63750 THz 6.25/12.5GHz spacing"; + } + enum "1540.21" { + description "1540.21 nm/194.64375 THz 6.25GHz spacing"; + } + enum "1540.16" { + description "1540.16 nm/194.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1540.11" { + description "1540.11 nm/194.65625 THz 6.25GHz spacing"; + } + enum "1540.06" { + description "1540.06 nm/194.66250 THz 6.25/12.5GHz spacing"; + } + enum "1540.01" { + description "1540.01 nm/194.66875 THz 6.25GHz spacing"; + } + enum "1539.96" { + description "1539.96 nm/194.67500 THz 6.25/12.5GHz spacing"; + } + enum "1539.91" { + description "1539.91 nm/194.68125 THz 6.25GHz spacing"; + } + enum "1539.86" { + description "1539.86 nm/194.68750 THz 6.25/12.5GHz spacing"; + } + enum "1539.82" { + description "1539.82 nm/194.69375 THz 6.25GHz spacing"; + } + enum "1539.77" { + description "1539.77 nm/194.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1539.72" { + description "1539.72 nm/194.70625 THz 6.25GHz spacing"; + } + enum "1539.67" { + description "1539.67 nm/194.71250 THz 6.25/12.5GHz spacing"; + } + enum "1539.62" { + description "1539.62 nm/194.71875 THz 6.25GHz spacing"; + } + enum "1539.57" { + description "1539.57 nm/194.72500 THz 6.25/12.5GHz spacing"; + } + enum "1539.52" { + description "1539.52 nm/194.73125 THz 6.25GHz spacing"; + } + enum "1539.47" { + description "1539.47 nm/194.73750 THz 6.25/12.5GHz spacing"; + } + enum "1539.42" { + description "1539.42 nm/194.74375 THz 6.25GHz spacing"; + } + enum "1539.37" { + description "1539.37 nm/194.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1539.32" { + description "1539.32 nm/194.75625 THz 6.25GHz spacing"; + } + enum "1539.27" { + description "1539.27 nm/194.76250 THz 6.25/12.5GHz spacing"; + } + enum "1539.22" { + description "1539.22 nm/194.76875 THz 6.25GHz spacing"; + } + enum "1539.17" { + description "1539.17 nm/194.77500 THz 6.25/12.5GHz spacing"; + } + enum "1539.12" { + description "1539.12 nm/194.78125 THz 6.25GHz spacing"; + } + enum "1539.07" { + description "1539.07 nm/194.78750 THz 6.25/12.5GHz spacing"; + } + enum "1539.03" { + description "1539.03 nm/194.79375 THz 6.25GHz spacing"; + } + enum "1538.98" { + description "1538.98 nm/194.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.93" { + description "1538.93 nm/194.80625 THz 6.25GHz spacing"; + } + enum "1538.88" { + description "1538.88 nm/194.81250 THz 6.25/12.5GHz spacing"; + } + enum "1538.83" { + description "1538.83 nm/194.81875 THz 6.25GHz spacing"; + } + enum "1538.78" { + description "1538.78 nm/194.82500 THz 6.25/12.5GHz spacing"; + } + enum "1538.73" { + description "1538.73 nm/194.83125 THz 6.25GHz spacing"; + } + enum "1538.68" { + description "1538.68 nm/194.83750 THz 6.25/12.5GHz spacing"; + } + enum "1538.63" { + description "1538.63 nm/194.84375 THz 6.25GHz spacing"; + } + enum "1538.58" { + description "1538.58 nm/194.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1538.53" { + description "1538.53 nm/194.85625 THz 6.25GHz spacing"; + } + enum "1538.48" { + description "1538.48 nm/194.86250 THz 6.25/12.5GHz spacing"; + } + enum "1538.43" { + description "1538.43 nm/194.86875 THz 6.25GHz spacing"; + } + enum "1538.38" { + description "1538.38 nm/194.87500 THz 6.25/12.5GHz spacing"; + } + enum "1538.33" { + description "1538.33 nm/194.88125 THz 6.25GHz spacing"; + } + enum "1538.28" { + description "1538.28 nm/194.88750 THz 6.25/12.5GHz spacing"; + } + enum "1538.24" { + description "1538.24 nm/194.89375 THz 6.25GHz spacing"; + } + enum "1538.19" { + description "1538.19 nm/194.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1538.14" { + description "1538.14 nm/194.90625 THz 6.25GHz spacing"; + } + enum "1538.09" { + description "1538.09 nm/194.91250 THz 6.25/12.5GHz spacing"; + } + enum "1538.04" { + description "1538.04 nm/194.91875 THz 6.25GHz spacing"; + } + enum "1537.99" { + description "1537.99 nm/194.92500 THz 6.25/12.5GHz spacing"; + } + enum "1537.94" { + description "1537.94 nm/194.93125 THz 6.25GHz spacing"; + } + enum "1537.89" { + description "1537.89 nm/194.93750 THz 6.25/12.5GHz spacing"; + } + enum "1537.84" { + description "1537.84 nm/194.94375 THz 6.25GHz spacing"; + } + enum "1537.79" { + description "1537.79 nm/194.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1537.74" { + description "1537.74 nm/194.95625 THz 6.25GHz spacing"; + } + enum "1537.69" { + description "1537.69 nm/194.96250 THz 6.25/12.5GHz spacing"; + } + enum "1537.64" { + description "1537.64 nm/194.96875 THz 6.25GHz spacing"; + } + enum "1537.59" { + description "1537.59 nm/194.97500 THz 6.25/12.5GHz spacing"; + } + enum "1537.55" { + description "1537.55 nm/194.98125 THz 6.25GHz spacing"; + } + enum "1537.50" { + description "1537.50 nm/194.98750 THz 6.25/12.5GHz spacing"; + } + enum "1537.45" { + description "1537.45 nm/194.99375 THz 6.25GHz spacing"; + } + enum "1537.40" { + description "1537.40 nm/195.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1537.35" { + description "1537.35 nm/195.00625 THz 6.25GHz spacing"; + } + enum "1537.30" { + description "1537.30 nm/195.01250 THz 6.25/12.5GHz spacing"; + } + enum "1537.25" { + description "1537.25 nm/195.01875 THz 6.25GHz spacing"; + } + enum "1537.20" { + description "1537.20 nm/195.02500 THz 6.25/12.5GHz spacing"; + } + enum "1537.15" { + description "1537.15 nm/195.03125 THz 6.25GHz spacing"; + } + enum "1537.10" { + description "1537.10 nm/195.03750 THz 6.25/12.5GHz spacing"; + } + enum "1537.05" { + description "1537.05 nm/195.04375 THz 6.25GHz spacing"; + } + enum "1537.00" { + description "1537.00 nm/195.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.95" { + description "1536.95 nm/195.05625 THz 6.25GHz spacing"; + } + enum "1536.90" { + description "1536.90 nm/195.06250 THz 6.25/12.5GHz spacing"; + } + enum "1536.86" { + description "1536.86 nm/195.06875 THz 6.25GHz spacing"; + } + enum "1536.81" { + description "1536.81 nm/195.07500 THz 6.25/12.5GHz spacing"; + } + enum "1536.76" { + description "1536.76 nm/195.08125 THz 6.25GHz spacing"; + } + enum "1536.71" { + description "1536.71 nm/195.08750 THz 6.25/12.5GHz spacing"; + } + enum "1536.66" { + description "1536.66 nm/195.09375 THz 6.25GHz spacing"; + } + enum "1536.61" { + description "1536.61 nm/195.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1536.56" { + description "1536.56 nm/195.10625 THz 6.25GHz spacing"; + } + enum "1536.51" { + description "1536.51 nm/195.11250 THz 6.25/12.5GHz spacing"; + } + enum "1536.46" { + description "1536.46 nm/195.11875 THz 6.25GHz spacing"; + } + enum "1536.41" { + description "1536.41 nm/195.12500 THz 6.25/12.5GHz spacing"; + } + enum "1536.36" { + description "1536.36 nm/195.13125 THz 6.25GHz spacing"; + } + enum "1536.31" { + description "1536.31 nm/195.13750 THz 6.25/12.5GHz spacing"; + } + enum "1536.26" { + description "1536.26 nm/195.14375 THz 6.25GHz spacing"; + } + enum "1536.22" { + description "1536.22 nm/195.15000 THz 6.25/12.5/50GHz spacing"; + } + enum "1536.17" { + description "1536.17 nm/195.15625 THz 6.25GHz spacing"; + } + enum "1536.12" { + description "1536.12 nm/195.16250 THz 6.25/12.5GHz spacing"; + } + enum "1536.07" { + description "1536.07 nm/195.16875 THz 6.25GHz spacing"; + } + enum "1536.02" { + description "1536.02 nm/195.17500 THz 6.25/12.5GHz spacing"; + } + enum "1535.97" { + description "1535.97 nm/195.18125 THz 6.25GHz spacing"; + } + enum "1535.92" { + description "1535.92 nm/195.18750 THz 6.25/12.5GHz spacing"; + } + enum "1535.87" { + description "1535.87 nm/195.19375 THz 6.25GHz spacing"; + } + enum "1535.82" { + description "1535.82 nm/195.20000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1535.77" { + description "1535.77 nm/195.20625 THz 6.25GHz spacing"; + } + enum "1535.72" { + description "1535.72 nm/195.21250 THz 6.25/12.5GHz spacing"; + } + enum "1535.67" { + description "1535.67 nm/195.21875 THz 6.25GHz spacing"; + } + enum "1535.63" { + description "1535.63 nm/195.22500 THz 6.25/12.5GHz spacing"; + } + enum "1535.58" { + description "1535.58 nm/195.23125 THz 6.25GHz spacing"; + } + enum "1535.53" { + description "1535.53 nm/195.23750 THz 6.25/12.5GHz spacing"; + } + enum "1535.48" { + description "1535.48 nm/195.24375 THz 6.25GHz spacing"; + } + enum "1535.43" { + description "1535.43 nm/195.25000 THz 6.25/12.5/50GHz spacing"; + } + enum "1535.38" { + description "1535.38 nm/195.25625 THz 6.25GHz spacing"; + } + enum "1535.33" { + description "1535.33 nm/195.26250 THz 6.25/12.5GHz spacing"; + } + enum "1535.28" { + description "1535.28 nm/195.26875 THz 6.25GHz spacing"; + } + enum "1535.23" { + description "1535.23 nm/195.27500 THz 6.25/12.5GHz spacing"; + } + enum "1535.18" { + description "1535.18 nm/195.28125 THz 6.25GHz spacing"; + } + enum "1535.13" { + description "1535.13 nm/195.28750 THz 6.25/12.5GHz spacing"; + } + enum "1535.08" { + description "1535.08 nm/195.29375 THz 6.25GHz spacing"; + } + enum "1535.04" { + description "1535.04 nm/195.30000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.99" { + description "1534.99 nm/195.30625 THz 6.25GHz spacing"; + } + enum "1534.94" { + description "1534.94 nm/195.31250 THz 6.25/12.5GHz spacing"; + } + enum "1534.89" { + description "1534.89 nm/195.31875 THz 6.25GHz spacing"; + } + enum "1534.84" { + description "1534.84 nm/195.32500 THz 6.25/12.5GHz spacing"; + } + enum "1534.79" { + description "1534.79 nm/195.33125 THz 6.25GHz spacing"; + } + enum "1534.74" { + description "1534.74 nm/195.33750 THz 6.25/12.5GHz spacing"; + } + enum "1534.69" { + description "1534.69 nm/195.34375 THz 6.25GHz spacing"; + } + enum "1534.64" { + description "1534.64 nm/195.35000 THz 6.25/12.5/50GHz spacing"; + } + enum "1534.59" { + description "1534.59 nm/195.35625 THz 6.25GHz spacing"; + } + enum "1534.54" { + description "1534.54 nm/195.36250 THz 6.25/12.5GHz spacing"; + } + enum "1534.50" { + description "1534.50 nm/195.36875 THz 6.25GHz spacing"; + } + enum "1534.45" { + description "1534.45 nm/195.37500 THz 6.25/12.5GHz spacing"; + } + enum "1534.40" { + description "1534.40 nm/195.38125 THz 6.25GHz spacing"; + } + enum "1534.35" { + description "1534.35 nm/195.38750 THz 6.25/12.5GHz spacing"; + } + enum "1534.30" { + description "1534.30 nm/195.39375 THz 6.25GHz spacing"; + } + enum "1534.25" { + description "1534.25 nm/195.40000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1534.20" { + description "1534.20 nm/195.40625 THz 6.25GHz spacing"; + } + enum "1534.15" { + description "1534.15 nm/195.41250 THz 6.25/12.5GHz spacing"; + } + enum "1534.10" { + description "1534.10 nm/195.41875 THz 6.25GHz spacing"; + } + enum "1534.05" { + description "1534.05 nm/195.42500 THz 6.25/12.5GHz spacing"; + } + enum "1534.00" { + description "1534.00 nm/195.43125 THz 6.25GHz spacing"; + } + enum "1533.96" { + description "1533.96 nm/195.43750 THz 6.25/12.5GHz spacing"; + } + enum "1533.91" { + description "1533.91 nm/195.44375 THz 6.25GHz spacing"; + } + enum "1533.86" { + description "1533.86 nm/195.45000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.81" { + description "1533.81 nm/195.45625 THz 6.25GHz spacing"; + } + enum "1533.76" { + description "1533.76 nm/195.46250 THz 6.25/12.5GHz spacing"; + } + enum "1533.71" { + description "1533.71 nm/195.46875 THz 6.25GHz spacing"; + } + enum "1533.66" { + description "1533.66 nm/195.47500 THz 6.25/12.5GHz spacing"; + } + enum "1533.61" { + description "1533.61 nm/195.48125 THz 6.25GHz spacing"; + } + enum "1533.56" { + description "1533.56 nm/195.48750 THz 6.25/12.5GHz spacing"; + } + enum "1533.51" { + description "1533.51 nm/195.49375 THz 6.25GHz spacing"; + } + enum "1533.47" { + description "1533.47 nm/195.50000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1533.42" { + description "1533.42 nm/195.50625 THz 6.25GHz spacing"; + } + enum "1533.37" { + description "1533.37 nm/195.51250 THz 6.25/12.5GHz spacing"; + } + enum "1533.32" { + description "1533.32 nm/195.51875 THz 6.25GHz spacing"; + } + enum "1533.27" { + description "1533.27 nm/195.52500 THz 6.25/12.5GHz spacing"; + } + enum "1533.22" { + description "1533.22 nm/195.53125 THz 6.25GHz spacing"; + } + enum "1533.17" { + description "1533.17 nm/195.53750 THz 6.25/12.5GHz spacing"; + } + enum "1533.12" { + description "1533.12 nm/195.54375 THz 6.25GHz spacing"; + } + enum "1533.07" { + description "1533.07 nm/195.55000 THz 6.25/12.5/50GHz spacing"; + } + enum "1533.02" { + description "1533.02 nm/195.55625 THz 6.25GHz spacing"; + } + enum "1532.98" { + description "1532.98 nm/195.56250 THz 6.25/12.5GHz spacing"; + } + enum "1532.93" { + description "1532.93 nm/195.56875 THz 6.25GHz spacing"; + } + enum "1532.88" { + description "1532.88 nm/195.57500 THz 6.25/12.5GHz spacing"; + } + enum "1532.83" { + description "1532.83 nm/195.58125 THz 6.25GHz spacing"; + } + enum "1532.78" { + description "1532.78 nm/195.58750 THz 6.25/12.5GHz spacing"; + } + enum "1532.73" { + description "1532.73 nm/195.59375 THz 6.25GHz spacing"; + } + enum "1532.68" { + description "1532.68 nm/195.60000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1532.63" { + description "1532.63 nm/195.60625 THz 6.25GHz spacing"; + } + enum "1532.58" { + description "1532.58 nm/195.61250 THz 6.25/12.5GHz spacing"; + } + enum "1532.53" { + description "1532.53 nm/195.61875 THz 6.25GHz spacing"; + } + enum "1532.49" { + description "1532.49 nm/195.62500 THz 6.25/12.5GHz spacing"; + } + enum "1532.44" { + description "1532.44 nm/195.63125 THz 6.25GHz spacing"; + } + enum "1532.39" { + description "1532.39 nm/195.63750 THz 6.25/12.5GHz spacing"; + } + enum "1532.34" { + description "1532.34 nm/195.64375 THz 6.25GHz spacing"; + } + enum "1532.29" { + description "1532.29 nm/195.65000 THz 6.25/12.5/50GHz spacing"; + } + enum "1532.24" { + description "1532.24 nm/195.65625 THz 6.25GHz spacing"; + } + enum "1532.19" { + description "1532.19 nm/195.66250 THz 6.25/12.5GHz spacing"; + } + enum "1532.14" { + description "1532.14 nm/195.66875 THz 6.25GHz spacing"; + } + enum "1532.09" { + description "1532.09 nm/195.67500 THz 6.25/12.5GHz spacing"; + } + enum "1532.04" { + description "1532.04 nm/195.68125 THz 6.25GHz spacing"; + } + enum "1532.00" { + description "1532.00 nm/195.68750 THz 6.25/12.5GHz spacing"; + } + enum "1531.95" { + description "1531.95 nm/195.69375 THz 6.25GHz spacing"; + } + enum "1531.90" { + description "1531.90 nm/195.70000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.85" { + description "1531.85 nm/195.70625 THz 6.25GHz spacing"; + } + enum "1531.80" { + description "1531.80 nm/195.71250 THz 6.25/12.5GHz spacing"; + } + enum "1531.75" { + description "1531.75 nm/195.71875 THz 6.25GHz spacing"; + } + enum "1531.70" { + description "1531.70 nm/195.72500 THz 6.25/12.5GHz spacing"; + } + enum "1531.65" { + description "1531.65 nm/195.73125 THz 6.25GHz spacing"; + } + enum "1531.60" { + description "1531.60 nm/195.73750 THz 6.25/12.5GHz spacing"; + } + enum "1531.56" { + description "1531.56 nm/195.74375 THz 6.25GHz spacing"; + } + enum "1531.51" { + description "1531.51 nm/195.75000 THz 6.25/12.5/50GHz spacing"; + } + enum "1531.46" { + description "1531.46 nm/195.75625 THz 6.25GHz spacing"; + } + enum "1531.41" { + description "1531.41 nm/195.76250 THz 6.25/12.5GHz spacing"; + } + enum "1531.36" { + description "1531.36 nm/195.76875 THz 6.25GHz spacing"; + } + enum "1531.31" { + description "1531.31 nm/195.77500 THz 6.25/12.5GHz spacing"; + } + enum "1531.26" { + description "1531.26 nm/195.78125 THz 6.25GHz spacing"; + } + enum "1531.21" { + description "1531.21 nm/195.78750 THz 6.25/12.5GHz spacing"; + } + enum "1531.16" { + description "1531.16 nm/195.79375 THz 6.25GHz spacing"; + } + enum "1531.12" { + description "1531.12 nm/195.80000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1531.07" { + description "1531.07 nm/195.80625 THz 6.25GHz spacing"; + } + enum "1531.02" { + description "1531.02 nm/195.81250 THz 6.25/12.5GHz spacing"; + } + enum "1530.97" { + description "1530.97 nm/195.81875 THz 6.25GHz spacing"; + } + enum "1530.92" { + description "1530.92 nm/195.82500 THz 6.25/12.5GHz spacing"; + } + enum "1530.87" { + description "1530.87 nm/195.83125 THz 6.25GHz spacing"; + } + enum "1530.82" { + description "1530.82 nm/195.83750 THz 6.25/12.5GHz spacing"; + } + enum "1530.77" { + description "1530.77 nm/195.84375 THz 6.25GHz spacing"; + } + enum "1530.72" { + description "1530.72 nm/195.85000 THz 6.25/12.5/50GHz spacing"; + } + enum "1530.68" { + description "1530.68 nm/195.85625 THz 6.25GHz spacing"; + } + enum "1530.63" { + description "1530.63 nm/195.86250 THz 6.25/12.5GHz spacing"; + } + enum "1530.58" { + description "1530.58 nm/195.86875 THz 6.25GHz spacing"; + } + enum "1530.53" { + description "1530.53 nm/195.87500 THz 6.25/12.5GHz spacing"; + } + enum "1530.48" { + description "1530.48 nm/195.88125 THz 6.25GHz spacing"; + } + enum "1530.43" { + description "1530.43 nm/195.88750 THz 6.25/12.5GHz spacing"; + } + enum "1530.38" { + description "1530.38 nm/195.89375 THz 6.25GHz spacing"; + } + enum "1530.33" { + description "1530.33 nm/195.90000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1530.29" { + description "1530.29 nm/195.90625 THz 6.25GHz spacing"; + } + enum "1530.24" { + description "1530.24 nm/195.91250 THz 6.25/12.5GHz spacing"; + } + enum "1530.19" { + description "1530.19 nm/195.91875 THz 6.25GHz spacing"; + } + enum "1530.14" { + description "1530.14 nm/195.92500 THz 6.25/12.5GHz spacing"; + } + enum "1530.09" { + description "1530.09 nm/195.93125 THz 6.25GHz spacing"; + } + enum "1530.04" { + description "1530.04 nm/195.93750 THz 6.25/12.5GHz spacing"; + } + enum "1529.99" { + description "1529.99 nm/195.94375 THz 6.25GHz spacing"; + } + enum "1529.94" { + description "1529.94 nm/195.95000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.89" { + description "1529.89 nm/195.95625 THz 6.25GHz spacing"; + } + enum "1529.85" { + description "1529.85 nm/195.96250 THz 6.25/12.5GHz spacing"; + } + enum "1529.80" { + description "1529.80 nm/195.96875 THz 6.25GHz spacing"; + } + enum "1529.75" { + description "1529.75 nm/195.97500 THz 6.25/12.5GHz spacing"; + } + enum "1529.70" { + description "1529.70 nm/195.98125 THz 6.25GHz spacing"; + } + enum "1529.65" { + description "1529.65 nm/195.98750 THz 6.25/12.5GHz spacing"; + } + enum "1529.60" { + description "1529.60 nm/195.99375 THz 6.25GHz spacing"; + } + enum "1529.55" { + description "1529.55 nm/196.00000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1529.50" { + description "1529.50 nm/196.00625 THz 6.25GHz spacing"; + } + enum "1529.46" { + description "1529.46 nm/196.01250 THz 6.25/12.5GHz spacing"; + } + enum "1529.41" { + description "1529.41 nm/196.01875 THz 6.25GHz spacing"; + } + enum "1529.36" { + description "1529.36 nm/196.02500 THz 6.25/12.5GHz spacing"; + } + enum "1529.31" { + description "1529.31 nm/196.03125 THz 6.25GHz spacing"; + } + enum "1529.26" { + description "1529.26 nm/196.03750 THz 6.25/12.5GHz spacing"; + } + enum "1529.21" { + description "1529.21 nm/196.04375 THz 6.25GHz spacing"; + } + enum "1529.16" { + description "1529.16 nm/196.05000 THz 6.25/12.5/50GHz spacing"; + } + enum "1529.11" { + description "1529.11 nm/196.05625 THz 6.25GHz spacing"; + } + enum "1529.07" { + description "1529.07 nm/196.06250 THz 6.25/12.5GHz spacing"; + } + enum "1529.02" { + description "1529.02 nm/196.06875 THz 6.25GHz spacing"; + } + enum "1528.97" { + description "1528.97 nm/196.07500 THz 6.25/12.5GHz spacing"; + } + enum "1528.92" { + description "1528.92 nm/196.08125 THz 6.25GHz spacing"; + } + enum "1528.87" { + description "1528.87 nm/196.08750 THz 6.25/12.5GHz spacing"; + } + enum "1528.82" { + description "1528.82 nm/196.09375 THz 6.25GHz spacing"; + } + enum "1528.77" { + description "1528.77 nm/196.10000 THz 6.25/12.5/50/100GHz spacing"; + } + enum "1528.38" { + description "1528.38 nm/196.15040 THz 50Ghz spacing"; + } + } + } + leaf tx-power { + description "Transmit laser output power"; + units "dBm"; + type string; + } + leaf loopback { + description "Put the optics in loopback mode"; + type empty; + } + leaf los-warning-threshold { + description "LOS warning threshold"; + units "dBm"; + type string; + } + leaf los-alarm-threshold { + description "LOS alarm threshold"; + units "dBm"; + type string; + } + leaf modulation-format { + description "Type of Modulation Format"; + type enumeration { + enum "16qam" { + description "16-QAM Modulation Format"; + } + enum "8qam" { + description "8-QAM MOdulation Format"; + } + enum "qpsk" { + description "QPSK Modulation Format"; + } + } + } + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + leaf encoding { + description "Line encoding"; + type enumeration { + enum "differential" { + description "Differential phase line encoding"; + } + enum "non-differential" { + description "Non-differential phase line encoding"; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "sdfec" { + description "Sky-Compatible Soft Decision Forward Error Correction"; + } + enum "sdfec25" { + description "Denali-Compatible Soft Decision Forward Error Correction with 25 percent overhead"; + } + enum "hgfec" { + description "High Gain Forward Error Correction"; + } + enum "sdfec15" { + description "Soft Decision Forward Error Correction with 15 percent overhead"; + } + } + } + leaf high-polarization { + description "High polarization tracking mode"; + type empty; + } + list alarm { + key name; + ordered-by user; + description "Set optic alarms"; + leaf name { + type enumeration { + enum "low-light-alarm" { + description "Enable low light alarm"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + type empty; + } + } + case case_2 { + leaf link-down { + type empty; + } + } + } + } + container tca { + description "Set tca for optic alarms"; + uses apply-advanced; + container tx-power-high-tca { + description "Tx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power high TCA in dBm"; + type string; + } + } + container tx-power-low-tca { + description "Tx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute tx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour tx power low TCA in dBm"; + type string; + } + } + container rx-power-high-tca { + description "Rx power high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power high TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power high TCA in dBm"; + type string; + } + } + container rx-power-low-tca { + description "Rx power low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute rx power low TCA in dBm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour rx power low TCA in dBm"; + type string; + } + } + container temperature-high-tca { + description "Temperature high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute high temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour high temperature TCA in celsius"; + type string; + } + } + container temperature-low-tca { + description "Temperature low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute low temperature TCA in celsius"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour low temperature TCA in celsius"; + type string; + } + } + container carrier-frequency-offset-high-tca { + description "Carrier frequency offset high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset high TCA in MHz"; + type string; + } + } + container carrier-frequency-offset-low-tca { + description "Carrier frequency offset low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency offset low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency offset low TCA in MHz"; + type string; + } + } + container fec-ber { + description "Optics Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the Optics errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the Optics errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container tec-current-high-tca { + description "TEC Current high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current high TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current high TCA in mA"; + type string; + } + } + container tec-current-low-tca { + description "TEC Current low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute TEC Current low TCA in mA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour TEC Current low TCA in mA"; + type string; + } + } + container residual-isi-high-tca { + description "Residual ISI high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI high TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI high TCA in ps/nm"; + type string; + } + } + container residual-isi-low-tca { + description "Residual ISI low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute Residual ISI low TCA in ps/nm"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour Residual ISI low TCA in ps/nm"; + type string; + } + } + container pam-histogram-high-tca { + description "PAM Histogram high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute PAM Histogram high TCA"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour PAM Histogram high TCA"; + type string; + } + } + container snr-low-tca { + description "SNR low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute SNR low TCA in dBm "; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour SNR low TCA in dBm"; + type string; + } + } + container fec-corrected-errors-high-tca { + description "FEC Corrected Error High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC Corrected Errors threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC Corrected-Errs value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container fec-ucorrected-words-high-tca { + description "FEC UCorrected Words High Threshold crossing defect trigger"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the FEC UCorrected Words threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "FEC UCorrected-Words value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + container laser-frequency-error-high-tca { + description "Laser frequency error high TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error high TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error high TCA in MHz"; + type string; + } + } + container laser-frequency-error-low-tca { + description "Laser frequency error low TCA"; + uses apply-advanced; + choice enable-tca-choice { + leaf enable-tca { + description "Enable tca"; + type empty; + } + leaf no-enable-tca { + description "Don't enable tca"; + type empty; + } + } + leaf threshold { + description "Threshold for 15 minute frequency error low TCA in MHz"; + type string; + } + leaf threshold-24hrs { + description "Threshold for 24 hour frequency error low TCA in MHz"; + type string; + } + } + } + list warning { + key name; + ordered-by user; + description "Set optic warnings"; + leaf name { + type enumeration { + enum "low-light-warning" { + description "Enable low light warning"; + } + } + } + uses apply-advanced; + choice actiontype { + case case_1 { + leaf syslog { + description "Set action as syslog"; + type empty; + } + } + case case_2 { + leaf link-down { + description "Set action as link-down"; + type empty; + } + } + } + } + } + container otn-options { + description "Optical Transmission Network interface-specific options"; + uses otn_options_type; + } + container fastether-options { + description "Fast Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf ingress-rate-limit { + description "Ingress rate at port"; + units "megabits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container ieee-802.3ad { + description "IEEE 802.3ad"; + uses apply-advanced; + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + leaf port-priority { + description "Priority of the port (0 ... 65535)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf bundle { + description "Join an aggregated Ethernet interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice type { + case case_1 { + leaf primary { + description "Primary interface for link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup interface for link-protection mode"; + type empty; + } + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + leaf ignore-l3-incompletes { + description "Ignore L3 incomplete errors"; + type empty; + } + } + container aggregated-ether-options { + description "Aggregated Ethernet interface-specific options"; + uses apply-advanced; + choice loopback-choice { + leaf loopback { + description "Enable loopback"; + type empty; + } + leaf no-loopback { + description "Don't enable loopback"; + type empty; + } + } + choice flow-control-choice { + leaf flow-control { + description "Enable flow control"; + type empty; + } + leaf no-flow-control { + description "Don't enable flow control"; + type empty; + } + } + choice source-filtering-choice { + leaf source-filtering { + description "Enable source address filtering"; + type empty; + } + leaf no-source-filtering { + description "Don't enable source address filtering"; + type empty; + } + } + leaf autostate-exclude { + description "Interface will not contribute to IRB state"; + type empty; + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection mode"; + uses apply-advanced; + leaf revertive { + description "Revert back from active backup link to primary, if primary is UP"; + type empty; + } + leaf non-revertive { + description "Do not revert back (default mode) from active backup link to primary, if primary is UP"; + type empty; + } + leaf backup-state { + description "Link protection backup link state"; + default "accept-data"; + type enumeration { + enum "accept-data" { + description "Accept data on receive channel of backup link"; + } + enum "discard-data" { + description "Discard data on receive channel of backup link"; + } + enum "down" { + description "Backup link is marked down"; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + choice fcoe-lag-choice { + leaf fcoe-lag { + description "Enable FIP/FCoE LAG"; + type empty; + } + leaf no-fcoe-lag { + description "Don't enable FIP/FCoE LAG"; + type empty; + } + } + list source-address-filter { + key name; + ordered-by user; + description "Source address filters"; + leaf name { + description "Remote MAC address"; + type jt:mac-addr; + } + } + container configured-flow-control { + presence "enable configured-flow-control"; + description "Enable flow control"; + uses apply-advanced; + leaf rx-buffers { + description "Enable/Disable Rx buffers"; + type enumeration { + enum "on" { + description "Enable Rx buffers"; + } + enum "off" { + description "Disable Rx buffers"; + } + } + } + leaf tx-buffers { + description "Enable/Disable Tx buffers"; + type enumeration { + enum "on" { + description "Enable Tx buffers"; + } + enum "off" { + description "Disable Tx buffers"; + } + } + } + } + container load-balance { + uses aggregate-load-balance; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf minimum-links { + description "Minimum number of aggregated links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + container minimum-bandwidth { + presence "enable minimum-bandwidth"; + description "Minimum bandwidth configured for aggregated bundle"; + uses apply-advanced; + leaf bw-value { + description "Bandwidth value"; + default "1"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bw-unit { + description "Bandwidth unit"; + type enumeration { + enum "bps" { + description "Links are in bits per sec"; + } + enum "kbps" { + description "Links are in kilo bits per sec"; + } + enum "mbps" { + description "Links are in mega bits per sec"; + } + enum "gbps" { + description "Links are in giga bits per sec "; + } + } + } + } + choice redundancy_choice { + case case_1 { + } + case case_2 { + } + } + container rebalance-periodic { + uses apply-advanced; + } + leaf link-speed { + description "Link speed of individual interface that joins the AE"; + type enumeration { + enum "10m" { + description "Links are 10M"; + } + enum "100m" { + description "Links are 100M"; + } + enum "1g" { + description "Links are 1G"; + } + enum "2.5g" { + description "Links are 2.5G"; + } + enum "5g" { + description "Links are 5G"; + } + enum "8g" { + description "Links are 8G"; + } + enum "10g" { + description "Links are 10G"; + } + enum "25g" { + description "Links are 25G"; + } + enum "40g" { + description "Links are 40G"; + } + enum "50g" { + description "Links are 50G"; + } + enum "80g" { + description "Links are 80G"; + } + enum "100g" { + description "Links are 100G"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "mixed" { + description "Links are various speeds"; + } + } + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + leaf local-minimum-links-threshold { + description "Specify threshold for minimum links per VC/VCF member"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf resilient-hash { + description "Turn on resilient-hash"; + type empty; + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + choice mode { + case case_1 { + leaf active { + description "Initiate transmission of LACP packets"; + type empty; + } + } + case case_2 { + leaf passive { + description "Respond to LACP packets"; + type empty; + } + } + } + leaf periodic { + description "Timer interval for periodic transmission of LACP packets"; + type enumeration { + enum "fast" { + description "Receive packets every second"; + } + enum "slow" { + description "Receive packets every 30 seconds"; + } + } + } + container link-protection { + presence "enable link-protection"; + uses apply-advanced; + leaf disable { + description "To turn off LACP link-protection"; + type empty; + } + choice mode { + case case_1 { + leaf revertive { + description "Switch links when better priority link comes up"; + type empty; + } + } + case case_2 { + leaf non-revertive { + description "Do not switch links when better priority link comes up"; + type empty; + } + } + } + container rtg-config { + presence "enable rtg-config"; + description "RTG Feature enable on AE"; + uses apply-advanced; + leaf preempt-cutover-timer { + description "RTG preempt-cutover-timer in seconds"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + leaf system-priority { + description "Priority of the system (0 ... 65535)"; + type string; + } + leaf system-id { + description "Node's System ID, encoded as a MAC address"; + type jt:mac-addr; + } + leaf admin-key { + description "Node's administrative key"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container hold-time { + description "Hold time for link up and link down for AE link members"; + leaf up { + description "Link up hold time for the AE link members"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + } + leaf aggregate-wait-time { + description "Aggregate wait time for the AE"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 1800"; + } + } + } + leaf force-up { + description "Forceup AE interface with LACP"; + type empty; + } + leaf no-peer-loopback-validation { + description "Skip MCLAG peer loop back validation for LACP PDUs on Forceup AE interface"; + type empty; + } + } + list link-protection-sub-group { + key name; + ordered-by user; + description "Link Protection subgroup configuration"; + leaf name { + description "Name of the subgroup"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + choice type { + case case_1 { + leaf primary { + description "Primary subgroup for N:N link-protection mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup subgroup for N:N link-protection mode"; + type empty; + } + } + } + } + container ethernet-switch-profile { + description "Ethernet virtual LAN/media access control-level options"; + uses apply-advanced; + leaf-list tag-protocol-id { + ordered-by user; + description "IEEE 802.1q Tag Protocol Identifier values for VLAN-tagged frames"; + type string; + } + leaf mac-learn-enable { + description "Learn MAC addresses dynamically"; + type empty; + } + } + container mc-ae { + description "Multi-chassis aggregation (MC-AE) network device configuration"; + uses apply-advanced; + leaf mc-ae-id { + description "MC-AE group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf redundancy-group { + description "Redundancy group id"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967294"; + } + } + } + leaf chassis-id { + description "Chassis id of MC-AE network device"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 1"; + } + } + } + leaf mode { + description "Mode of the MC-AE"; + type enumeration { + enum "active-active" { + description "MC-AE in active-active mode"; + } + } + } + leaf status-control { + description "Status of the MC-AE chassis"; + type enumeration { + enum "active" { + description "Chassis is Active"; + } + enum "standby" { + description "Chassis is Standby"; + } + } + } + leaf switchover-mode { + description "Switchover mode"; + type enumeration { + enum "revertive" { + description "Switch mcae node when preferred link comes up"; + } + enum "non-revertive" { + description "Do not switch mcae node when preferred link comes up"; + } + } + } + leaf revert-time { + description "Wait interval before performing switchover"; + default "3"; + units "minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf init-delay-time { + description "Init delay timer for mcae sm for min traffic loss"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf recovery-delay-time { + description "Delay timer for bringing up ICL, ICCP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 6000"; + } + } + } + leaf enhanced-convergence { + description "Optimized convergence time for mcae"; + type empty; + } + container events { + presence "enable events"; + description "MCAE related events"; + uses apply-advanced; + container iccp-peer-down { + presence "enable iccp-peer-down"; + description "Define behavior in the event of ICCP peer down"; + uses apply-advanced; + leaf force-icl-down { + description "Bring down ICL logical interface"; + type empty; + } + leaf prefer-status-control-active { + description "Keep this node up (recommended only on status-control active)"; + type empty; + } + } + } + } + } + container es-options { + description "ES PIC interface-specific options"; + uses apply-advanced; + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container vdsl-options { + description "VDSL interface-specific options"; + uses apply-advanced; + leaf vdsl-profile { + description "VDSL profile"; + type enumeration { + enum "auto" { + description "Auto"; + } + enum "8a" { + description "Profile 8a"; + } + enum "8b" { + description "Profile 8b"; + } + enum "8c" { + description "Profile 8c"; + } + enum "8d" { + description "Profile 8d"; + } + enum "12a" { + description "Profile 12a"; + } + enum "12b" { + description "Profile 12b"; + } + enum "17a" { + description "Profile 17a"; + } + } + } + leaf sra { + description "DSL SRA"; + default "disable"; + type enumeration { + enum "enable" { + description "Enable SRA"; + } + enum "disable" { + description "Disable SRA"; + } + } + } + leaf v43 { + description "DSL V43 tones"; + default "enable"; + type enumeration { + enum "enable" { + description "Enable V43"; + } + enum "disable" { + description "Disable V43"; + } + } + } + leaf sos { + description "Enable SOS"; + type empty; + } + } + container shdsl-options { + description "SHDSL interface-specific options"; + uses apply-advanced; + leaf annex { + description "Type of SHDSL annex"; + default "annex-b"; + type enumeration { + enum "annex-a" { + description "Annex-a PIC"; + } + enum "annex-b" { + description "Annex-b PIC"; + } + enum "annex-f" { + description "Annex-f PIC"; + } + enum "annex-g" { + description "Annex-g PIC"; + } + enum "annex-auto" { + description "Annex-auto PIC"; + } + } + } + leaf line-rate { + description "SHDSL line rate"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container snr-margin { + presence "enable snr-margin"; + description "Signal to noise ratio margin"; + uses apply-advanced; + leaf current { + description "Current signal to noise ratio margin"; + units "dB"; + type string; + } + leaf snext { + description "SNEXT signal to noise ratio margin"; + units "dB"; + type string; + } + } + } + container container-options { + description "Container interface specific options"; + uses apply-advanced; + container container-type { + presence "enable container-type"; + description "Protocol type of the container interface"; + uses apply-advanced; + choice container-type-choice { + case case_1 { + container aps { + description "APS options on the container"; + presence "enable aps"; + uses aps_type; + } + } + } + } + container member-interface-type { + description "Link type of members of container"; + uses apply-advanced; + choice member_interface_type_choice { + case case_1 { + container sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + enum "oc192" { + description "Links are OC-192"; + } + enum "oc768" { + description "Links are OC-768"; + } + enum "mixed" { + description "Links are of different speeds"; + } + } + } + } + } + case case_2 { + container atm { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "oc3" { + description "Links are OC-3"; + } + enum "oc12" { + description "Links are OC-12"; + } + enum "oc48" { + description "Links are OC-48"; + } + } + } + } + } + case case_3 { + container channelized-sonet { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "coc3" { + description "Links are COC-3"; + } + enum "coc12" { + description "Links are COC-12"; + } + enum "coc48" { + description "Links are COC-48"; + } + enum "coc192" { + description "Links are COC-192"; + } + enum "coc768" { + description "Links are COC-768"; + } + } + } + } + } + case case_4 { + container channelized-sdh { + uses apply-advanced; + leaf member-interface-speed { + description "Link speed of members of container"; + type enumeration { + enum "cstm1" { + description "Links are cstm-1"; + } + enum "cstm4" { + description "Links are cstm-4"; + } + enum "cstm16" { + description "Links are cstm-16"; + } + enum "coc64" { + description "Links are cstm-64"; + } + enum "cstm256" { + description "Links are cstm256"; + } + } + } + } + } + } + } + container redundancy { + description "Container interface redundancy options"; + uses apply-advanced; + container hold-time { + description "Hold time for link up and link down"; + leaf up { + description "Link up hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + leaf down { + description "Link down hold time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65534"; + } + } + } + } + } + leaf-list container-list { + ordered-by user; + description "List of container interfaces this member link is associated to"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + choice redundancy-type { + case case_1 { + choice aps-redundancy { + case case_1 { + leaf primary { + description "This member link is primary interface of the container"; + type empty; + } + } + case case_2 { + leaf standby { + description "This member link is standby interface of the container"; + type empty; + } + } + } + } + } + leaf fast-aps { + description "Fast APS switch"; + type empty; + } + leaf allow-configuration-override { + description "Allow physical configuration of member link to override container configuration"; + type empty; + } + } + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf alias { + description "Interface alias"; + type string; + } + leaf enhanced-convergence { + description "Optimize convergence time for L3"; + type empty; + } + leaf proxy-macip-advertisement { + description "Proxy advertisement of type 2 MAC+IP route for EVPN"; + type empty; + } + leaf virtual-gateway-accept-data { + description "Accept packets destined for virtual gateway address"; + type empty; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + leaf global-layer2-domainid { + description "Global Layer-2 Identifier for this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4094"; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container layer2-policer { + description "Layer2 policing for logical interface"; + uses apply-advanced; + choice layer2-input-policer-choice { + case case_1 { + leaf input-policer { + description "Two-color policer for received packets"; + type string; + } + } + case case_2 { + } + case case_3 { + leaf input-three-color { + description "Color-blind three-color policer for received packets"; + type string; + } + } + } + choice layer2-output-policer-choice { + case case_1 { + leaf output-policer { + description "Two-color policer for transmitted packets"; + type string; + } + } + case case_2 { + leaf output-three-color { + description "Three-color policer for transmitted packets"; + type string; + } + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + presence "enable dhcp"; + description "Configure DHCP Client"; + uses apply-advanced; + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf lease-time { + description "Default lease time requested in "; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 6"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server "; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string; + } + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-labels { + description "Protocol family maximum number of labels"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf mac { + description "Configure logical interface MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + } + container no-partition { + description "Use channelizable interface as clear channel"; + leaf interface-type { + description "Interface type"; + type enumeration { + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "cau4" { + description "CAU4 interface"; + } + } + } + } + list partition { + key name; + ordered-by user; + description "Channelized interface partition"; + leaf name { + description "Sublevel interface partition index (for example, 1, 3-4)"; + type string; + } + leaf oc-slice { + description "Range of SONET/SDH slices (for example, 1, 7-9)"; + type string; + } + leaf timeslots { + description "Timeslots [(1..24) for T1, (1..31) for E1]; for example, 1-3,4,9,22-24 (no spaces)"; + type string; + } + leaf interface-type { + description "Sublevel interface type"; + type enumeration { + enum "ds" { + description "DS0 interface"; + } + enum "e1" { + description "E1 interface"; + } + enum "t1" { + description "T1 interface"; + } + enum "at" { + description "ATM interface"; + } + enum "ct1" { + description "Channelized T1 interface"; + } + enum "ce1" { + description "Channelized E1 interface"; + } + enum "t3" { + description "T3 interface"; + } + enum "ct3" { + description "Channelized T3 interface"; + } + enum "e3" { + description "E3 interface"; + } + enum "so" { + description "SONET interface"; + } + enum "coc1" { + description "Channelized OC1 interface"; + } + enum "cau4" { + description "Channelized AU4 interface"; + } + enum "dc" { + description "D channel interface"; + } + enum "bc" { + description "B channel interface"; + } + } + } + } + } + grouping keepalives_type { + uses apply-advanced; + leaf interval { + description "Keepalive period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf up-count { + description "Keepalive received to bring link up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Keepalive missed to bring link down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + } + grouping mac_list { + description "MAC address"; + leaf name { + type jt:mac-addr; + } + uses apply-advanced; + container policer { + description "MAC policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mpls_ifd_options { + uses apply-advanced; + container pop-all-labels { + presence "enable pop-all-labels"; + description "Pop all MPLS labels off incoming packets"; + uses apply-advanced; + leaf-list required-depth { + ordered-by user; + description "Required label depth of packet to pop all labels"; + type enumeration { + enum "all" { + description "Takes effect only in Stoli based FPCs, in all other FPCs equivalent to '[1 2]'"; + } + enum "1" { + description "Required label depth of packet to pop labels"; + } + enum "2" { + description "Required label depth of packet to pop labels"; + } + } + } + } + } + grouping otn_options_type { + uses apply-advanced; + choice laser-enable-choice { + leaf laser-enable { + description "Enable Laser"; + type empty; + } + leaf no-laser-enable { + description "Don't enable Laser"; + type empty; + } + } + choice is-ma-choice { + leaf is-ma { + description "Link is enabled with alarms masked"; + type empty; + } + leaf no-is-ma { + description "Don't link is enabled with alarms masked"; + type empty; + } + } + choice line-loopback-choice { + leaf line-loopback { + description "Enable line loopback"; + type empty; + } + leaf no-line-loopback { + description "Don't enable line loopback"; + type empty; + } + } + choice local-loopback-choice { + leaf local-loopback { + description "Enable local host loopback"; + type empty; + } + leaf no-local-loopback { + description "Don't enable local host loopback"; + type empty; + } + } + choice prbs-choice { + leaf prbs { + description "Enable otn payload prbs"; + type empty; + } + leaf no-prbs { + description "Don't enable otn payload prbs"; + type empty; + } + } + choice odu-ttim-action-enable-choice { + leaf odu-ttim-action-enable { + description "Enable consequent action for ODU TTIM"; + type empty; + } + leaf no-odu-ttim-action-enable { + description "Don't enable consequent action for ODU TTIM"; + type empty; + } + } + choice otu-ttim-action-enable-choice { + leaf otu-ttim-action-enable { + description "Enable consequent action for OTU TTIM"; + type empty; + } + leaf no-otu-ttim-action-enable { + description "Don't enable consequent action for OTU TTIM"; + type empty; + } + } + choice transport-monitoring-choice { + leaf transport-monitoring { + description "Enable transport monitoring"; + type empty; + } + leaf no-transport-monitoring { + description "Don't enable transport monitoring"; + type empty; + } + } + container odu-delay-management { + description "Set odu delay management"; + uses apply-advanced; + choice monitor-end-point-choice { + leaf monitor-end-point { + description "Originate connection monitor end point"; + type empty; + } + leaf no-monitor-end-point { + description "Don't originate connection monitor end point"; + type empty; + } + } + choice start-measurement-choice { + leaf start-measurement { + description "Enable to start a dm measurement"; + type empty; + } + leaf no-start-measurement { + description "Don't enable to start a dm measurement"; + type empty; + } + } + choice bypass-choice { + leaf bypass { + description "Act as tandem passing dm value through node"; + type empty; + } + leaf no-bypass { + description "Don't act as tandem passing dm value through node"; + type empty; + } + } + leaf number-of-frames { + description "Number of consequent frames to declare dm done"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice remote-loop-enable-choice { + leaf remote-loop-enable { + description "Enable remote DM loop on remote end"; + type empty; + } + leaf no-remote-loop-enable { + description "Don't enable remote DM loop on remote end"; + type empty; + } + } + } + container signal-degrade { + description "Signal degrade thresholds"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber threshold for signal degrade clear (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber threshold for signal-degrade (format: xe-n, example: 4.5e-3)"; + type string { + } + } + leaf q-threshold-signal-degrade-clear { + description "Q threshold for signal-degrade clear (e.g. 14.26)"; + units "dB"; + type string; + } + leaf q-threshold-signal-degrade { + description "Q threshold for signal-degrade (e.g. 9.26)"; + units "dB"; + type string; + } + } + container odu-signal-degrade { + description "Signal degrade thresholds for ODU"; + uses apply-advanced; + leaf interval { + description "Time interval"; + default "10"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf ber-threshold-clear { + description "Ber th for sd clear (format: xe-n, example: 4.5e-3)"; + default "1.0e-9"; + type string { + } + } + leaf ber-threshold-signal-degrade { + description "Ber th for sd (format: xe-n, example: 4.5e-3)"; + default "1.0e-6"; + type string { + } + } + } + container preemptive-fast-reroute { + description "Preemptive fast reroute"; + uses apply-advanced; + choice odu-signal-degrade-monitor-enable-choice { + leaf odu-signal-degrade-monitor-enable { + description "Enable ODU signal degrade monitoring"; + type empty; + } + leaf no-odu-signal-degrade-monitor-enable { + description "Don't enable ODU signal degrade monitoring"; + type empty; + } + } + choice odu-backward-frr-enable-choice { + leaf odu-backward-frr-enable { + description "Enable ODU backward frr insertion"; + type empty; + } + leaf no-odu-backward-frr-enable { + description "Don't enable ODU backward frr insertion"; + type empty; + } + } + choice signal-degrade-monitor-enable-choice { + leaf signal-degrade-monitor-enable { + description "Enable signal degrade monitoring"; + type empty; + } + leaf no-signal-degrade-monitor-enable { + description "Don't enable signal degrade monitoring"; + type empty; + } + } + choice backward-frr-enable-choice { + leaf backward-frr-enable { + description "Enable backward frr insertion"; + type empty; + } + leaf no-backward-frr-enable { + description "Don't enable backward frr insertion"; + type empty; + } + } + } + leaf fec { + description "Forward Error Correction mode"; + type enumeration { + enum "none" { + description "GFEC all 0's"; + } + enum "gfec" { + description "GFEC-Generic Forward Error Correction"; + } + enum "efec" { + description "EFEC-Enhanced Forward Error Correction"; + } + enum "gfec-sdfec" { + description "Both gfec and sdfec"; + } + enum "ufec" { + description "UFEC-Ultra Forward Error Correction"; + } + enum "sdfec" { + description "SDFEC-Soft Decision Forward Error Correction"; + } + enum "hgfec" { + description "HGFEC-High Gain Forward Error Correction"; + } + } + } + choice insert-odu-oci-choice { + leaf insert-odu-oci { + description "Force odu open connection indication"; + type empty; + } + leaf no-insert-odu-oci { + description "Don't force odu open connection indication"; + type empty; + } + } + choice insert-odu-lck-choice { + leaf insert-odu-lck { + description "Force odu locked maintenance signal"; + type empty; + } + leaf no-insert-odu-lck { + description "Don't force odu locked maintenance signal"; + type empty; + } + } + leaf rate { + description "Optical Transmission Network mode"; + type enumeration { + enum "pass-thru" { + description "Pass through mode - No OTN framing"; + } + enum "fixed-stuff-bytes" { + description "Fixed Stuff Bytes 11.0957Gbps"; + } + enum "no-fixed-stuff-bytes" { + description "No Fixed Stuff Bytes 11.0491Gbps"; + } + enum "oc192" { + description "OTU2 for OC192 10.7Gbps"; + } + enum "otu3" { + description "OTU3 for 40Gbps"; + } + enum "otu4" { + description "OTU4/OTU4v for 100Gbps-127Gbps"; + } + } + } + container bytes { + description "Set OTN header bytes"; + uses apply-advanced; + leaf transmit-payload-type { + description "Transmit payload type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container tti { + description "Trace Identifier"; + uses apply-advanced; + leaf otu-dapi { + description "OTU Destination Access Point Identifier"; + type string; + } + leaf otu-sapi { + description "OTU Source Access Point Identifier"; + type string; + } + leaf otu-expected-receive-dapi { + description "OTU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf otu-expected-receive-sapi { + description "OTU Expected Receive Source Access Point Identifier"; + type string; + } + leaf odu-dapi { + description "ODU Destination Access Point Identifier"; + type string; + } + leaf odu-sapi { + description "ODU Source Access Point Identifier"; + type string; + } + leaf odu-expected-receive-dapi { + description "ODU Expected Receive Destination Access Point Identifier"; + type string; + } + leaf odu-expected-receive-sapi { + description "ODU Expected Receive Source Access Point Identifier"; + type string; + } + choice otu-dapi-first-byte-nul-choice { + leaf otu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-sapi-first-byte-nul-choice { + leaf otu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-dapi-first-byte-nul-choice { + leaf otu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice otu-expected-receive-sapi-first-byte-nul-choice { + leaf otu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-otu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-dapi-first-byte-nul-choice { + leaf odu-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-sapi-first-byte-nul-choice { + leaf odu-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-dapi-first-byte-nul-choice { + leaf odu-expected-receive-dapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-dapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + choice odu-expected-receive-sapi-first-byte-nul-choice { + leaf odu-expected-receive-sapi-first-byte-nul { + description "Insert all-0s to first byte"; + type empty; + } + leaf no-odu-expected-receive-sapi-first-byte-nul { + description "Don't insert all-0s to first byte"; + type empty; + } + } + } + container trigger { + description "Defect triggers"; + uses apply-advanced; + container oc-los { + description "OC Loss Of Signal defect trigger"; + choice oc_los_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lof { + description "OC Loss Of Frame defect trigger"; + choice oc_lof_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-lom { + description "OC Loss Of Multiframe defect trigger"; + choice oc_lom_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-wavelength-lock { + description "OC Wavelength Lock defect trigger"; + choice oc_wavelength_lock_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container oc-tsf { + description "Oc tsf defect trigger"; + choice oc-tsf-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ais { + description "OTU Alarm Indication Signal defect trigger"; + choice otu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-bdi { + description "OTU Backward Defect Indication defect trigger"; + choice otu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-iae { + description "OTU Incoming Alignment defect trigger"; + choice otu_iae_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-ttim { + description "OTU Trail Trace Identifier Mismatch defect trigger"; + choice otu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-sd { + description "OTU Signal Degrade defect trigger"; + choice otu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-deg { + description "OTU FEC Degrade defect trigger"; + choice otu_fec_deg_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container otu-fec-exe { + description "OTU FEC Excessive Error defect trigger"; + choice otu_fec_exe_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ais { + description "ODU Alarm Indication Signal defect trigger"; + choice odu_ais_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bdi { + description "ODU Backward Defect Indication defect trigger"; + choice odu_bdi_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-iae { + description "Odu iae defect trigger"; + choice odu-iae-choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-bei { + description "Odu backward error indication defect trigger"; + choice odu_bei_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-oci { + description "ODU Open Connection Indication defect trigger"; + choice odu_oci_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-lck { + description "ODU Locked defect trigger"; + choice odu_lck_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-ttim { + description "ODU Trail Trace Identifier Mismatch defect trigger"; + choice odu_ttim_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container odu-sd { + description "ODU Signal Degrade defect trigger"; + choice odu_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container opu-ptim { + description "Payload Type Mismatch defect trigger"; + choice opu_ptm_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before clearing or raising the alarm for defect"; + leaf up { + description "Delay before clearing the alarm when the defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before raising the alarm when the defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + } + container tca { + description "TCA - threshold crossing alerts"; + uses apply-advanced; + container otu-tca-es { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses { + description "OTU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas { + description "OTU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe { + description "OTU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU BBE in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-es-fe { + description "OTU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-ses-fe { + description "OTU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end severely errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container otu-tca-uas-fe { + description "OTU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container otu-tca-bbe-fe { + description "OTU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for OTU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for OTU far-end BBE (BEI) in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es { + description "ODU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses { + description "ODU Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU severely errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas { + description "ODU Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU unavailable seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe { + description "ODU Background Block Error Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU BBE in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container odu-tca-es-fe { + description "ODU far-end Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end errored seconds in 15 minutes"; + default "135"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end errored seconds in 24 hours"; + default "162"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-ses-fe { + description "ODU far-end Severely Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far-end Unavailable Seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end severely errored seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU severely-errored seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container odu-tca-uas-fe { + description "ODU far-end Unavailable Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU far end unavailabe second threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end unavailable seconds in 15 minutes"; + default "90"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 900"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end unavailable seconds in 24 hours"; + default "108"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 86400"; + } + } + } + } + container odu-tca-bbe-fe { + description "ODU far-end Background Block Error (BEI) Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the ODU BBE (BEI) threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for ODU far-end BBE (BEI) in 15 minutes"; + default "800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + leaf threshold-24hrs { + description "TCA threshold for ODU far-end backgrand block error in 24 hours"; + default "960"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 771000000"; + } + } + } + } + container otu-tca-fec-ber { + description "OTU Errored Seconds Threshold crossing defect trigger"; + choice enable-tca-choice { + leaf enable-tca { + description "Enable the OTU errored seconds threshold crossing alert"; + type empty; + } + leaf no-enable-tca { + description "Don't enable the OTU errored seconds threshold crossing alert"; + type empty; + } + } + leaf threshold { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + leaf threshold-24hrs { + description "TCA threshold for BER value in format: xe-n, x is an integer or decimal number, n = 0..9"; + default "10e-3"; + type string { + } + } + } + } + } + grouping ppp_options_type { + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile name"; + type string; + } + container chap { + presence "enable chap"; + description "Challenge Handshake Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-chap-secret { + description "Default CHAP secret to be used when no matching access profile exists"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in CHAP-Challenge and CHAP-Response"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf passive { + description "Handle incoming CHAP requests only"; + type empty; + } + } + container pap { + presence "enable pap"; + description "Password Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-password { + description "Default PAP password used in the absence of matching profile"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in PAP request packet"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf local-password { + description "Password sent in PAP request packet"; + type jt:unreadable; + } + leaf passive { + description "Do not handle PAP authentication requests"; + type empty; + } + } + container compression { + description "Set compression options"; + leaf acfc { + description "Negotiate Address/Control field compression"; + type empty; + } + leaf pfc { + description "Negotiate Protocol field compression"; + type empty; + } + } + leaf lcp-restart-timer { + description "LCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "20 .. 10000"; + } + } + } + leaf ncp-restart-timer { + description "NCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "500 .. 10000"; + } + } + } + leaf no-termination-request { + description "Don't send PPP termination requests"; + type empty; + } + leaf loopback-clear-timer { + description "Loopback clear timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf lcp-max-conf-req { + description "Maximum LCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ncp-max-conf-req { + description "Maximum NCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf on-demand-ip-address { + description "Enable On-Demand IPv4 address allocation and de-allocation"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to dynamic-profile"; + type string { + length "1 .. 63"; + } + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf mtu { + description "The Maximum Transfer Unit size in bytes"; + type string; + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + container local-authentication { + description "Local Authentication Protocol options"; + uses local_auth_type; + } + } + grouping local_auth_type { + description "Local authentication"; + uses apply-advanced; + leaf password { + description "Username password"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf circuit-id { + description "Include circuit-id "; + type empty; + } + leaf remote-id { + description "Include remote-id "; + type empty; + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf delimiter { + description "Delimiter/separator character"; + type string { + length 1; + } + } + } + } + grouping pppoe_options_type { + uses apply-advanced; + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + leaf idle-timeout { + description "Time for which session can be idle (0 = forever)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf access-concentrator { + description "Name of the access concentrator (PPPoE server)"; + type string; + } + leaf service-name { + description "Service to be requested (from PPPoE server)"; + type string; + } + leaf auto-reconnect { + description "Time to reconnect after session terminates (0 = never)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice pppoe-mode { + case case_1 { + leaf server { + description "PPPoE operates in server mode"; + type empty; + } + } + case case_2 { + leaf client { + description "PPPoE operates in client mode"; + type empty; + } + } + } + leaf ppp-max-payload { + description "Specify the value of ppp-max-payload tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1492 .. 9192"; + } + } + } + } + grouping service_set_syslog_object { + uses apply-advanced; + list host { + key name; + ordered-by user; + max-elements 10; + leaf name { + description "Name of host to notify"; + type string { + } + } + uses apply-advanced; + list contents { + key name; + leaf name { + description "Facility type"; + type enumeration { + enum "services" { + description "Adaptive Services PIC"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf log-prefix { + description "Prefix for all logging to this host"; + type string { + } + } + leaf port { + description "UDP port for syslogd on the host"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container class { + description "Syslog messages classes"; + uses apply-advanced; + container session-logs { + presence "enable session-logs"; + description "Allow syslog messages for session events"; + uses apply-advanced; + container open { + presence "enable open"; + description "Allow syslog messages for session open events"; + } + container close { + presence "enable close"; + description "Allow syslog messages for session close events"; + } + } + container packet-logs { + presence "enable packet-logs"; + description "Allow syslog messages for packet related events"; + } + container stateful-firewall-logs { + presence "enable stateful-firewall-logs"; + description "Allow syslog messages for stateful firewall events"; + } + container alg-logs { + presence "enable alg-logs"; + description "Allow syslog messages for ALG events"; + } + container nat-logs { + presence "enable nat-logs"; + description "Allow syslog messages for NAT events"; + uses apply-advanced; + container deterministic-nat-configuration-log { + presence "enable deterministic-nat-configuration-log"; + description "Allow syslog messages for Determinisitic NAT config events"; + } + } + container ids-logs { + presence "enable ids-logs"; + description "Allow syslog messages for IDS events"; + } + container pcp-logs { + presence "enable pcp-logs"; + description "PCP logs"; + container map { + presence "enable map"; + description "Allow syslog messages for PCP"; + } + container debug { + presence "enable debug"; + description "Allow PCP debug syslogs"; + } + } + container ha-logs { + description "Stateful high availability logs"; + uses apply-advanced; + container open-synchronized { + presence "enable open-synchronized"; + description "Allow syslog message for session open events"; + } + container close-synchronized { + presence "enable close-synchronized"; + description "Allow syslog message for session close events"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipv4addr; + } + } + leaf message-rate-limit { + description "Maximum syslog messages per second allowed from this interface. Applies per member if set at aggregate level"; + units "messages per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + } + grouping sonet_options_type { + uses apply-advanced; + leaf vtmapping { + description "VT mapping mode"; + type enumeration { + enum "klm" { + description "KLM mode"; + } + enum "itu-t" { + description "ITU-T mode"; + } + } + } + leaf fcs { + description "Frame checksum"; + type enumeration { + enum "32" { + description "32-bit mode"; + } + enum "16" { + description "16-bit mode"; + } + } + } + leaf path-trace { + description "Path trace string"; + type string; + } + leaf loopback { + description "Loopback mode"; + type enumeration { + enum "local" { + description "Local loopback"; + } + enum "remote" { + description "Remote loopback"; + } + } + } + container trigger { + description "Defect triggers"; + uses apply-advanced; + container lol { + description "LOL defect trigger"; + choice lol_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container pll { + description "PLL defect trigger"; + choice pll_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container lof { + description "LOF defect trigger"; + choice lof_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container los { + description "LOS defect trigger"; + choice los_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ais-l { + description "AIS-L defect trigger"; + choice ais_l_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container rfi-l { + description "RFI-L defect trigger"; + choice rfi_l_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ber-sd { + description "BER-SD defect trigger"; + uses apply-advanced; + choice ber_sd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ber-sf { + description "BER-SF defect trigger"; + uses apply-advanced; + choice ber_sf_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container ais-p { + description "AIS-P defect trigger"; + choice ais_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container lop-p { + description "LOP-P defect trigger"; + choice lop_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container rfi-p { + description "RFI-P defect trigger"; + choice rfi_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container uneq-p { + description "UNEQ-P defect trigger"; + choice uneq_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container plm-p { + description "PLM-P defect trigger"; + choice plm_p_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container locd { + description "LOCD defect trigger (ATM only)"; + choice locd_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + container lcdp { + description "LCD-P defect trigger (Ethernet WAN only)"; + choice lcdp_choices { + case case_1 { + leaf ignore { + description "Ignore the defect"; + type empty; + } + } + case case_2 { + container hold-time { + description "Delay before marking interface up or down for defect"; + leaf up { + description "Delay before marking interface up when defect is absent"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf down { + description "Delay before marking interface down when defect occurs"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + } + } + } + } + container aps { + description "Automatic Protection Switching"; + uses aps_type; + } + choice payload_scrambler_choices { + case case_1 { + container payload-scrambler { + presence "enable payload-scrambler"; + description "Enable payload scrambling"; + choice payload-choice { + } + } + } + case case_2 { + leaf no-payload-scrambler { + description "Do not enable payload scrambling"; + type empty; + } + } + } + choice z0-increment-choice { + leaf z0-increment { + description "Increment Z0 in SDH mode"; + type empty; + } + leaf no-z0-increment { + description "Don't increment Z0 in SDH mode"; + type empty; + } + } + choice loop-timing-choice { + leaf loop-timing { + description "Set loop timing for STM-1"; + type empty; + } + leaf no-loop-timing { + description "Don't set loop timing for STM-1"; + type empty; + } + } + container bytes { + description "Set SONET header bytes"; + uses apply-advanced; + leaf e1-quiet { + description "E1-quiet value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf f1 { + description "F1 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf f2 { + description "F2 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf s1 { + description "S1/Z1 value (stratum clock by convention)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf z3 { + description "Z3 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf z4 { + description "Z4 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf c2 { + description "C2 user value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf rfc-2615 { + description "RFC 2615 compliance"; + type empty; + } + leaf aggregate { + description "Join a SONET aggregate"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container mpls { + description "MPLS options"; + uses mpls_ifd_options; + } + } + grouping vlan_map { + description "IEEE 802.1q Virtual LAN (VLAN) Tag mapping"; + uses apply-advanced; + choice operation_choices { + case case_1 { + leaf push { + description "Push a VLAN tag"; + type empty; + } + } + case case_2 { + leaf swap { + description "Swap a VLAN tag"; + type empty; + } + } + case case_3 { + leaf pop { + description "Pop a VLAN tag"; + type empty; + } + } + case case_4 { + leaf push-push { + description "Push two VLAN tags"; + type empty; + } + } + case case_5 { + leaf swap-push { + description "Swap VLAN tag and push a new VLAN tag"; + type empty; + } + } + case case_6 { + leaf swap-swap { + description "Swap both outer and inner VLAN tags"; + type empty; + } + } + case case_7 { + leaf pop-swap { + description "Pop outer VLAN tag and swap inner VLAN tag"; + type empty; + } + } + case case_8 { + leaf pop-pop { + description "Pop both outer and inner VLAN tags"; + type empty; + } + } + } + leaf tag-protocol-id { + description "IEEE 802.1q Tag Protocol Identifier to rewrite"; + type string { + } + } + leaf inner-tag-protocol-id { + description "IEEE 802.1q Tag Protocol ID to rewrite for inner tag"; + type string; + } + leaf vlan-id { + description "VLAN ID to rewrite"; + type string; + } + leaf inner-vlan-id { + description "VLAN ID to rewrite for inner tag"; + type string; + } + } + grouping vrrp-group { + description "Virtual Router Redundancy Protocol group"; + leaf name { + description "Identifier for VRRP group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + choice address { + case case_1 { + leaf-list virtual-address { + ordered-by user; + description "One or more virtual IPv4 addresses"; + type jt:ipv4addr; + } + } + case case_2 { + leaf-list virtual-inet6-address { + ordered-by user; + description "One or more virtual inet6 addresses"; + type jt:ipv6addr; + } + } + } + leaf virtual-link-local-address { + description "Virtual link-local addresses"; + type jt:ipv6addr; + } + leaf priority { + description "Virtual router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf preferred { + description "Preferred group on subnet"; + type empty; + } + choice advertisement_type { + case case_1 { + leaf advertise-interval { + description "Advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + case case_2 { + leaf fast-interval { + description "Fast advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 40950"; + } + } + } + } + case case_3 { + leaf inet6-advertise-interval { + description "Inet6 advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 40000"; + } + } + } + } + } + choice preempt_type { + case case_1 { + container preempt { + presence "enable preempt"; + description "Allow preemption"; + uses apply-advanced; + leaf hold-time { + description "Preemption hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + } + case case_2 { + leaf no-preempt { + description "Don't allow preemption"; + type empty; + } + } + } + choice accept_type { + case case_1 { + leaf accept-data { + description "Accept packets destined for virtual IP address"; + type empty; + } + } + case case_2 { + leaf no-accept-data { + description "Don't accept packets destined for virtual IP address"; + type empty; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "HMAC-MD5-96"; + } + enum "simple" { + description "Simple password"; + } + } + } + leaf authentication-key { + description "Authentication key"; + type jt:unreadable; + } + container track { + description "Interfaces to track for VRRP group"; + uses apply-advanced; + leaf priority-hold-time { + description "Priority hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface to track in VRRP group"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list bandwidth-threshold { + key name; + description "Track bandwidth of interface"; + leaf name { + description "Interface speed below which priority cost is incurred"; + units "bits per second"; + type string; + } + leaf priority-cost { + description "Value subtracted from priority when bandwidth is below threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + leaf priority-cost { + description "Value to subtract from priority when interface is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + list route { + key "route_address routing-instance"; + ordered-by user; + description "Route to track in VRRP group"; + leaf route_address { + description "Route address"; + type jt:ipprefix-mandatory; + } + leaf routing-instance { + description "Routing instance to which route belongs, or 'default'"; + type string { + } + } + leaf priority-cost { + description "Value to subtract from priority when route is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + } + container vrrp-inherit-from { + description "VRRP group to follow for this VRRP group"; + uses apply-advanced; + leaf active-interface { + description "Interface name of VRRP active group"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf active-group { + description "Identifier for VRRP active group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-logical-systems@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-logical-systems@2019-01-01.yang new file mode 100644 index 00000000..1fd06122 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-logical-systems@2019-01-01.yang @@ -0,0 +1,91913 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-logical-systems { + namespace "http://yang.juniper.net/junos-qfx/conf/logical-systems"; + + prefix jc-logical-systems; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos logical-systems configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses logical-systems-group; + } + augment /jc:configuration/jc:groups { + uses logical-systems-group; + } + grouping logical-systems-group { + list logical-systems { + key name; + description "Logical systems"; + uses juniper-logical-system; + } + } + grouping juniper-logical-system { + description "Logical system configuration"; + leaf name { + description "Logical system name"; + type string { + } + } + uses apply-advanced; + container interfaces { + description "Interface configuration"; + uses apply-advanced; + list interface { + key name; + uses lr_interfaces_type; + } + } + container protocols { + description "Routing protocol configuration"; + uses juniper-protocols; + } + container policy-options { + description "Policy option configuration"; + uses juniper-policy-options; + } + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + uses juniper-routing-instance; + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + container forwarding-options { + description "Configure options to control packet forwarding"; + uses apply-advanced; + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + container sampling { + presence "enable sampling"; + uses apply-advanced; + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_lr_type; + } + } + } + container mpls { + description "Sample MPLS packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_mpls_lr_type; + } + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_lr_inst_type; + } + } + } + container mpls { + description "Sample MPLS packets"; + uses apply-advanced; + container output { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_mpls_lr_inst_type; + } + } + } + } + } + } + } + container system { + description "System parameters"; + uses apply-advanced; + container arp { + description "ARP settings"; + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 240"; + } + } + } + container interfaces { + description "Logical interface on which to specify ARP aging timer"; + uses apply-advanced; + list arp-interface { + key name; + uses arp-interface-type; + } + } + leaf passive-learning { + description "ARP passive learning"; + type empty; + } + leaf purging { + description "ARP purging when link goes down"; + type empty; + } + leaf gratuitous-arp-on-ifup { + description "Gratuitous ARP announcement on interface up"; + type empty; + } + leaf gratuitous-arp-delay { + description "Delay gratuitous ARP request"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf non-subscriber-no-reply { + description "Do not reply to ARP requests from non-subscribers"; + type empty; + } + } + container services { + description "System services"; + uses apply-advanced; + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + } + container processes { + description "Process control"; + uses apply-advanced; + container routing { + presence "enable routing"; + description "Routing process"; + uses apply-advanced; + choice mode { + case case_1 { + leaf force-32-bit { + description "Always use 32-bit mode"; + type empty; + } + } + case case_2 { + leaf force-64-bit { + description "Always use 64-bit mode"; + type empty; + } + } + case case_3 { + leaf auto-64-bit { + description "Ignored; same as force-32-bit"; + type empty; + } + } + } + } + } + } + container access { + description "Network access configuration"; + uses apply-advanced; + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + } + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + container firewall { + description "Define a firewall configuration"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "Protocol family IPv4 for firewall filter"; + uses apply-advanced; + list dialer-filter { + key name; + ordered-by user; + description "Define an IPv4 dialer filter"; + uses inet_dialer_filter; + } + list prefix-action { + key name; + ordered-by user; + description "Define a prefix action"; + uses prefix_action; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + list template { + key name; + ordered-by user; + description "Define an Inet firewall template"; + uses inet_template; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv4 service filters"; + uses inet_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet_fuf; + } + } + container inet6 { + description "Protocol family IPv6 for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an IPv6 firewall filter"; + uses inet6_filter; + } + list service-filter { + key name; + ordered-by user; + description "One or more IPv6 service filters"; + uses inet6_service_filter; + } + list fast-update-filter { + key name; + ordered-by user; + description "One or more fast update filters"; + uses inet6_fuf; + } + list template { + key name; + ordered-by user; + description "Define an Inet6 firewall template"; + uses inet6_template; + } + } + container mpls { + description "Protocol family MPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses mpls_filter; + } + list template { + key name; + ordered-by user; + description "Define an MPLS firewall template"; + uses mpls_template; + } + } + container vpls { + description "Protocol family VPLS for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container evpn { + description "Protocol family EVPN for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses vpls_filter; + } + } + container bridge { + description "Protocol family BRIDGE for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses bridge_filter; + } + } + container ccc { + description "Protocol family CCC for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + uses ccc_filter; + } + } + container any { + description "Protocol-independent filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define a protocol independent filter"; + uses any_filter; + } + list template { + key name; + ordered-by user; + description "Define Protocol independent filter template"; + uses any_template; + } + } + container ethernet-switching { + description "Protocol family Ethernet Switching for firewall filter"; + uses apply-advanced; + list filter { + key name; + ordered-by user; + description "Define an Ethernet Switching firewall filter"; + uses es_filter; + } + list template { + key name; + ordered-by user; + description "Define an ethernet switching firewall template"; + uses es_template; + } + } + } + list policer { + key name; + ordered-by user; + description "Policer template definition"; + uses firewall_policer; + } + list flexible-match { + key name; + ordered-by user; + description "Flexible packet match template definition"; + uses firewall_flexible_match; + } + list tunnel-end-point { + key name; + ordered-by user; + description "Tunnel end-point template definition"; + uses tunnel_end_point; + } + list interface-set { + key name; + ordered-by user; + description "Interface set definition"; + uses interface_set_type; + } + list three-color-policer { + key name; + ordered-by user; + description "Three-color policer"; + uses three-color-policer-type; + } + list filter { + key name; + ordered-by user; + description "Define an IPv4 firewall filter"; + uses inet_filter; + } + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container services { + description "Service PIC daemon configuration"; + uses apply-advanced; + } + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + container switch-options { + description "Options for default routing-instance of type virtual-switch"; + uses juniper-def-rtb-switch-options; + } + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping address-assignment-type { + description "Address assignment configuration"; + uses apply-advanced; + container neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this instance"; + leaf ndra-name { + description "Designated NDRA pool name"; + type string { + length "1 .. 63"; + } + } + } + leaf high-utilization { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + leaf high-utilization-v6 { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization-v6 { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + list pool { + key name; + ordered-by user; + description "Address pool"; + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf active-drain { + description "Notify client of pool active drain mode"; + type empty; + } + leaf hold-down { + description "Place pool in passive drain mode"; + type empty; + } + leaf link { + description "Address pool link name"; + type string { + length "1 .. 63"; + } + } + container family { + presence "enable family"; + description "Address family"; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4"; + uses apply-advanced; + leaf network { + description "Network address"; + type jt:ipv4prefix; + } + list range { + key name; + ordered-by user; + description "Address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + container xauth-attributes { + description "Configure xauth attributes"; + uses apply-advanced; + leaf primary-dns { + description "Specify the primary-dns IP address"; + type jt:ipv4prefix; + } + leaf secondary-dns { + description "Specify the secondary-dns IP address"; + type jt:ipv4prefix; + } + leaf primary-wins { + description "Specify the primary-wins IP address"; + type jt:ipv4prefix; + } + leaf secondary-wins { + description "Specify the secondary-wins IP address"; + type jt:ipv4prefix; + } + } + list host { + key name; + ordered-by user; + description "Hostname for static reservations"; + leaf name { + description "Hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf hardware-address { + description "Hardware address"; + type jt:mac-addr; + } + leaf ip-address { + description "Reserved address"; + type jt:ipv4addr; + } + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv4addr; + } + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6"; + uses apply-advanced; + leaf prefix { + description "IPv6 network prefix"; + type jt:ipv6prefix-mandatory; + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv6addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv6addr; + } + } + } + } + } + } + } + } + grouping any_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object_oam; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf loss-priority { + description "Classify packet to loss-priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping any_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf forwarding-class { + description "Match forwarding class"; + type empty; + } + leaf forwarding-class-except { + description "Do not match forwarding class"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf interface-set { + description "Match interface in set"; + type empty; + } + leaf loss-priority { + description "Match Loss Priority"; + type empty; + } + leaf loss-priority-except { + description "Do not match Loss Priority"; + type empty; + } + leaf packet-length { + description "Match packet length"; + type empty; + } + leaf packet-length-except { + description "Do not match packet length"; + type empty; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping arp-interface-type { + description "Logical interface on which to configure ARP aging timer"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600000"; + } + } + } + } + grouping bridge_filter { + description "Define a BRIDGE firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + leaf-list isid-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + leaf-list isid-priority-code-point-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + leaf-list isid-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + container forwarding-policy { + description "Specify forwarding policy for extended port"; + uses apply-advanced; + leaf uplink-select { + description "Specify port group for uplink selection"; + type string; + } + } + } + } + } + grouping ccc_filter { + description "Define a CCC firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Any counters defined will be interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + leaf-list loss-priority { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + leaf-list learn-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + leaf-list user-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to the specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + } + grouping cflowd_sampling_inet_lr_inst_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping aggregation_type { + uses apply-advanced; + leaf autonomous-system { + description "Aggregate by autonomous system number"; + type empty; + } + leaf protocol-port { + description "Aggregate by protocol and port number"; + type empty; + } + leaf source-prefix { + description "Aggregate by source prefix"; + type empty; + } + leaf destination-prefix { + description "Aggregate by destination prefix"; + type empty; + } + container source-destination-prefix { + presence "enable source-destination-prefix"; + description "Aggregate by source and destination prefix"; + uses apply-advanced; + leaf caida-compliant { + description "Compatible with Caida record format for prefix aggregation (v8)"; + type empty; + } + } + } + grouping cflowd_sampling_inet_lr_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping cflowd_sampling_mpls_lr_inst_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping cflowd_sampling_mpls_lr_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping dhcp-attribute-type { + uses apply-advanced; + container option-match { + description "Match"; + uses apply-advanced; + container option-82 { + uses apply-advanced; + list circuit-id { + key name; + ordered-by user; + description "Circuit ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + list remote-id { + key name; + ordered-by user; + description "Remote ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + } + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf server-identifier { + description "Server Identifier - IP address value"; + type jt:ipv4addr; + } + leaf grace-period { + description "Grace period for leases"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "WINS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf tftp-server { + description "TFTP server IP address advertised to clients"; + type jt:ipv4addr; + } + leaf netbios-node-type { + description "Type of NETBIOS node advertised to clients"; + type enumeration { + enum "b-node" { + description "Broadcast node"; + } + enum "p-node" { + description "Peer-to-peer node"; + } + enum "m-node" { + description "Mixed Node"; + } + enum "h-node" { + description "Hybrid node"; + } + } + } + leaf sip-server-domain-name { + description "SIP server domain name available to clients"; + type string { + } + } + list sip-server-address { + key name; + ordered-by user; + description "SIP Servers list of IPv6 addresses available to the client"; + leaf name { + description "SIP Server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf hex-string { + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_10 { + leaf ipv6-address { + description "IPV6 address value"; + type jt:ipv6addr; + } + } + case case_11 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list hex-string { + ordered-by user; + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + case case_10 { + leaf-list ipv6-address { + ordered-by user; + description "Array of IPv6 address values"; + type jt:ipv6addr; + } + } + } + } + } + } + } + leaf valid-lifetime { + description "Valid lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf exclude-prefix-len { + description "Length of IPv6 prefix to be excluded from delegated prefix"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + leaf t1-renewal-time { + description "T1 renewal time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf t2-rebinding-time { + description "T2 rebinding time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping es_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Match MAC source address"; + uses firewall_mac_addr_object; + } + list destination-mac-address { + key name; + ordered-by user; + description "Match MAC destination address"; + uses firewall_mac_addr_object; + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice l2-encap-type_choice { + case case_1 { + leaf-list l2-encap-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list l2-encap-type-except { + ordered-by user; + type string; + } + } + } + choice vlan_choice { + case case_1 { + leaf-list vlan { + ordered-by user; + description "VLAN name or ID"; + type string; + } + } + case case_2 { + leaf-list vlan-except { + ordered-by user; + description "VLAN name or ID"; + type string; + } + } + } + choice dot1q-tag_choice { + case case_1 { + leaf-list dot1q-tag { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list dot1q-tag-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dot1q-user-priority_choice { + case case_1 { + leaf-list dot1q-user-priority { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dot1q-user-priority-except { + ordered-by user; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string { + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + leaf-list learn-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + leaf-list learn-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + leaf-list user-vlan-id { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + leaf-list user-vlan-1p-priority { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice isid_choice { + case case_1 { + } + case case_2 { + leaf-list isid-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice isid-priority-code-point_choice { + case case_1 { + } + case case_2 { + leaf-list isid-priority-code-point-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice isid-dei_choice { + case case_1 { + } + case case_2 { + leaf-list isid-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + container to-fabric { + description "Match packets going to fabric"; + presence "enable to-fabric"; + uses to_fabric_object; + } + leaf from-fabric { + description "Match packets coming from fabric"; + type empty; + } + choice arp-type_choice { + case case_1 { + leaf-list arp-type { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats) - (Ingress only)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection - (Ingress only)"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip-source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list ip-destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + choice ip-protocol_choice { + case case_1 { + leaf-list ip-protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + leaf-list ip-precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list ip6-source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list ip6-destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + leaf vlan { + description "Name of VLAN - (Ingress only)"; + type string; + } + leaf interface { + description "Switch traffic to the specified interface by-passing switching lookup - (Ingress only)"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping es_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + container ip-version { + description "Define IP version"; + uses apply-advanced; + container ipv4 { + description "Define L3/L4 match items to match IPv4 packets"; + uses apply-advanced; + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf ip-destination-address { + description "Match IP destination address"; + type empty; + } + leaf ip-precedence { + description "Match IP precedence value"; + type empty; + } + leaf ip-protocol { + description "Match IP protocol type"; + type empty; + } + leaf ip-source-address { + description "Match IP source address"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + } + container ipv6 { + description "Define L3/L4 match items to match IPv6 packets"; + uses apply-advanced; + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf ip6-destination-address { + description "Match destination address"; + type empty; + } + leaf ip6-source-address { + description "Match source address"; + type empty; + } + leaf next-header { + description "Match next header protocol type"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf traffic-class { + description " Match Differentiated Services (DiffServ) code point"; + type empty; + } + } + } + leaf arp-type { + description "Match ARP type"; + type empty; + } + leaf destination-mac-address { + description "Match MAC destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf ether-type { + description "Match Ethernet Type"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf ip-destination-address { + description "Match IP destination address"; + type empty; + } + leaf ip-precedence { + description "Match IP precedence value"; + type empty; + } + leaf ip-protocol { + description "Match IP protocol type"; + type empty; + } + leaf ip-source-address { + description "Match IP source address"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf l2-encap-type { + description "Match Ethernet Encapsulation Type"; + type empty; + } + leaf learn-vlan-id { + description "Match Learnt VLAN ID"; + type empty; + } + leaf source-mac-address { + description "Match MAC source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf user-vlan-1p-priority { + description "Match User 802.1p VLAN priority"; + type empty; + } + leaf user-vlan-id { + description "Match User VLAN ID"; + type empty; + } + } + } + grouping firewall_addr6_object { + leaf name { + description "Prefix to match"; + type jt:ipv6prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_addr_object { + leaf name { + description "Prefix to match"; + type jt:ipv4prefix; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping firewall_flexible_match { + description "Define a flexible match"; + leaf name { + description "Flex match template name"; + type string { + } + } + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping firewall_mac_addr_object { + leaf name { + description "MAC address to match"; + type jt:mac-addr-prefix; + } + leaf except { + description "Match MAC address not in this range"; + type empty; + } + } + grouping firewall_policer { + description "Define a policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + leaf logical-bandwidth-policer { + description "Policer uses logical interface bandwidth"; + type empty; + } + choice exceeding { + case case_1 { + container if-exceeding { + presence "enable if-exceeding"; + description "Define rate limits"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-limit { + description "Bandwidth limit"; + units "bits per second"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Bandwidth limit in percentage"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + leaf burst-size-limit { + description "Burst size limit"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + } + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + } + } + grouping firewall_prefix_list { + leaf name { + description "Prefix list to match"; + type string; + } + leaf except { + description "Match addresses not in this prefix list"; + type empty; + } + } + grouping inet6_filter { + description "Define an IPv6 firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + leaf-list destination-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + leaf-list source-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice traffic-class_choice { + case case_1 { + leaf-list traffic-class { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list traffic-class-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice hop-limit_choice { + case case_1 { + leaf-list hop-limit { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list hop-limit-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L3_flexible_mask; + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + leaf-list gre-key-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inet6cnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace packet forwarding "; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf analyzer { + description "Name of analyzer"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf traffic-class { + description "Set traffic-class code point"; + type string; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + container decapsulate { + presence "enable decapsulate"; + description "Terminate a tunnel"; + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "GRE protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + container l2tp { + description "L2TP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list cookie { + ordered-by user; + description "L2TPv3 cookie"; + type string { + length "1 .. 32"; + } + } + choice destination { + case case_1 { + leaf output-interface { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_4 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_5 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_6 { + } + case case_7 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_8 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_9 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_10 { + container next-ip6 { + description "Packets are directed to specified the specified ipv6 address"; + leaf address { + description "Address to route"; + type jt:ipv6prefix; + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + case case_11 { + container next-interface { + presence "enable next-interface"; + description "Packets are to be routed through the specified interface"; + uses apply-advanced; + leaf interface-name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + case case_12 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf no-route { + description "Send ICMPv6 No Route message"; + type empty; + } + } + case case_2 { + leaf administratively-prohibited { + description "Send ICMPv6 Administratively Prohibited message"; + type empty; + } + } + case case_3 { + leaf beyond-scope { + description "Send ICMPv6 Beyond Scope of Source Address message"; + type empty; + } + } + case case_4 { + leaf address-unreachable { + description "Send ICMPv6 Address Unreachable message"; + type empty; + } + } + case case_5 { + leaf port-unreachable { + description "Send ICMPv6 Port Unreachable message"; + type empty; + } + } + case case_6 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + case case_7 { + leaf network-unreachable { + description "Send ICMPv4 Network Unreachable message"; + status deprecated; + type empty; + } + } + case case_8 { + leaf host-unreachable { + description "Send ICMPv4 Host Unreachable message"; + status deprecated; + type empty; + } + } + case case_9 { + leaf protocol-unreachable { + description "Send ICMPv4 Protocol Unreachable message"; + status deprecated; + type empty; + } + } + case case_10 { + leaf source-route-failed { + description "Send ICMPv4 Source Route Failed message"; + status deprecated; + type empty; + } + } + case case_11 { + leaf network-unknown { + description "Send ICMPv4 Network Unknown message"; + status deprecated; + type empty; + } + } + case case_12 { + leaf host-unknown { + description "Send ICMPv4 Host Unknown message"; + status deprecated; + type empty; + } + } + case case_13 { + leaf source-host-isolated { + description "Send ICMPv4 Source Host Isolated message"; + status deprecated; + type empty; + } + } + case case_14 { + leaf network-prohibited { + description "Send ICMPv4 Network Prohibited message"; + status deprecated; + type empty; + } + } + case case_15 { + leaf host-prohibited { + description "Send ICMPv4 Host Prohibited message"; + status deprecated; + type empty; + } + } + case case_16 { + leaf bad-network-tos { + description "Send ICMPv4 Bad Network ToS message"; + status deprecated; + type empty; + } + } + case case_17 { + leaf bad-host-tos { + description "Send ICMPv4 Bad Host ToS message"; + status deprecated; + type empty; + } + } + case case_18 { + leaf precedence-violation { + description "Send ICMPv4 Precedence Violation message"; + status deprecated; + type empty; + } + } + case case_19 { + leaf precedence-cutoff { + description "Send ICMPv4 Precedence Cutoff message"; + status deprecated; + type empty; + } + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping inet6_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "next-header" { + description "Include next header protocol in match set"; + } + enum "payload-protocol" { + description "Include payload protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "traffic-class" { + description "Include traffic-class (DSCP) in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr6_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice next-header_choice { + case case_1 { + container next-header { + description "Match next header protocol type"; + uses match_simple_protocol_value; + } + } + } + choice traffic-class_choice { + case case_1 { + container traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping inet6_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match source address"; + uses firewall_addr6_object; + } + list destination-address { + key name; + ordered-by user; + description "Match destination address"; + uses firewall_addr6_object; + } + list address { + key name; + ordered-by user; + description "Match source or destination address"; + uses firewall_addr6_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice next-header_choice { + case case_1 { + leaf-list next-header { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list next-header-except { + ordered-by user; + type string; + } + } + } + choice payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice extension-header_choice { + case case_1 { + } + case case_2 { + leaf-list extension-header-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Pkt-Trace the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet6_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf destination-address { + description "Match destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-prefix-list { + description "Match destination prefixes in named list"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match ICMP message code"; + type empty; + } + leaf hop-limit { + description "Match Hop Limit"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message code"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf next-header { + description "Match next header protocol type"; + type empty; + } + leaf source-address { + description "Match source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-prefix-list { + description "Match source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf traffic-class { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + } + } + grouping inet_dialer_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf log { + description "Log the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + choice designation { + case case_1 { + leaf note { + description "Interested ISDN packet"; + type empty; + } + } + case case_2 { + leaf ignore { + description "Non-interested ISDN packet"; + type empty; + } + } + } + } + } + } + grouping inet_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice destination-class_choice { + case case_1 { + } + case case_2 { + leaf-list destination-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice source-class_choice { + case case_1 { + } + case case_2 { + leaf-list source-class-except { + ordered-by user; + description "String name"; + type string; + } + } + } + choice interface-group_choice { + case case_1 { + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + choice packet-length_choice { + case case_1 { + leaf-list packet-length { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list packet-length-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice dscp_choice { + case case_1 { + leaf-list dscp { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice precedence_choice { + case case_1 { + leaf-list precedence { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list precedence-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags (in symbolic or hex formats) - (Ingress only)"; + type string { + } + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ttl_choice { + case case_1 { + leaf-list ttl { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list ttl-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + choice icmp-type_choice { + case case_1 { + leaf-list icmp-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + leaf-list icmp-code { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice esp-spi_choice { + case case_1 { + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + leaf source-port-range-optimize { + description "Optimize the source port range"; + type empty; + } + leaf destination-port-range-optimize { + description "Optimize the destination port range"; + type empty; + } + choice rat-type_choice { + case case_1 { + leaf-list rat-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list rat-type-except { + ordered-by user; + type string; + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + choice gre-key_choice { + case case_1 { + } + case case_2 { + leaf-list gre-key-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L3_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice inetcnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf skip-services { + description "Skip the services"; + type empty; + } + leaf service-accounting-deferred { + description "Count the packets for deferred service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Trace the packet"; + type empty; + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + leaf syslog { + description "System log (syslog) information about the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf analyzer { + description "Name of analyzer - (Ingress only)"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf service-filter-hit { + description "Marked when packet processing by the current type of chained filters is done, the packet is directed to the next type of filters"; + type empty; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + container discard { + presence "enable discard"; + description "Discard the packet"; + uses apply-advanced; + leaf accounting { + description "Named discard collector for packet"; + type string; + } + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + case case_4 { + list logical-system { + key logical-system-name; + ordered-by user; + description "Packets are directed to specified logical system"; + max-elements 1; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_5 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + case case_6 { + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + case case_7 { + container next-ip { + description "Packets are directed to specified the specified ipv4 address"; + leaf address { + description "Address to route"; + type jt:ipv4prefix; + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + case case_8 { + container next-interface { + presence "enable next-interface"; + description "Packets are to be routed through the specified interface"; + uses apply-advanced; + leaf interface-name { + description "Interface name"; + type string { + length "1 .. 127"; + } + } + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + } + case case_9 { + leaf ipsec-sa { + description "Use specified IPSec security association"; + type string; + } + } + case case_10 { + } + case case_11 { + container decapsulate { + presence "enable decapsulate"; + description "Terminate a tunnel"; + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "GRE protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_2 { + } + case case_3 { + container mpls-in-udp { + presence "enable mpls-in-udp"; + description "MPLS-in-UDP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + choice destination { + case case_1 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + } + } + } + } + } + case case_4 { + container l2tp { + description "L2TP protocol"; + uses apply-advanced; + leaf-list sample { + ordered-by user; + description "Sample the packet"; + type enumeration { + enum "inet" { + description "IPV4 protocol"; + } + enum "inet6" { + description "IPV6 protocol"; + } + enum "mpls" { + description "MPLS protocol"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement TTL"; + type empty; + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf interface-group { + description "Set the interface group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list cookie { + ordered-by user; + description "L2TPv3 cookie"; + type string { + length "1 .. 32"; + } + } + choice destination { + case case_1 { + leaf output-interface { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + } + } + } + case case_12 { + } + case case_13 { + container reject { + presence "enable reject"; + description "Reject the packet"; + choice style { + case case_1 { + leaf network-unreachable { + description "Send ICMP Network Unreachable message"; + type empty; + } + } + case case_2 { + leaf host-unreachable { + description "Send ICMP Host Unreachable message"; + type empty; + } + } + case case_3 { + leaf protocol-unreachable { + description "Send ICMP Protocol Unreachable message"; + type empty; + } + } + case case_4 { + leaf port-unreachable { + description "Send ICMP Port Unreachable message"; + type empty; + } + } + case case_5 { + leaf fragmentation-needed { + description "Send ICMP Fragmentation Needed message"; + type empty; + } + } + case case_6 { + leaf source-route-failed { + description "Send ICMP Source Route Failed message"; + type empty; + } + } + case case_7 { + leaf network-unknown { + description "Send ICMP Network Unknown message"; + type empty; + } + } + case case_8 { + leaf host-unknown { + description "Send ICMP Host Unknown message"; + type empty; + } + } + case case_9 { + leaf source-host-isolated { + description "Send ICMP Source Host Isolated message"; + type empty; + } + } + case case_10 { + leaf network-prohibited { + description "Send ICMP Network Prohibited message"; + type empty; + } + } + case case_11 { + leaf host-prohibited { + description "Send ICMP Host Prohibited message"; + type empty; + } + } + case case_12 { + leaf bad-network-tos { + description "Send ICMP Bad Network ToS message"; + type empty; + } + } + case case_13 { + leaf bad-host-tos { + description "Send ICMP Bad Host ToS message"; + type empty; + } + } + case case_14 { + leaf administratively-prohibited { + description "Send ICMP Administratively Prohibited message"; + type empty; + } + } + case case_15 { + leaf precedence-violation { + description "Send ICMP Precedence Violation message"; + type empty; + } + } + case case_16 { + leaf precedence-cutoff { + description "Send ICMP Precedence Cutoff message"; + type empty; + } + } + case case_17 { + leaf tcp-reset { + description "Send TCP Reset message"; + type empty; + } + } + } + } + } + case case_14 { + } + } + leaf dscp { + description "Set Differentiated Services (DiffServ) code point"; + type string; + } + leaf prefix-action { + description "Police or count packets using named prefix action"; + type string { + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping inet_fuf { + leaf name { + description "Name of fast update filter"; + type string { + } + } + uses apply-advanced; + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + leaf-list match-order { + ordered-by user; + type enumeration { + enum "protocol" { + description "Include IP protocol in match set"; + } + enum "source-address" { + description "Include source-address in match set"; + } + enum "destination-address" { + description "Include destination-address in match set"; + } + enum "source-port" { + description "Include source-port in match set"; + } + enum "destination-port" { + description "Include destination-port in match set"; + } + enum "dscp" { + description "Include Differentiated Services (DiffServ) code point in match set"; + } + } + } + list term { + key name; + ordered-by user; + description "One or more firewall terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf only-at-create { + description "Add term only when filter is first created."; + type empty; + } + container from { + description "Match criteria"; + uses apply-advanced; + container source-address { + description "Match source IP address"; + uses firewall_addr_simple_object; + } + container destination-address { + description "Match destination IP address"; + uses firewall_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match TCP/UDP source port"; + uses match_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match TCP/UDP destination port"; + uses match_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_simple_dscp_value; + } + } + } + leaf match-terms { + description "Dynamically supplied list of match criteria"; + type string; + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf service-accounting { + description "Count the packets for service accounting"; + type empty; + } + leaf log { + description "Log the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + leaf action-terms { + description "Dynamically supplied list of actions"; + type string; + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + container routing-instance { + description "Packets are directed to specified routing instance"; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + leaf topology { + description "Packets are directed to specified topology"; + type string { + } + } + } + } + } + } + } + } + grouping firewall_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping inet_service_filter { + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Service filter term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses firewall_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses firewall_addr_object; + } + list address { + key name; + ordered-by user; + description "Match IP source or destination address"; + uses firewall_addr_object; + } + list source-prefix-list { + key name; + ordered-by user; + description "Match IP source prefixes in named list"; + uses firewall_prefix_list; + } + list destination-prefix-list { + key name; + ordered-by user; + description "Match IP destination prefixes in named list"; + uses firewall_prefix_list; + } + list prefix-list { + key name; + ordered-by user; + description "Match IP source or destination prefixes in named list"; + uses firewall_prefix_list; + } + choice protocol_choice { + case case_1 { + leaf-list protocol { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list protocol-except { + ordered-by user; + type string; + } + } + } + choice ip-options_choice { + case case_1 { + leaf-list ip-options { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + case case_2 { + leaf-list ip-options-except { + ordered-by user; + type enumeration { + enum "any" { + description "Any IP option"; + } + } + } + } + } + choice source-port_choice { + case case_1 { + leaf-list source-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + leaf-list destination-port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + leaf-list port { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice esp-spi_choice { + case case_1 { + leaf-list esp-spi { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list esp-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf first-fragment { + description "Match if packet is the first fragment"; + type empty; + } + choice fragment-offset_choice { + case case_1 { + leaf-list fragment-offset { + ordered-by user; + description "Range of values"; + type string { + } + } + } + case case_2 { + leaf-list fragment-offset-except { + ordered-by user; + description "Range of values"; + type string { + } + } + } + } + leaf fragment-flags { + description "Match fragment flags"; + type string; + } + leaf tcp-flags { + description "Match TCP flags (in symbolic or hex formats)"; + type string; + } + choice ah-spi_choice { + case case_1 { + } + case case_2 { + leaf-list ah-spi-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice redirect-reason_choice { + case case_1 { + leaf-list redirect-reason { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + case case_2 { + leaf-list redirect-reason-except { + ordered-by user; + type enumeration { + enum "aoc" { + description "Advice of Charge"; + } + enum "aolb" { + description "Advice of Low Balance"; + } + enum "dpi" { + description "Layer7 match required"; + } + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf log { + description "Log the packet"; + type empty; + } + leaf pkt-trace { + description "Pkt-Trace the packet"; + type empty; + } + leaf sample { + description "Sample the packet"; + type empty; + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + choice designation { + case case_1 { + leaf service { + description "Forward packets to service processing"; + type empty; + } + } + case case_2 { + leaf skip { + description "Skip service processing"; + type empty; + } + } + case case_3 { + } + } + } + } + } + grouping inet_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf destination-address { + description "Match IP destination address"; + type empty; + } + leaf destination-port { + description "Match TCP/UDP destination port"; + type empty; + } + leaf destination-port-range-optimize { + description "Optimize the destination port range"; + type empty; + } + leaf destination-prefix-list { + description "Match IP destination prefixes in named list"; + type empty; + } + leaf dscp { + description "Match Differentiated Services (DiffServ) code point"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match flexible range"; + type empty; + } + leaf fragment-flags { + description "Match fragment flags"; + type empty; + } + leaf icmp-code { + description "Match ICMP message code"; + type empty; + } + leaf icmp-type { + description "Match ICMP message type"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf ip-options { + description "Match IP options"; + type empty; + } + leaf is-fragment { + description "Match if packet is a fragment"; + type empty; + } + leaf packet-length { + description "Match packet length"; + type empty; + } + leaf precedence { + description "Match IP precedence value"; + type empty; + } + leaf protocol { + description "Match IP protocol type"; + type empty; + } + leaf rat-type { + description "Match RAT Type"; + type empty; + } + leaf redirect-reason { + description "Match Redirect Reason"; + type empty; + } + leaf source-address { + description "Match IP source address"; + type empty; + } + leaf source-port { + description "Match TCP/UDP source port"; + type empty; + } + leaf source-port-range-optimize { + description "Optimize the source port range"; + type empty; + } + leaf source-prefix-list { + description "Match IP source prefixes in named list"; + type empty; + } + leaf tcp-established { + description "Match packet of an established TCP connection"; + type empty; + } + leaf tcp-flags { + description "Match TCP flags"; + type empty; + } + leaf tcp-initial { + description "Match initial packet of a TCP connection"; + type empty; + } + leaf ttl { + description "Match IP ttl type"; + type empty; + } + } + } + grouping interface_set_type { + leaf name { + description "Interface set name"; + type string { + } + } + uses apply-advanced; + list interface-list { + key name; + ordered-by user; + description "Interface list"; + leaf name { + description "Interface name"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping jdhcp-local-server-type { + uses apply-advanced; + container traceoptions { + description "DHCP local server trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container interface-traceoptions { + description "DHCP local server interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-local-server-type; + } + list pool-match-order { + key name; + ordered-by user; + description "Define order of attribute matching for pool selection"; + leaf name { + description "Match type"; + type enumeration { + enum "external-authority" { + description "External authority handles address selection"; + } + enum "ip-address-first" { + description "IP address used first to select a pool"; + } + enum "option-82" { + description "Option 82 used in matching of pool"; + } + enum "option-82-strict" { + description "Option 82 used in strict matching of pool"; + } + } + } + uses apply-advanced; + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container reconfigure { + description "DHCP reconfigure processing"; + presence "enable reconfigure"; + uses reconfigure-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP local server group"; + uses dhcp-local-server-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-local-server-dual-stack-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and giaddr for passive clients"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCP leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-bulk-leasequery { + description "Allow DHCP bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-local-server-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf on-demand-address-allocation { + description "Allocate addresses on demand"; + type empty; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container reconfigure { + description "DHCP reconfigure processing"; + presence "enable reconfigure"; + uses reconfigure-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcpv6-local-server-type { + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 local server group"; + uses dhcpv6-local-server-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and link-address for passive clients"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container server-duid-type { + description "Define the DUID type to be used as the Server ID. Type supported is DUID-LL"; + uses duid-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCPv6 leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container allow-bulk-leasequery { + description "Allow DHCPv6 bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcpv6-override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + container delay-advertise { + description "Filter options for dhcp-server"; + presence "enable delay-advertise"; + uses dhcpv6-filter-option; + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf multi-address-embedded-option-response { + description "If the client requests multiple addresses place the options in each address"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf top-level-status-code { + description "A top level status code option rather than encapsulated in IA for NoAddrsAvail in Advertise PDUs"; + type empty; + } + leaf always-add-option-dns-server { + description "Add option-23, DNS recursive name server in Advertise and Reply"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv6 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-filter-option { + description "Generic DHCPv6 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between solicit and advertise"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-18 { + presence "enable option-18"; + description "Option 18"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-37 { + presence "enable option-37"; + description "Option 37"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-15 { + presence "enable option-15"; + description "Option 15"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-16 { + presence "enable option-16"; + description "Option 16"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping dhcpv6-reconfigure-type { + description "DHCPv6 reconfigure processing"; + uses apply-advanced; + leaf strict { + description "Only allow packets containing Reconfigure Accept Option"; + type empty; + } + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping duid-type { + uses apply-advanced; + leaf duid_ll { + description "Link Layer Address based DUID "; + type empty; + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-interface-traceoptions-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + container traceoptions { + description "DHCP relay trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container interface-traceoptions { + description "DHCP relay interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-traceoptions-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping jsscd-static-subscribers-type { + uses apply-advanced; + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list group { + key name; + ordered-by user; + description "Static Subscriber Client group configuration"; + uses jsscd-group-type; + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + leaf baseline-stats { + description "Baseline the statistics for static subscribers"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container subscriber-ip-address { + description "Assigned IP address to report externally"; + uses apply-advanced; + leaf address { + description "IPv4 address"; + type jt:ipv4addr; + } + } + container subscriber-ipv6-address { + description "Assigned IPv6 address to report externally"; + uses apply-advanced; + leaf address { + description "IPv6 Address or Prefix"; + type jt:ipv6prefix; + } + } + } + } + grouping jsscd-access-profile-type { + description "Access profile for static subscribers"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + grouping jsscd-authentication-type { + description "Static Subscriber Client authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type jt:unreadable; + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf interface { + description "Include interface name"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + } + } + grouping jsscd-dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile-name { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + grouping jsscd-group-type { + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf upto { + description "Interface up to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + } + grouping jsscd-service-profile-type { + description "Service profile for static subscribers"; + uses apply-advanced; + leaf service-profile-name { + description "Service profile name"; + type string { + length "1 .. 80"; + } + } + } + grouping juniper-bridge-domains { + description "Bridge domains"; + leaf name { + description "Bridge domain name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of bridge domain"; + type string { + } + } + leaf domain-type { + description "Type of bridge domain"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + case case_3 { + leaf-list vlan-id-list { + description "Create bridge-domain for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Create bridge-domain for isid (Valid isid:256..16777214)"; + type string; + } + leaf vlan-id-scope-local { + description "Enable the scope of vlan-id local to avoid transmitting vlan tagged packets"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface name for this bridge domain"; + leaf name { + type string; + } + uses apply-advanced; + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this bridge-domain"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-bridge-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container bridge-options { + description "Bridge domain configuration"; + uses juniper-protocols-bd; + } + container protocols { + presence "enable protocols"; + uses apply-advanced; + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-bd-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-bd-protocols-mld-snooping; + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf isolated-vlan { + description "Isolated VLAN ID for private vlan bridge domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list community-vlans { + description "List of Community VLANs for private vlan bridge domain"; + type jt:vlan-range; + } + } + grouping juniper-bd-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bd-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bridge-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for bridge forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for bridge flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for bridge flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "Dynamic ARP Inspection configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping juniper-def-rtb-switch-options { + description "Bridge option configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + list authentication-whitelist { + key name; + ordered-by user; + description "MAC authentication-whitelist configuration needed to bypass Authentication"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + choice vstp-flooding-option { + } + choice arp-trap-option { + } + choice mstp-flooding-option { + } + choice stp-flooding-option { + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + container auto { + description "Auto derive import and export target community from BGP AS & L2"; + presence "enable auto"; + uses juniper-def-rtb-auto-import-as; + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface for configuring bridge-options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf persistent-learning { + description "Enable persistent MAC learning on this interface"; + type empty; + } + leaf no-mac-notification { + description "Disable mac notification on this interface"; + type empty; + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf interface-shutdown-action { + description "Interface shutdown mode for Storm-Control/Mac-Limit/Mac-Move-limit scenario"; + type enumeration { + enum "soft-shutdown" { + description "Soft-shutdown restricts data-packets while control-packets are still received"; + } + enum "hard-shutdown" { + description "Hard-shutdown restricts all packets, port will not be operational"; + } + } + } + leaf-list remote-vtep-v6-list { + description "Configurate static IPv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + container redundant-trunk-group { + description "Redundant trunk group"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name of Redundant trunk group"; + leaf name { + description "RTG name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf preempt-cutover-timer { + description "Hold timer for primary interface before preempting secondary interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 600"; + } + } + } + leaf description { + description "Text description of the RTG"; + type string { + length "1 .. 127"; + } + } + list interface { + key name; + description "Interfaces that are part of this redundant trunk group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf primary { + description "Set Primary Redundant Trunk Group interface"; + type empty; + } + } + } + } + } + grouping juniper-def-rtb-auto-import-as { + uses apply-advanced; + list import-as { + key name; + description "AS to auto import for a list of VNI ids"; + leaf name { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + uses apply-advanced; + leaf-list vni-list { + description "List of VNI identifiers or all"; + type string; + } + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-policy-options { + uses apply-advanced; + container satellite-policies { + description "Satellite Policy configuration"; + uses satellite-policy-options; + } + list prefix-list { + key name; + ordered-by user; + description "Define a named set of address prefixes"; + leaf name { + description "Prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list-item { + key name; + uses prefix_list_items; + } + leaf apply-path { + description "Apply IP prefixes from a configuration statement"; + type string; + } + } + list route-filter-list { + key name; + ordered-by user; + description "Define a named set of route-filter address prefixes"; + leaf name { + description "Route filter list name"; + type string; + } + uses apply-advanced; + list rf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses route_filter_list_items; + } + } + list source-address-filter-list { + key name; + ordered-by user; + description "Define a named set of source address filter address prefixes"; + leaf name { + description "Source address filter list name"; + type string; + } + uses apply-advanced; + list saf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses source_address_filter_list_items; + } + } + list mac-list { + key name; + ordered-by user; + description "Define a named set of mac addresses"; + leaf name { + description "MAc Address list name"; + type string; + } + uses apply-advanced; + list mac-addr-list-item { + key name; + uses mac_addr_list_items; + } + } + list vsi-policy { + key name; + ordered-by user; + description "Define a named set of VSI policies"; + leaf name { + description "VSI policy name"; + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the VSI policy"; + uses apply-advanced; + list vsi-manager { + key "vsi-manager-id vsi-type vsi-version vsi-instance"; + ordered-by user; + description "VSI manager"; + leaf vsi-manager-id { + description "VSI manager ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-type { + description "VSI type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777216"; + } + } + } + leaf vsi-version { + description "VSI version"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-instance { + description "VSI instance"; + type string; + } + uses apply-advanced; + } + } + container then { + description "Actions to take if 'from' conditions match"; + uses apply-advanced; + leaf filter { + description "Filter name"; + type string; + } + } + } + list policy-statement { + key name; + description "Routing policy"; + leaf name { + description "Name to identify a policy filter"; + type string; + } + uses apply-advanced; + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + choice scope-choice { + case case_1 { + leaf no-walkup { + description "Route filter walk up disable"; + type empty; + } + } + case case_2 { + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + list community { + key name; + description "BGP community information"; + leaf name { + description "Name to identify BGP community"; + type string; + } + uses apply-advanced; + leaf invert-match { + description "Invert the result of the community expression matching"; + type empty; + } + leaf-list members { + ordered-by user; + description "Community members"; + type string; + } + } + list route-distinguisher { + key name; + description "Route-distinguisher information"; + leaf name { + description "Name to identify route-distinguisher"; + type string; + } + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Route distinguisher string in ( *:X ) or ( Y:* ) or (X:Y) format"; + type string; + } + } + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + uses apply-advanced; + leaf path { + description "AS path regular expression"; + type string { + } + } + } + list as-path-group { + key name; + ordered-by user; + description "Group a set of AS paths"; + leaf name { + description "Name to identify AS path group"; + type string; + } + uses apply-advanced; + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + leaf path { + description "AS path regular expression"; + type string { + } + } + } + } + list damping { + key name; + ordered-by user; + description "BGP route flap damping properties"; + leaf name { + description "Name to identify route flap damping parameters"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable damping"; + type empty; + } + } + } + leaf half-life { + description "Decay half-life"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 45"; + } + } + } + leaf reuse { + description "Reuse threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf suppress { + description "Cutoff threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf max-suppress { + description "Maximum hold-down time"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list condition { + key name; + description "Define a route advertisement condition"; + leaf name { + description "Name to identify Condition"; + type string; + } + uses apply-advanced; + choice condition_type { + case case_1 { + } + case case_2 { + container if-route-exists { + presence "enable if-route-exists"; + description "Route exists in a specific routing table"; + uses apply-advanced; + container address-family { + presence "enable address-family"; + description "Indicates the address family of the route to match on"; + uses apply-advanced; + choice address-family { + case case_1 { + container inet { + presence "enable inet"; + description "Route to match corresponds to an inet/inet6 prefix"; + uses apply-advanced; + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + case case_2 { + container ccc { + presence "enable ccc"; + description "Route to match corresponds to a ccc prefix"; + uses apply-advanced; + leaf address { + description "Logical interface used to establish ccc route"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + leaf standby { + description "Indicates if route must be in standby state to be considered a match"; + type empty; + } + leaf peer-unit { + description "Associated LT ifl's peer-unit. Required for LT-based routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + } + } + } + } + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + } + } + list rtf-prefix-list { + key name; + ordered-by user; + description "Define a named set of family route target prefixes"; + leaf name { + description "RTF prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list { + key name; + uses rtf_prefix_list_items; + } + } + list application-maps { + key name; + ordered-by user; + description "Define application maps"; + uses application_map_object; + } + } + grouping application_map_object { + leaf name { + description "Name of application map"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Name of the application"; + leaf name { + description "Name of the application"; + type string { + length "1 .. 63"; + } + } + leaf-list code-points { + ordered-by user; + description "List of code point bit strings"; + type string; + } + } + } + grouping as-path-calc-length-type { + description "Calculated BGP AS_PATH length per BGP rules"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping as-path-unique-count-type { + description "Number of unique BGP ASes excluding confederation ASes"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping community_count_type { + description "Number of BGP communities"; + leaf name { + description "Number of communities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping control_prefix_list_filter_type { + leaf list_name { + description "Name of prefix-list of routes to match"; + type string; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_prefix_list_type { + leaf name { + description "Name of prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_list_type { + leaf name { + description "Name of route-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_rtf_prefix_list_type { + description "RTF prefix list"; + leaf name { + description "Name of rtf-prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_list_type { + leaf name { + description "Name of source-address-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping juniper-protocols { + uses apply-advanced; + container overlay { + description "Overlay protocol"; + uses juniper-protocols-overlayd; + } + container l2iw { + presence "enable l2iw"; + description "Configuration for Layer 2 interworking"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container igmp { + presence "enable igmp"; + description "IGMP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IGMP on this interface"; + type empty; + } + } + } + leaf version { + description "Set IGMP version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv4addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv4addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf promiscuous-mode { + description "Accept igmp messages coming from different subnet"; + type empty; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving IGMP messages"; + leaf allow-receive { + description "Allow receiving IGMP messages"; + type empty; + } + leaf send-general-query { + description "Send IGMP general query messages"; + type empty; + } + leaf send-group-query { + description "Send IGMP group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed IGMP interface"; + type empty; + } + } + container amt { + description "Automatic Multicast Tunnel options for IGMP"; + uses apply-advanced; + container relay { + description "AMT relay options for IGMP"; + uses apply-advanced; + container defaults { + presence "enable defaults"; + description "Default AMT relay options for IGMP"; + uses apply-advanced; + leaf version { + description "Set IGMP version number on AMT interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + } + } + } + } + container mld { + presence "enable mld"; + description "MLD options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MLD on this interface"; + type empty; + } + } + } + leaf version { + description "Set mld version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 2"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv6addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv6addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for ssm translation of mld v1 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming mld report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of group-limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving mld messages"; + leaf allow-receive { + description "Allow receiving mld messages"; + type empty; + } + leaf send-general-query { + description "Send mld general query messages"; + type empty; + } + leaf send-group-query { + description "Send mld group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed MLD interface"; + type empty; + } + } + } + container amt { + description "AMT configuration"; + uses juniper-protocols-amt; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container router-advertisement { + description "IPv6 router advertisement options"; + uses apply-advanced; + container traceoptions { + description "Trace options for router advertisement"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router advertisement"; + leaf name { + type string; + } + uses apply-advanced; + leaf preference { + description "Set the Preference for Router Selection"; + type enumeration { + enum "medium" { + description "Medium / (Default)"; + } + enum "high" { + description "High"; + } + enum "low" { + description "Low"; + } + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + choice link-mtu-choice { + leaf link-mtu { + description "Link MTU"; + type empty; + } + leaf no-link-mtu { + description "Don't link MTU"; + type empty; + } + } + leaf solicit-router-advertisement-unicast { + description "Enbale solicited router advertisement as unicast"; + type empty; + } + leaf reachable-time { + description "Reachable time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600000"; + } + } + } + leaf retransmit-timer { + description "Retransmit timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf virtual-router-only { + description "Send advertisemnets only for vrrp-inet6-group"; + type empty; + } + leaf current-hop-limit { + description "Current hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf default-lifetime { + description "Router lifetime"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9000"; + } + } + } + list dns-server-address { + key name; + ordered-by user; + description "Recursive DNS address configuration"; + max-elements 3; + leaf name { + description "DNS address to be advertised"; + type string; + } + uses apply-advanced; + leaf lifetime { + description "DNS address lifetime"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + list prefix { + key name; + ordered-by user; + description "Prefix configuration"; + leaf name { + description "Prefix to be advertised"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf valid-lifetime { + description "Valid lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice on-link-choice { + leaf on-link { + description "Set on-link flag"; + type empty; + } + leaf no-on-link { + description "Don't set on-link flag"; + type empty; + } + } + leaf preferred-lifetime { + description "Preferred lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice autonomous-choice { + leaf autonomous { + description "Set autonomous flag"; + type empty; + } + leaf no-autonomous { + description "Don't set autonomous flag"; + type empty; + } + } + } + } + container ra-secure { + description "Protect box against rogue incoming RA messages"; + uses apply-advanced; + } + } + container sap { + presence "enable sap"; + description "Session Advertisement Protocol options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SAP"; + type empty; + } + } + } + list listen { + key name; + ordered-by user; + description "Address for SAP and SDP to listen on"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "Port to listen for session advertisements"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container rsvp { + description "RSVP options"; + uses juniper-protocols-rsvp; + } + container mpls { + description "Multiprotocol Label Switching options"; + uses juniper-protocols-mpls; + } + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container dvmrp { + presence "enable dvmrp"; + description "DVMRP options"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for DVMRP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "poison" { + description "Trace poison-route-reverse packets"; + } + enum "packets" { + description "Trace all DVMRP packets"; + } + enum "probe" { + description "Trace probe packets"; + } + enum "report" { + description "Trace DVMRP route report packets"; + } + enum "neighbor" { + description "Trace neighbor probe packets"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "graft" { + description "Trace graft messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + list interface { + key name; + ordered-by user; + description "DVMRP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "forwarding" { + description "Use DVMRP for multicast forwarding"; + } + enum "unicast-routing" { + description "Use DVMRP for unicast routing only"; + } + } + } + leaf metric { + description "DVMRP metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf hold-time { + description "When neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container isis { + description "IS-IS options"; + uses juniper-protocols-isis; + } + container esis { + description "End system-intermediate system options"; + uses juniper-protocols-esis; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPFv3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container ldp { + description "LDP options"; + uses juniper-protocols-ldp; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container connections { + description "Circuit cross-connect configuration"; + uses apply-advanced; + list interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between interfaces"; + leaf name { + description "Name of interface switch"; + type string { + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to be switched"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + list remote-interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between a local and a remote interface"; + leaf name { + description "Name of remote interface switch"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Local interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list lsp-switch { + key name; + ordered-by user; + description "Unidirectional switch between two label-switched paths"; + leaf name { + description "Name of label-switched path switch"; + type string { + } + } + uses apply-advanced; + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list p2mp-transmit-switch { + key name; + ordered-by user; + description "Local interface to point-to-multipoint LSP switch"; + leaf name { + description "Point-to-multipoint switch name on which to transmit"; + type string { + } + } + uses apply-advanced; + leaf input-interface { + description "Input interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-p2mp-lsp { + description "Point-to-multipoint LSP name on which to transmit"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 16; + } + } + list p2mp-receive-switch { + key name; + ordered-by user; + description "Point-to-multipoint LSP to local interfaces switch"; + leaf name { + description "Point-to-multipoint switch name on which to receive"; + type string { + } + } + uses apply-advanced; + leaf receive-p2mp-lsp { + description "Point-to-multipoint LSP name on which to receive"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Next outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container vrrp { + description "VRRP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for VRRP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database"; + } + enum "general" { + description "Trace general events"; + } + enum "interfaces" { + description "Trace interface messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "packets" { + description "Trace packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer events"; + } + enum "ppm" { + description "VRRP PPM related messages"; + } + enum "all" { + description "Trace all events"; + } + } + } + } + } + leaf failover-delay { + description "Additional failover delay timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 100000"; + } + } + } + leaf startup-silent-period { + description "Period for ignoring master down timer at device startup"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000"; + } + } + } + leaf asymmetric-hold-time { + description "Priority hold time asymmetric behaviour"; + type empty; + } + leaf skew-timer-disable { + description "Disable the skew timer"; + type empty; + } + leaf global-advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf inherit-advertisement-interval { + description "Advertisement interval for inherit sessions"; + default "120"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 120"; + } + } + } + leaf version-3 { + description "VRRPv3 conformance"; + type empty; + } + } + container l2circuit { + description "Configuration for Layer 2 circuits over MPLS"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 circuit topology changes"; + } + enum "fec" { + description "Trace Layer 2 circuit VC FEC advertisements"; + } + enum "connections" { + description "Trace Layer 2 circuit connections"; + } + enum "oam" { + description "Trace Layer 2 circuit OAM messages"; + } + enum "egress-protection" { + description "Trace Layer 2 circuit egress protection messages"; + } + enum "auto-sensing" { + description "Trace Layer 2 circuit PW auto-sensing"; + } + enum "sdb" { + description "Trace SDB"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "List of Layer 2 circuits to this neighbor"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf send-oam { + description "Turn on sending of l2ckt ping"; + type empty; + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + choice control-word-choice { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + leaf no-control-word { + description "Don't add control word to the Layer 2 encapsulation"; + type empty; + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + leaf no-revert { + description "Don't revert to primary-interface"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Layer 2 circuit switchover delay"; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + container egress-protection { + description "Egress protection for Layer 2 circuit"; + uses apply-advanced; + choice protection-type { + case case_1 { + leaf protector-interface { + description "Name of the protector interface for local protection"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + container protector-pe { + description "Address of the protector PE"; + leaf address { + description "Address of the protector PE"; + type jt:ipv4addr; + } + leaf context-identifier { + description "Identifier of the context used for this protection"; + type jt:ipv4addr; + } + leaf lsp { + description "Name of the label-switched path used for the protection"; + type string { + } + } + } + } + } + container protected-l2circuit { + description "Primary Layer 2 circuit to be protected"; + leaf l2circuit-name { + description "Name of the protected Layer 2 circuit"; + type string { + } + } + leaf ingress-pe { + description "Ingress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf egress-pe { + description "Egress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf virtual-circuit-id { + description "Identifier of the protected Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container local-switching { + description "Configuration of Layer 2 circuits local switching"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the local Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configuration of Layer 2 circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the neighbor PE"; + type jt:ipv4addr; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Backup Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the backup neighbor PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + container end-interface { + description "Interface name of the other end point"; + uses apply-advanced; + leaf interface { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + } + } + container auto-sensing { + presence "enable auto-sensing"; + description "Configuration of PW auto-sensing"; + uses apply-advanced; + leaf password { + description "Password for authentication with Radius server; 1 to 15 characters long"; + type jt:unreadable; + } + } + } + container evpn { + description "Configuration EVPN default routing instance"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf es-import-oldstyle { + description "Enable noncompliant ES import route-target computation"; + type empty; + } + leaf es-label-oldstyle { + description "Enable noncompliant ESI 24 bit label"; + type empty; + } + leaf mac-history { + description "Number of history entries to be maitained per mac"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + list mac-list { + key name; + description "Configure MAC lists"; + leaf name { + description "List name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf-list mac-address { + description "MAC address"; + type jt:mac-addr; + } + } + container vni-options { + description "Vni options"; + uses juniper-protocols-vni-options; + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf-list extended-vlan-list { + description "List of VLAN identifiers that are to be EVPN extended"; + type jt:vlan-range; + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + leaf default-gateway { + description "Default gateway mode"; + type enumeration { + enum "advertise" { + description "Advertise IRB MACs with default gateway community"; + } + enum "no-gateway-community" { + description "Advertise IRB MACs without default gateway community"; + } + enum "do-not-advertise" { + description "Do not advertise IRB MACs"; + } + } + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf-list extended-vni-list { + description "List of VNI identifiers or all, that are to be EVPN extended"; + type string; + } + container duplicate-mac-detection { + description "Duplicate MAC detection settings"; + uses apply-advanced; + leaf detection-threshold { + description "Number of moves to trigger duplicate MAC detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + leaf detection-window { + description "Time window for detection of duplicate MACs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + leaf auto-recovery-time { + description "Automatically unblock duplicate MACs after a time delay"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 360"; + } + } + } + } + container mac-mobility { + description "MAC mobility settings"; + uses apply-advanced; + leaf no-sequence-numbers { + description "Don't use sequence numbers for MAC mobility"; + type empty; + } + } + leaf no-core-isolation { + description "Disable EVPN Core isolation"; + type empty; + } + } + container link-management { + description "LMP options"; + uses juniper-protocols-lmp; + } + container pgm { + description "PGM options"; + presence "enable pgm"; + status deprecated; + uses juniper-protocols-pgm; + } + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + container traceoptions { + description "Trace options for BFD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "adjacency" { + description "Trace adjacency messages"; + } + enum "event" { + description "Trace all events"; + } + enum "error" { + description "Trace all errors"; + } + enum "rtsock" { + description "Trace all rtscok messages"; + } + enum "packet" { + description "Trace all packets"; + } + enum "ppm-packet" { + description "Trace packet activity by periodic packet management"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer processing"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-packet" { + description "Trace packet activity of NSR"; + } + enum "issu" { + description "Trace ISSU packet activity"; + } + enum "slow-start" { + description "Trace slow-start activity"; + } + enum "session" { + description "Per session activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-issu-timer-negotiation { + description "Disable ISSU timer negotiation"; + type empty; + } + container sbfd { + description "Seamless BFD parameters"; + uses apply-advanced; + leaf-list pool { + description "List of Seamless BFD endpoints"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list local-discriminator { + key name; + ordered-by user; + description "Local discriminator for Seamless BFD responder"; + leaf name { + description "Local discriminator for Seamless BFD responder"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + uses apply-advanced; + leaf minimum-receive-interval { + description "Minimum receive interval for Seamless BFD responder"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 255000"; + } + } + } + } + } + } + container mvpn { + description "BGP-MVPN configuration"; + uses juniper-protocols-mvpn; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container traceoptions { + description "Trace options for soure-packet-routing"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "controller" { + description "Trace controller-related activity"; + } + enum "state" { + description "Trace LSP state-related activity"; + } + enum "route" { + description "Trace route-related activity"; + } + enum "general" { + description "Trace general activity"; + } + enum "interface" { + description "Trace interface-related activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + } + leaf preference { + description "Route preference for SPRING-TE routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf sr-preference-override { + description "SR-preference override for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf sr-preference { + description "SR-preference for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf maximum-segment-list-depth { + description "Maximum segment list depth for SR-TE policies"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container statistics { + presence "enable statistics"; + description "Enable traffic-statistics collection on SR-TE policies"; + uses apply-advanced; + container telemetry { + presence "enable telemetry"; + description "Enable traffic-statistics collection on per-policy basis"; + } + } + list segment-list { + key name; + ordered-by user; + description "Explicit path for SR-TE segments"; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list hop-list { + key name; + ordered-by user; + max-elements 5; + leaf name { + description "Next hop in SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf label { + description "Next label in SR-TE segment-list"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf ip-address { + description "IP address of the hop"; + type jt:ipaddr; + } + } + } + list source-routing-path { + key name; + ordered-by user; + description "Configure a source-routing-path"; + leaf name { + description "Name of the source routing path"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Ip-address of the tunnel end-point"; + type jt:ipaddr; + } + leaf color { + description "Color identifier for the tunnel end-point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-ingress { + description "Disable ingress functionality for this tunnel"; + type empty; + } + leaf binding-sid { + description "Specify the binding-label to enable transit functionality for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf preference { + description "Preference for routes downloaded for this tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric for routes downloaded for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf sr-preference { + description "SR-preference for SPRING-TE routes. Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list primary { + key name; + ordered-by user; + description "Configure a primary segment list for this source-routing-path"; + max-elements 8; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf weight { + description "Specify the balance factor for this segment list in SR-TE tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list secondary { + key name; + ordered-by user; + description "Configure a secondary segment list for this source-routing-path"; + max-elements 1; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + } + } + container neighbor-discovery { + presence "enable neighbor-discovery"; + description "IPv6 neighbor discovery"; + uses apply-advanced; + container ndp-proxy { + description "Configure NDP PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + container dad-proxy { + description "Configure DAD PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + container secure { + description "SEND process configuration"; + uses apply-advanced; + container security-level { + presence "enable security-level"; + description "Security level"; + uses apply-advanced; + choice security-level-name { + case case_1 { + leaf default { + description "Default level"; + type empty; + } + } + case case_2 { + leaf secure-messages-only { + description "Allow only secure messages"; + type empty; + } + } + } + } + container cryptographic-address { + presence "enable cryptographic-address"; + description "Cryptographic address configuration"; + uses apply-advanced; + leaf key-length { + description "RSA key length in bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 2048"; + } + } + } + leaf key-pair { + description "Pathname of RSA key file"; + type string; + } + } + container timestamp { + presence "enable timestamp"; + description "Timestamp option configuration"; + uses apply-advanced; + leaf new-peer-window { + description "New peer window (delta)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf known-peer-window { + description "Known peer window (fuzz)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf clock-drift { + description "Clock drift"; + type jt:unsigned-float; + } + } + container traceoptions { + description "Trace options for SEND"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cryptographic-address" { + description "Trace Cryptographically Generated Address events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "rsa" { + description "Trace RSA events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + container iccp { + description "ICCP options"; + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use by default for all peers"; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with peers"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf authentication-key { + description "MD5 authentication key for all peers"; + type string { + length "1 .. 126"; + } + } + list peer { + key name; + description "Redundancy Group Configuration"; + max-elements 1; + uses peer-group; + } + container traceoptions { + description "Trace options for ICCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container ilmi { + description "Interim Local Management Interface Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "ILMI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database events"; + } + enum "routing-socket" { + description "Trace Routing socket events"; + } + enum "state" { + description "Trace state change events"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "event" { + description "Trace event handler events"; + } + enum "packet" { + description "Trace packet events"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "LACP trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and packet types to include in the trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "routing-socket" { + description "Routing socket events"; + } + enum "process" { + description "Process events"; + } + enum "startup" { + description "Process startup events"; + } + enum "protocol" { + description "Protocol events"; + } + enum "packet" { + description "LACP packets"; + } + enum "ppm" { + description "LACP PPM messages"; + } + enum "bfd" { + description "LACP BFD events"; + } + enum "mc-ae" { + description "Multi-chassis AE messages"; + } + enum "all" { + description "All events and packets"; + } + } + } + } + } + leaf ppm { + description "Force PPM processing"; + type enumeration { + enum "centralized" { + description "Centralized PPM processing"; + } + } + } + leaf fast-hello-issu { + description "ISSU support for peer lacp configured in fast periodic"; + type empty; + } + } + container oam { + description "Operation, Administration, and Management configuration"; + uses apply-advanced; + container ethernet { + description "OAM configuration for Ethernet"; + uses apply-advanced; + container link-fault-management { + description "802.3ah Ethernet OAM configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for link-fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "action-profile" { + description "Trace action profile invocation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list action-profile { + key name; + ordered-by user; + description "Define an action profile"; + leaf name { + description "Name of action profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container event { + description "Events this action profile will check"; + uses apply-advanced; + leaf link-adjacency-loss { + description "Loss of adjacency with OAM peer"; + type empty; + } + leaf protocol-down { + description "Upper layer indication on protocol down"; + type empty; + } + container link-event-rate { + uses apply-advanced; + leaf symbol-period { + description "Rate of receiving symbol period events"; + units "error(s) per 100 symbol"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-error { + description "Rate of receiving frame error events"; + units "error(s) per 100 milli-second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + leaf frame-period { + description "Rate of receiving frame period events"; + units "error(s) per 100 frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-period-summary { + description "Rate of receiving frame period summary events"; + units "error(s) per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + } + } + container action { + description "Action to take on specified events"; + uses apply-advanced; + leaf syslog { + description "Generate syslog message"; + type empty; + } + leaf link-down { + description "Mark the interface down for transit traffic"; + type empty; + } + leaf send-critical-event { + description "Start sending OAM PDUs with critical event bit set"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface on which to set Ethernet OAM parameters"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list apply-action-profile { + ordered-by user; + description "Apply the specified action profile on the interface"; + type string; + } + leaf pdu-interval { + description "Periodic OAM protocol data unit interval"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "100 .. 1000"; + } + } + } + leaf loopback-tracking { + description "Enable link down on loopback detection"; + type empty; + } + leaf detect-loc { + description "Detects initial lack of adjacency formation"; + type empty; + } + leaf link-discovery { + description "Mode of discovery"; + default "active"; + type enumeration { + enum "active" { + } + enum "passive" { + } + } + } + leaf pdu-threshold { + description "Number of PDUs missed before declaring peer lost"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "3 .. 10"; + } + } + } + leaf remote-loopback { + description "Put remote DTE into remote-loopback mode"; + type empty; + } + container negotiation-options { + description "802.3ah features supported on the interface"; + uses apply-advanced; + leaf no-allow-link-events { + description "Do not emit periodic PDUs detailing framing and symbol errors"; + type empty; + } + leaf allow-remote-loopback { + description "Allow local port to be put into loopback mode"; + type empty; + } + } + container event-thresholds { + description "Thresholds for sending 802.3ah events"; + uses apply-advanced; + leaf symbol-period { + description "Threshold for sending symbol period events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-error { + description "Threshold for sending frame error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period { + description "Threshold for sending frame period error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period-summary { + description "Threshold for sending frame period summary error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + } + } + } + container connectivity-fault-management { + description "Configurations related to 802.1ag ethernet oam"; + uses apply-advanced; + leaf no-aggregate-delegate-processing { + description "Do not distribute aggregate session to pfe"; + type empty; + } + leaf enhanced-cfm-mode { + description "Enables Enhanced CFM Mode"; + type empty; + } + container traceoptions { + description "Trace options for connectivity fault management"; + presence "enable traceoptions"; + uses cfm-traceoptions; + } + list action-profile { + key name; + ordered-by user; + description "Action profiles to use when one or more remote maintenance association endpoints are down"; + leaf name { + description "Name of action profile"; + type string; + } + uses apply-advanced; + container event { + description "Events that need to be monitored"; + uses apply-advanced; + leaf-list interface-status-tlv { + ordered-by user; + description "Values that need to be monitored in interface status TLV"; + type enumeration { + enum "down" { + description "Interface is administratively down"; + } + enum "lower-layer-down" { + description "Interface is physically down"; + } + } + } + leaf-list port-status-tlv { + ordered-by user; + description "Values that need to be monitored in port status TLV"; + type enumeration { + enum "blocked" { + description "Port is blocked"; + } + } + } + leaf adjacency-loss { + description "Connectivity is lost"; + type empty; + } + leaf rdi { + description "RDI received from some MEP"; + type empty; + } + leaf connection-protection-tlv { + description "Values that need to be monitored in connection protection TLV"; + type enumeration { + enum "using-working-path" { + description "Service traffic is using working path"; + } + enum "using-protection-path" { + description "Service traffic is using protection path"; + } + } + } + } + container action { + uses apply-advanced; + leaf interface-down { + description "Mark the interface as down"; + type empty; + } + leaf revertive-interface-down { + description "Wait for CC loss-threshold to bring back the interface up"; + type empty; + } + leaf non-revertive-interface-down { + description "Interface will not be brought up when CC is received"; + type empty; + } + leaf propagate-remote-mac-flush { + description "Remote mac-flush"; + type empty; + } + leaf interface-group-down { + description "Mark the interface group as down"; + type empty; + } + container log-and-generate-ais { + uses apply-advanced; + leaf-list level { + description "Server maintenance domain levels range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + leaf interval { + description "Interval between AIS messages"; + default "1s"; + type enumeration { + enum "1s" { + } + enum "1m" { + } + } + } + leaf priority { + description "802.1p priority of AIS packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container clear-action { + uses apply-advanced; + container interface-down { + description "Mark the interface as down"; + leaf peer-interface { + description "Mark the interface as down"; + type empty; + } + } + leaf propagate-remote-mac-flush { + description "Remote mac flush"; + type empty; + } + } + container default-actions { + description "Action that needs to be taken"; + uses apply-advanced; + leaf interface-down { + description "Bring the interface down"; + type empty; + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for all sessions"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + container linktrace { + presence "enable linktrace"; + description "Linktrace protocol global options"; + uses apply-advanced; + leaf path-database-size { + description "Number of linktrace reply entries to be stored per linktrace request"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf age { + description "Time after which a stale request-response entry is deleted"; + default "10m"; + type enumeration { + enum "10s" { + } + enum "30s" { + } + enum "1m" { + } + enum "10m" { + } + enum "30m" { + } + } + } + } + list maintenance-domain { + key name; + ordered-by user; + description "Maintenance domain configuration"; + leaf name { + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + description "Bridge-domain information for the default maintenance domain"; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + list vlan { + key name; + ordered-by user; + description "VLAN information for the default maintenance domain"; + leaf name { + description "VLAN name"; + type string; + } + } + list virtual-switch { + key name; + ordered-by user; + description "Virtual switch Bridge-domain information for the default maintenance domain"; + leaf name { + description "Routing instance of type virtual switch"; + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + } + list instance { + key name; + ordered-by user; + description "VPLS instance name for the default maintenance domain"; + leaf name { + description "VPLS routing instance name"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Name of interface for the default maintenance domain"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf level { + description "Level value for maintenance domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 7"; + } + } + } + leaf name-format { + description "Format of maintenance domain name"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "none"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + } + } + list maintenance-association { + key name; + ordered-by user; + description "Maintenance association configuration"; + leaf name { + description "Name of maintenance association in IEEE compliant format"; + type string { + length "1 .. 45"; + } + } + uses apply-advanced; + leaf debug-session { + description "Debug the CFM session"; + type empty; + } + leaf short-name-format { + description "Format of Maintenance Association Name"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf primary-vid { + description "VLAN id"; + type string; + } + container continuity-check { + presence "enable continuity-check"; + description "Continuity check configuration"; + uses apply-advanced; + leaf interval { + description "Interval between continuity-check messages"; + default "1m"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + enum "3.3ms" { + } + } + } + leaf loss-threshold { + description "Number of continuity-check messages lost before marking endpoint as down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf hold-interval { + description "Time before flushing MEP database if no updates occur"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30240"; + } + } + } + leaf port-status-tlv { + description "Include port status TLV in CCM"; + type empty; + } + leaf interface-status-tlv { + description "Include interface status TLV in CCM"; + type empty; + } + leaf connection-protection-tlv { + description "Include connection protection OUI TLV in CCM"; + type empty; + } + leaf convey-loss-threshold { + description "Include Loss Threshold OUI TLV in CCM"; + type empty; + } + leaf interface-status-send-rdi { + description "Send RDI on interface operation status down in CCM"; + type empty; + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "defer"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + enum "defer" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefer"; + } + } + } + list mep { + key name; + ordered-by user; + description "Maintenance association endpoint configuration"; + leaf name { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + container interface { + presence "enable interface"; + description "Name of interface"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf vlan { + description "Trunk port interface VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + choice connection-type { + case case_1 { + leaf working { + description "Monitory the primary path"; + type empty; + } + } + case case_2 { + leaf protect { + description "Monitory the protect path"; + type empty; + } + } + } + } + leaf direction { + description "Direction of maintenance endpoint"; + default "down"; + type enumeration { + enum "up" { + } + enum "down" { + } + } + } + leaf priority { + description "802.1p priority of continuity-check and link-trace packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf auto-discovery { + description "Accept continuity-check messages from all remote MEPs"; + type empty; + } + leaf action-profile { + description "Name of the action profile"; + type string; + } + list remote-mep { + key name; + ordered-by user; + description "Remote maintenance association endpoint configuration"; + leaf name { + description "Identifier for remote maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + leaf action-profile { + description "Name of the action profile"; + type string; + } + container interface-group { + presence "enable interface-group"; + description "Mark this interface group down Profile configured with action interface-group-down"; + uses apply-advanced; + leaf interface-device-name { + description "Interface device name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list unit-list { + description "One or more logical interface unit numbers"; + type jt:range; + } + } + list sla-iterator-profile { + key name; + ordered-by user; + description "Name of the iterator profile"; + leaf name { + type string; + } + uses apply-advanced; + leaf iteration-count { + description "Iterations to partake for acquiring SLA measurements"; + units "frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "The vlan pcp value to be sent in the Y.1731 frame"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf data-tlv-size { + description "Size of the data-tlv portion of Y.1731 frame"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1400"; + } + } + } + } + leaf detect-loc { + description "Detects initial loss of connectivity with remote mep"; + type empty; + } + } + leaf lowest-priority-defect { + description "Lowest priority defect that is allowed to generate a fault alarm"; + type enumeration { + enum "all-defects" { + description "Allows all defects"; + } + enum "mac-rem-err-xcon" { + description "Allows only MAC, not receiving CCM, erroneous CCM and cross connect defects"; + } + enum "rem-err-xcon" { + description "Allows only not receiving CCM, erroneous CCM and cross connect CCM defects"; + } + enum "err-xcon" { + description "Allows only erroneous CCM and cross connect CCM defects"; + } + enum "xcon" { + description "Allows only cross connect CCM defect"; + } + enum "no-defect" { + description "Allows no defect"; + } + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for this session"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + } + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + list evcs { + key name; + description "Ethernet virtual circuits configuration"; + leaf name { + description "EVC id"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + container evc-protocol { + description "Signaling protocol to monitor EVC status"; + choice protocol { + case case_1 { + container cfm { + presence "enable cfm"; + description "Connectivity fault management"; + leaf maintenance-domain { + description "Maintenance domain name"; + type string; + } + leaf maintenance-association { + description "Maintenance association name"; + type string; + } + leaf mep { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + } + } + case case_2 { + container vpls { + presence "enable vpls"; + description "Virtual private LAN service (BGP/LDP)"; + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + } + case case_3 { + } + case case_4 { + } + } + } + leaf remote-uni-count { + description "Number of remote UNIs in the EVC"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf multipoint-to-multipoint { + description "Multipoint to Multipoint EVC"; + type empty; + } + } + container lmi { + presence "enable lmi"; + description "Ethernet local management interface configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for ethernet local management interface"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "packet" { + description "Trace events related to packet flow"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + list interface { + key name; + description "Interface options"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf uni-id { + description "UNI identifier"; + type string { + length "1 .. 64"; + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + leaf evc-map-type { + description "CE-VLAN ID/EVC map type"; + default "bundling"; + type enumeration { + enum "all-to-one-bundling" { + description "All to one bundling"; + } + enum "service-multiplexing" { + description "Service multiplexing with no bundling"; + } + enum "bundling" { + description "Bundling with service multiplexing"; + } + } + } + list evc { + key name; + description "EVC configuration"; + leaf name { + description "EVC identifier"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + leaf default-evc { + description "Default EVC"; + type empty; + } + leaf-list vlan-list { + description "Vlans mapped to this EVC"; + type jt:vlan-range; + } + } + } + } + container fnp { + presence "enable fnp"; + description "Failure notification protocol configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for FNP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace protocol events"; + } + enum "pdu" { + description "Trace PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + leaf interval { + description "Interval between FNP messages"; + default "1s"; + type enumeration { + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf loss-threshold { + description "Number of FNP messages lost before clearing FNP state"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "3 .. 255"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf domain-id { + description "Ethernet domain identifier"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + container ptp { + description "Precision Time Protocol v2 options"; + uses apply-advanced; + leaf clock-mode { + description "Clock mode"; + type enumeration { + enum "ordinary" { + description "PTP Ordinary clock"; + } + enum "boundary" { + description "PTP Boundary clock"; + } + } + } + leaf profile-type { + description "PTP profile type"; + type enumeration { + enum "g.8275.1" { + description "G.8275.1 profile type"; + } + enum "g.8275.1.enh" { + description "G.8275.1 Enhanced profile type"; + } + enum "g.8275.2.enh" { + description "G.8275.2 Enhanced profile type"; + } + enum "enterprise-profile" { + description "Enterprise Profile"; + } + enum "smpte" { + description "SMPTE ST-2059-2 Profile, 2015 version"; + } + enum "aes67" { + description "AES67 Profile"; + } + enum "aes67-smpte" { + description "Combined profile with AES67 and SMPTE ST-2059-2"; + } + } + } + leaf e2e-transparent { + description "Enable end-to-end IEEE1588 transparent clock functionality"; + type empty; + } + leaf priority1 { + description "Used in selecting best master clock"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + leaf priority2 { + description "Tie-breaker in selecting best master clock"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + leaf local-priority { + description "Priority assigned to the local clock"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf domain { + description "PTP domain number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 127"; + } + } + } + leaf path-trace { + description "Enable path tracing"; + type empty; + } + leaf unicast-negotiation { + description "Enable unicast negotiation"; + type empty; + } + leaf ipv4-dscp { + description "IPv4 dscp value to be used for PTP packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 63"; + } + } + } + leaf utc-leap-seconds { + description "UTC leap seconds offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + container slave { + description "PTP Slave parameters"; + uses apply-advanced; + leaf frequency-only { + description "Only for frequency syntonization"; + type empty; + } + leaf delay-request { + description "Log mean interval between delay requests"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-7 .. 7"; + } + } + } + leaf announce-timeout { + description "Timeout period for announce messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf grant-duration { + description "Length of grants in seconds requested during unicast-negotiation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1000"; + } + } + } + list interface { + key name; + description "Interface on which to respond to upstream PTP master"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container unicast-mode { + description "Configure upstream unicast PTP master clock sources"; + uses apply-advanced; + leaf transport { + description "Encapsulation for PTP packet transport"; + type enumeration { + enum "ipv4" { + description "Use IPv4 as transport"; + } + enum "ipv6" { + description "Use IPv6 as transport"; + } + } + } + leaf local-priority { + description "Priority assigned to the port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + list clock-source { + key "ip-address local-ip-address"; + description "Configure PTP master parameters"; + leaf ip-address { + description "IP address of PTP master"; + type jt:ipaddr; + } + leaf local-ip-address { + description "Must be IP address on local interface"; + type jt:ipaddr; + } + uses apply-advanced; + leaf asymmetry { + description "Adjust the slave-to-master delay by value specified in nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-100000000 .. 100000000"; + } + } + } + } + } + container multicast-mode { + description "Configure PTP slave clock to use multicast frames"; + uses apply-advanced; + container transport { + description "Encapsulation for PTP packet transport"; + uses apply-advanced; + choice transport-type { + case case_1 { + container ieee-802.3 { + presence "enable ieee-802.3"; + description "PTP over 802.3 frames"; + leaf link-local { + description "Use link local 802.3 MAC address"; + type empty; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Use IP as transport"; + } + } + } + } + leaf local-priority { + description "Priority assigned to the port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf asymmetry { + description "Adjust the slave-to-master delay by value specified in nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-100000000 .. 100000000"; + } + } + } + leaf local-ip-address { + description "IP address on local interface"; + type jt:ipv4addr; + } + } + } + } + container master { + description "PTP Master parameters"; + uses apply-advanced; + leaf announce-interval { + description "Log mean interval between announce messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-3 .. 4"; + } + } + } + leaf sync-interval { + description "Log mean interval between sync messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-7 .. 7"; + } + } + } + list interface { + key name; + description "Interface on which to respond to downstream PTP slaves"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container unicast-mode { + description "Configure downstream PTP clock slaves"; + uses apply-advanced; + leaf transport { + description "Encapsulation for PTP packet transport"; + type enumeration { + enum "ipv4" { + description "Use IPv4 as transport"; + } + enum "ipv6" { + description "Use IPv6 as transport"; + } + } + } + list clock-client { + key "ip-address local-ip-address"; + description "Configure PTP master parameters"; + leaf ip-address { + description "IP address or subnet of remote PTP slave"; + type jt:ipprefix; + } + leaf local-ip-address { + description "IP address of local PTP master interface"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + } + container clock-synchronization { + description "Configuring parameters common to SyncE and PTP"; + uses apply-advanced; + container traceoptions { + description "Configure trace information for PTP and synce"; + presence "enable traceoptions"; + uses clksync-traceoptions; + } + } + container dcbx { + description "DCBX Protocol"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DCBX"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + description "Name of logical interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DCBX"; + type empty; + } + } + } + leaf dcbx-version { + description "Configure DCBX version"; + default "auto-negotiation"; + type enumeration { + enum "auto-negotiation" { + description "Negotiate with peer device (default)"; + } + enum "ieee-dcbx" { + description "IEEE DCBX version"; + } + enum "dcbx-1.01" { + description "DCBX version 1.01"; + } + } + } + container priority-flow-control { + description "Configure priority flow control feature"; + uses apply-advanced; + leaf no-auto-negotiation { + description "Enable PFC manually"; + type empty; + } + } + container enhanced-transmission-selection { + description "Configure enhanced transmission selection feature"; + uses apply-advanced; + leaf no-auto-negotiation { + description "Enable ETS manually"; + type empty; + } + choice recommendation { + case case_1 { + leaf recommendation-tlv { + description "Enables recommendation tlv (default)"; + type empty; + } + } + case case_2 { + leaf no-recommendation-tlv { + description "Disables recommendation tlv"; + type empty; + } + } + } + } + container applications { + description "Configure application feature"; + uses apply-advanced; + leaf no-auto-negotiation { + description "Enable APP manually"; + type empty; + } + } + leaf application-map { + description "Application map to be enabled on the interface"; + type string { + length "1 .. 63"; + } + } + } + } + container dot1x { + description "802.1X options"; + uses juniper-protocols-dot1x; + } + container l2-learning { + description "Layer 2 forwarding configuration"; + uses juniper-protocols-bridge; + } + container lldp { + description "Link Layer Detection Protocol"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for LLDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace configuration events"; + } + enum "configuration" { + description "Log configuration events"; + } + enum "rtsock" { + description "Trace rtsock message events"; + } + enum "packet" { + description "Trace packet information"; + } + enum "protocol" { + description "Trace protocol information"; + } + enum "interface" { + description "Trace interface update events"; + } + enum "vlan" { + description "Trace VLAN update events"; + } + enum "snmp" { + description "Trace SNMP events"; + } + enum "jvision" { + description "Trace Jvision events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf management-address { + description "LLDP management address"; + type jt:ipaddr; + } + leaf advertisement-interval { + description "Transmit interval for LLDP messages"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 32768"; + } + } + } + leaf transmit-delay { + description "Transmit delay time interval for LLDP messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8192"; + } + } + } + leaf hold-multiplier { + description "Hold timer interval for LLDP messages"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf ptopo-configuration-trap-interval { + description "Interval for physical topology configuration change trap"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf ptopo-configuration-maximum-hold-time { + description "Hold time for physical topology connection entries"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf lldp-configuration-notification-interval { + description "Time interval for LLDP notification"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 3600"; + } + } + } + leaf port-id-subtype { + description "Sub-type to be used for Port ID TLV generation"; + default "locally-assigned"; + type enumeration { + enum "locally-assigned" { + description "Locally assigned value (SNMP index of the interface)"; + } + enum "interface-name" { + description "Interface name on which LLDPDU is sent"; + } + } + } + leaf port-description-type { + description "The Interfaces Group MIB object to be used for Port Description TLV generation"; + default "interface-alias"; + type enumeration { + enum "interface-alias" { + description "Use object ifAlias value for TLV generation"; + } + enum "interface-description" { + description "Use object ifDescr value for TLV generation"; + } + } + } + leaf neighbour-port-info-display { + description "Show lldp neighbors to display port-id or port-description "; + type enumeration { + enum "port-id" { + description "Display port-id information of neighbor in port info"; + } + enum "port-description" { + description "Display port description of neighbor in port info"; + } + } + } + leaf vlan-name-tlv-option { + description "Vlan tlv options to transmit vlan name or vlan-id"; + default "vlan-id"; + type enumeration { + enum "vlan-id" { + description "Use vlan-id for tlv"; + } + enum "name" { + description "Use vlan-name for tlv"; + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLVs to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container power-negotiation { + presence "enable power-negotiation"; + description "LLDP power negotiation"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable power negotiation"; + type empty; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + } + } + container lldp-med { + presence "enable lldp-med"; + description "LLDP Media Endpoint Discovery"; + uses apply-advanced; + leaf fast-start { + description "Discovery count for MED"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container location { + presence "enable location"; + uses apply-advanced; + choice location-type { + case case_1 { + container civic-based { + description "Postal address"; + presence "enable civic-based"; + uses civic-address-elements; + } + } + case case_2 { + leaf elin { + description "Emergency line identification (ELIN) string"; + type string; + } + } + case case_3 { + container co-ordinate { + description "Address based on longitude and latitude coordinates"; + presence "enable co-ordinate"; + uses co-ordinate-elements; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select MED TLVs to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter MED TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + container igmp-snooping { + description "IGMP snooping configuration"; + uses juniper-default-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-default-ri-protocols-mld-snooping; + } + container openflow { + description "OpenFlow protocol"; + uses juniper-protocols-openflow; + } + container pcep { + description "Path computation client configuration"; + uses apply-advanced; + leaf message-rate-limit { + description "Messages per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf update-rate-limit { + description "Updates per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf max-provisioned-lsps { + description "Defines max count of externally provisioned LSPs over all conected PCEs (default: 16000)"; + default "16000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32000"; + } + } + } + list pce-group { + key name; + ordered-by user; + description "PCE group definition"; + leaf name { + description "PCE group identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + list pce { + key name; + ordered-by user; + description "Per PCE configuration"; + leaf name { + description "PCE unique identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf local-address { + description "Address of local end of PCEP session"; + type jt:ipv4addr; + } + leaf destination-ipv4-address { + description "IPV4 Address of PCE"; + type jt:ipv4addr; + } + leaf destination-port { + description "Destination TCP port PCE is listening on"; + default "4189"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf delegation-priority { + description "This PCE's priority among configured stateful PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf request-priority { + description "This PCE's priority among configured stateless PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf pce-group { + description "Assign this PCE to defined pce group. PCE will inherit default values from the pce-group"; + type string; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 128"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + container traceoptions { + description "Path Computation Client Daemon trace options"; + uses pccd-traceoptions-type; + } + } + container sflow { + presence "enable sflow"; + description "SFLOW protocol"; + uses apply-advanced; + container traceoptions { + description "Trace options for SFLOW"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace sflow configuration"; + } + enum "rtsock" { + description "Trace rtsock events"; + } + enum "interface" { + description "Trace interface events"; + } + enum "client-server" { + description "Trace sflow client-server events"; + } + enum "all" { + description "Trace all sflow events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container agent-id { + description "Sflow agent id configuration"; + leaf inet { + description "Sflow agent ipv4 address"; + type jt:ipv4addr; + } + leaf inet6 { + description "Sflow agent ipv6 address"; + type jt:ipv6addr; + } + } + leaf polling-interval { + description "Interval between port statistics"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf adaptive-sample-rate { + description "Trigger adaptive sampling"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf inline-sampling { + description "Enable inline sampling of packets"; + type empty; + } + container sample-rate { + description "Sampling rate"; + uses apply-advanced; + leaf ingress { + description "Ingress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf egress { + description "Egress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + container source-ip { + description "Sflow agent id configuration"; + leaf inet { + description "Sflow datagram source ipv4 address"; + type jt:ipv4addr; + } + leaf inet6 { + description "Sflow datagram source ipv6 address"; + type jt:ipv6addr; + } + } + list collector { + key name; + ordered-by user; + description "SFLOW collector configuration"; + max-elements 4; + leaf name { + description "Collector IP v4/v6 address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf udp-port { + description "Collector UDP port"; + default "6343"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list interfaces { + key name; + description "Enable SFLOW on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf polling-interval { + description "Interval between port statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + container sample-rate { + description "Sampling rate"; + uses apply-advanced; + leaf ingress { + description "Ingress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf egress { + description "Egress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + leaf disable-sw-rate-limiter { + description "Disable sw rate limiter"; + type empty; + } + } + container protection-group { + description "Protection group"; + presence "enable protection-group"; + uses juniper-protocols-protection-group; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container layer2-control { + description "Global options for layer 2 protocols"; + uses juniper-protocols-l2control; + } + container rstp { + description "Rapid Spanning Tree Protocol options"; + uses juniper-protocols-stp; + } + container mstp { + description "Multiple Spanning Tree Protocol options"; + uses juniper-protocols-mstp; + } + container vstp { + description "VLAN Spanning Tree Protocol options"; + uses juniper-protocols-vstp; + } + container loop-detect { + presence "enable loop-detect"; + description "Layer2 Loop Detect on interface with non-IP L2 Multicast mac as destination mac"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block Loop Detect PDUs on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable loop detect feature on a port"; + type empty; + } + } + leaf destination-mac { + description "Destination non-IP L2 multicast mac to be used for transmitting Loop Detect PDUs"; + type jt:mac-multicast; + } + leaf transmit-interval { + description "Loop Detect PDU TX interval in sec --default 30s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 3600"; + } + } + } + } + container uplink-failure-detection { + description "Uplink failure detection configuration"; + uses apply-advanced; + container group { + description "Uplink failure detection group"; + uses apply-advanced; + list ufd-group-name { + key name; + description "Uplink failure detection group name"; + uses ufd-group-type; + } + } + container traceoptions { + description "Trace options for uplink failure detection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "interface" { + description "Trace interface notifcation handlers of ufd"; + } + enum "dcd" { + description "Trace ufdd interaction with dcd"; + } + enum "groups" { + description "Trace uplink failure detection group handling"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container action { + description "Define action on ufd group state change"; + uses apply-advanced; + leaf log { + description "Log a message"; + type empty; + } + } + } + container ovsdb { + description "OVSDB protocol"; + uses juniper-protocols-vgd; + } + } + grouping bandwidth-type { + uses apply-advanced; + leaf per-traffic-class-bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf ct0 { + description "Bandwidth from traffic class 0"; + units "bps"; + type string; + } + leaf ct1 { + description "Bandwidth from traffic class 1"; + units "bps"; + type string; + } + leaf ct2 { + description "Bandwidth from traffic class 2"; + units "bps"; + type string; + } + leaf ct3 { + description "Bandwidth from traffic class 3"; + units "bps"; + type string; + } + } + grouping cfm-traceoptions { + description "Trace options for connectivity fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "issu" { + description "Trace ISSU related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping civic-address-elements { + uses apply-advanced; + leaf what { + description "Type of address"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2"; + } + } + } + leaf country-code { + description "Two-letter country code"; + type string { + length 2; + } + } + list ca-type { + key name; + ordered-by user; + leaf name { + description "Address element type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf ca-value { + description "Address element value"; + type string; + } + } + } + grouping clksync-traceoptions { + description "Trace options for syncE and PTP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace daemon start-up related events"; + } + enum "routing-socket" { + description "Trace routing-socket events"; + } + enum "synchronization" { + description "Trace esmc protocol events only"; + } + enum "ptp" { + description "Trace ptp protocol events only"; + } + enum "protocol" { + description "Trace protocol events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "debug" { + description "Trace generic debug events"; + } + enum "ppm" { + description "Trace periodic packet management events"; + } + enum "error" { + description "Trace error events"; + } + enum "hybrid" { + description "Trace hybrid events"; + } + enum "framer" { + description "Trace BITS framer events"; + } + enum "ipc" { + description "Trace IPC messages"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping co-ordinate-elements { + description "Geographical co-ordinates"; + uses apply-advanced; + leaf longitude { + description "Longitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + leaf lattitude { + description "Lattitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + } + grouping juniper-default-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-default-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv1 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-ospf-authentication { + description "Authentication information"; + uses apply-advanced; + choice authentication-type { + case case_1 { + leaf simple-password { + description "Authentication key"; + type jt:unreadable; + } + } + case case_2 { + list md5 { + key name; + ordered-by user; + description "MD5 authentication key"; + leaf name { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf key { + description "MD5 authentication key value"; + type jt:unreadable; + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + } + } + } + } + grouping juniper-protocols-amt { + uses apply-advanced; + container traceoptions { + description "Trace options for AMT"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all AMT packets"; + } + enum "errors" { + description "Trace all error messages"; + } + enum "tunnels" { + description "Trace all AMT tunnel messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container relay { + description "AMT relay"; + presence "enable relay"; + uses juniper-protocols-amt-relay; + } + } + grouping juniper-protocols-amt-relay { + uses apply-advanced; + container family { + presence "enable family"; + description "Protocol family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + leaf anycast-prefix { + description "IPv4 anycast prefix"; + type jt:ipv4prefix; + } + leaf local-address { + description "IPv4 local address"; + type jt:ipv4addr; + } + } + } + leaf secret-key-timeout { + description "Time interval for the secret key to expire"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 1440"; + } + } + } + leaf tunnel-limit { + description "Number of AMT tunnels"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf unicast-stream-limit { + description "Maximum number of AMT unicast streams(s,g,intf)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf accounting { + description "Enable AMT accounting"; + type empty; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating ud interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping juniper-protocols-bd { + description "Bridging configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container traceoptions { + description "Trace options for this bridge domain"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-protocols-bridge { + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 address service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "routing-instance" { + description "Routing instance operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "logical-system" { + description "Logical system operations"; + } + enum "bmac-next-hop" { + description "Backbone Mac Next hop operations "; + } + enum "bridge-bmac-next-hop" { + description "Bmac Next hop bridge operations"; + } + enum "isid" { + description "I-Tagged Service ID"; + } + enum "mc-ae" { + description "Multi-chassis AE"; + } + enum "kack" { + description "Kernel-acknowledgment"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "redundant-trunk-group" { + description "Redundant trunk group"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + container in-memory-debug { + presence "enable in-memory-debug"; + description "Enable trace parameters in the memory"; + } + } + container global-mac-move { + presence "enable global-mac-move"; + description "Enable mac move related options at global level"; + uses apply-advanced; + leaf notification-time { + description "Periodical time interval in secs during which MAC move notification occurs"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-time { + description "Time during which if certain number of MAC moves happen warrant recording"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reopen-time { + description "Time after which a blocked interface is reopened"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-count { + description "Count of MAC moves which warrant recording when happen in certain time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Enable logging for the MAC moves"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + leaf log { + description "Syslog all the MAC moves as stored in the mac-move-buffer"; + type empty; + } + leaf disable-action { + description "Disable mac move action globally"; + type empty; + } + list exclusive-mac { + key name; + ordered-by user; + description "MAC addresses to be excluded in mac-move-limit or in VPLS loop prevention algorithm"; + leaf name { + description "Source MAC address"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + } + } + leaf global-mac-table-aging-time { + description "System level MAC table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf global-mac-ip-table-aging-time { + description "System level MAC+IP table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1000000"; + } + } + } + leaf mclag-arpreq-sync { + description "Enable syncing ARP REQ packets to peer MCLAG PE"; + type empty; + } + container global-mac-limit { + presence "enable global-mac-limit"; + description "System level MAC limit options"; + uses apply-advanced; + leaf mac-limit { + description "System level MAC limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64; + } + } + leaf packet-action { + type enumeration { + enum "drop" { + description "Enable packet-action drop when MAC limit is reached"; + } + } + } + } + container global-mac-ip-limit { + presence "enable global-mac-ip-limit"; + description "System level MAC+IP limit options"; + uses apply-advanced; + leaf mac-ip-limit { + description "System level MAC+IP limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "20 .. 1048575"; + } + } + } + } + leaf global-mac-statistics { + description "Enable MAC address statistics at system level"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VxLAN packets with inner VLAN disabled by default"; + type empty; + } + leaf destination-udp-port { + description "VXLAN destination UDP port"; + default "4789"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4789 .. 65535"; + } + } + } + container disable-vxlan-multicast-transit { + description "VXLAN multicast group configuration"; + uses apply-advanced; + list vxlan-multicast-group { + key name; + ordered-by user; + description "VXLAN multicast group that requires multicast transit disabled"; + leaf name { + description "Disable multicast transit on specified VXLAN multicast group"; + type string; + } + uses apply-advanced; + } + } + leaf global-no-mac-learning { + description "Disable dynamic MAC address learning at system level"; + type empty; + } + leaf global-no-hw-mac-learning { + description "Disable hardware MAC-address learning at system level"; + type empty; + } + leaf global-no-control-mac-aging { + description "Disable control MAC-address aging from software"; + type empty; + } + leaf mclag-arp-nd-sync { + description "Arp and ND entry sync from peer device."; + type empty; + } + leaf no-mclag-ifa-sync { + description "IFA entry disable sync from/to peer device."; + type empty; + } + } + grouping juniper-protocols-dot1x { + uses apply-advanced; + container traceoptions { + description "Trace options for 802.1X"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "dot1x-debug" { + description "Trace dot1x events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "esw-if" { + description "Trace ESW Interactions"; + } + enum "eapol" { + description "Trace EAPOL Transmit/Receive"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "vlan" { + description "Trace VLAN transactions"; + } + enum "all" { + description "Trace everything"; + } + enum "dot1x-ipc" { + description "Trace dot1x IPC interactions"; + } + enum "dot1x-event" { + description "Trace dot1x events"; + } + enum "iccp" { + description "Trace iccp events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container authenticator { + presence "enable authenticator"; + description "802.1X authenticator options"; + uses apply-advanced; + leaf authentication-profile-name { + description "Access profile name to use for authentication"; + type string { + length "1 .. 63"; + } + } + leaf no-mac-table-binding { + description "Disable association between mac table and dot1x"; + type empty; + } + leaf radius-options { + description "Info sent to radius server"; + type enumeration { + enum "use-vlan-name" { + description "Vlan name"; + } + enum "use-vlan-id" { + description "Vlan id"; + } + } + } + list static { + key name; + ordered-by user; + description "Static MAC configuration needed to bypass 802.1X"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list interface { + key name; + description "802.1X interface specific options"; + leaf name { + type string; + } + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + description "Flexible authentication order"; + type enumeration { + enum "dot1x" { + description "Dot1x mode"; + } + enum "mac-radius" { + description "Mac radius mode"; + } + enum "captive-portal" { + description "Captive portal mode"; + } + } + } + leaf disable { + description "Disable 802.1X on this interface"; + type empty; + } + leaf supplicant { + description "Set supplicant mode for this interface"; + default "single"; + type enumeration { + enum "single" { + description "Allow multiple clients; authenticate first client only"; + } + enum "single-secure" { + description "Allow and authenticate only a single client"; + } + enum "multiple" { + description "Allow multiple clients; authenticate each individually"; + } + } + } + leaf retries { + description "Number of retries after which port is placed into wait state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + leaf quiet-period { + description "Time to wait after an authentication failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf transmit-period { + description "Interval before retransmitting initial EAPOL PDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Enable MAC-RADIUS"; + uses apply-advanced; + leaf restrict { + description "Bypass dot1x authentication, use MAC RADIUS only"; + type empty; + } + leaf flap-on-disconnect { + description "Reset an interface on receiving a disconnect request"; + type empty; + } + leaf ignore-port-bounce { + description "To ignore the port-bounce request received from RADIUS server"; + type empty; + } + container authentication-protocol { + description "Set mac-radius authentication method"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf eap-md5 { + description "Authentication protocol EAP-MD5"; + type empty; + } + } + case case_2 { + leaf pap { + description "Authentication protocol PAP"; + type empty; + } + } + case case_3 { + container eap-peap { + presence "enable eap-peap"; + description "Authentication protocol EAP-PEAP"; + uses apply-advanced; + leaf resume { + description "Enable resume functionality for faster authentication"; + type empty; + } + } + } + } + } + } + choice reauthentication-mode { + case case_1 { + leaf no-reauthentication { + description "Disable reauthentication"; + type empty; + } + } + case case_2 { + leaf reauthentication { + description "Reauthentication interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + } + leaf supplicant-timeout { + description "Time to wait for a client response"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf server-timeout { + description "Authentication server timeout interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf maximum-requests { + description "Number of EAPOL RequestIDs to send before timing out"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf guest-vlan { + description "VLAN name or 802.1q tag for unauthenticated or non-responsive hosts"; + type string { + } + } + container server-reject-vlan { + description "VLAN name or 802.1q tag for authentication rejected clients"; + leaf vlan-name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + leaf eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets."; + type empty; + } + } + container eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets"; + uses apply-advanced; + container server-fail { + presence "enable server-fail"; + description "Block EAPOL-Start during RADIUS Timeout"; + uses apply-advanced; + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Block EAPOL-Start when client is authenticated in mac-radius mode"; + } + container captive-portal { + presence "enable captive-portal"; + description "Block EAPOL-Start when client is authenticated in captive-portal mode"; + } + } + leaf lldp-med-bypass { + description "Bypass dot1x authentication, use lldp-med based authentication"; + type empty; + } + container server-fail { + description "Action to be taken when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + } + case case_5 { + leaf use-cache { + description "Use the previous state of the client"; + type empty; + } + } + } + } + container server-fail-voip { + description "Action to be taken for VOIP client when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force VoIP client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force VoIP client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "Configured VoIP VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + leaf use-cache { + description "Use the previous state of the VoIP client"; + type empty; + } + } + } + } + leaf redirect-url { + description "CWA redirect URL to be used for unauthenticated users"; + type string { + length "10 .. 247"; + } + } + leaf no-tagged-mac-authentication { + description "Don't allow tagged mac for radius authentication"; + type empty; + } + } + } + } + grouping juniper-protocols-esis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for ES-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "esh" { + description "Trace end system hello packets"; + } + enum "ish" { + description "Trace intermediate system hello packets"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf preference { + description "Preference of routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container graceful-restart { + description "ES-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf end-system-configuration-timer { + description "Suggested end system configuration timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS on this interface"; + type empty; + } + } + } + } + } + grouping juniper-protocols-isis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for IS-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "spf" { + description "Trace SPF events"; + } + enum "packets" { + description "Trace IS-IS packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "lsp" { + description "Trace link-state packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "layer2-map" { + description "Trace ARP/ND kernel state manipulation"; + } + enum "lsp-generation" { + description "Trace LSP generation"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "ldp-synchronization" { + description "Trace synchronization between IS-IS and LDP"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "spring" { + description "Trace source packet routing"; + } + enum "traffic-statistics" { + description "Trace traffic-statistics related events"; + } + enum "prefix-sid" { + description "Trace source packet routing, prefix-sids"; + } + enum "adj-sid" { + description "Trace adj-sid related events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + leaf lsp-lifetime { + description "Lifetime of LSPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "350 .. 65535"; + } + } + } + leaf max-lsp-size { + description "Maximum size allowed for LSPs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1492"; + } + } + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf max-snp-size { + description "Maximum size allowed for Sequence Number (Complete/Partial) PDUs"; + default "1400"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1400"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 120000"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf loose-authentication-check { + description "Verify authentication only if PDU has authentication TLV"; + type empty; + } + leaf max-areas { + description "Maximum number of advertised Areas"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 36"; + } + } + } + leaf no-authentication-check { + description "Disable authentication checking"; + type empty; + } + leaf no-ipv4-routing { + description "Disable IPv4 routing"; + type empty; + } + leaf no-ipv6-routing { + description "Disable IPv6 routing"; + type empty; + } + leaf no-adjacency-holddown { + description "Disable adjacency hold down"; + type empty; + } + leaf multicast-topology { + description "Enable multicast topology"; + status deprecated; + type empty; + } + leaf ignore-attached-bit { + description "Ignore the attached bit in Level 1 LSPs"; + type empty; + } + container rib-group { + description "Routing table group for importing IS-IS routes"; + uses rib_group_type; + } + container spf-options { + description "Configure SPF attributes"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf rapid-runs { + description "Number of rapid SPF runs before SPF holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container multipath { + description "Configure multipath options"; + uses apply-advanced; + container weighted { + description "Weighted multipath options"; + uses apply-advanced; + leaf one-hop { + description "Enable load balancing on onehop multipath based on interface bandwidth"; + type empty; + } + } + } + } + container backup-spf-options { + description "Configure backup SPF attributes"; + uses apply-advanced; + leaf per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate Post Convergence Backup Nexthops"; + uses apply-advanced; + leaf maximum-labels { + description "Set maximum number of label supported for post convergence path calculations"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Set maximum equal cost backup post convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + container use-source-packet-routing { + presence "enable use-source-packet-routing"; + description "Use SPRING routed paths for protection"; + uses apply-advanced; + } + } + container topologies { + description "Enable topologies"; + uses apply-advanced; + leaf ipv4-multicast { + description "Enable IPv4-multicast topology"; + type empty; + } + leaf ipv6-unicast { + description "Enable IPv6-unicast topology"; + type empty; + } + leaf ipv6-multicast { + description "Enable IPv6-multicast topology"; + type empty; + } + } + container overload { + presence "enable overload"; + description "Set the overload bit (no transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload bit is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf advertise-high-metrics { + description "Advertise high metrics instead of setting the overload bit"; + type empty; + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + } + container traffic-engineering { + description "Configure traffic engineering attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable traffic engineering"; + type empty; + } + } + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf credibility-protocol-preference { + description "Follow IGP protocol preference for TED protocol credibility"; + type empty; + } + leaf ipv4-multicast-rpf-routes { + description "Install IPv4 routes for multicast RPF checks into inet.2"; + status deprecated; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family specific traffic-engineering attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet-mpls" { + description "IPv4-MPLS family"; + } + enum "inet6-mpls" { + description "IPv6-MPLS family"; + } + } + } + uses apply-advanced; + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into multicast RIB"; + type empty; + } + } + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + status deprecated; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + } + container multipath { + description "Configure label-switched-path multipath behavior"; + uses apply-advanced; + leaf lsp-equal-cost { + description "Include equal cost label-switched-paths"; + type empty; + } + } + } + container graceful-restart { + description "IS-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + container adjacency-segment { + description "Configure attributes for Adjacency Segments in SPRING"; + uses apply-advanced; + leaf hold-time { + description "Duration(ms) for which adjacency segments will be retained after isolating from an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180000 .. 900000"; + } + } + } + } + container sensor-based-stats { + description "Configure sensor based stats in SPRING"; + uses apply-advanced; + container per-interface-per-member-link { + description "Configure sensor based stats per nexthop"; + leaf ingress { + description "Enable sensor based stats on ingress interface"; + type empty; + } + leaf egress { + description "Enable sensor based stats on egress interface"; + type empty; + } + } + container per-sid { + description "Configure sensor based stats per spring route"; + leaf ingress { + description "Enable sensor based stats for per-sid ingress accounting"; + type empty; + } + } + } + container srgb { + description "Set the SRGB global block in SPRING"; + leaf start-label { + description "Start range for SRGB label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf index-range { + description "Index to the SRGB start label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container node-segment { + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set IPv4 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf ipv6-index { + description "Set IPv6 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf index-range { + description "Set Range of Node Segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16385"; + } + } + } + } + container traffic-statistics { + description "Enable support for traffic statistics in SPRING"; + uses apply-advanced; + container statistics-granularity { + description "Granularity for traffic statistics in SPRING"; + uses apply-advanced; + leaf per-interface { + description "Interface Based traffic statistics in SPRING"; + type empty; + } + } + leaf auto-bandwidth { + description "Auto bandwidth name"; + type string; + } + } + leaf explicit-null { + description "Set E and P bits in all Prefix SID advertisements"; + type empty; + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf ldp-stitching { + description "Enable SR to LDP stitching"; + type empty; + } + } + list level { + key name; + ordered-by user; + description "Configure global level attributes"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this level"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf purge-originator { + description "Add Purge Originator information"; + type enumeration { + enum "self" { + description "Add POI only for self-originated purge LSPs"; + } + enum "empty" { + description "Add POI for purge LSPs who do not have POI information"; + } + } + } + leaf no-hello-authentication { + description "Disable authentication for hello packets"; + type empty; + } + leaf no-csnp-authentication { + description "Disable authentication for CSN packets"; + type empty; + } + leaf no-psnp-authentication { + description "Disable authentication for PSN packets"; + type empty; + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf wide-metrics-only { + description "Generate wide metrics only"; + type empty; + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled IS-IS routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix-export-limit { + description "Maximum number of external prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source Packet Routing on this level"; + type empty; + } + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + container auto-bandwidth { + description "Auto bandwidth configuration"; + uses apply-advanced; + leaf template-name { + description "Auto bandwidth template name"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Auto bandwidth on this interface"; + type empty; + } + } + } + } + leaf flood-group { + description "ISO Area that this interface should send LSPs to"; + type string { + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + status deprecated; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-padding-type { + description "Type of padding for hello packets"; + default "loose"; + type enumeration { + enum "strict" { + description "Padding for all adjacency states"; + } + enum "adaptive" { + description "Padding until state of neighbor adjacency is 'up'"; + } + enum "loose" { + description "Padding until state of adjacency is 'initializing'"; + } + enum "disable" { + description "Do not add any padding for hello packets"; + } + } + } + leaf interface-group-holddown-delay { + description "Time to wait before including in BBM calculation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf lsp-interval { + description "Interval between LSP transmissions"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + container csnp-interval { + description "Rate of CSN packets (for LAN interfaces only)"; + choice csnp_interval_option { + case case_1 { + leaf csnp-interval-number { + description "Interval between CSN packets"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + leaf disable { + description "Do not send CSN packets on this interface"; + type empty; + } + } + } + } + container mesh-group { + description "Add the interface to a mesh group"; + choice mesh_group_option { + case case_1 { + leaf mesh-group-number { + description "Mesh group number for this interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf blocked { + description "Do not flood new LSPs on this interface"; + type empty; + } + } + } + } + leaf point-to-point { + description "Treat interface as point to point"; + type empty; + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible for backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run IS-IS, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + leaf checksum { + description "Enable checksum for packets on this interface"; + type empty; + } + leaf no-unicast-topology { + description "Do not include this interface in the unicast topology"; + type empty; + } + leaf no-ipv4-multicast { + description "Do not include this interface in the IPv4 multicast topology"; + type empty; + } + leaf no-ipv6-unicast { + description "Do not include this interface in the IPv6 unicast topology"; + type empty; + } + leaf no-ipv6-multicast { + description "Do not include this interface in the IPv6 multicast topology"; + type empty; + } + leaf no-adjacency-down-notification { + description "Do not inform other protocols about adjacency down events"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list family { + key name; + ordered-by user; + description "Address family specific interface attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS for this level"; + type empty; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Configure backup along post convergence on this interface"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Enable node protection"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + leaf fate-sharing-protection { + description "Enable fate-sharing protection"; + type empty; + } + } + leaf metric { + description "Metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv4-multicast-metric { + description "IPv4 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-unicast-metric { + description "IPv6 unicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-multicast-metric { + description "IPv6 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this level"; + type empty; + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf hello-authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf hello-interval { + description "Interval between hello packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 21845"; + } + } + } + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "Designated router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container passive { + presence "enable passive"; + description "Do not run IS-IS at this level, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + list lan-neighbor { + key name; + ordered-by user; + description "Configuration specific to a LAN neighbor"; + leaf name { + description "Neighbor's sysid"; + type jt:sysid; + } + uses apply-advanced; + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + } + container link-degradation-threshold { + presence "enable link-degradation-threshold"; + description "Link up and down thresholds (in %) for proactive link protection"; + leaf link-down { + description "Signal degradation threshold above which link marked down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf link-up { + description "Signal degradation threshold below which link is marked up."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list interface-group { + key name; + description "Interface grouping configuration"; + leaf name { + description "Interface group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "List interfaces for this group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf weight { + description "Interface weight for adjacency set"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface-group"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + container link-group-protection { + description "Configure link group protection"; + uses apply-advanced; + leaf minimum-bandwidth { + description "Minimum bandwidth to carry traffic"; + type string; + } + leaf revert-bandwidth { + description "Revert bandwidth to carry traffic"; + type string; + } + } + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this label-switched path"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + leaf metric { + description "SPF metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + list context-identifier { + key name; + ordered-by user; + description "Configuration for advertisement of a context-identifier "; + leaf name { + description "Context identifier range"; + type jt:ipprefix; + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this context-identifier"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + } + } + } + grouping juniper-protocols-l2control { + uses apply-advanced; + container traceoptions { + description "Global tracing options for STP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "ppmlite" { + description "Trace libppmlite processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf nonstop-bridging { + description "Enable nonstop operation"; + type empty; + } + container bpdu-block { + presence "enable bpdu-block"; + description "Block BPDU on interface (BPDU Protect)"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block BPDU on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable bpdu-block on a port"; + type empty; + } + leaf drop { + description "Drop xSTP BPDUs"; + type empty; + } + } + leaf disable-timeout { + description "Disable timeout for BPDU Protect"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "10 .. 3600"; + } + } + } + } + container mac-rewrite { + description "Mac rewrite functionality"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf enable-all-ifl { + description "Enable tunneling for all the IFLs under the interface"; + type empty; + } + container protocol { + presence "enable protocol"; + description "Protocols for which mac rewrite need to be enabled"; + uses apply-advanced; + container stp { + presence "enable stp"; + description "Enable mac rewrite for STP"; + } + container vtp { + presence "enable vtp"; + description "Enable mac rewrite for VTP"; + } + container cdp { + presence "enable cdp"; + description "Enable mac rewrite for CDP"; + } + container ieee8021x { + presence "enable ieee8021x"; + description "Enable mac rewrite for 8021X"; + } + container ieee8023ah { + presence "enable ieee8023ah"; + description "Enable mac rewrite for 8023AH"; + } + container elmi { + presence "enable elmi"; + description "Enable mac rewrite for ELMI"; + } + container lacp { + presence "enable lacp"; + description "Enable mac rewrite for LACP"; + } + container lldp { + presence "enable lldp"; + description "Enable mac rewrite for LLDP"; + } + container mmrp { + presence "enable mmrp"; + description "Enable mac rewrite for MMRP"; + } + container mvrp { + presence "enable mvrp"; + description "Enable mac rewrite for MVRP"; + } + container pvstp { + presence "enable pvstp"; + description "Enable mac rewrite for PVSTP+"; + } + container gvrp { + presence "enable gvrp"; + description "Enable mac rewrite for GVRP"; + } + container vstp { + presence "enable vstp"; + description "Enable mac rewrite for VSTP"; + } + container udld { + presence "enable udld"; + description "Enable mac rewrite for UDLD"; + } + } + } + } + } + grouping juniper-protocols-ldp { + uses apply-advanced; + container traceoptions { + description "Trace options for LDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace LDP state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "packets" { + description "Trace all LDP packets"; + } + enum "periodic" { + description "Trace periodic (hello and keepalive) packets"; + } + enum "initialization" { + description "Trace initialization packets"; + } + enum "notification" { + description "Trace notification packets"; + } + enum "address" { + description "Trace address packets"; + } + enum "label" { + description "Trace label packets"; + } + enum "binding" { + description "Trace label binding state"; + } + enum "path" { + description "Trace label path state"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "link-protection" { + description "Trace link protection events"; + } + enum "p2mp-nsr-synchronization" { + description "Trace p2mp NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses ldp_filter_obj; + } + } + } + container traffic-statistics { + description "Collect statistics for LDP label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + leaf no-penultimate-hop { + description "No penultimate hop statistics collection"; + type empty; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable the graceful restart helper capability"; + type empty; + } + leaf recovery-time { + description "Time required for recovery"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1800"; + } + } + } + leaf maximum-neighbor-recovery-time { + description "Maximum time stale mappings are maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "140 .. 1900"; + } + } + } + leaf reconnect-time { + description "Time required to reestablish session after graceful restart"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf maximum-neighbor-reconnect-time { + description "Maximum reconnect time allowed from a restarting neighbor"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container auto-targeted-session { + presence "enable auto-targeted-session"; + description "Configure auto targeted session parameters for rLFA only"; + uses apply-advanced; + leaf teardown-delay { + description "Auto targeted session tear down delay"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf maximum-sessions { + description "Auto targeted maximum sessions"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + leaf preference { + description "Route preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-forwarding { + description "Do not use LDP ingress routes for forwarding"; + type empty; + } + leaf rib-group { + description "Routing table group for importing ingress routes"; + type string; + } + leaf l2-smart-policy { + description "Do not export or import Layer 3 FECs for Layer 2 sessions"; + type empty; + } + leaf track-igp-metric { + description "Track the IGP metric"; + type empty; + } + leaf strict-targeted-hellos { + description "Do not send targeted hellos to unconfigured neighbors"; + type empty; + } + container longest-match { + presence "enable longest-match"; + description "Configure longest match"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Longest match import policy"; + type jt:policy-algebra; + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list egress-policy { + ordered-by user; + description "Configure LSP egress policy"; + type jt:policy-algebra; + } + leaf-list dod-request-policy { + ordered-by user; + description "Configure DoD label request policy"; + type jt:policy-algebra; + } + container next-hop { + description "LDP next-hop control"; + uses apply-advanced; + container merged { + description "Merged next hop"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Merged next-hop policy"; + type jt:policy-algebra; + } + } + container no-rsvp-tunneling { + description "No rsvp tunneling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "No rsvp tunneling next-hop policy"; + type jt:policy-algebra; + } + } + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + choice deaggregate-choice { + leaf deaggregate { + description "Deaggregate FECs into separate labels"; + type empty; + } + leaf no-deaggregate { + description "Don't deaggregate FECs into separate labels"; + type empty; + } + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label for egress FECs"; + type empty; + } + leaf label-withdrawal-delay { + description "Delay label withdrawal for FECs to avoid label churn"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + container make-before-break { + presence "enable make-before-break"; + description "Configure make before break"; + uses apply-advanced; + leaf timeout { + description "Make before break timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf switchover-delay { + description "Make before break switchover delay"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container transport-address { + description "Address used for TCP sessions"; + choice address-choice { + case case_1 { + leaf router-id { + description "Use router ID for TCP connections"; + type empty; + } + } + case case_2 { + leaf interface { + description "Use interface address for TCP connections"; + type empty; + } + } + case case_3 { + leaf address { + description "Use specified address for TCP connections"; + type jt:ipaddr; + } + } + } + } + leaf keepalive-interval { + description "Keepalive interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keepalive-timeout { + description "Keepalive timeout (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list interface { + key name; + description "Enable LDP on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP on this interface"; + type empty; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hello hold time (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection to protect interface for link faults only"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link-protection"; + type empty; + } + } + } + leaf dynamic-rsvp-lsp { + description "Enable setup of dynamic rsvp lsp for link protection"; + type empty; + } + } + leaf transport-address { + description "Address used for TCP sessions"; + type enumeration { + enum "router-id" { + description "Use router ID for TCP connections"; + } + enum "interface" { + description "Use interface address for TCP connections"; + } + } + } + choice allow-subnet-mismatch-choice { + leaf allow-subnet-mismatch { + description "Allow subnet mismatch for source address in hello packet"; + type empty; + } + leaf no-allow-subnet-mismatch { + description "Don't allow subnet mismatch for source address in hello packet"; + type empty; + } + } + } + list neighbor { + key name; + description "Configure a remote LDP neighbor"; + leaf name { + description "Neighbor address"; + type jt:ipaddr; + } + uses apply-advanced; + } + list session { + key name; + description "Configure session parameters"; + leaf name { + description "Session destination address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + list session-group { + key name; + description "Configure session group parameters"; + leaf name { + description "Session destination address/prefix length"; + type jt:ipprefix; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + container session-protection { + presence "enable session-protection"; + description "Configure session protection"; + leaf timeout { + description "Session protection timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container igp-synchronization { + description "Configure IGP synchronization parameters"; + uses apply-advanced; + leaf holddown-interval { + description "Time to hold the up notification to the IGPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + container trap { + description "SNMP traps options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP LSP up/down trap"; + type empty; + } + } + } + } + } + container policing { + description "Configure policing for an LDP FEC"; + uses apply-advanced; + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf ingress-traffic { + description "Name of filter to use for policing ingress LDP traffic"; + type string { + } + } + leaf transit-traffic { + description "Name of filter to use for policing transit LDP traffic"; + type string { + } + } + } + } + container entropy-label { + description "Insert entropy label for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "Entropy label ingress policy"; + type jt:policy-algebra; + } + } + container oam { + description "Configure periodic OAM for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "OAM ingress policy"; + type jt:policy-algebra; + } + leaf-list bfd-port-egress-policy { + ordered-by user; + description "OAM egress policy"; + type jt:policy-algebra; + } + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice bfd_liveness_detection_type { + case case_1 { + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + } + case case_2 { + leaf no-bfd-liveness-detection { + description "Disable BFD liveness detection"; + type empty; + } + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + leaf disable { + description "Disable periodic traceroute for a FEC"; + type empty; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + } + container targeted-hello { + description "Configure targeted hello parameters"; + uses apply-advanced; + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hold interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Advertise P2MP capability to peers"; + uses apply-advanced; + container recursive { + description "Configure P2MP recursive parameters"; + uses apply-advanced; + leaf route { + description "Allow recursive route resolution to signal P2MP FEC"; + type empty; + } + } + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + list lsp-id { + key name; + description "Configure the generic LSP identifier"; + leaf name { + description "Generic LSP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + leaf no-rsvp-tunneling { + description "Do not allow LDP P2MP to use RSVP-TE LSPs for tunneling"; + type empty; + } + } + container sr-mapping-client { + presence "enable sr-mapping-client"; + description "Enable LDP to SR mapping-client functionality"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "SR mapping-client policy"; + type jt:policy-algebra; + } + } + leaf upstream-label-assignment { + description "Allow Upstream Label Assignment capability"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + } + leaf transport-preference { + description "TCP transport preference"; + type enumeration { + enum "ipv4" { + description "Use IPv4 for TCP connections"; + } + enum "ipv6" { + description "Use IPv6 for TCP connections"; + } + } + } + container dual-transport { + presence "enable dual-transport"; + description "Use separate IPv4 and IPv6 TCP transport"; + uses apply-advanced; + leaf inet-lsr-id { + description "LSR identifier for address family inet"; + type jt:ipv4addr; + } + leaf inet6-lsr-id { + description "LSR identifier for address family inet6"; + type jt:ipv4addr; + } + } + } + grouping juniper-protocols-lmp { + uses apply-advanced; + list te-link { + key name; + ordered-by user; + description "Traffic engineering link"; + leaf name { + description "Name of TE link"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Address of the local end of the link"; + type jt:ipaddr; + } + leaf remote-address { + description "Address of the remote end of the link"; + type jt:ipaddr; + } + leaf remote-id { + description "Link ID for the remote end of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf te-metric { + description "Traffic engineering metric of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable TE link"; + type empty; + } + } + } + container ethernet-vlan { + presence "enable ethernet-vlan"; + description "TE link used for setup of L2 VLAN LSP"; + uses apply-advanced; + leaf-list vlan-id-range { + description "VLAN id"; + type jt:vlan-range; + max-elements 1; + } + } + choice resource-option { + case case_1 { + list interface { + key name; + ordered-by user; + description "Member interface of TE link"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + case case_2 { + list label-switched-path { + key name; + ordered-by user; + description "Member forwarding adjacency LSP of TE link"; + max-elements 1; + leaf name { + description "Name of label-switched path"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + } + } + list peer { + key name; + ordered-by user; + description "Define a network or LMP peer"; + leaf name { + description "Name of peer"; + type string; + } + uses apply-advanced; + leaf address { + description "Address of peer"; + type jt:ipaddr; + } + container lmp-protocol { + presence "enable lmp-protocol"; + description "LMP protocol attributes"; + uses apply-advanced; + leaf hello-interval { + description "Interval between Hello messages"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "150 .. 21845"; + } + } + } + leaf hello-dead-interval { + description "Delay for control channel shutdown when no Hello received"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 65535"; + } + } + } + leaf retransmission-interval { + description "Minimum time before retransmitting a message"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 300000"; + } + } + } + leaf retry-limit { + description "Number of times to retransmit a message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1000"; + } + } + } + leaf passive { + description "Do not send Config messages to peer"; + type empty; + } + } + leaf-list control-channel { + ordered-by user; + description "Control channel interfaces by priority"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list lmp-control-channel { + key name; + ordered-by user; + description "Control channel IDs"; + uses lmp_control_channel_type; + } + leaf-list te-link { + ordered-by user; + description "List of TE links managed by this peer"; + type string; + } + } + container traceoptions { + description "LMP trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace general configuration processing"; + } + enum "server" { + description "Trace server processing"; + } + enum "routing" { + description "Trace routing protocols interworking"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "hello-packets" { + description "Trace hello packet processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "nsr-synchronization" { + description "Trace mirror and nsr transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + status deprecated; + type empty; + } + leaf receive { + description "Trace received packets"; + status deprecated; + type empty; + } + leaf detail { + description "Trace detailed information"; + status deprecated; + type empty; + } + leaf disable { + description "Disable this trace flag"; + status deprecated; + type empty; + } + } + } + } + grouping juniper-protocols-mpls { + description "Multiprotocol Label Switching options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS"; + type empty; + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list pce-controlled-lsp { + key name; + ordered-by user; + description "Template for externally provisioned LSP using regular expression"; + leaf name { + description "Template regular expression"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + } + } + container path-mtu { + presence "enable path-mtu"; + description "Path MTU configuration"; + uses apply-advanced; + leaf allow-fragmentation { + description "If needed, fragment IP before encapsulating in MPLS"; + type empty; + } + container rsvp { + presence "enable rsvp"; + description "RSVP-specific path MTU options"; + uses apply-advanced; + leaf mtu-signaling { + description "Enable RSVP path MTU signaling"; + type empty; + } + } + } + container diffserv-te { + description "Global diffserv-traffic-engineering options"; + uses apply-advanced; + leaf bandwidth-model { + description "Bandwidth constraint model supported"; + type enumeration { + enum "extended-mam" { + description "Maximum allocation model with support for E-LSPs"; + } + enum "mam" { + description "Maximum allocation model"; + } + enum "rdm" { + description "Russian dolls model"; + } + } + } + container te-class-matrix { + description "Supported combinations of traffic-class and preemption"; + uses apply-advanced; + container te0 { + description "Definition for traffic-engineering class te0"; + uses te-class-object; + } + container te1 { + description "Definition for traffic-engineering class te1"; + uses te-class-object; + } + container te2 { + description "Definition for traffic-engineering class te2"; + uses te-class-object; + } + container te3 { + description "Definition for traffic-engineering class te3"; + uses te-class-object; + } + container te4 { + description "Definition for traffic-engineering class te4"; + uses te-class-object; + } + container te5 { + description "Definition for traffic-engineering class te5"; + uses te-class-object; + } + container te6 { + description "Definition for traffic-engineering class te6"; + uses te-class-object; + } + container te7 { + description "Definition for traffic-engineering class te7"; + uses te-class-object; + } + } + } + container auto-policing { + description "Automatic policing of LSPs"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + type enumeration { + enum "all" { + description "All forwarding classes"; + } + enum "ct0" { + description "Forwarding class 0"; + } + enum "ct1" { + description "Forwarding class 1"; + } + enum "ct2" { + description "Forwarding class 2"; + } + enum "ct3" { + description "Forwarding class 3"; + } + } + } + uses apply-advanced; + choice policing-action { + case case_1 { + leaf drop { + description "Drop packets if bandwidth is exceeded"; + type empty; + } + } + case case_2 { + leaf loss-priority-high { + description "Set loss priority to high if bandwidth is exceeded"; + type empty; + } + } + case case_3 { + leaf loss-priority-low { + description "Set loss priority to low if bandwidth is exceeded"; + type empty; + } + } + } + } + } + container statistics { + description "Collect statistics for signaled label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + presence "enable file"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf auto-bandwidth { + description "Enable auto bandwidth allocation"; + type empty; + } + leaf no-transit-statistics { + description "Disable transit LSP statistics collection"; + type empty; + } + choice transit-polling-type { + case case_1 { + leaf no-transit-statistics-polling { + description "Disable polling and display of transit lsp statistics"; + status deprecated; + type empty; + } + } + case case_2 { + leaf transit-statistics-polling { + description "Enable polling and display of transit lsp statistics"; + type empty; + } + } + } + leaf statistics-query-batch-size { + description "Number of LSPs for which statistics will be queried together"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 25"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Send syslog messages"; + type empty; + } + leaf no-syslog { + description "Don't send syslog messages"; + type empty; + } + } + choice trap-choice { + case case_1 { + leaf trap { + description "Send SNMP traps"; + type empty; + } + } + case case_2 { + container no-trap { + presence "enable no-trap"; + description "Don't send SNMP traps"; + uses apply-advanced; + leaf mpls-lsp-traps { + description "Dont send mpls lsp up/down traps"; + type empty; + } + leaf rfc3812-traps { + description "Dont send rfc3812 traps"; + type empty; + } + } + } + } + leaf trap-path-down { + description "Send SNMP traps when a path goes down"; + type empty; + } + leaf trap-path-up { + description "Send SNMP traps when a path goes up"; + type empty; + } + } + container optimize-adaptive-teardown { + description "Post make before break adaptive teardown"; + uses apply-advanced; + leaf p2p { + description "Turn on post make before break adaptive teardown for p2p"; + type empty; + } + leaf timeout { + description "Timeout for adaptive teardown to clean up LSP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-engineering control"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf bgp { + description "BGP destinations only"; + type empty; + } + } + case case_2 { + leaf bgp-igp { + description "BGP and IGP destinations"; + type empty; + } + } + case case_3 { + leaf bgp-igp-both-ribs { + description "BGP and IGP destinations with routes in both routing tables"; + type empty; + } + } + case case_4 { + leaf mpls-forwarding { + description "Use MPLS routes for forwarding, not routing"; + type empty; + } + } + } + container database { + description "Traffic engineering database"; + uses apply-advanced; + container import { + description "Configure TED import parameters"; + uses apply-advanced; + container igp-topology { + presence "enable igp-topology"; + description "Download IGP topology into RIB"; + uses apply-advanced; + leaf bgp-link-state { + description "Export IGP topology, instead of TE topology, into BGP-LS"; + type empty; + } + } + leaf-list policy { + ordered-by user; + description "Configure import policy"; + type jt:policy-algebra; + } + leaf identifier { + description "BGP-TE identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "2 .. 18446744073709551615"; + } + } + } + leaf bgp-ls-identifier { + description "BGP-TE domain identifier"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container export { + description "Configure TED export related parameters"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + container credibility { + description "TED credibility value for entries from BGP-TE"; + uses apply-advanced; + leaf unknown { + description "Entries sourced from unknown entities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf direct { + description "Entries sourced from directly connected links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf static { + description "Entries sourced from static configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf ospf { + description "Entries sourced from ospf"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-1 { + description "Entries sourced from ISIS Level 1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-2 { + description "Entries sourced from ISIS Level 2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + } + } + } + } + container traceoptions { + description "Trace options for MPLS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "connection" { + description "Trace CCC activity"; + } + enum "connection-detail" { + description "Trace CCC activity in detail"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "lsping" { + description "Trace LSP ping packets received"; + } + enum "graceful-restart" { + description "Trace graceful-restart-related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-synchronization-detail" { + description "Trace NSR synchronization events in detail"; + } + enum "static" { + description "Trace static label-switched path"; + } + enum "egress-protection" { + description "Trace egress protection events"; + } + enum "all" { + description "Trace everything"; + } + enum "autobw-state" { + description "Trace autobandwidth events in mpls trace"; + } + enum "externally-controlled-lsp" { + description "Trace externally controlled LSP events in mpls trace"; + } + enum "ted-import" { + description "Trace leaking TED entries into lsdist.0 table"; + } + enum "ted-export" { + description "Trace leaking of entries from lsdist.0 table into TED"; + } + enum "lsp-history" { + description "Trace LSP history events"; + } + enum "abstract-hop" { + description "Trace abstract hop related events"; + } + } + } + } + } + list admin-groups { + key name; + ordered-by user; + description "Administrative groups"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf group-value { + description "Group bit position"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + leaf advertisement-hold-time { + description "Time that an 'LSP down' advertisement will be delayed"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf rsvp-error-hold-time { + description "Time that RSVP PathErr events will be remembered"; + default "25"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 240"; + } + } + } + leaf optimize-aggressive { + description "Run aggressive optimization algorithm based on IGP metric only"; + type empty; + } + leaf smart-optimize-timer { + description "Path optimization interval after a link traversed by the path goes down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-switchover-delay { + description "Delay before switching LSP to newly optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 900"; + } + } + } + leaf no-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + leaf sensor-based-stats { + description "Enable sensor based statistics collection"; + type empty; + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label when the router is the egress"; + type empty; + } + leaf ipv6-tunneling { + description "Allow MPLS LSPs to be used for tunneling IPv6 traffic"; + type empty; + } + leaf icmp-tunneling { + description "Allow MPLS LSPs to be used for tunneling ICMP error packets"; + type empty; + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf expand-loose-hop { + description "Perform CSPF path computation to expand loose hops"; + type empty; + } + leaf mib-mpls-show-p2mp { + description "Show p2mp tunnels entries in mpls mib walk"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + list label-switched-path { + key name; + ordered-by user; + description "Label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS label-switched path"; + type empty; + } + } + } + container traceoptions { + description "Trace options for MPLS label-switched path"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + leaf backup { + description "Use LSP for IGP backup"; + type empty; + } + leaf from { + description "Address of ingress router"; + type jt:ipv4addr; + } + container pop-and-forward { + presence "enable pop-and-forward"; + description "Enable LSP as pop-and-forward with auto-delegation"; + } + choice label-switched-path-or-template { + case case_1 { + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + } + case case_2 { + leaf template { + description "Template for dynamic lsp paramaters"; + type empty; + } + } + } + leaf corouted-bidirectional { + description "Setup the LSP as a corouted bidirectional LSP"; + type empty; + } + leaf corouted-bidirectional-passive { + description "Associate LSP with incoming corouted bidirectional LSP"; + type empty; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf ldp-tunneling { + description "Allow LDP to use this LSP for tunneling"; + type empty; + } + leaf soft-preemption { + description "Attempt make-before-break service while preempting this LSP"; + type empty; + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf retry-timer { + description "Time before retrying the primary path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf retry-limit { + description "Maximum number of times to retry primary path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container lsp-attributes { + description "Attributes for generalized LSP"; + uses apply-advanced; + leaf signal-bandwidth { + description "Signal bandwidth for the LSP"; + type enumeration { + enum "ds1" { + description "1.544 Mbps"; + } + enum "vt1-5" { + description "1.728 Mbps"; + } + enum "e1" { + description "2.048 Mbps"; + } + enum "vt2" { + description "2.304 Mbps"; + } + enum "ethernet" { + description "10 Mbps"; + } + enum "e3" { + description "34.368 Mbps"; + } + enum "ds3" { + description "44.736 Mbps"; + } + enum "sts-1" { + description "51.84 Mbps"; + } + enum "fastether" { + description "100.00 Mbps"; + } + enum "stm-1" { + description "155.52 Mbps"; + } + enum "stm-4" { + description "622.08 Mbps"; + } + enum "gigether" { + description "1000.00 Mbps"; + } + enum "stm-16" { + description "2488.32 Mbps"; + } + enum "stm-64" { + description "9953.28 Mbps"; + } + enum "10gigether" { + description "10000.00 Mbps"; + } + enum "stm-256" { + description "39813.12 Mbps"; + } + enum "100gige" { + description "100000.00 Mbps"; + } + } + } + leaf switching-type { + description "LSP switching type desired"; + type enumeration { + enum "psc-1" { + description "Packet switching"; + } + enum "lambda" { + description "Lambda switching"; + } + enum "fiber" { + description "Fiber switching"; + } + enum "tdm" { + description "TDM switching"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN switching"; + } + } + } + leaf encoding-type { + description "LSP encoding type desired"; + type enumeration { + enum "packet" { + description "Packet encoding"; + } + enum "ethernet" { + description "Ethernet encoding"; + } + enum "pdh" { + description "PDH encoding"; + } + enum "sonet-sdh" { + description "SONET-SDH encoding"; + } + } + } + leaf gpid { + description "Generalized PID"; + type enumeration { + enum "ipv4" { + } + enum "ethernet" { + } + enum "ppp" { + } + enum "hdlc" { + } + enum "pos-no-scrambling-crc-16" { + } + enum "pos-no-scrambling-crc-32" { + } + enum "pos-scrambling-crc-16" { + } + enum "pos-scrambling-crc-32" { + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + leaf self-ping-duration { + description "Duration over which to run self-ping (65535 = until success). Default = 1800s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf no-self-ping { + description "Do not run self-ping for this LSP"; + type empty; + } + choice cspf-attribute { + case case_1 { + leaf random { + description "Randomly select among equal-cost paths"; + type empty; + } + } + case case_2 { + leaf least-fill { + description "Select the least filled among equal-cost paths"; + type empty; + } + } + case case_3 { + leaf most-fill { + description "Select the most filled among equal-cost paths"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + choice lp-type { + case case_1 { + leaf link-protection { + description "Protect LSP from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect LSP from both link and node faults"; + type empty; + } + } + } + leaf intra-domain { + description "Intra-domain LSP"; + status deprecated; + type empty; + } + leaf inter-domain { + description "Inter-domain LSP"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + container fast-reroute { + presence "enable fast-reroute"; + description "Fast reroute"; + uses apply-advanced; + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + choice bw-attribute { + case case_1 { + leaf bandwidth { + description "Bandwidth to reserve (bps)"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Percentage of main path bandwidth to reserve"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + } + } + choice include_any_or_no_include_any { + case case_1 { + leaf no-include-any { + description "Disable include-any checking"; + type empty; + } + } + case case_2 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include_all_or_no_include_all { + case case_1 { + leaf no-include-all { + description "Disable include-all checking"; + type empty; + } + } + case case_2 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude_or_no_exclude { + case case_1 { + leaf no-exclude { + description "Disable exclude checking"; + type empty; + } + } + case case_2 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Point-to-multipoint label-switched path"; + leaf path_name { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Do auto bandwidth allocation for this LSP"; + uses apply-advanced; + leaf adjust-interval { + description "Time to adjust LSP bandwidth"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf adjust-threshold { + description "Percentage change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50"; + } + } + } + leaf adjust-threshold-absolute { + description "Change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "bps"; + type string; + } + leaf adjust-threshold-activate-bandwidth { + description "Adjusts signaled bw if greater than this value"; + units "bps"; + type string; + } + leaf minimum-bandwidth { + description "Minimum LSP bandwidth"; + units "bps"; + type string; + } + leaf maximum-bandwidth { + description "Maximum LSP bandwidth"; + units "bps"; + type string; + } + leaf minimum-bandwidth-adjust-interval { + description "Duration for which minimum bandwidth will be frozen"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 31536000"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-change { + description "Change in max average bandwidth to freeze min bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-value { + description "Freeze min bandwidth if max average bandwidth falls below this bw"; + status deprecated; + units "bps"; + type string; + } + leaf monitor-bandwidth { + description "Monitor LSP bandwidth without adjustments"; + type empty; + } + leaf adjust-threshold-overflow-limit { + description "Number of consecutive overflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf adjust-threshold-underflow-limit { + description "Number of consecutive underflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf resignal-minimum-bandwidth { + description "Resignal the LSP using minimum-bandwidth"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this LSP"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + container associate-lsp { + description "Associate the LSP for OAM"; + uses apply-advanced; + leaf lsp-name { + description "Name of assocation LSP"; + type string { + } + } + leaf from { + description "Address of ingress router of associated LSP"; + type jt:ipv4addr; + } + } + list primary { + key name; + ordered-by user; + description "Preferred path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + list secondary { + key name; + ordered-by user; + description "Backup path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + leaf associate-backup-pe-groups { + description "Associate this LSP with backup-pe groups"; + type empty; + } + leaf egress-protection { + description "Use this LSP for egress protection data transport"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + list container-label-switched-path { + key name; + ordered-by user; + leaf name { + description "Name of container-lsp"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS container-label-switched path"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf suffix { + description "Suffix to generate names of members of container LSP"; + type string { + } + } + container splitting-merging { + description "Do splitting and merging"; + uses apply-advanced; + leaf maximum-member-lsps { + description "Maximum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf minimum-member-lsps { + description "Minimum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf splitting-bandwidth { + description "Maximum bandwidth threshold for splitting"; + units "bps"; + type string; + } + leaf merging-bandwidth { + description "Minimum bandwidth threshold for merging"; + units "bps"; + type string; + } + leaf maximum-signaling-bandwidth { + description "Maximum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf minimum-signaling-bandwidth { + description "Minimum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf splitting-merging-threshold { + description "Change in aggregate LSP utilization to trigger splitting or merging"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container normalization { + description "Do normalization"; + uses apply-advanced; + leaf normalize-interval { + description "Time to normalize container LSP"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf failover-normalization { + description "Do pre-mature normalization in case some LSPs go down before next normalization"; + type empty; + } + leaf no-incremental-normalize { + description "Do not normalize unless all LSPs are successfully signaled"; + type empty; + } + leaf normalization-retry-duration { + description "Time before retrying the container LSP normalization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf normalization-retry-limits { + description "Maximum number of times to retry container LSP normalization"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container sampling { + description "Sampling information"; + uses apply-advanced; + leaf cut-off-threshold { + description "Cut-off percentile to remove outliers from aggregate samples"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice sampling-mode { + case case_1 { + leaf use-average-aggregate { + description "Use average of the samples"; + type empty; + } + } + case case_2 { + leaf use-percentile { + description "Use a percentile of the samples"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + } + list transit-lsp-association { + key name; + ordered-by user; + description "Transit label switch path assoication"; + leaf name { + description "Name of transit assocation LSP group"; + type string { + } + } + uses apply-advanced; + leaf lsp-name-1 { + description "Name of assocation LSP 1"; + type string { + } + } + leaf from-1 { + description "Address of associated LSP 1"; + type jt:ipv4addr; + } + leaf lsp-name-2 { + description "Name of assocation LSP 2"; + type string { + } + } + leaf from-2 { + description "Address of associated LSP 2"; + type jt:ipv4addr; + } + } + list path { + key name; + ordered-by user; + description "Route of a label-switched path"; + leaf name { + description "Name of label-switched path"; + type string { + } + } + uses apply-advanced; + list path-list { + key name; + ordered-by user; + description "List of routers in the label-switched path"; + leaf name { + description "Address of next system in path"; + type string { + } + } + leaf abstract { + description "Next system in path is abstract"; + type empty; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf loose-link { + description "Next hop link might not be adjacent"; + type empty; + } + } + case case_3 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + } + list static-label-switched-path { + key name; + ordered-by user; + description "Static label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice lsp-type { + case case_1 { + container bypass { + description "Bypass ingress label-switched path"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf next-table { + description "Next-table for lookup"; + type string; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipaddr; + } + } + } + case case_2 { + list transit { + key name; + ordered-by user; + description "Transit label-switched path"; + leaf name { + description "Incoming label value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf member-interface { + description "AE member interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap top label with this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the top label"; + type empty; + } + } + case case_3 { + leaf stitch { + description "Swap top label with the resolved LSP"; + type empty; + } + } + } + } + } + case case_3 { + container ingress { + description "Ingress LSR configuration for a static LSP"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipv4prefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + } + } + case case_4 { + container segment { + description "Segment for segment routing"; + uses apply-advanced; + leaf sid-label { + description "Segment identifier (SID) label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap the SID label to this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the SID label"; + type empty; + } + } + } + } + } + } + } + list constituent-list { + key name; + ordered-by user; + description "MPLS constituent list for abstract hops"; + leaf name { + description "Constituent list name"; + type string { + } + } + uses apply-advanced; + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 16; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + max-elements 16; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + max-elements 16; + } + } + list abstract-hop { + key name; + ordered-by user; + description "MPLS abstract hop"; + leaf name { + description "Abstract hop name"; + type string { + } + } + uses apply-advanced; + leaf operator { + description "Operation among constituent lists"; + type enumeration { + enum "AND" { + description "AND"; + } + enum "OR" { + description "OR"; + } + } + } + list constituent-list { + key name; + ordered-by user; + description "Building abstract hop using constituent lists"; + leaf name { + description "Constituent list name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice list-type { + case case_1 { + leaf include-any-list { + description "Include any"; + type empty; + } + } + case case_2 { + leaf include-all-list { + description "Include all"; + type empty; + } + } + case case_3 { + leaf exclude-any-list { + description "Exclude any"; + type empty; + } + } + case case_4 { + leaf exclude-all-list { + description "Exclude all"; + type empty; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "MPLS interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS on this interface"; + type empty; + } + } + } + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 64; + } + leaf always-mark-connection-protection-tlv { + description "Mark connection protection tlv on this interface"; + type empty; + } + leaf switch-away-lsps { + description "Switch away protected LSPs to their bypass LSPs"; + type empty; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + } + container static { + description "Static label-switch path related configurations"; + uses apply-advanced; + leaf protection-revert-time { + description "FRR revert wait time, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container egress-protection { + description "Egress router protection"; + uses apply-advanced; + list context-identifier { + key name; + description "Context identifier"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice context-type { + case case_1 { + leaf primary { + description "Primary"; + type empty; + } + } + case case_2 { + leaf protector { + description "Protector"; + type empty; + } + } + } + leaf metric { + description "IGP metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 16777215"; + } + } + } + leaf advertise-mode { + description "Advertise mode"; + type enumeration { + enum "stub-proxy" { + description "Proxy"; + } + enum "stub-alias" { + description "Alias"; + } + } + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + } + container traceoptions { + description "Trace options for egress-protection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "state" { + description "Trace state transitions"; + } + enum "route" { + description "Trace route transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container label-history { + presence "enable label-history"; + description "MPLS label history recording"; + uses apply-advanced; + leaf max-entries { + description "Limit for the number of history entry per label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container label-range { + description "MPLS labels ranges"; + uses apply-advanced; + list lsi-label-range { + key name; + ordered-by user; + description "LSI-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list block-label-range { + key name; + ordered-by user; + description "Block-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list dynamic-label-range { + key name; + ordered-by user; + description "Dynamic-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list static-label-range { + key name; + ordered-by user; + description "Static-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf label-limit { + description "Limit for the number of concurrent active labels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping admin_group_include_exclude { + uses apply-advanced; + choice include-any-choice { + case case_1 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include-all-choice { + case case_1 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude-choice { + case case_1 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + grouping juniper-protocols-msdp { + uses apply-advanced; + leaf data-encapsulation { + description "Set encapsulation of data packets"; + type enumeration { + enum "disable" { + description "Disable data encapsulation"; + } + enum "enable" { + description "Enable data encapsulation"; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + list source { + key name; + ordered-by user; + description "Configure parameters for each source"; + leaf name { + description "Source address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + } + list group { + key name; + ordered-by user; + description "Configure MSDP peer groups"; + leaf name { + description "MSDP peer group name"; + type string; + } + uses apply-advanced; + leaf mode { + description "MSDP group source-active flooding mode"; + default "standard"; + type enumeration { + enum "standard" { + description "Use standard MSDP source-active flooding rules"; + } + enum "mesh-group" { + description "Group peers are mesh group members"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + } + } + grouping juniper-protocols-mstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSTP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf configuration-name { + description "Configuration name (part of MST configuration identifier)"; + type string { + length "1 .. 32"; + } + } + leaf revision-level { + description "Revision level (part of MST configuration identifier)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf max-hops { + description "Maximum number of hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + list msti { + key name; + description "Per-MSTI options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4094"; + } + } + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + } + } + grouping juniper-protocols-mvpn { + description "BGP-MVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for BGP-MVPN"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "nlri" { + description "Trace MVPN advertisements"; + } + enum "topology" { + description "Trace MVPN topology changes"; + } + enum "tunnel" { + description "Trace provider tunnel events"; + } + enum "umh" { + description "Trace Upstream Multicast Hop (UMH) events"; + } + enum "intra-as-ad" { + description "Trace MVPN intra-AS auto discovery routes"; + } + enum "inter-as-ad" { + description "Trace MVPN inter-AS auto discovery routes"; + } + enum "spmsi-ad" { + description "Trace MVPN SPMSI auto discovery routes"; + } + enum "leaf-ad" { + description "Trace MVPN leaf auto discovery routes"; + } + enum "source-active" { + description "Trace MVPN source active routes"; + } + enum "cmcast-join" { + description "Trace MVPN c-multicast join routes"; + } + enum "mdt-safi-ad" { + description "Trace MVPN MDT SAFI auto discovery routes"; + } + enum "mvpn-limit" { + description "Trace MVPN spmsi and cmcast limit events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + status deprecated; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + container family { + description "BGP-MVPN address family"; + uses apply-advanced; + container any { + presence "enable any"; + description "BGP-MVPN properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + description "IPv4 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + choice sender-receiver-site-choice { + case case_1 { + leaf receiver-site { + description "MVPN instance has sites only with multicast receivers"; + type empty; + } + } + case case_2 { + leaf sender-site { + description "MVPN instance has sites only with multicast sources"; + type empty; + } + } + } + leaf unicast-umh-election { + description "Upstream Multicast Hop election based on unicast route preference"; + type empty; + } + container static-umh { + description "Upstream Multicast Hop election based on static configuration"; + uses apply-advanced; + leaf primary { + description "Primary Upstream Multicast Hop"; + type jt:ipv4addr; + } + leaf backup { + description "Secondary Upstream Multicast Hop"; + type jt:ipv4addr; + } + choice source-tree_choice { + case case_1 { + leaf source-tree { + description "Mandatory attribute - static-umh applies only to MVPN source-tree c-multicast joins"; + type empty; + } + } + } + } + leaf cmcast-joins-limit-inet { + description "Maximum number of cmcast entries for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf cmcast-joins-limit-inet6 { + description "Maximum number of cmcast entries for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container mvpn-mode { + description "MVPN mode of operation"; + uses apply-advanced; + choice mode { + case case_1 { + container rpt-spt { + presence "enable rpt-spt"; + description "MVPN works in multicast RPT and SPT mode"; + uses apply-advanced; + leaf spt-switch-timer { + description "Timeout before a PE router switches between RPT and SPT"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + } + case case_2 { + container spt-only { + presence "enable spt-only"; + description "MVPN works in multicast SPT only mode (default mode)"; + uses apply-advanced; + container source-active-advertisement { + description "Attributes associated with advertising Source-Active A-D routes"; + uses apply-advanced; + leaf dampen { + description "Time to wait before re-advertising source-active route"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf min-rate { + description "Minimum traffic rate required to advertise Source-Active route"; + units "bits per second"; + type string; + } + } + leaf convert-sa-to-msdp { + description "Turn on MVPN SA route to MSDP SA conversion"; + type empty; + } + } + } + } + } + container route-target { + description "Configure route-targets for MVPN routes"; + uses apply-advanced; + container import-target { + description "Target communities used when importing routes"; + uses apply-advanced; + container unicast { + presence "enable unicast"; + description "Use the same target community as configured for unicast"; + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + container target { + presence "enable target"; + description "Target community"; + leaf target-value { + type string { + } + } + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + } + container export-target { + description "Target communities used when exporting routes"; + uses apply-advanced; + leaf unicast { + description "Use the same target community as configured for unicast"; + type empty; + } + leaf target { + description "Target community"; + type string { + } + } + } + } + container mvpn-join-load-balance { + description "MVPN Join Load Balancing Algorithm"; + uses apply-advanced; + choice algorithm { + case case_1 { + container bytewise-xor-hash { + presence "enable bytewise-xor-hash"; + description "Upstream selection using bytewise XOR hash"; + } + } + } + } + container hot-root-standby { + description "MVPN live-live - hot root standby"; + uses apply-advanced; + choice tree { + case case_1 { + container source-tree { + presence "enable source-tree"; + description "MVPN live-live - hot root standby for source tree"; + } + } + } + container min-rate { + description "Minimum traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + uses apply-advanced; + leaf rate { + description "Minium traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + units "bits per second"; + type string; + } + leaf revert-delay { + description "Time to delay updating of multicast routes to allow for multicast convergence"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + } + } + container inter-region-template { + description "MVPN inter-region tunnel mapping template"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Define a inter-region template"; + leaf name { + description "MVPN Template Name"; + type string; + } + uses apply-advanced; + list region { + key name; + ordered-by user; + description "BGP peer group names used as region"; + leaf name { + description "Region name"; + type string; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + container all-regions { + description "Used for all regions not specified"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + } + } + leaf source-redundancy { + description "Assume all the sources for a particular group is sending same data"; + type empty; + } + container umh-selection-additional-input { + description "Additional parameters to consider during UMH"; + uses apply-advanced; + leaf source-active-preference { + description "Use the preference set in the source active route"; + type empty; + } + leaf tunnel-status { + description "Use the RSVP tunnel status"; + type empty; + } + } + } + grouping juniper-protocols-mvrp { + description "MVRP Configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for MVRP"; + uses mrp-trace-options; + } + leaf join-timer { + description "Join timer interval"; + default "200"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + default "800"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf no-dynamic-vlan { + description "Disable dynamic VLAN creation"; + type empty; + } + leaf no-attribute-length-in-pdu { + description "No attribute length while sending pdu "; + type empty; + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the MVRP BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + list interface { + key name; + ordered-by user; + description "Configure interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf join-timer { + description "Join timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf point-to-point { + description "Port is point to point"; + type empty; + } + leaf registration { + description "Registration mode"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal registration mode"; + } + enum "restricted" { + description "Restricted registration mode"; + } + enum "forbidden" { + description "Forbidden registration mode"; + } + } + } + } + } + grouping juniper-protocols-openflow { + uses apply-advanced; + list switch { + key name; + ordered-by user; + description "OpenFlow switch"; + max-elements 1; + leaf name { + description "Switch name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container default-action { + description "Action for packets that not have a matching flow entry"; + uses apply-advanced; + choice drop-pktin { + case case_1 { + leaf drop { + description "Drop all packets that do not have a matching flow entry"; + type empty; + } + } + case case_2 { + leaf packet-in { + description "Send packets to client if no matching flow entry"; + type empty; + } + } + } + } + list interfaces { + key name; + ordered-by user; + description "Interfaces configured for use with Openflow"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf port-id { + description "Openflow port ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 32640"; + } + } + } + } + leaf purge-flow-timer { + description "Purge timer value for invalid flows"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + container controller { + description "OpenFlow controller's IP address, port and protocol"; + uses apply-advanced; + container protocol { + description "Protocol type for controller connection"; + uses apply-advanced; + container tcp { + description "Set protocol type to 'TCP' (default)"; + uses apply-advanced; + leaf port { + description "Controller's port number (default 6633)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1024 .. 65535"; + } + } + } + } + } + leaf role { + description "Controller role"; + type enumeration { + enum "equal" { + description "Set role to 'equal'"; + } + } + } + leaf address { + description "Controller's IPv4 address"; + type jt:ipaddr; + } + leaf id { + description "Controller id"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "OpenFlow switch daemon trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "switch" { + description "Trace openflow switch events"; + } + enum "configuration" { + description "Trace openflow configuration events"; + } + enum "flow" { + description "Trace openflow flow events"; + } + enum "filter" { + description "Trace openflow filter events"; + } + enum "function" { + description "Trace openflow function entry/exit events"; + } + enum "packet-io" { + description "Trace openflow packet in/out events"; + } + enum "statistics" { + description "Trace openflow statistics events"; + } + enum "interface" { + description "Trace openflow interface events"; + } + enum "packets" { + description "Trace openflow packets"; + } + enum "barrier" { + description "Trace openflow barrier events"; + } + enum "nh" { + description "Trace openflow next-hop events"; + } + enum "group" { + description "Trace openflow group events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping juniper-protocols-ospf { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + grouping juniper-protocols-overlayd { + uses apply-advanced; + container traceoptions { + description "Overlayd trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "socket" { + description "Trace overlay daemon socket events"; + } + enum "rtsock" { + description "Trace overlay daemon rtsock events"; + } + enum "config" { + description "Trace overlay daemon config events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping juniper-protocols-pgm { + uses apply-advanced; + container traceoptions { + description "PGM trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + leaf register-probe-time { + description "Register probe time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 60"; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping juniper-protocols-protection-group { + uses apply-advanced; + container ethernet-aps { + description "Ethernet APS configuration"; + uses juniper-protocols-protection-group-eaps; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses erp-trace-options; + } + leaf restore-interval { + description "Wait to restore interval"; + default "5"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms steps"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + list ethernet-ring { + key name; + ordered-by user; + description "Ethernet ring"; + uses juniper-protocols-protection-group-ethernet-ring; + } + } + grouping erp-trace-options { + description "Trace options for Ethernet Ring Protocol"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace R-APS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace R-APS state machine"; + } + enum "periodic-packet-management" { + description "Trace periodic packet management state and events"; + } + enum "config" { + description "Trace protocol configuration"; + } + enum "normal" { + description "Trace protocol general log messages"; + } + enum "debug" { + description "Trace protocol debug log messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + container file { + description "Trace file options"; + uses trace_file_type; + } + } + grouping juniper-protocols-protection-group-eaps { + uses apply-advanced; + list profile { + key name; + uses juniper-protocols-protection-group-eaps-profile; + } + } + grouping juniper-protocols-protection-group-eaps-profile { + description "Ethernet APS profile"; + leaf name { + description "Profile name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf protocol { + description "Protocol value"; + type enumeration { + enum "ccm" { + description "Use CCM packets for protection."; + } + enum "G.8031" { + description "Use G.8031 packets for protection."; + } + } + } + leaf revert-time { + description "Reversion time in minutes, 0 would mean no reversion"; + default "4"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf hold-time { + description "Hold time in seconds"; + default "0"; + units "milli seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf local-request { + description "Local APS request"; + type enumeration { + enum "lockout" { + description "Lockout protection"; + } + } + } + } + grouping juniper-protocols-protection-group-ethernet-ring { + description "Ethernet Ring protection group configuration"; + leaf name { + description "Name of Ethernet Ring protection group"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf node-id { + description "Node ID of the protection group, by default bridge's MAC"; + type jt:mac-unicast; + } + leaf ring-protection-link-owner { + description "Ring protection link owner flag, one ring should have only one node as a ring protection link owner"; + type empty; + } + leaf level { + description "MPG Level value for R-APS PDU"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf restore-interval { + description "Wait to restore interval"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container east-interface { + description "East interface configuration"; + presence "enable east-interface"; + uses erp-interface; + } + container west-interface { + description "West interface configuration"; + presence "enable west-interface"; + uses erp-interface; + } + leaf control-vlan { + description "Dedicated VLAN identifier - VLAN id or VLAN name"; + type string; + } + container data-channel { + description "Ring instance data channel"; + presence "enable data-channel"; + uses erp-data-channel; + } + } + grouping erp-data-channel { + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + } + grouping erp-interface { + uses apply-advanced; + container control-channel { + presence "enable control-channel"; + description "Control channel of ring port"; + uses apply-advanced; + leaf vlan { + description "Dedicated VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 4094"; + } + } + } + leaf control-channel-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ring-protection-link-end { + description "Port is connecting to ring protection link"; + type empty; + } + leaf interface-none { + description "Port is not used"; + type empty; + } + } + grouping juniper-protocols-rip { + uses apply-advanced; + container traceoptions { + description "Trace options for RIP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "auth" { + description "Trace RIP authentication"; + } + enum "error" { + description "Trace RIP errors"; + } + enum "expiration" { + description "Trace RIP route expiration processing"; + } + enum "holddown" { + description "Trace RIP hold-down processing"; + } + enum "packets" { + description "Trace all RIP packets"; + } + enum "request" { + description "Trace RIP information packets"; + } + enum "trigger" { + description "Trace RIP triggered updates"; + } + enum "update" { + description "Trace RIP update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses rip_filter_obj; + } + } + } + container rib-group { + description "Routing table group for importing RIP routes"; + uses rib_group_inet_type; + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv2 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv2 packets"; + type empty; + } + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a message in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf interface-type { + description "Interface type for the neighbor"; + type enumeration { + enum "p2mp" { + description "Point-to-multipoint link"; + } + } + } + leaf dynamic-peers { + description "Learn peers dynamically on a p2mp interface"; + type empty; + } + list peer { + key name; + ordered-by user; + description "P2MP peer"; + leaf name { + description "Address of peer"; + type jt:ipaddr; + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a msg in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv1 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv1 packets"; + type empty; + } + } + leaf any-sender { + description "Disable strict checks on sender address"; + type empty; + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIP is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-ripng { + uses apply-advanced; + container traceoptions { + description "Trace options for RIPng"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace RIPng errors"; + } + enum "expiration" { + description "Trace RIPng route expiration processing"; + } + enum "holddown" { + description "Trace RIPng hold-down processing"; + } + enum "packets" { + description "Trace all RIPng packets"; + } + enum "request" { + description "Trace RIPng information packets"; + } + enum "trigger" { + description "Trace RIPng triggered updates"; + } + enum "update" { + description "Trace RIPng update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIPng graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIPng is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-router-discovery { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable router discovery"; + type empty; + } + } + } + container traceoptions { + description "Trace options for router discovery"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router discovery"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf max-advertisement-interval { + description "Maximum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1800"; + } + } + } + leaf lifetime { + description "How long addresses in advertisements are valid"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 9000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "IP addresses to include in advertisements"; + leaf name { + description "IP addresses to include in router advertisements"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf advertise { + description "Advertise the IP address in advertisements"; + type empty; + } + leaf ignore { + description "Do not advertise the IP address in advertisements"; + type empty; + } + leaf broadcast { + description "Include IP address only in broadcast advertisements"; + type empty; + } + leaf multicast { + description "Include IP address only in multicast advertisements"; + type empty; + } + leaf ineligible { + description "IP address can never become a default router"; + type empty; + } + leaf priority { + description "Preference of the address to become a default router"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-rsvp { + description "RSVP options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP"; + type empty; + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP graceful restart capability"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf maximum-helper-restart-time { + description "Maximum wait time from down event to neighbor dead"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf maximum-helper-recovery-time { + description "Maximum time restarting neighbor states are kept"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container tunnel-services { + presence "enable tunnel-services"; + description "Use tunnel services for P2MP LSP ultimate-hop popping"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for P2MP LSPs"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf no-p2mp-sublsp { + description "Disable P2MP sub-LSP object generation"; + type empty; + } + leaf no-node-id-subobject { + description "Do not include the node-id sub-object in the RRO"; + type empty; + } + leaf no-interface-hello { + description "Disble interface Hellos on all RSVP interfaces"; + type empty; + } + container pop-and-forward { + description "RSVP pop-and-forward specific global parameters"; + uses apply-advanced; + container application-label { + description "Number of application labels under the RSVP transport"; + uses apply-advanced; + leaf depth { + description "Application label depth"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + } + } + leaf hello-acknowledgements { + description "Acknowledge Hellos on RSVP interfaces not having sessions"; + type empty; + } + leaf no-hello-acknowledgements { + description "Do not ack Hellos on RSVP interfaces not having sessions"; + type empty; + } + container node-hello { + presence "enable node-hello"; + description "Enable node-ID based Hellos on all RSVP interfaces"; + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + leaf no-node-hello { + description "Disable node-ID based Hellos on the router"; + type empty; + } + leaf allow-bidirectional { + description "Enable bidirectional support in RSVP"; + status deprecated; + type empty; + } + leaf local-reversion { + description "Enable local reversion at this Point of Local Repair"; + type empty; + } + leaf no-local-reversion { + description "Disable local reversion at this Point of Local Repair"; + type empty; + } + container fast-reroute { + description "One-to-one fast-reroute protection mechanism"; + uses apply-advanced; + leaf optimize-timer { + description "Frequency of reoptimization for fast-reroute detour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + container load-balance { + description "Per-packet load-balancing algorithm"; + uses apply-advanced; + leaf bandwidth { + description "Per-packet load balancing proportional to LSP bandwidth"; + type empty; + } + } + container traceoptions { + description "Trace options for RSVP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP trigger packets"; + } + enum "path" { + description "Trace RSVP trigger path messages"; + } + enum "resv" { + description "Trace RSVP trigger Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Refresh time in seconds"; + default "1200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keep-multiplier { + description "Keep multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf graceful-deletion-timeout { + description "Time to complete graceful deletion signaling"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf setup-protection { + description "Enable setup protection"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute CSPF paths spanning protocols for bypass LSP, detour LSP and loose hop expansion"; + type empty; + } + container preemption { + description "Set RSVP session preemption attributes"; + uses apply-advanced; + choice preemption-type { + case case_1 { + leaf disabled { + description "No RSVP session preemption"; + type empty; + } + } + case case_2 { + leaf normal { + description "Run RSVP session preemption to accommodate new sessions"; + type empty; + } + } + case case_3 { + leaf aggressive { + description "Run RSVP session preemption whenever necessary"; + type empty; + } + } + } + container soft-preemption { + description "Options for establishing new path before tearing down a preempted LSP"; + uses apply-advanced; + leaf cleanup-timer { + description "Time a soft-preempted LSP will be maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 180"; + } + } + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + leaf no-authentication-check { + description "Skip authentication check for received messages"; + type empty; + } + container associated-bidirectional-lsp { + description "Set associated bidirectional LSP attributes"; + uses apply-advanced; + leaf single-sided-provisioning { + description "Enable unidirectional reverse LSP setup for single sided provisioned forward LSP"; + type empty; + } + } + leaf no-enhanced-frr-bypass { + description "Disable enhanced facility backup FRR"; + type empty; + } + list interface { + key name; + ordered-by user; + description "RSVP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container subscription { + description "Link bandwidth percentage for RSVP reservation"; + uses subscription-type; + } + leaf bandwidth { + description "Available bandwidth for the interface units bps"; + type string; + } + leaf update-threshold { + description "Percentage change in reserved bandwidth to trigger IGP update"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + container update-threshold-max-reservable { + description "Change in non-rsvp bandwidth to trigger IGP update "; + uses apply-advanced; + leaf bandwidth { + description "Change in non-rsvp bandwidth to trigger IGP update units bps"; + type string; + } + leaf percent { + description "Percentage change in max-reservable bandwidth to trigger IGP update"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container link-protection { + presence "enable link-protection"; + description "Protect traffic with a label-stacked LSP"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link protection on this interface"; + type empty; + } + } + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf max-bypasses { + description "Max number of bypasses permitted for protecting this interface"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + leaf subscription { + description "Percent of bandwidth guaranteed when admitting protected LSPs into bypasses"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-node-protection { + description "Disallow node protection on this interface"; + type empty; + } + leaf optimize-timer { + description "Interval between bypass reoptimizations"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + container priority { + presence "enable priority"; + description "Preemption priorities for the bypass LSP"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + list bypass { + key name; + ordered-by user; + description "Bypass with specific constraints"; + leaf name { + description "Name of bypass"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf description { + description "Text description of bypass"; + type string { + length "1 .. 80"; + } + } + container priority { + presence "enable priority"; + description "Preemption priorities for bypass"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this control peer"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container dynamic-bidirectional-transport { + presence "enable dynamic-bidirectional-transport"; + description "Enable dynamic setup of bidirectional packet LSP for transporting non-packet GMPLS LSP"; + uses apply-advanced; + leaf template { + description "Template for the dynamic bidirectional packet LSP"; + type string { + } + } + } + } + list lsp-set { + key name; + ordered-by user; + description "Configuration for lsp set"; + leaf name { + description "Name of lsp set"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this lsp set"; + type empty; + } + } + } + container match-criteria { + description "Match criteria for this lsp set"; + uses lsp-set-match-type; + } + container traceoptions { + description "Trace options for this lsp set"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP packets"; + } + enum "path" { + description "Trace RSVP path messages"; + } + enum "resv" { + description "Trace RSVP Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + grouping juniper-protocols-stp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable STP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + leaf extended-system-id { + description "Extended system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 4095"; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + } + grouping juniper-protocols-vgd { + uses apply-advanced; + container traceoptions { + description "OVSDB trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "interface" { + description "Trace OVSDB daemon interface events"; + } + enum "configuration" { + description "Trace OVSDB daemon configuration events"; + } + enum "core" { + description "Trace OVSDB daemon core events"; + } + enum "l2-client" { + description "Trace OVSDB daemon l2-client events"; + } + enum "ovs-client" { + description "Trace OVSDB daemon ovs-client events"; + } + enum "function" { + description "Trace OVSDB daemon function events"; + } + enum "netconf-client" { + description "Trace OVSDB daemon netconf-client events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interfaces { + key name; + ordered-by user; + description "Interfaces configured to be controlled by OVSDB"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list controller { + key name; + ordered-by user; + description "Controller's IP address and port"; + leaf name { + description "Controller's IPv4 address"; + type jt:ipaddr; + } + uses apply-advanced; + container protocol { + description "Protocol type for controller connection"; + uses apply-advanced; + container tcp { + description "Set protocol type to 'TCP'"; + uses apply-advanced; + leaf port { + description "Controller's port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1024 .. 65535"; + } + } + } + } + container ssl { + description "Set protocol type to 'SSL' (default)"; + uses apply-advanced; + leaf port { + description "Controller's port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1024 .. 65535"; + } + } + } + } + } + leaf maximum-backoff-duration { + description "Maximum duration to wait between connection attempts"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf inactivity-probe-duration { + description "Maximum idle duration before sending inactivity probe"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-vni-options { + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-vstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable VSTP"; + type empty; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + list vlan { + key name; + description "VLAN spanning tree options"; + leaf name { + description "VLAN id or all"; + type string; + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + container vlan-group { + presence "enable vlan-group"; + description "Spanning tree options for group of VLANs"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name if VLAN group"; + leaf name { + description "VLAN group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + } + } + grouping juniper-routing-instance { + description "Routing instance"; + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of routing instance"; + type string { + } + } + leaf vlan-model { + description "Subscriber vlan-model in L2Wholesale framework"; + type enumeration { + enum "one-to-one" { + description "Customer VLAN model (1:1)"; + } + } + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf-list remote-vtep-v6-list { + description "Configurate static ipv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + leaf instance-role { + description "Primary role of L2Backhaul-vpn router"; + type enumeration { + enum "access" { + description "Role of Access/Aggregation router"; + } + enum "nni" { + description "Role of Provider network interfacing router"; + } + } + } + leaf instance-type { + description "Type of routing instance"; + type enumeration { + enum "forwarding" { + description "Forwarding instance"; + } + enum "vrf" { + description "Virtual routing forwarding instance"; + } + enum "no-forwarding" { + description "Nonforwarding instance"; + } + enum "l2vpn" { + description "Layer 2 VPN routing instance"; + } + enum "vpls" { + description "VPLS routing instance"; + } + enum "virtual-switch" { + description "Virtual switch routing instance"; + } + enum "l2backhaul-vpn" { + description "L2Backhaul/L2Wholesale routing instance"; + } + enum "virtual-router" { + description "Virtual routing instance"; + } + enum "layer2-control" { + description "Layer 2 control protocols"; + } + enum "mpls-internet-multicast" { + description "Internet Multicast over MPLS routing instance"; + } + enum "evpn" { + description "EVPN routing instance"; + } + enum "mpls-forwarding" { + description "Routing instance provides a MPLS forwarding-context"; + } + enum "evpn-vpws" { + description "EVPN VPWS routing instance"; + } + } + } + choice vrf-propagate-ttl-or-no-vrf-propagate-ttl { + case case_1 { + leaf no-vrf-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + case case_2 { + leaf vrf-propagate-ttl { + description "Enable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + } + container egress-protection { + description "Egress instance protection"; + uses apply-advanced; + leaf protector { + description "Enable Edge Protector functionality for this VPN"; + type empty; + } + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + container system { + description "System parameters"; + uses apply-advanced; + container services { + description "System services"; + uses apply-advanced; + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + } + } + container access { + description "Network access configuration"; + uses apply-advanced; + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + } + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + list interface { + key name; + description "Interface name for this routing instance"; + leaf name { + type string; + } + uses apply-advanced; + choice mode { + case case_1 { + leaf any { + description "Interface used for both unicast and multicast traffic"; + type empty; + } + } + case case_2 { + leaf unicast { + description "Interface used for unicast traffic only"; + type empty; + } + } + case case_3 { + leaf multicast { + description "Interface used for multicast traffic only"; + type empty; + } + } + } + leaf primary { + description "Preferred multicast vt interface for the routing-instance"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this routing-instance"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf multicast-v6-group { + description "Multicast IPv6 group registered for VXLAN segment"; + type jt:ipv6addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf l3-interface { + description "L3 interface name for this routing-instance"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf qualified-bum-pruning-mode { + description "Enable BUM pruning for VPLS instance"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + container l2vpn-id { + description "Layer-2 vpn-id for this instance"; + uses apply-advanced; + leaf community { + description "L2VPN ID community for FEC129 VPLS/VPWS with BGP auto-discovery"; + type string { + } + } + } + container provider-tunnel { + description "Provider tunnel configuration"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SSM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + } + container inter-region { + description "Inter-region segmented tunnels"; + uses apply-advanced; + choice segmented-or-not { + case case_1 { + leaf template { + description "Use inter-region segmentation template"; + type string; + } + } + case case_2 { + leaf no-inter-region-segmentation { + description "Do not participate in inter-region segmentation"; + type empty; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + container selective { + description "Selective tunnels"; + uses apply-advanced; + leaf tunnel-limit { + description "Maximum number of selective tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf leaf-tunnel-limit-inet { + description "Maximum number of selective leaf tunnels for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf leaf-tunnel-limit-inet6 { + description "Maximum number of selective leaf tunnels for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container wildcard-group-inet { + description "IPv4 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + container wildcard-group-inet6 { + description "IPv6 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + case case_4 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + } + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + } + container mdt { + description "Data MDT tunnels for PIM MVPN"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container family { + presence "enable family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv4 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + container inet6 { + presence "enable inet6"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv6 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + leaf auto { + description "Auto derive import and export target community from BGP AS & L2"; + type empty; + } + } + leaf no-vrf-advertise { + description "Don't advertise this instance to remote PEs"; + type empty; + } + leaf connector-id-advertise { + description "Advertise connector-id attribute"; + type empty; + } + container vrf-advertise-selective { + presence "enable vrf-advertise-selective"; + description "Override no-vrf-advertise knob for the specified address family"; + uses apply-advanced; + container family { + description "Protocol family to be selectively advertised"; + uses apply-advanced; + leaf inet-mvpn { + description "IPv4 MVPN Address Family"; + type empty; + } + leaf inet6-mvpn { + description "IPv6 MVPN Address Family"; + type empty; + } + } + } + container vrf-table-label { + presence "enable vrf-table-label"; + description "Advertise a single VPN label for all routes in the VRF"; + leaf static { + description "Specify label value to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf source-class-usage { + description "Enable source class usage"; + type empty; + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container igmp-snooping-options { + description "IGMP snooping option configuration"; + uses juniper-igmp-snooping-options; + } + container mld-snooping-options { + description "MLD snooping option configuration"; + uses juniper-mld-snooping-options; + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container mpls { + description "MPLS configuration"; + uses juniper-protocols-mpls; + } + container rsvp { + description "RSVP configuration"; + uses juniper-protocols-rsvp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPF3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container isis { + description "IS-IS configuration"; + uses juniper-protocols-isis; + } + container l2vpn { + description "Layer 2 VPN configuration"; + uses juniper-protocols-l2vpn; + } + container vpls { + description "VPLS configuration"; + presence "enable vpls"; + uses juniper-protocols-l2vpn; + } + container evpn { + description "EVPN configuration"; + presence "enable evpn"; + uses juniper-protocols-l2vpn; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container amt { + description "AMT relay configuration"; + uses juniper-protocols-amt; + } + container ldp { + description "LDP configuration"; + uses juniper-protocols-ldp; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container mvpn { + description "BGP-MVPN configuration"; + presence "enable mvpn"; + uses juniper-protocols-mvpn; + } + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-ri-protocols-mld-snooping; + } + container pim-snooping { + description "PIM snooping configuration"; + presence "enable pim-snooping"; + uses juniper-protocols-pim-snooping; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container rstp { + description "RSTP configuration"; + uses juniper-protocols-stp; + } + container mstp { + description "MSTP configuration"; + uses juniper-protocols-mstp; + } + container vstp { + description "VSTP configuration"; + uses juniper-protocols-vstp; + } + } + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + container switch-options { + description "L2 options for routing-instance of type virtual-switch"; + uses juniper-routing-instance-switch-options; + } + leaf layer3-domain-identifier { + description "Layer3 domain identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 8192"; + } + } + } + leaf l2-domain-id-for-l3 { + description "Layer2 domain identifier for L3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4095"; + } + } + } + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping juniper-forwarding-options { + uses apply-advanced; + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + choice sampling-or-packet-capture { + case case_1 { + container sampling { + description "Statistical traffic sampling options"; + uses juniper-sampling-options; + } + } + case case_2 { + } + } + list accounting { + key name; + description "Configure accounting of traffic"; + uses juniper-packet-accounting-options; + } + list analyzer { + key name; + description "Analyzer options"; + uses smpl-analyzer-type; + } + container port-mirroring { + description "Configure port mirroring of traffic"; + uses juniper-port-mirror-options; + } + container load-balance { + description "Configure load-balancing attributes on the forwarding path"; + uses apply-advanced; + container indexed-load-balance { + presence "enable indexed-load-balance"; + description "Use indexed permuted next hop lists for unilist and aggregate next hops"; + uses apply-advanced; + } + container per-flow { + uses apply-advanced; + } + container per-prefix { + presence "enable per-prefix"; + uses apply-advanced; + leaf hash-seed { + description "Specifies per-router input value for per-prefix load-balancing hash function"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + } + } + container hash-key { + description "Select data used in the hash key"; + uses junos_hash_key; + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + container enhanced-hash-key { + description "Select data used in the hash key for Enhanced IP Forwarding Engines"; + uses apply-advanced; + leaf ecmp-resilient-hash { + description "Set resilient hashing for ECMP"; + type empty; + } + container fabric-load-balance { + presence "enable fabric-load-balance"; + description "Set load balancing options for VC-Fabric forwarding"; + status deprecated; + uses apply-advanced; + choice mode { + case case_1 { + container flowlet { + presence "enable flowlet"; + description "Inactivity-based flowlet link assignment (default)"; + status deprecated; + uses apply-advanced; + leaf inactivity-interval { + description "Minimum inactivity interval for flowlet detection"; + status deprecated; + type enumeration { + enum "16us" { + description "16 microseconds (default)"; + status deprecated; + } + enum "64us" { + description "64 microseconds"; + status deprecated; + } + enum "512us" { + description "512 microseconds"; + status deprecated; + } + enum "32ms" { + description "32 milliseconds"; + status deprecated; + } + } + } + } + } + case case_2 { + leaf per-packet { + description "Per-packet optimal spraying"; + status deprecated; + type empty; + } + } + } + } + container hash-mode { + description "Hashing mode"; + uses apply-advanced; + choice instance { + case case_1 { + leaf layer2-header { + description "Only layer2 header fields are considered for hashing"; + type empty; + } + } + case case_2 { + leaf layer2-payload { + description "Only layer2 payload fields are considered for hashing"; + type empty; + } + } + case case_3 { + leaf gtp-header-offset { + description "Gtp header first byte offset"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container hash-seed { + presence "enable hash-seed"; + description "Hash seed"; + uses apply-advanced; + leaf seed-value { + description "Hash seed value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container resilient-hash-seed { + presence "enable resilient-hash-seed"; + description "Resilient hash seed"; + uses apply-advanced; + leaf resilient-seed-value { + description "Hash seed value for resilient ECMP and LAG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container layer2 { + description "Configure layer2 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-source-mac-address { + description "Exclude source MAC address from the hash key"; + type empty; + } + leaf source-mac-address { + description "Include source MAC address from the hash key"; + type empty; + } + leaf no-destination-mac-address { + description "Exclude destination MAC address from the hash key"; + type empty; + } + leaf destination-mac-address { + description "Include destination MAC address from the hash key"; + type empty; + } + leaf no-ether-type { + description "Exclude ether type from the hash key"; + type empty; + } + leaf vlan-id { + description "Include incoming vlan-id in hash key"; + type empty; + } + leaf no-vlan-id { + description "Not include vlan-id in hash key"; + type empty; + } + leaf inner-vlan-id { + description "Include incoming inner-vlan-id in hash key"; + type empty; + } + } + container inet { + description "Configure inet4 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-l4-source-port { + description "Exclude l4 source port from the hash key"; + type empty; + } + leaf no-l4-destination-port { + description "Exclude l4 dest port from the hash key"; + type empty; + } + leaf no-protocol { + description "Exclude protocol from the hash key"; + type empty; + } + leaf no-ipv4-source-address { + description "Exclude IPv4 source address"; + type empty; + } + leaf no-ipv4-destination-address { + description "Exclude IPv4 destination address"; + type empty; + } + leaf vlan-id { + description "Include incoming vlan-id in hash key"; + type empty; + } + } + container inet6 { + description "Configure inet6 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-l4-source-port { + description "Exclude l4 source port from the hash key"; + type empty; + } + leaf no-l4-destination-port { + description "Exclude l4 dest port from the hash key"; + type empty; + } + leaf ipv6-flow-label { + description "Include IPv6 flow label"; + type empty; + } + leaf no-next-header { + description "Exclude next header from the hash key"; + type empty; + } + leaf no-ipv6-source-address { + description "Exclude IPv6 source address"; + type empty; + } + leaf no-ipv6-destination-address { + description "Exclude IPv6 destination address"; + type empty; + } + leaf vlan-id { + description "Include vlan-id in hash key"; + type empty; + } + } + leaf no-mpls { + description "Disable mpls in hash key"; + type empty; + } + container gre { + description "Configure for GRE "; + uses apply-advanced; + leaf key { + description "Include key in hash key"; + type empty; + } + leaf protocol { + description "Include protocol in hash key"; + type empty; + } + } + leaf vxlan-vnid { + description "Enable vxlan-vnid"; + type empty; + } + container services-loadbalancing { + description "Select key to load balance across service PICs"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf src-prefix-len { + description "Enhanced hash key inet6 source prefix length"; + default "127"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "56 .. 127"; + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf type-of-service { + description "Include TOS byte in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf l2tp-tunnel-session-identifier { + description "Include TID SID in the hash key for L2TP packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class byte in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + leaf label-1-exp { + description "Include EXP of first MPLS label from the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + choice pseudowire_option { + case case_1 { + leaf no-ether-pseudowire { + description "Omit IP payload over ethernet PW from the hash-key"; + type empty; + } + } + case case_2 { + } + } + leaf no-payload { + description "Omit MPLS payload data from the hash key"; + type empty; + } + } + container multiservice { + description "Multiservice protocol (bridged/CCC/VPLS) family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in hash key"; + type empty; + } + leaf outer-priority { + description "Include Outer 802.1 Priority bits in the hash key"; + type empty; + } + leaf no-payload { + description "Omit payload data from the hash key"; + type empty; + } + leaf no-mac-addresses { + description "Omit source and destination MAC addresses from the hash key"; + type empty; + } + } + } + } + container next-hop { + description "Next hop throttle"; + uses apply-advanced; + } + container multicast { + description "Multicast resolve and mismatch rate"; + uses apply-advanced; + leaf resolve-rate { + description "Multicast resolve rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf mismatch-rate { + description "Multicast interface mismatch rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + } + container rpf-loose-mode-discard { + description "Configure rpf loose mode behavior"; + uses apply-advanced; + container family { + description "Protocol family"; + uses apply-advanced; + leaf inet { + description "Configure rpf loose mode behavior for IPv4"; + type empty; + } + leaf inet6 { + description "Configure rpf loose mode behavior for IPv6"; + type empty; + } + } + } + container explicit-null-cos { + presence "enable explicit-null-cos"; + description "Configure to use MPLS explicit null exp for COS classification"; + uses apply-advanced; + leaf inet { + description "Include family inet"; + type empty; + } + leaf inet6 { + description "Include family inet6"; + type empty; + } + } + container helpers { + description "Port forwarding configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of UDP forwarding helper process on which to enable debugging output"; + leaf name { + type enumeration { + enum "trace" { + description "Trace tracing code"; + } + enum "address" { + description "Trace address management code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "util" { + description "Trace miscellaneous utility code"; + } + enum "gencfg" { + description "Trace fud gencfg message"; + } + enum "domain" { + description "Trace DNS service-specific code"; + } + enum "tftp" { + description "Trace TFTP service-specific code"; + } + enum "bootp" { + description "Trace BOOTP/DHCP service-specific code"; + } + enum "port" { + description "Trace arbitrary protocol code"; + } + enum "if-rtsdb" { + description "Trace interface hierarchy rtsdb"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + container rtsdb-client-traceoptions { + presence "enable rtsdb-client-traceoptions"; + description "SHM rtsock database client library trace options"; + status deprecated; + uses apply-advanced; + container if-rtsdb { + presence "enable if-rtsdb"; + description "Trace interface hierarchy rtsdb"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "map" { + description "Trace shared memory mapping"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container domain { + description "Incoming DNS request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming DNS request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container tftp { + description "Incoming TFTP request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming TFTP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container bootp { + description "Incoming BOOTP/DHCP request forwarding configuration"; + uses apply-advanced; + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + type empty; + } + container dhcp-option82 { + description "Configure DHCP option 82"; + presence "enable dhcp-option82"; + uses dhcp-option82-type; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on all interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Incoming BOOTP/DHCP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container dhcp-option82 { + description "Configure DHCP option 82"; + presence "enable dhcp-option82"; + uses dhcp-option82-type; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on this interface"; + type empty; + } + } + } + list port { + key name; + ordered-by user; + description "Incoming arbitrary protocol request forwarding configuration"; + leaf name { + description "Port number of the protocol to listen"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + status deprecated; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container inet6 { + description "IPv6 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + leaf route-accounting { + description "Enable IPv6 route accounting"; + type empty; + } + leaf source-checking { + description "Discard IPv6 packet when source address type is unspecified, loopback, multicast or link-local "; + type empty; + } + } + container mpls { + description "MPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container vpls { + description "VPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for VPLS DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for VPLS flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for VPLS flood packets"; + type string; + } + } + } + container evpn { + description "EVPN parameters"; + uses apply-advanced; + container filter { + description "Filtering for EVPN DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for EVPN flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for EVPN flood packets"; + type string; + } + } + } + } + list next-hop-group { + key name; + description "Next hop group forwarding option"; + uses juniper-next-hop-group-options; + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + choice load-balance-label-capability-choice { + leaf load-balance-label-capability { + description "Load balance label capability"; + type empty; + } + leaf no-load-balance-label-capability { + description "Don't load balance label capability"; + type empty; + } + } + list ip-options-protocol-queue { + key name; + ordered-by user; + description "IP Options protocol logical queue parameters"; + leaf name { + description "Protocol name"; + type string; + } + uses apply-advanced; + leaf protocol-id { + description "Protocol Identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + leaf queue-depth { + description "Size of the protocol logical options queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 807"; + } + } + } + } + leaf cut-through { + description "Enable cut-through forwarding"; + type empty; + } + leaf vrf-fallback { + description "Enable vrf-fallback forwarding. This will restart PFE"; + type empty; + } + leaf no-hierarchical-ecmp { + description "Disable hierarchical ecmp. This will restart PFE"; + type empty; + } + leaf ipmc-miss-do-l2mc { + description "Do L2MC forwarding when IPMC miss"; + type empty; + } + leaf ecmp-do-local-lookup { + description "Do ECMP local lookup only"; + type empty; + } + container access-security { + description "Access security configuration"; + uses jdhcp-access-security-type; + } + list forwarding-sandbox { + key name; + description "Create forwarding sandbox"; + max-elements 8; + uses juniper-forwarding-sandbox-options; + } + container vxlan-routing { + description "VXLAN Routing forwarding options"; + uses apply-advanced; + leaf next-hop { + description "Next-hop. Must be multiple of 4096. This will restart PFE"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 45056"; + } + } + } + leaf interface-num { + description "Interface. Must be multiple of 2048. This will restart PFE"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10240"; + } + } + } + leaf overlay-ecmp { + description "Enable overlay ecmp for vxlan L3. This will restart PFE"; + type empty; + } + } + container satellite { + description "Satellite forwarding options"; + uses apply-advanced; + container traceoptions { + description "Global tracing options for satellite control plane"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + enum "bd" { + description "Trace BD events"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "interface" { + description "Trace interface events"; + } + enum "interface-vlan" { + description "Trace IFBD events"; + } + enum "ipc" { + description "Trace internal IPC messages"; + } + enum "kernel" { + description "Trace Kernel messages"; + } + enum "krt" { + description "Trace communication over routing socket"; + } + enum "mac" { + description "Trace MAC events "; + } + enum "nh" { + description "Trace NH events"; + } + enum "normal" { + description "Trace normal events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "stp" { + description "Trace STP events"; + } + enum "task" { + description "Trace task processing"; + } + enum "timer" { + description "Trace task timer processing"; + } + enum "firewall" { + description "Trace firewall processing"; + } + enum "l3" { + description "Trace Layer-3 processing"; + } + enum "fip-snooping" { + description "Trace FIP-Snooping processing"; + } + } + } + } + } + leaf local-replication { + description "Enable satellite multicast replication"; + type empty; + } + list fpc { + key name; + leaf name { + description "Satellite slot identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "65 .. 254"; + } + } + } + uses apply-advanced; + choice local-switching-mode-choice { + case case_1 { + container local-switching { + presence "enable local-switching"; + description "Enable local-switching on Satellite device"; + uses apply-advanced; + leaf l3 { + description "Enable L3 local switching on the Satellite device"; + type empty; + } + } + } + case case_2 { + container selective-vlan-switching { + description "Enable selective-vlan-switching on Satellite device"; + uses apply-advanced; + leaf routing-instance { + description "Associated Routing instance name"; + type string { + } + } + } + } + } + } + container vlan-auto-sense { + description "Vlan-auto-sense attributes provisioning"; + uses apply-advanced; + leaf expiry-time { + description "Expiry time (in seconds) after last MAC aged out"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + } + container analyzer-vlan { + description "Output VLAN for Analyzer"; + uses apply-advanced; + leaf vlan-name { + description "Name of the analyzer VLAN"; + type string; + } + } + } + } + grouping dhcp-option82-type { + uses apply-advanced; + leaf disable { + description "Disable DHCP option 82 on this VLAN"; + type empty; + } + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + leaf prefix { + description "Configure DHCP option 82 circuit id prefix"; + type enumeration { + enum "hostname" { + description "Set hostname as the prefix"; + } + } + } + leaf use-interface-description { + description "Use interface description instead of name"; + type empty; + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf prefix { + description "Configure DHCP option 82 remote id prefix"; + type enumeration { + enum "none" { + description "Set no prefix"; + } + enum "hostname" { + description "Set hostname as the prefix"; + } + enum "mac" { + description "Set chassis MAC as the prefix"; + } + } + } + leaf use-interface-description { + description "Use interface description instead of name"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + type string; + } + } + } + grouping jdhcp-access-security-type { + description "Access security configuration"; + uses apply-advanced; + container router-advertisement-guard { + presence "enable router-advertisement-guard"; + description "Router Advertisement Guard Configuration"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Router Advertisement Guard policy"; + leaf name { + description "Router Advertisement Guard policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container discard { + description "Discard parameters"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + } + container accept { + description "Accept parameters"; + uses apply-advanced; + container match-list { + description "List of parameters to check"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + leaf match-criteria { + description "Match Criteria"; + type enumeration { + enum "match-all" { + description "A match from every list"; + } + enum "match-any" { + description "A match from any list"; + } + } + } + } + container match-options { + presence "enable match-options"; + description "List of Options to check"; + uses apply-advanced; + container hop-limit { + description "Hop limit"; + uses apply-advanced; + leaf maximum { + description "Maximum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf minimum { + description "Minimum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container route-preference { + description "Accept route preference"; + uses apply-advanced; + leaf maximum { + description "Maximum route preference"; + type enumeration { + enum "low" { + description "Route preference low"; + } + enum "medium" { + description "Route preference medium"; + } + enum "high" { + description "Route preference high"; + } + } + } + } + leaf managed-config-flag { + description "Check Managed config flag"; + type empty; + } + leaf other-config-flag { + description "Check Other config flag"; + type empty; + } + } + } + } + container interface { + description "RA Guard config on Interface"; + uses apply-advanced; + list intf-config { + key name; + description "Interface Configuration"; + uses interface-policy; + } + } + container vlans { + description "RA Guard config on Vlan"; + uses apply-advanced; + list vlan-config { + key name; + description "Virtual LAN Configuration"; + uses vlan-policy; + } + } + } + } + grouping interface-policy { + description "Interface Name"; + leaf name { + description "Interface Name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + container mark-interface { + description "Mark interface"; + uses apply-advanced; + choice mark-intf-type { + case case_1 { + leaf trusted { + description "Mark interface trusted"; + type empty; + } + } + case case_2 { + leaf block { + description "Block router-advertisement"; + type empty; + } + } + } + } + } + grouping juniper-forwarding-sandbox-options { + leaf name { + description "Sandbox name"; + type string; + } + uses apply-advanced; + leaf size { + description "Size of the sandbox"; + default "small"; + type enumeration { + enum "small" { + description "Sandbox size small"; + } + enum "medium" { + description "Sandbox size medium"; + } + enum "large" { + description "Sandbox size large"; + } + } + } + list port { + key name; + description "Sandbox port"; + max-elements 64; + uses juniper-forwarding-sandbox-port-options; + } + } + grouping juniper-forwarding-sandbox-port-options { + leaf name { + description "Port name"; + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to which the port is mapped"; + max-elements 1; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping juniper-igmp-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-mld-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-next-hop-group-options { + leaf name { + description "Next hop group name"; + type string; + } + uses apply-advanced; + leaf group-type { + description "Next hop group type"; + default "inet"; + type enumeration { + enum "inet" { + description "Group of family inet next-hops"; + } + enum "layer-2" { + description "Layer-2 next-hop group"; + } + enum "inet6" { + description "Group of family inet6 next-hops"; + } + } + } + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses next_hop_group_intf_type; + } + list next-hop-subgroup { + key name; + description "Group of interfaces through which to send sampled traffic"; + uses juniper-next-hop-subgroup-options; + } + } + grouping juniper-next-hop-subgroup-options { + leaf name { + description "Next-hop sub-group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "Interface through which to send the sampled traffic"; + max-elements 16; + uses next_hop_subgroup_intf_type; + } + } + grouping juniper-packet-accounting-options { + leaf name { + description "Name for accounting group"; + type string; + } + uses apply-advanced; + container output { + description "Accounting data disposition"; + uses packet_accounting_output_type; + } + } + grouping juniper-port-mirror-options { + uses apply-advanced; + container traceoptions { + description "Port-mirroring trace options"; + uses sampling_traceoptions_type; + } + leaf disable { + description "Disable the global port-mirroring instance"; + type empty; + } + leaf disable-all-instances { + description "Disable the all port-mirroring instances"; + type empty; + } + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container inet6 { + description "Mirror IPv6 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet6_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ethernet-switching { + description "Mirror Layer-2 ethernet-switched packets"; + uses apply-advanced; + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of port-mirroring parameters"; + leaf name { + description "Name for port-mirroring instance"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf disable { + description "Disable the this port-mirroring instance"; + type empty; + } + choice input_params_or_instance { + case case_1 { + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + } + case case_2 { + leaf input-parameters-instance { + description "Name of port-mirroring instance to use for input parameters"; + type string; + } + } + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container inet6 { + description "Mirror IPv6 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet6_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ethernet-switching { + description "Mirror Layer-2 ethernet-switched packets"; + uses apply-advanced; + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + } + } + grouping inet6_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet6_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping inet6_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet6_next_hop_type; + } + } + grouping inet6_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv6addr; + } + uses apply-advanced; + } + grouping inet_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses inet_pm_output-routing-instance-type; + } + } + grouping inet_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping inet_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv4addr; + } + uses apply-advanced; + } + grouping inet_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + grouping juniper-protocols-l2vpn { + description "Layer 2 VPN, VPLS or EVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + choice cword { + case case_1 { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control word on the Layer 2 encapsulation"; + type empty; + } + } + } + leaf site-range { + description "Maximum site identifier in this VPLS domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf bum-hashing { + description "Enable BUM hashing feature in the instance"; + type empty; + } + leaf label-block-size { + description "Label block size for this VPLS instance"; + type enumeration { + enum "2" { + description "Label block size of 2"; + } + enum "4" { + description "Label block size of 4"; + } + enum "8" { + description "Label block size of 8"; + } + enum "16" { + description "Label block size of 16"; + } + } + } + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + choice tunnel-services-choice { + case case_1 { + container tunnel-services { + description "Use tunnel services for this VPLS instance"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for this VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf primary { + description "Primary tunnel services device to use for VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + leaf no-tunnel-services { + description "Do not use tunnel services for this VPLS instance"; + type empty; + } + } + } + list site { + key name; + ordered-by user; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + choice site-identifier-mode { + case case_1 { + leaf site-identifier { + description "Layer 2 VPN or VPLS site identifier (unique in the VPN)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + case case_2 { + container automatic-site-id { + presence "enable automatic-site-id"; + description "Enable automatic assignment of site identifier"; + uses apply-advanced; + leaf startup-wait-time { + description "Time to wait at startup before claming a site identifier (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf new-site-wait-time { + description "Time to wait before claiming a site identifier"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf collision-detect-time { + description "Time to wait for detecting a collision"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container reclaim-wait-time { + presence "enable reclaim-wait-time"; + description "Time to wait for reclaiming a site identifier"; + leaf minimum { + description "Minimum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum { + description "Maximum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + leaf source-attachment-identifier { + description "FEC 129 VPWS source attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this site"; + type string; + } + container multi-homing { + presence "enable multi-homing"; + description "Enable multi-homing functionality for this site"; + uses apply-advanced; + leaf hold-time { + description "Enable multi-homing non-designated forwarder hold time (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + } + leaf site-preference { + description "Layer 2 VPN or VPLS site preference"; + type string; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + list mesh-group { + key name; + ordered-by user; + description "Mesh-groups that are part of this site"; + leaf name { + description "Mesh-group name"; + type string; + } + uses apply-advanced; + } + container active-interface { + description "Configure interface to designate as active"; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf best-site { + description "Activates best-site functionality for this instance"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + leaf community { + description "Community associated with this VPLS instance"; + type string; + } + leaf vpls-id { + description "Identifier for this VPLS instance"; + type string; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor for this VPLS instance"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + list mesh-group { + key name; + description "Mesh-group under this VPLS instance"; + leaf name { + description "Mesh-group name"; + type string { + } + } + uses apply-advanced; + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + choice peer-as-choice { + case case_1 { + container peer-as { + description "Autonomous system of the peer"; + uses apply-advanced; + leaf all { + description "Include peers from all autonomous systems"; + type empty; + } + } + } + } + leaf vpls-id { + description "LDP VPLS Identifier for this mesh-group"; + type string; + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VPLS instance mesh-group"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VPLS instance mesh-group"; + type jt:policy-algebra; + } + container vrf-target { + description "VPLS mesh-group target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf local-switching { + description "Allow local-switching within interfaces in this mesh-group"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor belonging to this mesh-group"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + leaf-list vpls-id-list { + ordered-by user; + description "LDP VPLS Identifier list for this neighbor"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + list interface { + key name; + description "Interfaces belonging to this flood group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container route-distinguisher { + description "Route distinguisher for this mesh-group"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + } + leaf connectivity-type { + description "Specify type of interface sufficient to bring vpls connection up"; + type enumeration { + enum "ce" { + description "CE interface is required"; + } + enum "irb" { + description "IRB interface is sufficient"; + } + enum "permanent" { + description "Pseudowire permanently up"; + } + } + } + list import-labeled-routes { + key name; + ordered-by user; + description "Import ingress label route to instance.mpls.0 from mpls.0"; + leaf name { + description "Routing instance name where label route has to be imported"; + type string; + } + } + container multi-homing { + description "Multi-homing configuration for FEC129 VPLS"; + uses apply-advanced; + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + list site { + key name; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + leaf identifier { + description "Layer 2 VPN or VPLS multi-homing identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference"; + type string; + } + container active-interface { + description "Configure interface to designate as active"; + uses apply-advanced; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connects this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference for the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + } + } + container evi-options { + description "EVI options"; + uses juniper-protocols-evi-options; + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf igmp-id { + description "EVPN IGMP Identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + choice extended-attributes { + case case_1 { + } + case case_2 { + leaf-list extended-vni-list { + description "List of VNI identifiers (1..16777214) or all, that are to be EVPN extended"; + type string; + } + } + case case_3 { + } + } + container vni-options { + description "VNI options"; + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + container ip-prefix-routes { + presence "enable ip-prefix-routes"; + description "Advertise IP prefixes through EVPN"; + uses apply-advanced; + leaf advertise { + description "Advertisement attributes for IP prefixes"; + type enumeration { + enum "gateway-address" { + description "Advertise a gateway address in exported IP prefix routes"; + } + enum "direct-nexthop" { + description "Advertise a direct nexthop in exported IP prefix routes"; + } + } + } + leaf gateway-interface { + description "Gateway interface used when gateway address is advertised"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf encapsulation { + description "Encapsulation used for IP prefixes"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf vni { + description "VXLAN network identifier used for IP prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777214"; + } + } + } + leaf-list import { + ordered-by user; + description "Policy to control import of IP prefixes from EVPN"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Policy to control export of IP prefixes through EVPN"; + type jt:policy-algebra; + } + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + } + leaf default-gateway { + description "Default gateway mode"; + type enumeration { + enum "advertise" { + description "Advertise IRB MACs with default gateway community"; + } + enum "no-gateway-community" { + description "Advertise IRB MACs without default gateway community"; + } + enum "do-not-advertise" { + description "Do not advertise IRB MACs"; + } + } + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + container duplicate-mac-detection { + description "Duplicate MAC detection settings"; + uses apply-advanced; + leaf detection-threshold { + description "Number of moves to trigger duplicate MAC detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + leaf detection-window { + description "Time window for detection of duplicate MACs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + leaf auto-recovery-time { + description "Automatically unblock duplicate MACs after a time delay"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 360"; + } + } + } + } + choice flexible-cross-connect-type { + case case_1 { + leaf flexible-cross-connect-vlan-aware { + description "Enable EVPN flexible cross-connect VLAN aware Service"; + type empty; + } + } + case case_2 { + leaf flexible-cross-connect-vlan-unaware { + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + type empty; + } + } + } + leaf auto-service-id { + description "Enable auto-derivation of VPWS service instance identifier"; + type empty; + } + leaf hot-standby-on { + description "Activate evpn vpws upon becoming DF"; + type empty; + } + list group { + key name; + ordered-by user; + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + leaf name { + description "Group name to group vlan unaware cross connects"; + type string; + } + uses apply-advanced; + container esi { + presence "enable esi"; + description "ESI configuration to group vlan unaware cross connects"; + uses apply-advanced; + leaf identifier { + description "ESI value for grouping of vlan unaware cross connects"; + type jt:esi; + } + } + list interface { + key name; + ordered-by user; + description "Name of the interface part of vlan unaware fxc"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container service-id { + presence "enable service-id"; + description "Service-id for vlan unaware cross connects for EVPN VPWS"; + uses apply-advanced; + leaf local { + description "Local service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + } + } + grouping juniper-protocols-evi-options { + uses apply-advanced; + list isid { + key name; + description "Per-evi options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "256 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-pim-snooping { + description "PIM snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PIM Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "join" { + description "Trace join messages"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM designated router port"; + type empty; + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan_id of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM DR port"; + type empty; + } + } + } + grouping juniper-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-routing-instance-switch-options { + description "Bridge options for the routing instance"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + list authentication-whitelist { + key name; + ordered-by user; + description "MAC authentication-whitelist configuration needed to bypass Authentication"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + choice vstp-flooding-option { + } + choice arp-trap-option { + } + choice mstp-flooding-option { + } + choice stp-flooding-option { + } + container traceoptions { + description "Layer 2 trace options for this routing instance"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-routing-options { + uses apply-advanced; + leaf no-soft-core { + description "Disable soft assert to generate core and just log the event"; + type empty; + } + leaf med-igp-update-interval { + description "Delay (in minutes) in updating MED IGP for bgp groups with 'delay-med-update' "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container bmp { + presence "enable bmp"; + description "BGP Monitoring Protocol (BMP) configuration"; + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list station { + key name; + description "Define a BMP station"; + leaf name { + description "Station name"; + type string; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container ppm { + presence "enable ppm"; + description "Set periodic packet management properties"; + uses apply-advanced; + leaf delegate-processing { + description "Enable distribution of PPM sessions"; + status deprecated; + type empty; + } + leaf no-delegate-processing { + description "Disable PPM sessions distribution"; + type empty; + } + leaf inline-processing-enable { + description "Enable PPM session inline distribution"; + type empty; + } + leaf inline-ae-processing-enable { + description "Enable PPM session inline distribution on AE"; + type empty; + } + leaf redistribution-timer { + description "Time to wait after switchover before starting timers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 120"; + } + } + } + } + leaf no-bfd-triggered-local-repair { + description "Disable bfd triggered local repair"; + type empty; + } + container source-routing { + description "Source-routing options"; + uses apply-advanced; + leaf ip { + description "Enable IP Source Routing"; + type empty; + } + leaf ipv6 { + description "Enable Type 0 RouteHeader processing"; + type empty; + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Auto bandwidth"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Auto bandwidth template"; + leaf name { + description "Auto bandwidth template name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf adjust-interval { + description "Adjust interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + leaf adjust-threshold { + description "Percentage threshhold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf statistic-collection-interval { + description "Collection interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 300"; + } + } + } + leaf auto-bandwidth-subscription { + description "Percentage threshhold for subscription"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 200"; + } + } + } + } + container traceoptions { + description "Trace options for sr stats"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace All"; + } + enum "timer" { + description "Trace traffic recv by periodic timer"; + } + enum "state" { + description "Trace state of sensor"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + list srlg { + key name; + ordered-by user; + description "SRLG configuration"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf srlg-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf srlg-cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container admin-groups-extended-range { + description "Extended administrative groups range"; + uses apply-advanced; + leaf minimum { + description "Minimum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + leaf maximum { + description "Maximum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + list admin-groups-extended { + key name; + ordered-by user; + description "Extended administrative groups"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf group-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + leaf enable-sensors { + description "Enable Sensor for MX/PTX/QFX/EX"; + type empty; + } + leaf lsp-telemetry { + description "Turn on Jvision LSP telemetry"; + type empty; + } + container source-packet-routing { + description "Source packet routing (SPRING)"; + uses apply-advanced; + list mapping-server-entry { + key name; + ordered-by user; + description "Mapping server entry"; + leaf name { + description "Mapping server entry name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list prefix-segment { + key name; + ordered-by user; + description "Prefix segment"; + max-elements 64; + leaf name { + description "Prefix segment prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf index { + description "Prefix segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + list prefix-segment-range { + key name; + ordered-by user; + description "Prefix segment range"; + max-elements 64; + leaf name { + description "Prefix segment range name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-prefix { + description "Start prefix"; + type jt:ipprefix; + } + leaf start-index { + description "Start index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf size { + description "Size of prefix segment range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container options { + description "Miscellaneous options"; + uses apply-advanced; + leaf no-send { + description "Listen only; do not send protocol packets"; + status deprecated; + type empty; + } + leaf no-resolve { + description "Do not use DNS name resolution"; + status deprecated; + type empty; + } + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + leaf warm-standby { + description "Enable warm-standby"; + type empty; + } + leaf nonstop-routing { + description "Enable nonstop routing"; + type empty; + } + container nonstop-routing-options { + presence "enable nonstop-routing-options"; + description "Nonstop routing options"; + uses apply-advanced; + leaf precision-timers-max-period { + description "Set Max period for precision timer support from kernel after switchover"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + } + leaf nsr-phantom-holdtime { + description "Set NSR phantom route hold time"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container interface-routes { + description "Define routing table groups for interface routes"; + uses apply-advanced; + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + container export { + description "Control exportability of local routes"; + uses apply-advanced; + leaf point-to-point { + description "Make point-to-point routes exportable"; + type empty; + } + leaf lan { + description "Make LAN routes exportable"; + type empty; + } + } + } + } + leaf loopback-strict-disable { + description "Completely disable lo0 host prefix when in admin-down state"; + type empty; + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + leaf firewall-install-disable { + description "Disable installing flowspec firewall filters in dfwd "; + type empty; + } + leaf term-order { + description "Term evaluation order for flow routes"; + type enumeration { + enum "legacy" { + description "Legacy term order (default)"; + } + enum "standard" { + description "RFC compliant term order"; + } + } + } + } + list rib-groups { + key name; + ordered-by user; + description "Group of routing tables"; + uses rpd_rib_group_type; + } + leaf route-record { + description "Enable route recording"; + type empty; + } + leaf router-id { + description "Router identifier"; + type jt:ipv4addr; + } + leaf route-distinguisher-id { + description "Identifier used in route distinguishers for routing instances"; + type jt:ipv4addr; + } + container autonomous-system { + description "Autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf asdot-notation { + description "Use AS-Dot notation to display true 4 byte AS numbers"; + type empty; + } + container independent-domain { + presence "enable independent-domain"; + description "Independent autonomous-system domain from master instance"; + leaf no-attrset { + description "Do not tunnel ce bgp attributes across provider network"; + type empty; + } + } + } + container confederation { + description "Confederation autonomous system number"; + leaf confederation-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf-list members { + ordered-by user; + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Direct/Host route FRR protection"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf arp-prefix-limit { + description "Max ARP/Host FRR routes allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf supplementary-blackout-timer { + description "ARP plimit blackout timer = kernel ARP timeout + supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + } + } + container host-fast-reroute { + presence "enable host-fast-reroute"; + description "Host Fast Re-route global values. Applies to all host FRR profiles."; + uses apply-advanced; + leaf global-arp-prefix-limit { + description "Max ARP/Host FRR routes allowed per protected IFL"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf global-supplementary-blackout-timer { + description "ARP plimit global blackout timer = kernel ARP timeout + global-supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + leaf-list tracefilter { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table resolution options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list resolution-family { + ordered-by user; + description "Family of resultion tree"; + type string; + } + leaf-list resolution-ribs { + ordered-by user; + description "Routing tables to use for default routing table family resolution"; + type string; + } + leaf-list inet-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv4 family protocol-next-hop resolution"; + type string; + } + leaf-list inet6-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv6 family protocol-next-hop resolution"; + type string; + } + leaf-list iso-resolution-ribs { + ordered-by user; + description "Routing tables to use for iso family protocol-next-hop resolution"; + type string; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list inet-import { + ordered-by user; + description "Import policy for IPV4 family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6-import { + ordered-by user; + description "Import policy for IPV6 family resolution tree"; + type jt:policy-algebra; + } + leaf-list iso-import { + ordered-by user; + description "Import policy for ISO family resolution tree"; + type jt:policy-algebra; + } + leaf-list inetcolor-import { + ordered-by user; + description "Import policy for INETCOLOR family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6color-import { + ordered-by user; + description "Import policy for INET6COLOR family resolution tree"; + type jt:policy-algebra; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + container stream-protection { + presence "enable stream-protection"; + description "Multicast only Fast Re-Route"; + uses apply-advanced; + leaf mofrr-primary-path-selection-by-routing { + description "Multicast only Fast Re-Route primary path by Routing"; + type empty; + } + leaf mofrr-disjoint-upstream-only { + description "Multicast only Fast Re-Route disjoint upstream only"; + type empty; + } + leaf mofrr-no-backup-join { + description "Multicast only Fast Re-Route no backup join"; + type empty; + } + leaf mofrr-asm-starg { + description "Multicast only Fast Re-Route asm (*,G)"; + type empty; + } + leaf-list policy { + ordered-by user; + description "MoFRR Policy"; + type jt:policy-algebra; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + leaf-list instance-import { + ordered-by user; + description "Import policy for instance RIBs"; + type jt:policy-algebra; + } + leaf-list instance-export { + ordered-by user; + description "Export policy for instance RIBs"; + type jt:policy-algebra; + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export"; + type empty; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container family { + container inet { + description "IPv4 parameters"; + uses export-af-obj; + } + container inet6 { + description "IPv6 parameters"; + uses export-af-obj; + } + container iso { + description "ISO parameters"; + uses export-af-obj; + } + } + } + container dynamic-tunnels { + description "Dynamic tunnel definitions"; + uses apply-advanced; + list tunnel-attributes { + key name; + ordered-by user; + description "Dynamic tunnel attributes definition"; + leaf name { + description "Dynamic Tunnel attribute name"; + type string { + } + } + uses apply-advanced; + leaf dynamic-tunnel-source-prefix { + description "Tunnel source address"; + type jt:ipaddr; + } + leaf dynamic-tunnel-type { + type enumeration { + enum "GRE" { + description "Tunnel type GRE"; + } + enum "V4oV6" { + description "Tunnel type is IPV4oIPV6"; + } + enum "UDP" { + description "Tunnel type UDP"; + } + enum "BGP-SIGNAL" { + description "Tunnel type BGP-SIGNAL"; + } + } + } + leaf dynamic-tunnel-mtu { + description "Dynamic Tunnel MTU value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "296 .. 9232"; + } + } + } + leaf dynamic-tunnel-anchor-pfe { + description "Dynamic Tunnel anchor PFE name of format pfe-x/y/z"; + type string { + } + } + leaf dynamic-tunnel-anti-spoof { + type enumeration { + enum "on" { + description "Enable antispoofing check. Default is enabled"; + } + enum "off" { + description "Disable antispoofing check"; + } + } + } + } + list forwarding-rib { + key name; + ordered-by user; + description "Forwarding routing table for dynamic-tunnel"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list inet-import { + ordered-by user; + description "Import policy for V4 dynamic-tunnel"; + type jt:policy-algebra; + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "kernel" { + description "Trace kernel communication"; + } + enum "tunnel" { + description "Trace tunnel addition, change, or deletion"; + } + enum "task" { + description "Trace task or job processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf udp { + description "Enable dynamic tunnel udp mode"; + type enumeration { + enum "full-resolved-next-hop-based-tunnel" { + description "Enable full resolved nh base dynamic-tunnel"; + } + } + } + leaf gre { + description "Enable dynamic gre tunnel mode"; + type enumeration { + enum "next-hop-based-tunnel" { + description "Enable nh base dynamic-tunnel"; + } + } + } + list dynamic-tunnel { + key name; + ordered-by user; + uses dynamic_tunnel_type; + } + } + container logical-system-mux { + description "Logical system control daemon information"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug-level lrmuxd activities"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container programmable-rpd { + description "RPD Server module management options"; + uses programmable-rpd-type; + } + container topologies { + description "Define routing topologies"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology information"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + } + } + } + container backup-selection { + presence "enable backup-selection"; + description "Backup selection options"; + uses apply-advanced; + list destination { + key name; + description "IP/IPv6 prefix for which backup selection policy is configured"; + leaf name { + description "IP/IPv6 address (and optional prefix length)"; + type jt:ipprefix-mandatory; + } + uses apply-advanced; + list interface { + key name; + description "Primary nexthop interface for which backup selection policy is configured"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container admin-group { + description "Administrative group policies for backup-selection"; + uses apply-advanced; + leaf-list exclude { + description "Do not use interface if any admin group available"; + type string; + } + leaf-list include-all { + description "Use interface if admin groups available entirely"; + type string; + } + leaf-list include-any { + description "Use interface if any admin group is available"; + type string; + } + leaf-list preference { + ordered-by user; + description "Administrative groups in descending preference order"; + type string; + } + } + leaf srlg { + description "Evaluate Shared Risk Link Group(SRLG) characteristics for backup selection"; + default "loose"; + type enumeration { + enum "loose" { + description "Loose SRLG"; + } + enum "strict" { + description "Strict SRLG"; + } + } + } + leaf protection-type { + description "Type of protection to be considered"; + type enumeration { + enum "link" { + description "Protect the primary interface from link faults only"; + } + enum "node" { + description "Protect the primary interface from node faults only"; + } + enum "node-link" { + description "Protect the primary interface from either link or node faults; prefer node protection"; + } + } + } + leaf downstream-paths-only { + description "Choose only the downstream nodes for backup"; + type empty; + } + leaf bandwidth-greater-equal-primary { + description "Use backup nexthop only if bandwidth is >= bandwidth of primary nexthop"; + type empty; + } + container backup-neighbor { + description "Backup Neighbor ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of backup neighbors to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of backup neighbors in descending order preference"; + type jt:ipv4addr; + } + } + container node { + description "Node ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of nodes to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of nodes in the descending order of preference"; + type jt:ipv4addr; + } + } + container node-tag { + description "Node tag policies"; + uses apply-advanced; + leaf-list exclude { + description "The set of node tags to be excluded"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list preference { + ordered-by user; + description "The set of node tags in the descending order of preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf root-metric { + description "Root metric"; + type enumeration { + enum "lowest" { + description "Choose lowest root metric"; + } + enum "highest" { + description "Choose highest root metric"; + } + } + } + leaf dest-metric { + description "Destination metric"; + type enumeration { + enum "lowest" { + description "Choose lowest destination metric"; + } + enum "highest" { + description "Choose highest destination metric"; + } + } + } + leaf-list metric-order { + ordered-by user; + description "Metric evaluation order"; + type enumeration { + enum "root" { + } + enum "dest" { + } + } + max-elements 2; + } + leaf-list evaluation-order { + ordered-by user; + description "Interface policy criteria evaluation order"; + type enumeration { + enum "admin-group" { + description "Administrative Group/Link Color"; + } + enum "srlg" { + description "SRLG"; + } + enum "bandwidth" { + description "Bandwidth"; + } + enum "protection-type" { + description "Type of protection"; + } + enum "backup-neighbor" { + description "Backup Neighbor"; + } + enum "node" { + description "Node"; + } + enum "node-tag" { + description "Node tag"; + } + enum "metric" { + description "Metric related parameters"; + } + } + } + } + } + } + container fate-sharing { + description "Fate-sharing links or nodes database"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group of objects sharing common characteristics"; + leaf name { + description "Name of object groups sharing the same fate"; + type string { + } + } + uses apply-advanced; + leaf cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf use-for-post-convergence-lfa { + description "Use this fate-sharing group as a constraint for post-convergence-lfa"; + type empty; + } + list from { + key name; + uses fate_sharing_links; + } + } + } + container validation { + description "Define Route validation"; + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list notification-rib { + ordered-by user; + description "Define routing tables that get notified upon validation state change"; + type string; + } + list group { + key name; + description "Define a group of sessions"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf max-sessions { + description "Maximum connected session in this group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 63"; + } + } + } + list session { + key name; + description "Configure a session"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Interval between keepalive packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf hold-time { + description "Time after which the session is declared down."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + leaf record-lifetime { + description "Lifetime of route validation records"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 604800"; + } + } + } + leaf preference { + description "Preference for session establishment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf port { + description "Portnumber to connect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf local-address { + type jt:ipaddr; + } + } + } + container static { + description "Define static route validation record"; + uses apply-advanced; + list record { + key name; + description "Static route validation record"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + list maximum-length { + key name; + ordered-by user; + leaf name { + description "Maximum prefix-length for route validation record"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + uses apply-advanced; + list origin-autonomous-system { + key name; + ordered-by user; + leaf name { + description "Legitimate Origin Autonomous System"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf validation-state { + description "Validation state for route validation record"; + type enumeration { + enum "invalid" { + description "Invalid route validation state"; + } + enum "valid" { + description "Valid route validation state"; + } + } + } + } + } + } + } + } + } + grouping dynamic_tunnel_type { + description "Dynamic tunnel definition"; + leaf name { + description "Tunnel name"; + type string { + } + } + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipaddr; + } + choice tunnel-type { + case case_1 { + list rsvp-te { + key name; + ordered-by user; + description "RSVP-TE point-to-point LSP"; + leaf name { + description "Configure multiple entries for RSVP tunnel"; + type string; + } + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + } + case case_2 { + leaf gre { + description "Generic routing encapsulation type for IPv4"; + type empty; + } + } + case case_3 { + leaf udp { + description "UDP encapsulation type for IPv4"; + type empty; + } + } + case case_4 { + leaf bgp-signal { + description "BGP signals the encapsulation type for IPv4"; + type empty; + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + grouping export-af-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export for address family"; + type empty; + } + } + } + container unicast { + description "Unicast routing information"; + presence "enable unicast"; + uses export-subaf-obj; + } + container multicast { + description "Multicast routing information"; + presence "enable multicast"; + uses export-subaf-obj; + } + container flow { + description "Flow routing information"; + presence "enable flow"; + uses export-subaf-obj; + } + } + grouping export-subaf-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance export"; + type empty; + } + } + } + leaf rib-group { + description "Auxiliary rib-group of additional RIBs to consider"; + type string; + } + } + grouping fate_sharing_links { + leaf name { + description "Router ID or LAN interface address"; + type jt:ipv4addr; + } + leaf to { + description "Point-to-point links"; + type jt:ipv4addr; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + leaf destination { + description "Destination prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf source { + description "Source prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf-list icmp-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list icmp-type { + ordered-by user; + description "ICMP message type"; + type string; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice ecmp-fast-reroute-choice { + leaf ecmp-fast-reroute { + description "Enable fast reroute for ECMP next hops"; + type empty; + } + leaf no-ecmp-fast-reroute { + description "Don't enable fast reroute for ECMP next hops"; + type empty; + } + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + leaf transit-lsp-statistics-from-route { + description "Enable LSP statistics collection from the route"; + type empty; + } + container chained-composite-next-hop { + description "Next-hop chaining mode"; + uses apply-advanced; + container ingress { + description "Ingress LSP nexthop settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + } + choice l2ckt-choice { + leaf l2ckt { + description "Create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + leaf no-l2ckt { + description "Don't create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + } + choice fec129-vpws-choice { + leaf fec129-vpws { + description "Create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + leaf no-fec129-vpws { + description "Don't create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + } + choice evpn-choice { + leaf evpn { + description "Create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + leaf no-evpn { + description "Don't create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + } + container l3vpn { + presence "enable l3vpn"; + description "Create composite-chained nexthops for ingress l3vpn LSPs"; + leaf extended-space { + description "Allocate in extended-space for scalability"; + type empty; + } + } + } + container transit { + description "Transit LSP nexthops settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + } + choice l3vpn-choice { + leaf l3vpn { + description "Create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + leaf no-l3vpn { + description "Don't create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + } + choice labeled-bgp-choice { + leaf labeled-bgp { + description "Create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + leaf no-labeled-bgp { + description "Don't create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + } + choice static-choice { + leaf static { + description "Create composite-chained nexthops for static LSPs"; + type empty; + } + leaf no-static { + description "Don't create composite-chained nexthops for static LSPs"; + type empty; + } + } + choice rsvp-choice { + leaf rsvp { + description "Create composite-chained nexthops for RSVP LSPs"; + type empty; + } + leaf no-rsvp { + description "Don't create composite-chained nexthops for RSVP LSPs"; + type empty; + } + } + choice rsvp-p2mp-choice { + leaf rsvp-p2mp { + description "Create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + leaf no-rsvp-p2mp { + description "Don't create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + } + choice ldp-choice { + leaf ldp { + description "Create composite-chained nexthops for LDP LSPs"; + type empty; + } + leaf no-ldp { + description "Don't create composite-chained nexthops for LDP LSPs"; + type empty; + } + } + choice ldp-p2mp-choice { + leaf ldp-p2mp { + description "Create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + leaf no-ldp-p2mp { + description "Don't create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + } + choice labeled-isis-choice { + leaf labeled-isis { + description "Create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + leaf no-labeled-isis { + description "Don't create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + } + } + } + } + grouping juniper-sampling-options { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable global sampling instance"; + type empty; + } + } + } + container traceoptions { + description "Traffic sampling trace options"; + uses sampling_traceoptions_type; + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_input_type; + } + container output { + description "Traffic sampling data disposition"; + status deprecated; + uses sampling_output_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_global_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet6"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_family_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family mpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_global_mpls_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_instance_input_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet6"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family mpls"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_mpls_output_type; + } + } + container vpls { + description "Sample vpls packets"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family vpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_vpls_output_type; + } + } + container bridge { + description "Sample bridge packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family bridge"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_bridge_output_type; + } + } + } + } + container jflow-service { + description "Jflow service configuration"; + uses apply-advanced; + container traceoptions { + description "Jflow service trace options"; + uses jflow_service_traceoptions; + } + } + container route-record { + description "Sampling route record configuration"; + uses apply-advanced; + container traceoptions { + description "Sampling route record trace options"; + uses route_record_traceoptions; + } + } + } + grouping jflow_service_traceoptions { + description "Traceoptions for jflow-service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of jflow-service to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "sm" { + description "Trace State machine code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping junos_hash_key { + description "Select data used in the hash key"; + uses apply-advanced; + container family { + description "Protocol family"; + container fcoe { + description "FCoE protocol family"; + uses apply-advanced; + container ethernet-interfaces { + description "FCoE hash-key configuration on ethernet interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container fabric-interfaces { + description "FCoE hash-key configuration on fabric interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf next-header { + description "Include IP Next Header field in the hash key"; + type empty; + } + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class field in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + leaf destination-port { + description "Include IP destination port in the hash key"; + type empty; + } + leaf source-port { + description "Include IP source port in the hash key"; + type empty; + } + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + choice label { + case case_1 { + leaf label-1 { + description "Include the first MPLS label in the hash key"; + type empty; + } + } + case case_2 { + leaf all-labels { + description "Include all MPLS labels in hash key"; + type empty; + } + } + case case_3 { + leaf no-labels { + description "Exclude all MPLS labels from hash key"; + type empty; + } + } + case case_4 { + leaf bottom-label-1 { + description "Include the first MPLS label from bottom-of-stack in the hash key"; + type empty; + } + } + } + leaf label-2 { + description "Include the second MPLS label in the hash key"; + type empty; + } + leaf label-3 { + description "Include the third MPLS label in the hash key"; + type empty; + } + container payload { + description "Include payload data in the hash key"; + uses apply-advanced; + container ip { + presence "enable ip"; + description "Include IPv4 or IPv6 payload data in the hash key"; + uses apply-advanced; + choice layer-4-select { + case case_1 { + choice ip-payload { + case case_1 { + leaf layer-3-only { + description "Include only layer-3 IP information"; + type empty; + } + } + case case_2 { + leaf enable { + description "Include layer3/4 IP payload in the hash key"; + type empty; + } + } + case case_3 { + leaf disable { + description "Exclude layer3/4 IP payload in the hash key"; + type empty; + } + } + } + } + case case_2 { + container port-data { + presence "enable port-data"; + uses apply-advanced; + leaf source-msb { + description "Include the most significant byte of the source port"; + type empty; + } + leaf source-lsb { + description "Include the least significant byte of the source port"; + type empty; + } + leaf destination-msb { + description "Include the most significant byte of the destination port"; + type empty; + } + leaf destination-lsb { + description "Include the least significant byte of the destination port"; + type empty; + } + } + } + } + } + } + } + container multiservice { + description "Multiservice protocol family"; + uses apply-advanced; + leaf source-mac { + description "Include source MAC address in hash key"; + type empty; + } + leaf destination-mac { + description "Include destination MAC address in hash key"; + type empty; + } + } + } + } + grouping layer2_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + leaf interface { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_3 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses layer2_pm_output-routing-instance-type; + } + } + case case_4 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_5 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping layer2_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping ldp-sync-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP synchronization"; + type empty; + } + } + } + leaf hold-time { + description "Time during which maximum metric is advertised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + grouping ldp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "fec" { + description "Filter based on FEC associated to the traced object."; + } + enum "address" { + description "Filter based on packet source and destination addresses."; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping lmp_control_channel_type { + leaf name { + description "Control channel interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf remote-address { + description "Control channel remote address"; + type jt:ipaddr; + } + } + grouping lr_interfaces_type { + description "Physical interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list unit { + key name; + description "Logical interface"; + leaf name { + type string; + } + uses apply-advanced; + leaf alias { + description "Interface alias"; + type string; + } + leaf enhanced-convergence { + description "Optimize convergence time for L3"; + type empty; + } + leaf proxy-macip-advertisement { + description "Proxy advertisement of type 2 MAC+IP route for EVPN"; + type empty; + } + leaf virtual-gateway-accept-data { + description "Accept packets destined for virtual gateway address"; + type empty; + } + container peer-psd { + presence "enable peer-psd"; + description "Peer psd"; + leaf psd-name { + description "Peer psd name"; + type string; + } + } + container peer-interface { + presence "enable peer-interface"; + description "Peer interface"; + uses apply-advanced; + leaf interface-name { + description "Peer interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container interface-shared-with { + presence "enable interface-shared-with"; + description "Specify which PSD owns this logical interface"; + uses apply-advanced; + leaf psd-name { + description "Name of protected system domain (psd[1-31], ex. psd2)"; + type string { + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this logical interface"; + type empty; + } + } + } + leaf passive-monitor-mode { + description "Use interface to tap packets from another router"; + type empty; + } + leaf clear-dont-fragment-bit { + description "Clear DF bit in packet (AS PIC and J-series only as well as MIF)"; + type empty; + } + leaf description { + description "Text description of interface"; + type string; + } + leaf metadata { + description "Text metadata attached to interface"; + type string; + } + leaf encapsulation { + description "Logical link-layer encapsulation"; + type enumeration { + enum "atm-nlpid" { + description "ATM NLPID encapsulation"; + } + enum "atm-cisco-nlpid" { + description "Cisco-compatible ATM NLPID encapsulation"; + } + enum "atm-snap" { + description "ATM LLC/SNAP encapsulation"; + } + enum "atm-vc-mux" { + description "ATM VC multiplexing"; + } + enum "atm-ccc-vc-mux" { + description "ATM VC for CCC"; + } + enum "atm-tcc-vc-mux" { + description "ATM VC for translational cross-connect"; + } + enum "atm-tcc-snap" { + description "ATM LLC/SNAP for translational cross-connect"; + } + enum "atm-ccc-cell-relay" { + description "ATM cell relay for CCC"; + } + enum "vlan-vci-ccc" { + description "CCC for VLAN Q-in-Q and ATM VPI/VCI interworking"; + } + enum "ether-over-atm-llc" { + description "Ethernet over ATM (LLC/SNAP) encapsulation"; + } + enum "ether-vpls-over-atm-llc" { + description "Ethernet VPLS over ATM (bridging) encapsulation"; + } + enum "ppp-over-ether-over-atm-llc" { + description "PPPoE over ATM (LLC/SNAP) encapsulation"; + } + enum "ppp-over-ether" { + description "PPPoE encapsulation"; + } + enum "atm-ppp-vc-mux" { + description "ATM PPP over raw AAL5"; + } + enum "atm-ppp-llc" { + description "ATM PPP over AAL5/LLC"; + } + enum "atm-mlppp-llc" { + description "ATM MLPPP over AAL5/LLC"; + } + enum "frame-relay-ppp" { + description "PPP over Frame Relay"; + } + enum "frame-relay-ccc" { + description "Frame Relay DLCI for CCC"; + } + enum "frame-relay" { + description "Frame Relay DLCI"; + } + enum "frame-relay-tcc" { + description "Frame Relay DLCI for translational cross-connect"; + } + enum "frame-relay-ether-type" { + description "Cisco-compatible Frame Relay Encapsulation DLCI"; + } + enum "frame-relay-ether-type-tcc" { + description "Cisco-compatible Frame Relay Encapsulation DLCI for TCC"; + } + enum "ether-vpls-fr" { + description "Ethernet VPLS over Frame Relay (bridging) encapsulation"; + } + enum "vlan-ccc" { + description "802.1q tagging for a cross-connect"; + } + enum "ethernet-ccc" { + description "Ethernet for a cross-connect"; + } + enum "vlan-vpls" { + description "VLAN virtual private LAN service"; + } + enum "vlan-bridge" { + description "VLAN layer-2 bridging"; + } + enum "dix" { + description "Ethernet DIXv2 (RFC 894)"; + } + enum "ethernet" { + description "Ethernet II (RFC 894)"; + } + enum "ethernet-vpls" { + description "Ethernet II virtual private LAN service"; + } + enum "ethernet-bridge" { + description "Ethernet II bridging"; + } + enum "vlan" { + description "802.1q-tagged Ethernet"; + } + enum "vlan-tcc" { + description "802.1q tagging for a translational cross-connect"; + } + enum "multilink-ppp" { + description "Multilink PPP"; + } + enum "multilink-frame-relay-end-to-end" { + description "Multilink Frame Relay end-to-end (FRF.15)"; + } + enum "ppp-ccc" { + description "Serial PPP device for a cross-connect"; + } + } + } + leaf mtu { + description "Maximum transmission unit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice pointedness { + case case_1 { + leaf point-to-point { + description "Point-to-point connection"; + type empty; + } + } + case case_2 { + leaf multipoint { + description "Multipoint connection"; + type empty; + } + } + } + leaf bandwidth { + description "Logical unit bandwidth (informational only)"; + type string; + } + leaf global-layer2-domainid { + description "Global Layer-2 Identifier for this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 4094"; + } + } + } + choice traps-choice { + leaf traps { + description "Enable SNMP notifications on state changes"; + type empty; + } + leaf no-traps { + description "Don't enable SNMP notifications on state changes"; + type empty; + } + } + choice routing-services-choice { + leaf routing-services { + description "Enable routing services"; + type empty; + } + leaf no-routing-services { + description "Don't enable routing services"; + type empty; + } + } + container arp-resp { + presence "enable arp-resp"; + description "Knob to control ARP response on the interface, default is restricted"; + choice arp-response-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted ARP respone on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP response on the interface"; + type empty; + } + } + } + } + container proxy-arp { + presence "enable proxy-arp"; + description "Enable proxy ARP on the interface, default is unrestricted"; + choice proxyarp-options { + case case_1 { + leaf unrestricted { + description "Enable unrestricted proxy ARP on the interface"; + type empty; + } + } + case case_2 { + leaf restricted { + description "Enable restricted proxy ARP on the interface"; + type empty; + } + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "Virtual LAN identifier value for 802.1q VLAN tags"; + type string; + } + } + case case_2 { + leaf vlan-id-range { + description "Virtual LAN identifier range of form vid1-vid2"; + type string { + } + } + } + case case_3 { + leaf-list inner-vlan-id-swap-ranges { + description "Inner vlan-id swap range(s) of form vid1-vid2 for dynamic L2 VLANs"; + type jt:vlan-range; + } + } + case case_4 { + leaf-list vlan-id-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + case case_5 { + leaf-list vlan-tag { + ordered-by user; + description "IEEE 802.1q tag list for VLAN tagged frames"; + status deprecated; + type string; + } + } + case case_6 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q tags"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + choice inner_choice { + case case_1 { + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string; + } + } + case case_2 { + leaf inner-range { + description "[tpid.]vid1-vid2, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + case case_3 { + leaf-list inner-list { + description "List of VLAN identifiers"; + type jt:vlan-range; + } + } + } + } + } + } + leaf native-inner-vlan-id { + description "Native virtual LAN identifier for singly tagged frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + container accept-source-mac { + description "Remote media access control address to/from which to accept traffic"; + uses apply-advanced; + list mac-address { + key name; + description "Remote MAC address"; + uses mac_list; + } + } + container input-vlan-map { + description "VLAN map operation on input"; + uses vlan_map; + } + container output-vlan-map { + description "VLAN map operation on output"; + uses vlan_map; + } + leaf swap-by-poppush { + description "Pop original vlan tag and then push a new vlan tag"; + type empty; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + leaf multicast-dlci { + description "Frame Relay data-link control identifier for multicast packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + choice vci_type { + case case_1 { + leaf vci { + description "ATM point-to-point virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + case case_2 { + leaf allow-any-vci { + description "Allow all VCIs to open in atm-ccc-cell-relay mode"; + type empty; + } + } + case case_3 { + leaf vpi { + description "ATM point-to-point virtual path identifier (vpi)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + case case_4 { + leaf trunk-id { + description "ATM trunk identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + } + choice psn_vci_type { + case case_1 { + } + case case_2 { + } + } + container atm-l2circuit-mode { + description "Select ATM Layer 2 circuit transport mode"; + choice mode_choice { + case case_1 { + leaf cell { + description "ATM Layer 2 circuit cell mode"; + type empty; + } + } + case case_2 { + leaf aal5 { + description "ATM Layer 2 circuit AAL5 mode"; + type empty; + } + } + } + } + container vci-range { + description "ATM VCI range start end "; + leaf start { + description "ATM VCI range's start value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + leaf end { + description "ATM VCI range's end value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "32 .. 4094"; + } + } + } + } + leaf trunk-bandwidth { + description "ATM trunk bandwidth"; + units "bits per second"; + type string; + } + leaf multicast-vci { + description "ATM virtual circuit identifier for multicast packets"; + type jt:atm-vci; + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam-period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable F5 OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ppp-options { + description "Point-to-Point Protocol interface-specific options"; + uses ppp_options_type; + } + container pppoe-options { + description "PPP over Ethernet interface-specific options"; + uses pppoe_options_type; + } + choice keepalive_choices { + case case_1 { + container keepalives { + description "Send or demand keepalive messages"; + presence "enable keepalives"; + uses keepalives_type; + } + } + case case_2 { + leaf no-keepalives { + description "Do not send or demand keepalive messages"; + type empty; + } + } + } + leaf inverse-arp { + description "Enable inverse ARP"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + leaf cell-bundle-size { + description "L2 circuit cell bundle size"; + units "cells"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 176"; + } + } + } + leaf cell-bundle-timeout { + description "L2 circuit cell bundle timeout"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf plp-to-clp { + description "Enable ATM2 PLP to CLP copy"; + type empty; + } + leaf atm-scheduler-map { + description "Assign ATM2 CoS scheduling map"; + type union { + type string { + pattern "default"; + } + type string; + } + } + leaf mrru { + description "Maximum received reconstructed unit"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1500 .. 4500"; + } + } + } + leaf short-sequence { + description "Short sequence number header format (MLPPP only)"; + type empty; + } + leaf fragment-threshold { + description "Fragmentation threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4500"; + } + } + } + leaf drop-timeout { + description "Drop timeout"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2000"; + } + } + } + leaf disable-mlppp-inner-ppp-pfc { + description "Disable compression for inner PPP header in MLPPP payload"; + type empty; + } + leaf minimum-links { + description "Minimum number of links to sustain the bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf multilink-max-classes { + description "Number of multilink classes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16; + } + } + leaf interleave-fragments { + description "Interleave long packets with high priority ones"; + type empty; + } + leaf link-layer-overhead { + description "Link layer bit stuffing overhead (0.0 .. 50.0 percent)"; + type jt:unsigned-float; + } + leaf accounting-profile { + description "Accounting profile name"; + type string; + } + leaf peer-unit { + description "Peer unit number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16385"; + } + } + } + container tunnel { + description "Tunnel parameters"; + uses apply-advanced; + container encapsulation { + presence "enable encapsulation"; + description "Encapsulation over tunnel"; + container vxlan-gpe { + presence "enable vxlan-gpe"; + uses apply-advanced; + container source { + presence "enable source"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + leaf interface { + description "Name of the interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container destination { + presence "enable destination"; + uses apply-advanced; + leaf address { + description "Interface address prefix"; + type jt:ipv4addr; + } + } + leaf tunnel-endpoint { + description "Tunnel end point type"; + type enumeration { + enum "vxlan" { + description "To configure vxlan tunnel-end-point"; + } + } + } + leaf destination-udp-port { + description "Value to write to the destination-udp-port field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf vni { + description "Value to write to the vni field"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + } + } + leaf source { + description "Tunnel source"; + type jt:ipaddr; + } + leaf destination { + description "Tunnel destination"; + type jt:ipaddr; + } + leaf key { + description "Tunnel key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf backup-destination { + description "Backup tunnel destination"; + type jt:ipaddr; + } + choice fragmentation { + case case_1 { + leaf allow-fragmentation { + description "Do not set DF bit on packets"; + type empty; + } + } + case case_2 { + leaf do-not-fragment { + description "Set DF bit on packets"; + type empty; + } + } + } + leaf ttl { + description "Time to live"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf traffic-class { + description "TOS/Traffic class field of IP-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf flow-label { + description "Flow label field of IP6-header"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable path MTU discovery for tunnels"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable path MTU discovery for tunnels"; + type empty; + } + } + container routing-instance { + description "Routing instance to which tunnel ends belong"; + uses apply-advanced; + leaf destination { + description "Routing instance of tunnel destination"; + type string; + } + } + } + leaf compression-device { + description "Logical interface used for compression"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container layer2-policer { + description "Layer2 policing for logical interface"; + uses apply-advanced; + choice layer2-input-policer-choice { + case case_1 { + leaf input-policer { + description "Two-color policer for received packets"; + type string; + } + } + case case_2 { + } + case case_3 { + leaf input-three-color { + description "Color-blind three-color policer for received packets"; + type string; + } + } + } + choice layer2-output-policer-choice { + case case_1 { + leaf output-policer { + description "Two-color policer for transmitted packets"; + type string; + } + } + case case_2 { + leaf output-three-color { + description "Three-color policer for transmitted packets"; + type string; + } + } + } + } + container service { + description "Service operations"; + uses apply-advanced; + list pcef { + key name; + ordered-by user; + description "PCEF configuration"; + leaf name { + description "PCEF Profile name"; + type string; + } + uses apply-advanced; + leaf activate-all { + description "Activate all rules and rulebases in the pcef profile"; + type empty; + } + list activate { + key name; + ordered-by user; + description "Name of pcef profile rule or rulebase to activate"; + leaf name { + description "Name of pcef profile rule or rulebase to activate"; + type string; + } + uses apply-advanced; + } + } + } + choice generate-eui64-choice { + leaf generate-eui64 { + description "To generate Link Local EUI-64 addresses"; + type empty; + } + leaf no-generate-eui64 { + description "Don't to generate Link Local EUI-64 addresses"; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + container dhcp { + presence "enable dhcp"; + description "Configure DHCP Client"; + uses apply-advanced; + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf lease-time { + description "Default lease time requested in "; + units "seconds"; + type string; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCP client protocol packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 6"; + } + } + } + leaf retransmission-interval { + description "Number of seconds between successive retransmission"; + default "4"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 64"; + } + } + } + leaf server-address { + description "DHCP Server-address"; + type jt:ipv4addr; + } + leaf update-server { + description "Propagate TCP/IP settings to DHCP server "; + type empty; + } + leaf vendor-id { + description "Vendor class id for the DHCP Client"; + type string; + } + } + container targeted-broadcast { + presence "enable targeted-broadcast"; + description "Directed broadcast"; + uses apply-advanced; + choice targeted-bcast-choice { + case case_1 { + leaf forward-and-send-to-re { + description "Allow packets to be forwarded and sent to re"; + type empty; + } + } + case case_2 { + leaf forward-only { + description "Allow packets only to be forwarded"; + type empty; + } + } + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + status deprecated; + type empty; + } + leaf transit-options-packets { + description "Transit IP options packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf transit-ttl-exceeded { + description "Transit IP TTL-exceeded packets (don't send to Routing Engine)"; + status deprecated; + type empty; + } + leaf receive-options-packets { + description "Receive IP options packets (don't send to Routing Engine)"; + type empty; + } + leaf receive-ttl-exceeded { + description "Receive IP TTL-exceeded packets (don't send to Routing Engine)"; + type empty; + } + container accounting { + description "Configure interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + description "Enable source class usage on this interface"; + uses apply-advanced; + leaf input { + description "Specify this interface for source-class-usage input"; + type empty; + } + leaf output { + description "Specify this interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf arp-max-cache { + description "Max interface ARP nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf arp-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + leaf unconditional-src-learn { + description "Glean from arp packets even when source cannot be validated"; + type empty; + } + leaf multicast-only { + description "Allow only multicast traffic (tunnels only)"; + type empty; + } + leaf primary { + description "Candidate for primary interface in system"; + type empty; + } + leaf ipsec-sa { + description "Name of security association"; + type string { + length "1 .. 32"; + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container simple-filter { + description "Filter for doing multifield classification"; + uses apply-advanced; + leaf input { + description "Name of simple filter applied to received packets"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf arp { + description "Name of policer applied to received ARP packets"; + type string; + } + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list next-hop-tunnel { + key name; + ordered-by user; + description "One or more next-hop tunnel tables"; + leaf name { + description "Next-hop tunnel gateway address"; + type string; + } + uses apply-advanced; + leaf ipsec-vpn { + description "Name of IPSec VPN"; + type string; + } + } + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + leaf broadcast { + description "Broadcast address"; + type jt:ipv4addr; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list multipoint-destination { + key name; + ordered-by user; + description "Multipoint NBMA destination"; + leaf name { + description "Destination address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice link-address { + case case_1 { + leaf dlci { + description "Frame Relay data-link control identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1022"; + } + } + } + } + case case_2 { + leaf vci { + description "ATM virtual circuit identifier ([vpi.]vci)"; + type jt:atm-vci; + } + } + } + container shaping { + description "Virtual circuit traffic-shaping options"; + uses dcd_shaping_config; + } + container oam-period { + description "OAM cell period"; + choice oam_period_choices { + case case_1 { + leaf oam_period { + description "OAM cell period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 900"; + } + } + } + } + case case_2 { + container disable { + presence "enable disable"; + description "Disable OAM loopback"; + } + } + } + } + container oam-liveness { + description "OAM virtual circuit liveness parameters"; + uses apply-advanced; + leaf up-count { + description "Number of OAM cells to consider VC up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Number of OAM cells to consider VC down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf inverse-arp { + description "Enable inverse ARP reply messages"; + type empty; + } + leaf transmit-weight { + description "ATM2 transmit weight for VC under VP tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + container epd-threshold { + description "Early packet discard threshold for ATM2"; + uses epd_threshold_config; + } + } + list arp { + key name; + ordered-by user; + description "Static Address Resolution Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv4addr; + } + leaf l2-interface { + description "Layer 2 interface name for ARP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to ARP requests for this entry"; + type empty; + } + } + list vrrp-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv4addr; + } + } + container unnumbered-address { + description "Unnumbered interface address/destination prefix"; + leaf source { + description "Interface from which to take local address"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preferred-source-address { + description "Preferred address on the donor interface"; + type string; + } + leaf destination { + description "Destination address"; + type jt:ipv4addr; + } + leaf destination-profile { + description "Profile to use for destination address"; + type string; + } + } + leaf negotiate-address { + description "Negotiate address with remote"; + type empty; + } + } + container iso { + presence "enable iso"; + description "OSI ISO protocol parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address"; + leaf name { + description "Interface address"; + type jt:isoaddr; + } + uses apply-advanced; + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 protocol parameters"; + uses apply-advanced; + container dhcpv6-client { + description "Dynamic Host Configuration Protocol DHCPv6 client configuration"; + uses apply-advanced; + leaf client-type { + description "DHCPv6 client type"; + type enumeration { + enum "stateful" { + description "Stateful client type for address assignment."; + } + enum "autoconfig" { + description "Autoconfig client type for router-advertisement"; + } + } + } + list client-ia-type { + key name; + ordered-by user; + description "DHCPv6 client identity association type"; + leaf name { + type enumeration { + enum "ia-na" { + description "Identity Association-Non-temporary Address"; + } + enum "ia-pd" { + description "Identity Association-Prefix Address"; + } + } + } + uses apply-advanced; + } + container rapid-commit { + presence "enable rapid-commit"; + description "Option is used to signal the use of the two message exchange for address assignment"; + } + container prefix-delegating { + description "Prefix delegating parameters"; + uses apply-advanced; + leaf preferred-prefix-length { + description "Client preferred prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64"; + } + } + } + leaf sub-prefix-length { + description "The sub prefix length for LAN interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 127"; + } + } + } + } + container client-identifier { + description "DHCP Server identifies a client by client-identifier value "; + leaf duid-type { + description "DUID identifying a client"; + type enumeration { + enum "duid-llt" { + description "Link-layer address plus time"; + } + enum "vendor" { + description "Vendor-assigned unique ID based on Enterprise Number"; + } + enum "duid-ll" { + description "Link-layer address"; + } + } + } + } + list req-option { + key name; + ordered-by user; + description "DHCPV6 client requested option configuration"; + leaf name { + type enumeration { + enum "dns-server" { + description "Dns-server option"; + } + enum "domain" { + description "Dns-server option"; + } + enum "ntp-server" { + description "Ntp-server option"; + } + enum "time-zone" { + description "Time-zone option"; + } + enum "sip-server" { + description "Sip-server option"; + } + enum "sip-domain" { + description "Sip-domain option"; + } + enum "nis-server" { + description "Nis-server option"; + } + enum "nis-domain" { + description "Nis-domain option"; + } + enum "fqdn" { + description "Fully-qualified-domain option"; + } + enum "vendor-spec" { + description "Vendor-spec option"; + } + } + } + uses apply-advanced; + } + leaf retransmission-attempt { + description "Number of attempts to retransmit the DHCPV6 client protocol packet"; + default "9"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9"; + } + } + } + } + container rpf-check { + presence "enable rpf-check"; + description "Enable reverse-path-forwarding checks on this interface"; + uses apply-advanced; + leaf fail-filter { + description "Name of filter applied to packets failing RPF check"; + type string; + } + container mode { + description "Mode for reverse path forwarding"; + leaf loose { + description "Reverse-path-forwarding loose mode"; + type empty; + } + } + } + container accounting { + description "Interface-based accounting options"; + uses apply-advanced; + container source-class-usage { + uses apply-advanced; + leaf input { + description "Interface for source-class-usage input"; + type empty; + } + leaf output { + description "Interface for source-class-usage output"; + type empty; + } + } + leaf destination-class-usage { + description "Enable destination class usage on this interface"; + type empty; + } + } + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd6-stale-time { + description "Stale time to reconfirm reachability with inet6 neighbour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning on interface"; + type empty; + } + container ndp-proxy { + description "Enable ndp proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable ndp interface proxy restricted to interface"; + type empty; + } + } + container dad-proxy { + description "DAD proxy on interface"; + uses apply-advanced; + leaf interface-restricted { + description "Enable DAD interface proxy restricted to interface"; + type empty; + } + } + leaf nd6-max-cache { + description "Max interface ND nexthop cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf nd6-new-hold-limit { + description "Max no. of new unresolved nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000000"; + } + } + } + leaf no-redirects { + description "Do not redirect traffic"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + container input { + description "Filter to be applied to received packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + container output { + description "Filter to be applied to transmitted packets"; + leaf filter-name { + description "Name of the filter"; + type string; + } + leaf shared-name { + description "Filter shared-name of instances of interface-shared filter"; + type string; + } + leaf precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container sampling { + description "Interface sampling"; + uses apply-advanced; + leaf input { + description "Sample all packets input on this interface"; + type empty; + } + leaf output { + description "Sample all packets output on this interface"; + type empty; + } + } + list address { + key name; + ordered-by user; + description "Interface address or destination prefix"; + leaf name { + description "Interface address or destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf destination { + description "Destination address"; + type jt:ipv6addr; + } + leaf eui-64 { + description "Generate EUI-64 interface ID"; + type empty; + } + leaf primary { + description "Candidate for primary address in system"; + type empty; + } + leaf preferred { + description "Preferred address on interface"; + type empty; + } + leaf master-only { + description "Master management IP address for router"; + type empty; + } + list ndp { + key name; + ordered-by user; + description "Static Neighbor Discovery Protocol entries"; + leaf name { + description "Destination IP address"; + type jt:ipv6addr; + } + leaf l2-interface { + description "Layer 2 interface name for NDP entry"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice mac_address_type { + case case_1 { + leaf mac { + description "MAC address"; + type jt:mac-unicast; + } + } + case case_2 { + leaf multicast-mac { + description "Multicast MAC address"; + type jt:mac-multicast; + } + } + } + leaf publish { + description "Reply to NDP requests for this entry"; + type empty; + } + } + list vrrp-inet6-group { + key name; + ordered-by user; + description "VRRP group"; + uses vrrp-group; + } + leaf virtual-gateway-address { + description "Virtual Gateway IP address"; + type jt:ipv6addr; + } + leaf subnet-router-anycast { + description "Create a subnet roter anycast address for this address."; + type empty; + } + } + choice dad-disable-choice { + leaf dad-disable { + description "Disable duplicate-address-detection"; + type empty; + } + leaf no-dad-disable { + description "Don't disable duplicate-address-detection"; + type empty; + } + } + } + container mpls { + presence "enable mpls"; + description "MPLS protocol parameters"; + uses apply-advanced; + leaf mtu { + description "Protocol family maximum transmission unit"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-labels { + description "Protocol family maximum number of labels"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 5"; + } + } + } + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container ingress-queuing-filter { + description "Protocol family ingress-queuing-filter"; + leaf filter-name { + description "Name of the ingress-queuing-filter"; + type string; + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + container mlppp { + description "Multilink PPP protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type string; + } + choice anchor-points { + case case_1 { + } + case case_2 { + } + } + leaf dynamic-profile { + description " dynamic profile for interface to use"; + type string { + length "1 .. 80"; + } + } + } + container mlfr-end-to-end { + presence "enable mlfr-end-to-end"; + description "Multilink Frame Relay end-to-end protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container mlfr-uni-nni { + presence "enable mlfr-uni-nni"; + description "Multilink Frame Relay UNI NNI protocol parameters"; + uses apply-advanced; + leaf bundle { + description "Logical interface name this link will join"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container ccc { + presence "enable ccc"; + description "Circuit cross-connect parameters"; + uses apply-advanced; + container filter { + description "Packet filtering"; + uses apply-advanced; + choice input_choice { + case case_1 { + leaf input { + description "Name of filter applied to received packets"; + type string; + } + } + case case_2 { + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + } + } + choice output_choice { + case case_1 { + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + } + case case_2 { + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + } + } + leaf group { + description "Interface group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + leaf translate-fecn-and-becn { + description "Translate FECN and BECN bits"; + type empty; + } + choice de-or-plp { + case case_1 { + leaf translate-discard-eligible { + description "Translate DE bit"; + type empty; + } + } + case case_2 { + } + } + leaf keep-address-and-control { + description "Don't strip PPP address and control bytes"; + type empty; + } + } + container tcc { + presence "enable tcc"; + description "Translational cross-connect parameters"; + uses apply-advanced; + container policer { + description "Interface policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + container proxy { + presence "enable proxy"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on non-Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + } + container remote { + presence "enable remote"; + uses apply-advanced; + leaf inet-address { + description "Remote host address on Ethernet side of Ethernet TCC"; + type jt:ipv4addr; + } + leaf mac-address { + description "Remote host MAC address on Ethernet side of Ethernet TCC"; + type jt:mac-addr; + } + } + } + container vpls { + presence "enable vpls"; + description "Virtual private LAN service parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + } + container bridge { + presence "enable bridge"; + description "Layer-2 bridging parameters"; + uses apply-advanced; + leaf core-facing { + description "Interface is core facing"; + type empty; + } + leaf interface-mode { + description "Interface mode (access or trunk)"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type (svlan or bvlan)"; + type enumeration { + enum "svlan" { + description "Bridge domain type svlan"; + } + enum "bvlan" { + description "Bridge domain type bvlan"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + choice vlan_list { + case case_1 { + leaf vlan-id { + description "Access mode and trunk mode VLAN membership"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + case case_2 { + leaf-list vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface"; + type string; + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + container vlan-rewrite { + description "Specify vlan translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + container ethernet-switching { + description "Ethernet switching parameters"; + presence "enable ethernet-switching"; + uses ethernet-switching-type; + } + container fibre-channel { + description "Fibre channel switching parameters"; + presence "enable fibre-channel"; + uses fibre-channel-type; + } + container any { + presence "enable any"; + description "Parameters for 'any' family"; + uses apply-advanced; + container filter { + description "Layer 2 packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string { + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + uses apply-advanced; + } + leaf service-domain { + description "Service domain to which interface belongs"; + type enumeration { + enum "inside" { + description "Inside network"; + } + enum "outside" { + description "Outside network"; + } + } + } + leaf copy-tos-to-outer-ip-header { + description "Copy IP payload header's ToS field to GRE delivery header"; + type empty; + } + container load-balancing-options { + description "AMS subunit load balancing options"; + uses apply-advanced; + leaf preferred-active { + description "Preferred active Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container hash-keys { + uses apply-advanced; + leaf-list ingress-key { + ordered-by user; + description "Hash Key for the ingress direction"; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + } + enum "destination-ip" { + description "Destination Ip Address"; + } + enum "protocol" { + description "Protocol"; + } + enum "iif" { + description "Incoming Interface"; + } + } + } + leaf-list egress-key { + ordered-by user; + description "Hash Key for the egress direction"; + status deprecated; + type enumeration { + enum "source-ip" { + description "Source Ip Address"; + status deprecated; + } + enum "destination-ip" { + description "Destination Ip Address"; + status deprecated; + } + enum "protocol" { + description "Protocol"; + status deprecated; + } + enum "oif" { + description "Outgoing Interface"; + status deprecated; + } + } + } + leaf ipv6-source-prefix-length { + description "IPv6 source prefix length for hash computation"; + type enumeration { + enum "56" { + description "56 bit IPv6 address prefix"; + } + enum "64" { + description "64 bit IPv6 address prefix"; + } + enum "96" { + description "96 bit IPv6 address prefix"; + } + enum "128" { + description "Complete 128 bit IPv6 address"; + } + } + } + } + } + leaf mac { + description "Configure logical interface MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v4-mac { + description "Configure virtual gateway IPV4 virtual MAC address"; + type jt:mac-unicast; + } + leaf virtual-gateway-v6-mac { + description "Configure virtual gateway IPV6 virtual MAC address"; + type jt:mac-unicast; + } + leaf etree-ac-role { + description "ETREE attachment circuit role"; + type enumeration { + enum "root" { + description "ETREE root interface"; + } + enum "leaf" { + description "ETREE leaf interface"; + } + } + } + } + } + grouping dcd_shaping_config { + description "Traffic-shaping profile"; + uses apply-advanced; + choice useless_shaping_choice { + case case_1 { + container cbr { + presence "enable cbr"; + description "Constant bandwidth utilization"; + leaf cbr-value { + description "Constant bandwidth utilization"; + type string; + } + } + } + case case_2 { + container vbr { + description "Variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + case case_3 { + container rtvbr { + description "ATM2 real-time variable bandwidth utilization"; + leaf peak { + description "Peak rate"; + type string; + } + leaf sustained { + description "Sustained rate"; + type string; + } + leaf burst { + description "Burst size"; + type string; + } + } + } + } + leaf queue-length { + description "Queue length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16383"; + } + } + } + } + grouping epd_threshold_config { + uses apply-advanced; + leaf epd-threshold-plp0 { + description "Early packet discard threshold value"; + units "cells"; + type string; + } + leaf plp1 { + description "Early packet drop threshold value for PLP 1"; + units "cells"; + type string; + } + } + grouping ethernet-switching-type { + description "Ethernet switching family"; + uses apply-advanced; + leaf port-mode { + description "Type of port mode"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "tagged-access" { + description "Interface mode is tagged-access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf interface-mode { + description "Type of interface mode"; + default "access"; + type enumeration { + enum "access" { + description "Interface mode is access"; + } + enum "trunk" { + description "Interface mode is trunk"; + } + } + } + leaf inter-switch-link { + description "PVLAN inter switch link"; + type empty; + } + leaf reflective-relay { + description "Reflective-relay mode for this interface"; + type empty; + } + choice vlan_choice_list { + case case_1 { + container vlan { + description "Virtual LAN parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_2 { + container inner-vlan { + description "Trunk mode vlan membership for this interface"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Membership for this interface (name or id)"; + type string; + } + } + } + case case_3 { + leaf-list inner-vlan-id-list { + ordered-by user; + description "Trunk mode VLAN membership for this interface based on inner VLAN tag"; + type string; + } + } + } + leaf vlan-auto-sense { + description "Enable VLAN auto sense on this interface"; + type empty; + } + leaf bridge-domain-type { + description "Bridge domain type"; + type enumeration { + enum "svlan" { + description "Bridge domain type SVLAN"; + } + enum "bvlan" { + description "Bridge domain type BVLAN"; + } + } + } + container vlan-rewrite { + description "Specify VLAN translation"; + uses apply-advanced; + list translate { + key name; + ordered-by user; + description "Translate incoming VLAN tag"; + leaf name { + description "Specify the incoming VLAN tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf to-vlan-id { + description "Specify the bridge-domain VLAN-ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf native-vlan-id { + description "Untagged packets on a trunk/tagged-access interface belong to this vlan"; + type string { + } + } + choice isid_list { + case case_1 { + leaf isid-list { + description "Specify the ISID list"; + type enumeration { + enum "all-service-groups" { + description "Map all ISIDs specified under the service-groups"; + } + enum "all" { + description "Map all ISIDs"; + } + } + } + } + } + leaf core-facing { + description "Interface is core facing"; + type empty; + } + container filter { + description "Packet filtering"; + uses apply-advanced; + leaf input { + description "Name of filter applied to received packets"; + type string; + } + leaf input-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list input-list { + ordered-by user; + description "List of filter modules applied to received packets "; + type string; + } + leaf output { + description "Name of filter applied to transmitted packets"; + type string; + } + leaf output-precedence { + description "Precedence of the filter"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list output-list { + ordered-by user; + description "List of filter modules applied to transmitted packets "; + type string; + } + container adf { + description "Ascend Data Filter definition"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Set of ADF rules"; + leaf name { + description "Value for a single rule"; + type string; + } + uses apply-advanced; + } + leaf counter { + description "Add a counter to each rule"; + type empty; + } + leaf input-precedence { + description "Precedence of the input rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf not-mandatory { + description "No errors will be reported if no rules are present"; + type empty; + } + leaf output-precedence { + description "Precedence of the output rules"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf group { + description "Group to which interface belongs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container storm-control { + description "Storm control profile name to bind"; + uses apply-advanced; + leaf profile-name { + description "Profile name"; + type string; + } + } + container recovery-timeout { + description "Recovery timeout for this interface"; + leaf time-in-seconds { + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + } + } + grouping fibre-channel-type { + description "Fibre Channel switching family"; + uses apply-advanced; + leaf port-mode { + description "Port mode"; + type enumeration { + enum "f-port" { + description "Fabric port"; + } + enum "e-port" { + description "Inter-switch port"; + } + enum "np-port" { + description "Proxy node port"; + } + enum "auto" { + description "Interface mode (F/E) is determined at runtime"; + } + } + } + leaf no-npiv { + description "Disable NPIV"; + type empty; + } + container fc-fabric { + description "Virtual fabric parameters"; + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Virtual Fabric Membership for this interface (name or id)"; + type string; + } + } + leaf native-fabric { + description "FC frames with no virtual fabric header on a interface belong to this fabric"; + type string { + } + } + } + grouping keepalives_type { + uses apply-advanced; + leaf interval { + description "Keepalive period"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf up-count { + description "Keepalive received to bring link up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf down-count { + description "Keepalive missed to bring link down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + } + grouping lsp-set-match-type { + uses apply-advanced; + leaf lsp-name { + description "LSP name that matches this string"; + type string; + } + leaf lsp-regex { + description "All LSPs that match this regular expression pattern"; + type string; + } + leaf p2mp-name { + description "P2MP names that match this string"; + type string; + } + leaf p2mp-regex { + description "P2MP names that match this regular expression pattern"; + type string; + } + choice router-type { + case case_1 { + leaf egress { + description "All LSPs for which this router is egress"; + type empty; + } + } + case case_2 { + leaf ingress { + description "All LSPs for which this router is ingress"; + type empty; + } + } + case case_3 { + leaf transit { + description "All LSPs for which this router is transit"; + type empty; + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping mac_addr_list_items { + leaf name { + description "Mac Address"; + type jt:mac-addr; + } + uses apply-advanced; + } + grouping mac_list { + description "MAC address"; + leaf name { + type jt:mac-addr; + } + uses apply-advanced; + container policer { + description "MAC policing"; + uses apply-advanced; + leaf input { + description "Name of policer applied to received packets"; + type string; + } + leaf output { + description "Name of policer applied to transmitted packets"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping match_L2_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-2" { + description "Layer-2 match start"; + } + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + } + grouping match_L3_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-3" { + description "Layer-3 match start"; + } + enum "layer-4" { + description "Layer-4 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + } + grouping match_interface_object { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_object_oam { + leaf name { + description "Interface to match"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping match_interface_set_object { + leaf name { + description "Interface set to match"; + type string; + } + } + grouping match_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping metric_expression_type { + uses apply-advanced; + container metric { + description "Parameters for metric attribute"; + leaf multiplier { + description "Coefficient for metric attribute"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container metric2 { + description "Parameters for metric2 attribute"; + leaf multiplier { + description "Coefficient for metric2 attribute"; + default "1.0"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric2 attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping mpls_filter { + description "Define an MPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + list label { + key name; + ordered-by user; + description "MPLS label bits"; + leaf name { + description "Range of values between 0 and 1048575 in decimal or hexadecimal"; + type string { + } + } + uses apply-advanced; + } + choice exp_choice { + case case_1 { + leaf-list exp { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + case case_2 { + leaf-list exp-except { + ordered-by user; + description "Range of values between 0 and 7 in decimal, binary or hex"; + type string; + } + } + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_mpls_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + choice mplscnt { + case case_1 { + } + case case_2 { + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf packet-mode { + description "Bypass flow mode for the packet"; + type empty; + } + choice designation { + case case_1 { + } + case case_2 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_3 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_4 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + } + container template { + description "Refer a template"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string { + } + } + } + } + } + grouping match_mpls_flexible_mask { + description "Define a flexible match"; + uses apply-advanced; + leaf match-start { + description "Start point to match in packet"; + type enumeration { + enum "layer-3" { + description "Layer-3 match start"; + } + enum "payload" { + description "Payload match start"; + } + } + } + leaf byte-offset { + description "Byte offset after the match start point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bit-offset { + description "Bit offset after the (match-start + byte) offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf bit-length { + description "Length of integer input (1..32 bits), Optional length of string input (1..128 bits)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mask-in-hex { + description "Mask out bits in the packet data to be matched"; + type string { + } + } + leaf prefix { + description "Value data/string to be matched"; + type string { + } + } + leaf flexible-mask-name { + description "Select a flexible match from predefined template field"; + type string; + } + } + grouping mpls_pm_family_output_type { + uses apply-advanced; + } + grouping mpls_template { + leaf name { + description "Template name"; + type string { + } + } + uses apply-advanced; + container attributes { + description "Template attributes"; + uses apply-advanced; + leaf exp { + description "Match MPLS EXP bits"; + type empty; + } + leaf exp-except { + description "Do not match MPLS EXP bits"; + type empty; + } + leaf flexible-match-mask { + description "Match flexible mask"; + type empty; + } + leaf flexible-match-range { + description "Match flexible range"; + type empty; + } + leaf forwarding-class { + description "Match forwarding class"; + type empty; + } + leaf forwarding-class-except { + description "Do not match forwarding class"; + type empty; + } + leaf interface { + description "Match interface name"; + type empty; + } + leaf interface-group { + description "Match interface group"; + type empty; + } + leaf interface-set { + description "Match interface in set"; + type empty; + } + leaf loss-priority { + description "Match Loss Priority"; + type empty; + } + leaf loss-priority-except { + description "Do not match Loss Priority"; + type empty; + } + leaf label { + description "MPLS label bits"; + type empty; + } + } + } + grouping mrp-trace-options { + description "Trace options for MMRP Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace RAPS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace information of the state machine"; + } + enum "socket" { + description "Trace soccket activity"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping mstp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping network_type { + leaf name { + description "Network prefix"; + type jt:ipprefix; + } + uses apply-advanced; + } + grouping next_hop_group_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_subgroup_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + } + grouping override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allow processing of bootp requests"; + type empty; + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container delay-offer { + description "Filter options for dhcp-server"; + uses dhcpv4-filter-option; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORM PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet"; + type string { + length "1 .. 64"; + } + } + } + container include-option-82 { + description "Include option-82 in reply packets"; + uses apply-advanced; + leaf nak { + description "Include option-82 in NAK"; + type empty; + } + leaf forcerenew { + description "Include option-82 in FORCERENEW"; + type empty; + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv4 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv4-filter-option { + description "Generic DHCPv4 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between discover and offer"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-82 { + presence "enable option-82"; + description "Option 82"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-60 { + presence "enable option-60"; + description "Option 60"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-77 { + presence "enable option-77"; + description "Option 77"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf always-write-giaddr { + description "Overwrite existing 'giaddr' field, when present"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf layer2-unicast-replies { + description "Do not broadcast client responses"; + type empty; + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container proxy-mode { + presence "enable proxy-mode"; + description "Put the relay in proxy mode"; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip for relay interfaces"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping packet_accounting_output_type { + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list cflowd { + key name; + description "Cflowd collector where flow records are sent"; + uses cflowd_packet_accounting_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + uses packet_export_intf_type; + } + } + grouping cflowd_packet_accounting_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + } + grouping packet_export_intf_type { + leaf name { + description "Interfaces used to send monitored information"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf engine-id { + description "Identity (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf engine-type { + description "Type (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + container export-port { + description "Jflow export port configuration"; + presence "enable export-port"; + uses export_port_address_type; + } + } + grouping export_port_address_type { + uses apply-advanced; + leaf address { + description "Address to use for jflow export port"; + type jt:ipv4prefix; + } + leaf gateway { + description "Gateway address to reach jflow server"; + type jt:ipv4addr; + } + } + grouping pccd-traceoptions-type { + description "Trace options for PCCD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of PCCD to enable debugging output"; + leaf name { + type enumeration { + enum "pccd-main" { + description "Trace main module"; + } + enum "pccd-config" { + description "Trace configuration parsing operations"; + } + enum "pccd-core" { + description "Trace PCCD's core operations"; + } + enum "pccd-ui" { + description "Trace user interface handling"; + } + enum "pccd-rpd" { + description "Trace communication with RPD"; + } + enum "pccd-functions" { + description "Trace function entries/outs"; + } + enum "all" { + description "Trace all areas of PCCD code"; + } + } + } + } + } + grouping peer-group { + leaf name { + description "IP address for this peer"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use for this peer alone."; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with this peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf-list redundancy-group-id-list { + ordered-by user; + description "List of redundacy groups this peer is part of"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 1; + } + container backup-liveness-detection { + presence "enable backup-liveness-detection"; + description "Backup liveness detection"; + uses apply-advanced; + leaf backup-peer-ip { + description "Backup livelness detection peer's IP address"; + type jt:ipv4addr; + } + } + container liveness-detection { + presence "enable liveness-detection"; + description "Bidirectional Forwarding Detection options for the peer"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + grouping periodic_oam { + uses apply-advanced; + container mpls-tp-mode { + presence "enable mpls-tp-mode"; + description "MPLS-TP Mode, Do not use IP addressing for OAM"; + uses apply-advanced; + container lsping-channel-type { + description "Supported Control-channel types for MPLS-TP mode...."; + uses apply-advanced; + choice action-choice { + case case_1 { + leaf ipv4 { + description "Use channel-type IPv4(0x0021), With IP-UDP encapsulation"; + type empty; + } + } + case case_2 { + leaf on-demand-cv { + description "Use channel-type On-Demand-CV(0x0025), Without IP-UDP encapsulation"; + type empty; + } + } + } + } + } + container bfd-port { + description "Egress knob to select MHOP-BFD port for MPLS BFD"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf teardown { + description "Teardown label switched path and resignal"; + type empty; + } + } + case case_2 { + container make-before-break { + presence "enable make-before-break"; + description "Resignal the label switched path before teardown"; + uses apply-advanced; + leaf teardown-timeout { + description "Time to wait before teardown"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + } + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container performance-monitoring { + description "Performance monitoring options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace init commnad"; + } + enum "error" { + description "Trace error conditions"; + } + enum "event" { + description "Trace state machine events"; + } + enum "general" { + description "Trace general events"; + } + enum "packet" { + description "Trace various packets "; + } + enum "timer" { + description "Trace timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container querier { + description "Querier options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic class"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container loss-delay { + description "Combined loss-delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container responder { + description "Responder options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf lsp-ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container traceoptions { + description "Trace options for MPLSOAM process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "pipe" { + description "Trace pipe activity"; + } + enum "rpc-packet-details" { + description "Trace RPC packet details"; + } + enum "database" { + description "Trace database activity"; + } + enum "network" { + description "Trace network activity"; + } + enum "traceroute" { + description "Trace traceroute activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping pm-rspan-vlan { + description "RSPAN vlan for pm"; + leaf name { + description "VLAN name or VLAN id"; + type string { + } + } + uses apply-advanced; + leaf no-tag { + description "Removes extra RSPAN tag from mirrored packets"; + type empty; + } + } + grouping pm_family_input_type { + description "Input options for port mirroring"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + } + grouping ppp_options_type { + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile name"; + type string; + } + container chap { + presence "enable chap"; + description "Challenge Handshake Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-chap-secret { + description "Default CHAP secret to be used when no matching access profile exists"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in CHAP-Challenge and CHAP-Response"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf passive { + description "Handle incoming CHAP requests only"; + type empty; + } + } + container pap { + presence "enable pap"; + description "Password Authentication Protocol options"; + uses apply-advanced; + choice access-data { + case case_1 { + leaf access-profile { + description "Profile containing client list and access parameters"; + type string { + length "1 .. 63"; + } + } + } + case case_2 { + leaf default-password { + description "Default PAP password used in the absence of matching profile"; + type jt:unreadable; + } + } + } + leaf local-name { + description "Name sent in PAP request packet"; + type string; + } + leaf no-rfc2486 { + description "RFC2486 compliance is not enforced"; + type empty; + } + leaf local-password { + description "Password sent in PAP request packet"; + type jt:unreadable; + } + leaf passive { + description "Do not handle PAP authentication requests"; + type empty; + } + } + container compression { + description "Set compression options"; + leaf acfc { + description "Negotiate Address/Control field compression"; + type empty; + } + leaf pfc { + description "Negotiate Protocol field compression"; + type empty; + } + } + leaf lcp-restart-timer { + description "LCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "20 .. 10000"; + } + } + } + leaf ncp-restart-timer { + description "NCP restart timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "500 .. 10000"; + } + } + } + leaf no-termination-request { + description "Don't send PPP termination requests"; + type empty; + } + leaf loopback-clear-timer { + description "Loopback clear timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 60"; + } + } + } + leaf lcp-max-conf-req { + description "Maximum LCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ncp-max-conf-req { + description "Maximum NCP Conf-Req to be sent, 0 means infinite"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf on-demand-ip-address { + description "Enable On-Demand IPv4 address allocation and de-allocation"; + type empty; + } + leaf aaa-options { + description "Attach AAA options name to dynamic-profile"; + type string { + length "1 .. 63"; + } + } + container initiate-ncp { + description "Enable server initiated NCP"; + uses apply-advanced; + leaf ip { + description "Enable server initiated IPNCP"; + type empty; + } + leaf ipv6 { + description "Enable server initiated IPv6NCP"; + type empty; + } + leaf dual-stack-passive { + description "Disable server initiated IPNCP/IPv6NCP for dual-stack client"; + type empty; + } + } + leaf mtu { + description "The Maximum Transfer Unit size in bytes"; + type string; + } + leaf peer-ip-address-optional { + description "Set Peer IP Address Optional in IP NCP Negotiations"; + type empty; + } + leaf ipcp-suggest-dns-option { + description "Suggest peer to negotiate with DNS Addresses options"; + type empty; + } + leaf ignore-magic-number-mismatch { + description "Ignore magic-number validation failure in LCP keepalive"; + type empty; + } + container local-authentication { + description "Local Authentication Protocol options"; + uses local_auth_type; + } + } + grouping local_auth_type { + description "Local authentication"; + uses apply-advanced; + leaf password { + description "Username password"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf circuit-id { + description "Include circuit-id "; + type empty; + } + leaf remote-id { + description "Include remote-id "; + type empty; + } + leaf domain-name { + description "Domain name"; + type string { + length "1 .. 64"; + } + } + leaf delimiter { + description "Delimiter/separator character"; + type string { + length 1; + } + } + } + } + grouping pppoe_options_type { + uses apply-advanced; + leaf underlying-interface { + description "Underlying interface name"; + type string; + } + leaf idle-timeout { + description "Time for which session can be idle (0 = forever)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf access-concentrator { + description "Name of the access concentrator (PPPoE server)"; + type string; + } + leaf service-name { + description "Service to be requested (from PPPoE server)"; + type string; + } + leaf auto-reconnect { + description "Time to reconnect after session terminates (0 = never)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice pppoe-mode { + case case_1 { + leaf server { + description "PPPoE operates in server mode"; + type empty; + } + } + case case_2 { + leaf client { + description "PPPoE operates in client mode"; + type empty; + } + } + } + leaf ppp-max-payload { + description "Specify the value of ppp-max-payload tag"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1492 .. 9192"; + } + } + } + } + grouping prefix_action { + leaf name { + description "Prefix action name"; + type string { + } + } + uses apply-advanced; + leaf policer { + description "Police the packet using a set of named policer"; + type string { + } + } + leaf count { + description "Enable counters"; + type empty; + } + leaf filter-specific { + description "Filter specific, else term specific"; + type empty; + } + leaf subnet-prefix-length { + description "Prefix length for the total address range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + choice source_or_dest { + case case_1 { + leaf source-prefix-length { + description "Source prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + case case_2 { + leaf destination-prefix-length { + description "Destination prefix range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 32"; + } + } + } + } + } + } + grouping prefix_list_items { + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + grouping programmable-rpd-type { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "client" { + description "Client events"; + } + enum "japi" { + description "JAPI related traces"; + } + enum "routing-interface" { + description "Routing interface traces"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container purge-timeout { + presence "enable purge-timeout"; + description "Purge timeout for all programmable-rpd clients in seconds"; + choice purge-parm { + case case_1 { + leaf timeout { + description "Timeout value, in seconds, for purging client programmed objects"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Programmable-rpd client options"; + leaf name { + description "Client ID"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + list interface-notification { + key name; + ordered-by user; + description "Interfaces for notification"; + leaf name { + description "Interface"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping reconfigure-trigger-type { + description "DHCP reconfigure trigger"; + uses apply-advanced; + leaf radius-disconnect { + description "Trigger DHCP reconfigure by radius initiated disconnect"; + type empty; + } + } + grouping reconfigure-type { + description "DHCP reconfigure processing"; + uses apply-advanced; + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping rip_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping route_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping route_record_traceoptions { + description "Traceoptions for sampling route record"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of route-record to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping rpd_rib_group_type { + description "Routing table group"; + leaf name { + description "Routing table group"; + type string; + } + uses apply-advanced; + leaf export-rib { + description "Export routing table"; + type string; + } + leaf-list import-rib { + ordered-by user; + description "Import routing table"; + type string; + } + leaf-list import-policy { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + grouping rtf_prefix_list_items { + leaf name { + description "Family route-target prefix"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + grouping sampling_family_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet6_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_family_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_global_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_global_mpls_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + } + grouping cflowd_global_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + container family { + presence "enable family"; + description "Protocol family"; + status deprecated; + container inet { + description "Sampling parameters for IPv4"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + container mpls { + description "Sampling parameters for MPLS"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + } + } + grouping sampling_instance_bridge_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_bridge_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_bridge_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline_instance { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_instance_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet6_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_inet_global_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_instance_inet_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + } + grouping sampling_instance_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_instance_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_mpls_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_vpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_vpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_vpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_traceoptions_type { + description "Configure packet sampling traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + grouping satellite-policy-options { + uses apply-advanced; + list extended-ports-template { + key name; + ordered-by user; + description "Extended ports template"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + description "PIC attributes"; + uses satellite-pic-type; + } + } + list port-group-alias { + key name; + ordered-by user; + description "Port group alias"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + ordered-by user; + description "Satellite PIC information"; + leaf name { + description "PIC identifier"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list port { + ordered-by user; + description "Port id or range or all"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + } + } + list chassis-group-alias { + key name; + ordered-by user; + description "Chassis group alias"; + leaf name { + description "Chassis group alias name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf prefer-primary { + description "Primary mode chassis will be preferred"; + type empty; + } + list chassis-id { + key name; + ordered-by user; + description "List of chassis-ids"; + leaf name { + description "Chassis ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + container mode { + description "Mode Primary or Backup"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf primary { + description "Primary Mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup Mode"; + type empty; + } + } + } + } + list core-interface { + key name; + ordered-by user; + description "Core interface"; + leaf name { + description "Core interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } + list extended-ports-policy { + key name; + ordered-by user; + description "Define a extended-ports-policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf extended-ports-template { + description "Apply extended ports template to satellite matching conditions defined in this term"; + type string; + } + } + } + } + list candidate-uplink-port-policy { + key name; + ordered-by user; + description "Define a candidate uplink-port policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + } + list environment-monitoring-policy { + key name; + ordered-by user; + description "Define a environment monitoring policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container alarm { + presence "enable alarm"; + description "Policy default alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Policy default linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + container alarm { + presence "enable alarm"; + description "Term alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Set linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + } + } + } + list forwarding-policy { + key name; + ordered-by user; + description "Define forwarding policy for extended ports"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + } + } + } + } + grouping port-extend-type { + leaf name { + description "Extended port group alias name policy applied on"; + type string; + } + uses apply-advanced; + leaf filter { + description "Assign a filter for uplink selection"; + type string; + } + container port-group-uplink { + description "Define a uplink port group mapping"; + uses apply-advanced; + leaf port-group-uplink-alias { + description "Uplink port group alias name used for uplink pinning mode"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + container mirror-ingress { + description "Define a ingress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + container mirror-egress { + description "Define a egress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + } + grouping satellite-pic-type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4"; + } + } + } + uses apply-advanced; + list port { + key name; + description "Port number"; + uses satellite-pic-port-attr; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Physical ports to channelize"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + } + grouping satellite-pic-port-attr { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "25g" { + description "Set the port speed to 25G"; + } + enum "50g" { + description "Set the port speed to 50G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-bulk-leasequery-type { + description "Allow bulk leasequery"; + uses apply-advanced; + leaf max-connections { + description "Max TCP connections allowed at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Timeout for blocked connection"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf max-empty-replies { + description "Maximum number of empty replies for a connection"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf restricted-requestor { + description "Allow bulk leasequery only from restricted requestors"; + type empty; + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-leasequery-type { + description "Allow leasequery"; + uses apply-advanced; + leaf restricted-requestor { + description "Allow leasequery only from restricted requestors"; + type empty; + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping server-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + } + } + grouping smpl-analyzer-type { + leaf name { + description "Analyzer name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container input { + description "Ports and VLANs to monitor"; + uses smpl-analyzer-input-type; + } + container output { + description "Outgoing port or VLAN for mirrored packets"; + uses smpl-analyzer-output-type; + } + } + grouping smpl-analyzer-input-type { + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + container ingress { + description "Ports and VLANs to monitor incoming traffic"; + uses smpl-analyzer-ingress-type; + } + container egress { + description "Ports and VLANs to monitor outgoing traffic"; + uses smpl-analyzer-egress-type; + } + } + grouping smpl-analyzer-egress-type { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Port to monitor outgoing traffic"; + uses analyzer-egress-interface-type; + } + list routing-instance { + key name; + description "Routing instances"; + uses analyzer-egress-routing-instance-type; + } + list vlan { + key name; + ordered-by user; + description "VLAN to monitor outgoing traffic"; + uses analyzer-egress-vlan-type; + } + } + grouping analyzer-egress-interface-type { + leaf name { + description "Logical interface name"; + type string; + } + uses apply-advanced; + } + grouping analyzer-egress-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN to monitor outgoing traffic"; + uses analyzer-egress-vlan-type; + } + } + grouping analyzer-egress-vlan-type { + leaf name { + description "VLAN name, VLAN id or VLAN range string"; + type string; + } + uses apply-advanced; + } + grouping smpl-analyzer-ingress-type { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Port to monitor incoming traffic"; + uses analyzer-ingress-interface-type; + } + list routing-instance { + key name; + description "Routing instances"; + uses analyzer-ingress-routing-instance-type; + } + list vlan { + key name; + ordered-by user; + description "VLAN to monitor incoming traffic"; + uses analyzer-ingress-vlan-type; + } + } + grouping analyzer-ingress-interface-type { + leaf name { + description "Logical interface name"; + type string; + } + uses apply-advanced; + } + grouping analyzer-ingress-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN to monitor incoming traffic"; + uses analyzer-ingress-vlan-type; + } + } + grouping analyzer-ingress-vlan-type { + leaf name { + description "VLAN name, VLAN id or VLAN range string"; + type string; + } + uses apply-advanced; + } + grouping smpl-analyzer-output-type { + uses apply-advanced; + choice interface_or_vlan { + case case_1 { + leaf interface { + description "Outgoing port for mirrored packets"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + case case_3 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_4 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses output-routing-instance-type; + } + } + case case_5 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_6 { + } + } + } + grouping output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping source_address_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping stp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping stp-trace-options { + description "Trace options for Spanning Tree Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "bpdu" { + description "Trace BPDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "port-information-state-machine" { + description "Trace port information state machine"; + } + enum "port-receive-state-machine" { + description "Trace port receive state machine"; + } + enum "port-role-select-state-machine" { + description "Trace port role selection state machine"; + } + enum "port-role-transit-state-machine" { + description "Trace port role transit state machine"; + } + enum "port-state-transit-state-machine" { + description "Trace port state transit state machine"; + } + enum "port-migration-state-machine" { + description "Trace port migration state machine"; + } + enum "port-transmit-state-machine" { + description "Trace port transmit state machine"; + } + enum "topology-change-state-machine" { + description "Trace topology change state machine"; + } + enum "bridge-detection-state-machine" { + description "Trace Bridge detection state machine"; + } + enum "state-machine-variables" { + description "Trace when state machine variables change"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "all-failures" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping subscription-type { + uses apply-advanced; + leaf link-subscription { + description "Link bandwidth percentage for RSVP reservation"; + default "100"; + type string; + } + leaf ct0 { + description "Subscription percentage for traffic class 0"; + default "100"; + type string; + } + leaf ct1 { + description "Subscription percentage for traffic class 1"; + default "100"; + type string; + } + leaf ct2 { + description "Subscription percentage for traffic class 2"; + default "100"; + type string; + } + leaf ct3 { + description "Subscription percentage for traffic class 3"; + default "100"; + type string; + } + } + grouping system-id-ip-map { + leaf name { + type jt:mac-unicast; + } + uses apply-advanced; + leaf ip-address { + description "Peer ID (IP Address)"; + type jt:ipv4prefix; + } + } + grouping te-class-object { + leaf traffic-class { + description "Traffic class"; + type enumeration { + enum "ct0" { + description "Traffic class 0"; + } + enum "ct1" { + description "Traffic class 1"; + } + enum "ct2" { + description "Traffic class 2"; + } + enum "ct3" { + description "Traffic class 3"; + } + } + } + leaf priority { + description "Preemption priority for this class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + grouping three-color-policer-type { + description "Three-color policer"; + leaf name { + description "Policer name"; + type string { + } + } + uses apply-advanced; + leaf filter-specific { + description "Three color policer is filter-specific"; + type empty; + } + leaf logical-interface-policer { + description "Policer is logical interface policer"; + type empty; + } + container action { + description "Action for three-color policer"; + uses apply-advanced; + list loss-priority { + key name; + ordered-by user; + description "Loss priority for packet"; + uses three-color-policer-action; + } + } + choice rate-type-choice { + case case_1 { + container single-rate { + description "Single-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic"; + units "bytes"; + type string; + } + leaf excess-burst-size { + description "Burst size allowed for excess traffic"; + units "bytes"; + type string; + } + } + } + case case_2 { + } + case case_3 { + container two-rate { + presence "enable two-rate"; + description "Two-rate policer"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf color-blind { + description "Color-blind mode"; + type empty; + } + } + case case_2 { + leaf color-aware { + description "Color-aware mode"; + type empty; + } + } + } + leaf committed-information-rate { + description "Bandwidth allowed for committed traffic"; + units "bits per second"; + type string; + } + leaf committed-burst-size { + description "Burst size allowed for committed traffic "; + units "bytes"; + type string; + } + leaf peak-information-rate { + description "Bandwidth allowed for peak traffic"; + units "bits per second"; + type string; + } + leaf peak-burst-size { + description "Burst size allowed for peak traffic "; + units "bytes"; + type string; + } + container aggregate-policing { + presence "enable aggregate-policing"; + description "Configure Aggregate Policer"; + uses apply-advanced; + list policer { + key name; + ordered-by user; + description "Two-color policer to be used as aggregate"; + max-elements 1; + leaf name { + description "Name of two-color policer to use to aggregate police"; + type string; + } + uses apply-advanced; + leaf aggregate-sharing-mode { + description "Hierarchical Metering model"; + type enumeration { + enum "hybrid" { + description "Child policer CIR rates are guaranteed rates and PIR rate are peak rates for member flow"; + } + } + } + } + } + } + } + case case_4 { + } + } + } + grouping three-color-policer-action { + description "Action for three-color policer"; + leaf name { + description "Loss priority for packet"; + type enumeration { + enum "high" { + description "High loss priority"; + } + } + } + uses apply-advanced; + container then { + description "Action to take if the rate limits are exceeded"; + uses apply-advanced; + leaf discard { + description "Discard the packet"; + type empty; + } + } + } + grouping to_fabric_object { + description "Match traffic going to fabric"; + uses apply-advanced; + leaf except { + description "Match traffic switched locally and not going to fabric"; + type empty; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunnel_end_point { + description "Define a tunnel end point"; + leaf name { + description "Tunnel end-point identifier (ASCII string)"; + type string { + } + } + uses apply-advanced; + choice l3-protocol { + case case_1 { + container ipv6 { + presence "enable ipv6"; + description "Enter an IPv6 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv6addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv6prefix; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Enter an IPv4 tunnel"; + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipv4addr; + } + leaf destination-address { + description "Tunnel destination address"; + type jt:ipv4prefix; + } + } + } + } + choice tunnel-protocol { + case case_1 { + container gre { + presence "enable gre"; + description "Tunnel is GRE"; + uses apply-advanced; + leaf key { + description "Key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + container gre-in-udp { + presence "enable gre-in-udp"; + description "Tunnel is GRE-in-UDP"; + uses apply-advanced; + leaf source-port { + description "UDP source port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf destination-port { + description "UDP destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf key { + description "GRE key for authentication"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + grouping ufd-group-type { + description "Uplink failure detection group type"; + leaf name { + description "Uplink failure detection group name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + list link-to-monitor { + key name; + ordered-by user; + description "Uplinks to be monitored"; + leaf name { + description "Interface to be monitored"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list link-to-disable { + key name; + ordered-by user; + description "Downlinks to disable"; + leaf name { + description "Interface to disable"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping vlan-policy { + description "Virtual LAN"; + leaf name { + description "VLAN id"; + type string; + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + } + grouping vlan-types { + description "Virtual LAN"; + leaf name { + description "VLAN name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of VLANs"; + type string { + } + } + choice vlan-identifier-choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for VLAN"; + type string; + } + } + case case_2 { + leaf-list vlan-id-list { + description "Create VLAN for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + case case_3 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for VLANs"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface name for this VLAN"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf l3-interface { + description "L3 interface name for this vlans"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-ethernet-switching-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container switch-options { + description "VLANs switch-options configuration"; + uses juniper-protocols-vlan; + } + leaf domain-type { + description "Type of VLANs SVLAN/DVLAN"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of IRB routing-interface"; + type empty; + } + leaf service-id { + description "Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf domain-id { + description "Domain-id for auto derived Route Target"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this VLAN"; + type empty; + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + leaf mcae-mac-flush { + description "Enable IRB MAC flush in a/s mode for this VLAN on MCAE link up"; + type empty; + } + leaf private-vlan { + description "Type of secondary vlan for private vlan"; + type enumeration { + enum "isolated" { + description "Isolated vlan"; + } + enum "community" { + description "Community vlan"; + } + } + } + leaf isolated-vlan { + description "VLAN id or name"; + type string { + } + } + leaf-list community-vlans { + ordered-by user; + description "List of VLAN id or name"; + type string; + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + } + grouping juniper-ethernet-switching-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for ethernet switching forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for ethernet switching flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for ethernet switching flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "DHCP access security configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + container fip-security { + description "FCoE Initiation Protocol security configuration"; + presence "enable fip-security"; + uses fip-security-type; + } + } + grouping fip-security-type { + uses apply-advanced; + list interface { + key name; + description "Configure access port security for this interface"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice fcoe-trusted-choice { + leaf fcoe-trusted { + description "Make this interface trusted for FCoE"; + type empty; + } + leaf no-fcoe-trusted { + description "Don't make this interface trusted for FCoE"; + type empty; + } + } + } + leaf fc-map { + description "FCoE MAC address prefix"; + type string { + } + } + container examine-vn2vf { + presence "enable examine-vn2vf"; + description "Enable FIP snooping on this VLAN"; + uses apply-advanced; + leaf satellite { + description "FIP snooping enabled for extended port"; + type empty; + } + } + container examine-vn2vn { + presence "enable examine-vn2vn"; + description "Enable VN2VN FIP snooping on this VLAN"; + uses apply-advanced; + leaf beacon-period { + description "FCoE VN2VN beacon period"; + default "8000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 90000"; + } + } + } + } + } + grouping juniper-protocols-vlan { + description "VLANs switch-options configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-move-limit { + presence "enable mac-move-limit"; + description "Number of MAC movements allowed on this VLAN"; + uses apply-advanced; + leaf limit { + description "Number of MAC movements allowed on this VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf packet-action { + description "Action to be taken in case the MAC movement limit is exceeded"; + default "drop"; + type enumeration { + enum "none" { + description "Take no action"; + } + enum "drop" { + description "Drop the packet and do not generate an alarm"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap, or a system log entry."; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap, or a system log entry."; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap, or a system log entry."; + } + enum "vlan-member-shutdown" { + description "Disable the interface of this VLAN"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + grouping vlan_map { + description "IEEE 802.1q Virtual LAN (VLAN) Tag mapping"; + uses apply-advanced; + choice operation_choices { + case case_1 { + leaf push { + description "Push a VLAN tag"; + type empty; + } + } + case case_2 { + leaf swap { + description "Swap a VLAN tag"; + type empty; + } + } + case case_3 { + leaf pop { + description "Pop a VLAN tag"; + type empty; + } + } + case case_4 { + leaf push-push { + description "Push two VLAN tags"; + type empty; + } + } + case case_5 { + leaf swap-push { + description "Swap VLAN tag and push a new VLAN tag"; + type empty; + } + } + case case_6 { + leaf swap-swap { + description "Swap both outer and inner VLAN tags"; + type empty; + } + } + case case_7 { + leaf pop-swap { + description "Pop outer VLAN tag and swap inner VLAN tag"; + type empty; + } + } + case case_8 { + leaf pop-pop { + description "Pop both outer and inner VLAN tags"; + type empty; + } + } + } + leaf tag-protocol-id { + description "IEEE 802.1q Tag Protocol Identifier to rewrite"; + type string { + } + } + leaf inner-tag-protocol-id { + description "IEEE 802.1q Tag Protocol ID to rewrite for inner tag"; + type string; + } + leaf vlan-id { + description "VLAN ID to rewrite"; + type string; + } + leaf inner-vlan-id { + description "VLAN ID to rewrite for inner tag"; + type string; + } + } + grouping vpls_filter { + description "Define an VPLS firewall filter"; + leaf name { + description "Filter name"; + type string { + } + } + uses apply-advanced; + leaf-list accounting-profile { + ordered-by user; + description "Accounting profile name"; + type string; + } + leaf interface-specific { + description "Defined counters are interface specific"; + type empty; + } + list term { + key name; + ordered-by user; + description "Define a firewall term"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + leaf filter { + description "Filter to include"; + type string { + } + } + container from { + description "Define match criteria"; + uses apply-advanced; + choice interface-group_choice { + case case_1 { + leaf-list interface-group { + ordered-by user; + description "Range of values"; + type string; + } + } + case case_2 { + leaf-list interface-group-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice ether-type_choice { + case case_1 { + leaf-list ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list ether-type-except { + ordered-by user; + type string; + } + } + } + choice vlan-ether-type_choice { + case case_1 { + leaf-list vlan-ether-type { + ordered-by user; + type string; + } + } + case case_2 { + leaf-list vlan-ether-type-except { + ordered-by user; + type string; + } + } + } + list destination-mac-address { + key name; + ordered-by user; + description "Destination MAC address"; + uses firewall_mac_addr_object; + } + list source-mac-address { + key name; + ordered-by user; + description "Source MAC address"; + uses firewall_mac_addr_object; + } + choice forwarding-class_choice { + case case_1 { + leaf-list forwarding-class { + ordered-by user; + description "String name"; + type string { + } + } + } + case case_2 { + leaf-list forwarding-class-except { + ordered-by user; + description "String name"; + type string { + } + } + } + } + choice loss-priority_choice { + case case_1 { + } + case case_2 { + leaf-list loss-priority-except { + ordered-by user; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + } + } + choice learn-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice learn-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice user-vlan-id_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-id-except { + ordered-by user; + description "Range of values"; + type string; + } + } + } + choice user-vlan-1p-priority_choice { + case case_1 { + } + case case_2 { + leaf-list user-vlan-1p-priority-except { + ordered-by user; + description "802.1p priority value 0-7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + choice learn-vlan-dei_choice { + case case_1 { + } + case case_2 { + leaf-list learn-vlan-dei-except { + ordered-by user; + description "DEI value 0-1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1"; + } + } + } + } + } + choice traffic-type_choice { + case case_1 { + } + case case_2 { + leaf-list traffic-type-except { + ordered-by user; + type enumeration { + enum "broadcast" { + description "Packets with broadcast ethernet address"; + } + enum "multicast" { + description "Packets with multicast ethernet address"; + } + enum "unknown-unicast" { + description "Packets for which destination ethernet address has not been learnt"; + } + enum "known-unicast" { + description "Packets for which destination ethernet address has been learnt"; + } + } + } + } + } + choice ip-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ip-protocol-except { + ordered-by user; + type string; + } + } + } + choice dscp_choice { + case case_1 { + } + case case_2 { + leaf-list dscp-except { + ordered-by user; + type string; + } + } + } + choice ip-precedence_choice { + case case_1 { + } + case case_2 { + leaf-list ip-precedence-except { + ordered-by user; + type string; + } + } + } + choice source-port_choice { + case case_1 { + } + case case_2 { + leaf-list source-port-except { + ordered-by user; + type string; + } + } + } + choice destination-port_choice { + case case_1 { + } + case case_2 { + leaf-list destination-port-except { + ordered-by user; + type string; + } + } + } + choice port_choice { + case case_1 { + } + case case_2 { + leaf-list port-except { + ordered-by user; + type string; + } + } + } + choice icmp-type_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-type-except { + ordered-by user; + type string; + } + } + } + choice icmp-code_choice { + case case_1 { + } + case case_2 { + leaf-list icmp-code-except { + ordered-by user; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Match interface name"; + uses match_interface_object; + } + list interface-set { + key name; + ordered-by user; + description "Match interface in set"; + uses match_interface_set_object; + } + choice ipv6-next-header_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-next-header-except { + ordered-by user; + type string; + } + } + } + choice ipv6-payload-protocol_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-payload-protocol-except { + ordered-by user; + type string; + } + } + } + choice ipv6-traffic-class_choice { + case case_1 { + } + case case_2 { + leaf-list ipv6-traffic-class-except { + ordered-by user; + type string; + } + } + } + choice flex-mask_choice { + case case_1 { + container flexible-match-mask { + description "Match flexible mask"; + presence "enable flexible-match-mask"; + uses match_L2_flexible_mask; + } + } + } + choice policy-map_choice { + case case_1 { + leaf-list policy-map { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf-list policy-map-except { + ordered-by user; + description "String name"; + type string { + length "1 .. 64"; + } + } + } + } + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + choice policer-choice { + case case_1 { + leaf policer { + description "Name of policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + container three-color-policer { + description "Police the packet using a three-color-policer"; + uses apply-advanced; + choice type-choice { + case case_1 { + leaf single-rate { + description "Name of single-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_2 { + leaf single-packet-rate { + description "Name of single-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_3 { + leaf two-rate { + description "Name of two-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + case case_4 { + leaf two-packet-rate { + description "Name of two-packet-rate three-color policer to use to rate-limit traffic"; + type string { + } + } + } + } + } + } + case case_3 { + } + } + choice policy-map-choice { + case case_1 { + leaf clear-policy-map { + description "Clear the policy marking"; + type empty; + } + } + case case_2 { + leaf policy-map { + description "Policy map action"; + type string { + } + } + } + } + leaf count { + description "Count the packet in the named counter"; + type string { + } + } + leaf loss-priority { + description "Packet's loss priority"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + enum "medium-low" { + description "Loss priority medium-low"; + } + enum "medium-high" { + description "Loss priority medium-high"; + } + } + } + leaf forwarding-class { + description "Classify packet to forwarding class"; + type string { + } + } + choice designation { + case case_1 { + leaf accept { + description "Accept the packet"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard the packet"; + type empty; + } + } + case case_3 { + leaf next { + description "Continue to next term in a filter"; + type enumeration { + enum "term" { + description "Continue to next term in a filter"; + } + } + } + } + } + leaf port-mirror-instance { + description "Port-mirror the packet to specified instance"; + type string { + } + } + leaf port-mirror { + description "Port-mirror the packet"; + type empty; + } + } + } + } + grouping vrrp-group { + description "Virtual Router Redundancy Protocol group"; + leaf name { + description "Identifier for VRRP group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + choice address { + case case_1 { + leaf-list virtual-address { + ordered-by user; + description "One or more virtual IPv4 addresses"; + type jt:ipv4addr; + } + } + case case_2 { + leaf-list virtual-inet6-address { + ordered-by user; + description "One or more virtual inet6 addresses"; + type jt:ipv6addr; + } + } + } + leaf virtual-link-local-address { + description "Virtual link-local addresses"; + type jt:ipv6addr; + } + leaf priority { + description "Virtual router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf preferred { + description "Preferred group on subnet"; + type empty; + } + choice advertisement_type { + case case_1 { + leaf advertise-interval { + description "Advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + case case_2 { + leaf fast-interval { + description "Fast advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 40950"; + } + } + } + } + case case_3 { + leaf inet6-advertise-interval { + description "Inet6 advertisement interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 40000"; + } + } + } + } + } + choice preempt_type { + case case_1 { + container preempt { + presence "enable preempt"; + description "Allow preemption"; + uses apply-advanced; + leaf hold-time { + description "Preemption hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + } + case case_2 { + leaf no-preempt { + description "Don't allow preemption"; + type empty; + } + } + } + choice accept_type { + case case_1 { + leaf accept-data { + description "Accept packets destined for virtual IP address"; + type empty; + } + } + case case_2 { + leaf no-accept-data { + description "Don't accept packets destined for virtual IP address"; + type empty; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "HMAC-MD5-96"; + } + enum "simple" { + description "Simple password"; + } + } + } + leaf authentication-key { + description "Authentication key"; + type jt:unreadable; + } + container track { + description "Interfaces to track for VRRP group"; + uses apply-advanced; + leaf priority-hold-time { + description "Priority hold time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface to track in VRRP group"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list bandwidth-threshold { + key name; + description "Track bandwidth of interface"; + leaf name { + description "Interface speed below which priority cost is incurred"; + units "bits per second"; + type string; + } + leaf priority-cost { + description "Value subtracted from priority when bandwidth is below threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + leaf priority-cost { + description "Value to subtract from priority when interface is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + list route { + key "route_address routing-instance"; + ordered-by user; + description "Route to track in VRRP group"; + leaf route_address { + description "Route address"; + type jt:ipprefix-mandatory; + } + leaf routing-instance { + description "Routing instance to which route belongs, or 'default'"; + type string { + } + } + leaf priority-cost { + description "Value to subtract from priority when route is down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + } + } + container vrrp-inherit-from { + description "VRRP group to follow for this VRRP group"; + uses apply-advanced; + leaf active-interface { + description "Interface name of VRRP active group"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf active-group { + description "Identifier for VRRP active group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + leaf advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-multi-chassis@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-multi-chassis@2019-01-01.yang new file mode 100644 index 00000000..db6d4d61 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-multi-chassis@2019-01-01.yang @@ -0,0 +1,195 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-multi-chassis { + namespace "http://yang.juniper.net/junos-qfx/conf/multi-chassis"; + + prefix jc-multi-chassis; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos multi-chassis configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses multi-chassis-group; + } + augment /jc:configuration/jc:groups { + uses multi-chassis-group; + } + grouping multi-chassis-group { + container multi-chassis { + presence "enable multi-chassis"; + description "Multi-chassis configuration"; + uses apply-advanced; + container mc-lag { + presence "enable mc-lag"; + description "Multi-chassis Lag configuration"; + uses apply-advanced; + container consistency-check { + presence "enable consistency-check"; + description "Consistency Check properties"; + uses apply-advanced; + leaf comparison-delay-time { + description "Time after which local and remote config are compared"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + container traceoptions { + description "Trace options for MCLAG_CFGCHK"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + list multi-chassis-protection { + key name; + description "Inter-Chassis protection configuration"; + uses multi-chassis-protection-group; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping multi-chassis-protection-group { + leaf name { + description "IP address for this peer"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf interface { + description "Inter-Chassis protection link"; + type string { + length "1 .. 40"; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-multicast-snooping-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-multicast-snooping-options@2019-01-01.yang new file mode 100644 index 00000000..0454a8d9 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-multicast-snooping-options@2019-01-01.yang @@ -0,0 +1,341 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-multicast-snooping-options { + namespace "http://yang.juniper.net/junos-qfx/conf/multicast-snooping-options"; + + prefix jc-multicast-snooping-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos multicast-snooping-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses multicast-snooping-options-group; + } + augment /jc:configuration/jc:groups { + uses multicast-snooping-options-group; + } + grouping multicast-snooping-options-group { + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-poe@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-poe@2019-01-01.yang new file mode 100644 index 00000000..012c249b --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-poe@2019-01-01.yang @@ -0,0 +1,212 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-poe { + namespace "http://yang.juniper.net/junos-qfx/conf/poe"; + + prefix jc-poe; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos poe configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses poe-group; + } + augment /jc:configuration/jc:groups { + uses poe-group; + } + grouping poe-group { + container poe { + description "Power over Ethernet options"; + uses apply-advanced; + leaf management { + description "Power management mode for Power over Ethernet"; + default "class"; + type enumeration { + enum "static" { + description "Static power allocation method"; + } + enum "class" { + description "Class based power allocation method"; + } + enum "high-power" { + description "High power allocation method"; + } + } + } + leaf guard-band { + description "Guard band for Power over Ethernet"; + default "0"; + units "watts"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 19"; + } + } + } + container notification-control { + description "Notification control for Power over Ethernet traps"; + uses apply-advanced; + list fpc { + key name; + ordered-by user; + description "FPC slot number"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable { + description "Disable Power over Ethernet notification"; + type empty; + } + } + } + leaf lldp-priority { + description "PoE controller LLDP priority"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface configuration for Power over Ethernet"; + leaf name { + description "Name of interface"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable interface"; + type empty; + } + leaf priority { + description "Priority options"; + default "low"; + type enumeration { + enum "low" { + description "Low priority"; + } + enum "high" { + description "High priority"; + } + } + } + leaf maximum-power { + description "Maximum power"; + default "15.4"; + units "watts"; + type decimal64 { + fraction-digits 2; + } + } + container telemetries { + presence "enable telemetries"; + description "Telemetries settings"; + uses apply-advanced; + leaf disable { + description "Disable telemetries"; + type empty; + } + leaf interval { + description "Interval at which data should be recorded"; + default "5"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf duration { + description "Duration to continue recording of data"; + default "1"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 24"; + } + } + } + } + leaf high-power { + description "Enable fourpair high power interface upto 60W"; + type empty; + } + leaf ultrahigh-power { + description "Enable fourpair ultra high power interface upto 95W"; + type empty; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-policy-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-policy-options@2019-01-01.yang new file mode 100644 index 00000000..b7db7197 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-policy-options@2019-01-01.yang @@ -0,0 +1,10889 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-policy-options { + namespace "http://yang.juniper.net/junos-qfx/conf/policy-options"; + + prefix jc-policy-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos policy-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses policy-options-group; + } + augment /jc:configuration/jc:groups { + uses policy-options-group; + } + grouping policy-options-group { + container policy-options { + description "Policy option configuration"; + uses juniper-policy-options; + } + } + grouping juniper-policy-options { + uses apply-advanced; + container satellite-policies { + description "Satellite Policy configuration"; + uses satellite-policy-options; + } + list prefix-list { + key name; + ordered-by user; + description "Define a named set of address prefixes"; + leaf name { + description "Prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list-item { + key name; + uses prefix_list_items; + } + leaf apply-path { + description "Apply IP prefixes from a configuration statement"; + type string; + } + } + list route-filter-list { + key name; + ordered-by user; + description "Define a named set of route-filter address prefixes"; + leaf name { + description "Route filter list name"; + type string; + } + uses apply-advanced; + list rf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses route_filter_list_items; + } + } + list source-address-filter-list { + key name; + ordered-by user; + description "Define a named set of source address filter address prefixes"; + leaf name { + description "Source address filter list name"; + type string; + } + uses apply-advanced; + list saf_list { + key "address choice-ident choice-value"; + ordered-by user; + uses source_address_filter_list_items; + } + } + list mac-list { + key name; + ordered-by user; + description "Define a named set of mac addresses"; + leaf name { + description "MAc Address list name"; + type string; + } + uses apply-advanced; + list mac-addr-list-item { + key name; + uses mac_addr_list_items; + } + } + list vsi-policy { + key name; + ordered-by user; + description "Define a named set of VSI policies"; + leaf name { + description "VSI policy name"; + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the VSI policy"; + uses apply-advanced; + list vsi-manager { + key "vsi-manager-id vsi-type vsi-version vsi-instance"; + ordered-by user; + description "VSI manager"; + leaf vsi-manager-id { + description "VSI manager ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-type { + description "VSI type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777216"; + } + } + } + leaf vsi-version { + description "VSI version"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf vsi-instance { + description "VSI instance"; + type string; + } + uses apply-advanced; + } + } + container then { + description "Actions to take if 'from' conditions match"; + uses apply-advanced; + leaf filter { + description "Filter name"; + type string; + } + } + } + list policy-statement { + key name; + description "Routing policy"; + leaf name { + description "Name to identify a policy filter"; + type string; + } + uses apply-advanced; + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + choice scope-choice { + case case_1 { + leaf no-walkup { + description "Route filter walk up disable"; + type empty; + } + } + case case_2 { + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string; + } + uses apply-advanced; + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container from { + description "Conditions to match the source of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + list route-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of routes to match"; + uses control_route_filter_type; + } + list source-address-filter { + key "address choice-ident choice-value"; + ordered-by user; + description "List of source addresses to match"; + uses control_source_address_filter_type; + } + list prefix-list { + key name; + ordered-by user; + description "List of prefix-lists of routes to match"; + uses control_prefix_list_type; + } + list prefix-list-filter { + key "list_name choice-ident choice-value"; + ordered-by user; + description "List of prefix-list-filters to match"; + uses control_prefix_list_filter_type; + } + list rtf-prefix-list { + key name; + ordered-by user; + description "List of rtf-prefix-lists of routes to match"; + uses control_rtf_prefix_list_type; + } + list route-filter-list { + key name; + ordered-by user; + description "List of route-filter-lists of routes to match"; + uses control_route_filter_list_type; + } + list source-address-filter-list { + key name; + ordered-by user; + description "List of source-address-filter-lists of routes to match"; + uses control_source_address_filter_list_type; + } + container multicast-scope { + description "Multicast scope to match"; + choice scope-choice { + case case_1 { + leaf node-local { + description "Node-local scope"; + type empty; + } + } + case case_2 { + leaf link-local { + description "Link-local scope"; + type empty; + } + } + case case_3 { + leaf site-local { + description "Site-local scope"; + type empty; + } + } + case case_4 { + leaf organization-local { + description "Organization-local scope"; + type empty; + } + } + case case_5 { + leaf global { + description "Global scope"; + type empty; + } + } + case case_6 { + leaf scope_value { + description "Scope value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + } + choice scope-operator { + case case_1 { + leaf orhigher { + description "Match higher values"; + type empty; + } + } + case case_2 { + leaf orlower { + description "Match lower values"; + type empty; + } + } + } + } + leaf aggregate-contributor { + description "Match more specifics of an aggregate"; + type empty; + } + leaf state { + description "Route state"; + type enumeration { + enum "active" { + description "Active route"; + } + enum "inactive" { + description "Inactive route"; + } + } + } + leaf route-type { + description "Route type"; + type enumeration { + enum "internal" { + description "Internal route"; + } + enum "external" { + description "External route"; + } + } + } + leaf-list nlri-route-type { + ordered-by user; + description "Route type from NLRI"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf next-hop-type { + description "Next-hop type"; + type enumeration { + enum "merged" { + description "Merged next hop"; + } + } + } + leaf-list condition { + ordered-by user; + description "Condition to match on"; + type string; + } + list community-count { + key name; + ordered-by user; + description "Number of BGP communities"; + uses community_count_type; + } + list as-path-unique-count { + key name; + ordered-by user; + description "Number of unique BGP ASes excluding confederations"; + uses as-path-unique-count-type; + } + list as-path-calc-length { + key name; + ordered-by user; + description "Number of BGP ASes excluding confederations"; + uses as-path-calc-length-type; + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-Engineering related parameters"; + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "Protocol that originated the entry"; + type enumeration { + enum "direct" { + description "Directly originated"; + } + enum "ospf" { + description "OSPF originated"; + } + enum "isis-level-1" { + description "ISIS level-1 originated"; + } + enum "isis-level-2" { + description "ISIS level-2 originated"; + } + enum "static" { + description "Statically originated"; + } + enum "unknown" { + description "Originated by unknown sources"; + } + } + } + container node { + presence "enable node"; + description "Node-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf node-type { + description "Real or pseudo-node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container ipv4-prefix { + presence "enable ipv4-prefix"; + description "IPV4 prefix-related parameters"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf prefix { + description "IP prefix to match against"; + type jt:ipprefix; + } + leaf sys-id { + description "ISO address of the node"; + type jt:sysid; + } + } + container link { + presence "enable link"; + description "Link-related parameters"; + uses apply-advanced; + container from { + description "Specify parameter of the 'from' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + container to { + description "Specify parameters of the 'to' side"; + uses apply-advanced; + leaf as { + description "AS number"; + type string { + } + } + leaf router-id { + description "IP prefix to match the router-id against"; + type jt:ipprefix; + } + leaf sys-id { + description "System-ID of the node"; + type jt:sysid; + } + leaf node-type { + description "Type of the node"; + type enumeration { + enum "router" { + description "Real node"; + } + enum "pseudo-node" { + description "Pseudo-node"; + } + } + } + leaf link-address { + description "IP prefix to match the link address against"; + type jt:ipprefix; + } + } + } + } + leaf-list route-distinguisher { + ordered-by user; + description "Name of the route-distinguisher"; + type string; + } + } + container to { + description "Conditions to match the destination of a route"; + uses apply-advanced; + leaf instance { + description "Routing protocol instance"; + type string; + } + leaf instance-any { + description "Any routing protocol instance"; + type empty; + } + leaf-list instance-list { + description "A list of routing protocol instances"; + type string; + } + leaf family { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet-vpn" { + description "IPv4-VPN family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet6-vpn" { + description "IPv6-VPN family"; + } + enum "iso-vpn" { + description "ISO-VPN family"; + } + enum "iso" { + description "ISO family"; + } + enum "evpn" { + description "EVPN family"; + } + enum "inet-mvpn" { + description "IPv4 Multicast VPN family"; + } + enum "inet6-mvpn" { + description "IPv6 Multicast VPN family"; + } + enum "inet-mdt" { + description "IPv4 MDT Signaling family"; + } + enum "route-target" { + description "Local route target VPN family"; + } + enum "traffic-engineering" { + description "Traffic Engineering family"; + } + } + } + leaf-list protocol { + ordered-by user; + description "Protocol from which route was learned"; + type enumeration { + enum "aggregate" { + description "Aggregate routes"; + } + enum "bgp" { + description "BGP"; + } + enum "direct" { + description "Directly connected routes"; + } + enum "dvmrp" { + description "Distance Vector Multicast Routing Protocol"; + } + enum "isis" { + description "Intermediate System-to-Intermediate System"; + } + enum "esis" { + description "End System-to-Intermediate System"; + } + enum "l2circuit" { + description "Layer 2 circuits"; + } + enum "l2vpn" { + description "Layer 2 MPLS virtual private networks"; + } + enum "local" { + description "Local system addresses"; + } + enum "ospf" { + description "Open Shortest Path First"; + } + enum "ospf2" { + description "Open Shortest Path First Version 2"; + } + enum "ospf3" { + description "Open Shortest Path First Version 3"; + } + enum "pim" { + description "Protocol Independent Multicast"; + } + enum "rip" { + description "Routing Information Protocol"; + } + enum "ripng" { + description "Routing Information Protocol next generation"; + } + enum "static" { + description "Statically defined addresses"; + } + enum "arp" { + description "Addresses learned from ARP"; + } + enum "frr" { + description "Addresses created by Host Fast Re-route"; + } + enum "mpls" { + description "Multiprotocol Label Switching"; + } + enum "ldp" { + description "Label Distribution Protocol"; + } + enum "rsvp" { + description "Resource Reservation Protocol"; + } + enum "msdp" { + description "Multicast Source Discovery Protocol"; + } + enum "route-target" { + description "Local route target VPN membership"; + } + enum "access" { + description "Access server routes"; + } + enum "access-internal" { + description "Internal routes to directly connected clients"; + } + enum "anchor" { + description "Anchor routes connected to UEs"; + } + enum "bgp-static" { + description "BGP static routes"; + } + enum "vpls" { + description "Virtual Private LAN Service"; + } + enum "evpn" { + description "Ethernet VPN Service"; + } + enum "spring-te" { + description "SPRING Traffic-Engineered"; + } + } + } + leaf rib { + description "Routing table"; + type string; + } + leaf-list neighbor { + ordered-by user; + description "Neighboring router"; + type jt:ipaddr; + } + leaf-list next-hop { + ordered-by user; + description "Next-hop router"; + type jt:ipaddr; + } + leaf-list interface { + ordered-by user; + description "Interface name or address"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf area { + description "OSPF area identifier"; + type jt:areaid; + } + leaf-list as-path { + ordered-by user; + description "Name of AS path regular expression (BGP only)"; + type string; + } + leaf-list as-path-group { + ordered-by user; + description "Name of AS path group (BGP only)"; + type string; + } + leaf origin { + description "BGP origin attribute"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf-list community { + ordered-by user; + description "BGP community"; + type string; + } + leaf level { + description "IS-IS level"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + } + leaf validation-database { + description "Name to identify a validation-state"; + type enumeration { + enum "valid" { + description "Match for valid database validation-state"; + } + enum "invalid" { + description "Match for invalid database validation-state"; + } + enum "unknown" { + description "Match for unknown database validation-state"; + } + } + } + leaf metric { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric2 { + description "Metric value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric3 { + description "Metric value 3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric4 { + description "Metric value 4"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list tag { + ordered-by user; + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag string 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf preference2 { + description "Preference value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color { + description "Color (preference) value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf color2 { + description "Color (preference) value 2"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Local preference associated with a route"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list policy { + ordered-by user; + description "Name of policy to evaluate"; + type jt:policy-algebra; + } + } + container then { + description "Actions to take if 'from' and 'to' conditions match"; + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } + container defaults { + description "Policy default behaviour"; + uses apply-advanced; + container route-filter { + description "Set route filter behaviour"; + leaf walkup { + description "Route filter walk up enable"; + type empty; + } + } + } + list community { + key name; + description "BGP community information"; + leaf name { + description "Name to identify BGP community"; + type string; + } + uses apply-advanced; + leaf invert-match { + description "Invert the result of the community expression matching"; + type empty; + } + leaf-list members { + ordered-by user; + description "Community members"; + type string; + } + } + list route-distinguisher { + key name; + description "Route-distinguisher information"; + leaf name { + description "Name to identify route-distinguisher"; + type string; + } + uses apply-advanced; + leaf-list members { + ordered-by user; + description "Route distinguisher string in ( *:X ) or ( Y:* ) or (X:Y) format"; + type string; + } + } + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + uses apply-advanced; + leaf path { + description "AS path regular expression"; + type string { + } + } + } + list as-path-group { + key name; + ordered-by user; + description "Group a set of AS paths"; + leaf name { + description "Name to identify AS path group"; + type string; + } + uses apply-advanced; + list as-path { + key name; + ordered-by user; + description "BGP autonomous system path regular expression"; + leaf name { + description "Name to identify AS path regular expression"; + type string; + } + leaf path { + description "AS path regular expression"; + type string { + } + } + } + } + list damping { + key name; + ordered-by user; + description "BGP route flap damping properties"; + leaf name { + description "Name to identify route flap damping parameters"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable damping"; + type empty; + } + } + } + leaf half-life { + description "Decay half-life"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 45"; + } + } + } + leaf reuse { + description "Reuse threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf suppress { + description "Cutoff threshold (figure-of-merit value)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20000"; + } + } + } + leaf max-suppress { + description "Maximum hold-down time"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list condition { + key name; + description "Define a route advertisement condition"; + leaf name { + description "Name to identify Condition"; + type string; + } + uses apply-advanced; + choice condition_type { + case case_1 { + } + case case_2 { + container if-route-exists { + presence "enable if-route-exists"; + description "Route exists in a specific routing table"; + uses apply-advanced; + container address-family { + presence "enable address-family"; + description "Indicates the address family of the route to match on"; + uses apply-advanced; + choice address-family { + case case_1 { + container inet { + presence "enable inet"; + description "Route to match corresponds to an inet/inet6 prefix"; + uses apply-advanced; + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + case case_2 { + container ccc { + presence "enable ccc"; + description "Route to match corresponds to a ccc prefix"; + uses apply-advanced; + leaf address { + description "Logical interface used to establish ccc route"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + leaf standby { + description "Indicates if route must be in standby state to be considered a match"; + type empty; + } + leaf peer-unit { + description "Associated LT ifl's peer-unit. Required for LT-based routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + } + } + } + } + leaf address { + description "Exact address of the route"; + type jt:ipprefix; + } + leaf table { + description "Routing table in which route should exist"; + type string; + } + } + } + } + } + list rtf-prefix-list { + key name; + ordered-by user; + description "Define a named set of family route target prefixes"; + leaf name { + description "RTF prefix list name"; + type string; + } + uses apply-advanced; + list prefix-list { + key name; + uses rtf_prefix_list_items; + } + } + list application-maps { + key name; + ordered-by user; + description "Define application maps"; + uses application_map_object; + } + } + grouping application_map_object { + leaf name { + description "Name of application map"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list application { + key name; + ordered-by user; + description "Name of the application"; + leaf name { + description "Name of the application"; + type string { + length "1 .. 63"; + } + } + leaf-list code-points { + ordered-by user; + description "List of code point bit strings"; + type string; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping as-path-calc-length-type { + description "Calculated BGP AS_PATH length per BGP rules"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping as-path-unique-count-type { + description "Number of unique BGP ASes excluding confederation ASes"; + leaf name { + description "Number of ASes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping community_count_type { + description "Number of BGP communities"; + leaf name { + description "Number of communities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + choice count-operator { + case case_1 { + leaf equal { + description "Match equal values"; + type empty; + } + } + case case_2 { + leaf orhigher { + description "Match higher or equal values"; + type empty; + } + } + case case_3 { + leaf orlower { + description "Match lower or equal values"; + type empty; + } + } + } + } + grouping control_prefix_list_filter_type { + leaf list_name { + description "Name of prefix-list of routes to match"; + type string; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_prefix_list_type { + leaf name { + description "Name of prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_list_type { + leaf name { + description "Name of route-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_route_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping control_rtf_prefix_list_type { + description "RTF prefix list"; + leaf name { + description "Name of rtf-prefix-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_list_type { + leaf name { + description "Name of source-address-filter-list of routes to match"; + type string; + } + uses apply-advanced; + } + grouping control_source_address_filter_type { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping mac_addr_list_items { + leaf name { + description "Mac Address"; + type jt:mac-addr; + } + uses apply-advanced; + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping metric_expression_type { + uses apply-advanced; + container metric { + description "Parameters for metric attribute"; + leaf multiplier { + description "Coefficient for metric attribute"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container metric2 { + description "Parameters for metric2 attribute"; + leaf multiplier { + description "Coefficient for metric2 attribute"; + default "1.0"; + type decimal64 { + fraction-digits 2; + } + } + leaf offset { + description "Offset for metric2 attribute"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping prefix_list_items { + leaf name { + description "Address prefix"; + type jt:ipprefix-only; + } + uses apply-advanced; + } + grouping route_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "address-mask" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + grouping rtf_prefix_list_items { + leaf name { + description "Family route-target prefix"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + grouping satellite-policy-options { + uses apply-advanced; + list extended-ports-template { + key name; + ordered-by user; + description "Extended ports template"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + description "PIC attributes"; + uses satellite-pic-type; + } + } + list port-group-alias { + key name; + ordered-by user; + description "Port group alias"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list pic { + key name; + ordered-by user; + description "Satellite PIC information"; + leaf name { + description "PIC identifier"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list port { + ordered-by user; + description "Port id or range or all"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + } + } + list chassis-group-alias { + key name; + ordered-by user; + description "Chassis group alias"; + leaf name { + description "Chassis group alias name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf prefer-primary { + description "Primary mode chassis will be preferred"; + type empty; + } + list chassis-id { + key name; + ordered-by user; + description "List of chassis-ids"; + leaf name { + description "Chassis ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + uses apply-advanced; + container mode { + description "Mode Primary or Backup"; + uses apply-advanced; + choice mode-choice { + case case_1 { + leaf primary { + description "Primary Mode"; + type empty; + } + } + case case_2 { + leaf backup { + description "Backup Mode"; + type empty; + } + } + } + } + list core-interface { + key name; + ordered-by user; + description "Core interface"; + leaf name { + description "Core interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } + list extended-ports-policy { + key name; + ordered-by user; + description "Define a extended-ports-policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf extended-ports-template { + description "Apply extended ports template to satellite matching conditions defined in this term"; + type string; + } + } + } + } + list candidate-uplink-port-policy { + key name; + ordered-by user; + description "Define a candidate uplink-port policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + leaf uplink-port-group { + description "Uplink port group alias name"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + } + list environment-monitoring-policy { + key name; + ordered-by user; + description "Define a environment monitoring policy"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container alarm { + presence "enable alarm"; + description "Policy default alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Policy default linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + container alarm { + presence "enable alarm"; + description "Term alarm policy"; + uses apply-advanced; + leaf linkdown { + description "Set linkdown alarm"; + type enumeration { + enum "ignore" { + description "Ignore ethernet linkdown"; + } + enum "red" { + description "Raise major alarm for ethernet linkdown"; + } + enum "yellow" { + description "Raise minor alarm for ethernet linkdown"; + } + } + } + } + } + } + } + list forwarding-policy { + key name; + ordered-by user; + description "Define forwarding policy for extended ports"; + leaf name { + description "Policy name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + list term { + key name; + ordered-by user; + description "Policy term"; + leaf name { + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container from { + description "Condition to match the satellite"; + uses apply-advanced; + leaf-list product-model { + ordered-by user; + description "Product Model Name"; + type string { + length "1 .. 64"; + } + } + list port-group-extended { + key name; + ordered-by user; + description "Define a extend port group mapping"; + uses port-extend-type; + } + } + } + } + } + grouping port-extend-type { + leaf name { + description "Extended port group alias name policy applied on"; + type string; + } + uses apply-advanced; + leaf filter { + description "Assign a filter for uplink selection"; + type string; + } + container port-group-uplink { + description "Define a uplink port group mapping"; + uses apply-advanced; + leaf port-group-uplink-alias { + description "Uplink port group alias name used for uplink pinning mode"; + type string; + } + leaf minimum-links { + description "Minimum child links to keep extended-ports UP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32"; + } + } + } + leaf holddown { + description "Time to hold down after uplink failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + container mirror-ingress { + description "Define a ingress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + container mirror-egress { + description "Define a egress port mirror"; + uses apply-advanced; + leaf port-group-mirror { + description "Mirror port group alias name for local port mirroring"; + type string; + } + } + } + grouping satellite-pic-type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4"; + } + } + } + uses apply-advanced; + list port { + key name; + description "Port number"; + uses satellite-pic-port-attr; + } + list port-range { + key "port-range-low port-range-high"; + ordered-by user; + description "Physical ports to channelize"; + leaf port-range-low { + description "Port range low number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + leaf port-range-high { + description "Port range high number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + } + grouping satellite-pic-port-attr { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + uses apply-advanced; + leaf channel-speed { + description "Port channel speed"; + type enumeration { + enum "10g" { + description "Set the port speed to 10G"; + } + enum "25g" { + description "Set the port speed to 25G"; + } + enum "50g" { + description "Set the port speed to 50G"; + } + enum "disable-auto-speed-detection" { + description "Disables automatic speed detection"; + } + } + } + } + grouping source_address_filter_list_items { + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "apply-advanced" { + } + enum "metric" { + } + enum "metric2" { + } + enum "metric3" { + } + enum "metric4" { + } + enum "tag" { + } + enum "tag2" { + } + enum "preference" { + } + enum "preference2" { + } + enum "color" { + } + enum "color2" { + } + enum "local-preference" { + } + enum "priority" { + } + enum "prefix-segment" { + } + enum "label-allocation" { + } + enum "add-path" { + } + enum "validation-state" { + } + enum "origin" { + } + enum "aigp-originate" { + } + enum "aigp-adjust" { + } + enum "community" { + } + enum "damping" { + } + enum "aggregate-bandwidth" { + } + enum "limit-bandwidth" { + } + enum "no-entropy-label-capability" { + } + enum "as-path-prepend" { + } + enum "as-path-expand" { + } + enum "next-hop" { + } + enum "install-nexthop" { + } + enum "trace" { + } + enum "external" { + } + enum "load-balance" { + } + enum "no-route-localize" { + } + enum "install-to-fib" { + } + enum "analyze" { + } + enum "class" { + } + enum "destination-class" { + } + enum "source-class" { + } + enum "forwarding-class" { + } + enum "map-to-interface" { + } + enum "ssm-source" { + } + enum "p2mp-lsp-root" { + } + enum "cos-next-hop-map" { + } + enum "dynamic-tunnel-attributes" { + } + enum "selected-mldp-egress" { + } + enum "mhop-bfd-port" { + } + enum "no-backup" { + } + enum "default-action" { + } + enum "next" { + } + enum "accept_reject" { + } + enum "bgp-output-queue-priority" { + } + enum "multipath-resolve" { + } + } + } + leaf choice-value { + type string; + } + uses apply-advanced; + container metric { + description "Metric value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + container igp { + presence "enable igp"; + description "Track the IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_5 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric (BGP only)"; + leaf metric_offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_6 { + container expression { + description "Calculate value based on route metric and metric2"; + uses metric_expression_type; + } + } + case case_7 { + leaf aigp { + description "Use aigp, if it exists, to set the IGP metric"; + type empty; + } + } + } + } + container metric2 { + description "Metric value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric3 { + description "Metric value 3"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric3 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container metric4 { + description "Metric value 4"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf metric4 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag { + description "Tag string"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container tag2 { + description "Tag string 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf tag2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference { + description "Preference value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container preference2 { + description "Preference value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf preference2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color { + description "Color (preference) value"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container color2 { + description "Color (preference) value 2"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf color2 { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container local-preference { + description "Local preference associated with a route"; + uses apply-advanced; + choice metric_action { + case case_1 { + leaf local-preference { + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf add { + description "Add constant to attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf subtract { + description "Subtract constant from attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf priority { + description "Set priority for route installation"; + type enumeration { + enum "high" { + description "Set priority to high"; + } + enum "medium" { + description "Set priority to medium"; + } + enum "low" { + description "Set priority to low"; + } + } + } + container prefix-segment { + description "Set prefix segment attributes"; + leaf index { + description "Set prefix segment index "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf node-segment { + description "Set node segment flag for this prefix segment"; + type empty; + } + } + leaf label-allocation { + description "Set label allocation mode"; + type enumeration { + enum "per-table" { + description "Set per-table label allocation mode"; + } + enum "per-nexthop" { + description "Set per-nexthop label allocation mode"; + } + enum "per-table-localize" { + description "Set per-table-localize label allocation mode"; + } + } + } + container add-path { + description "Set BGP add-path attributes"; + leaf send-count { + description "Number of add-paths sent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + } + leaf validation-state { + description "Set validation-state of a route"; + type enumeration { + enum "valid" { + description "Set validaton-state to valid"; + } + enum "invalid" { + description "Set validation-state to invalid"; + } + enum "unknown" { + description "Set validation-state to unknown"; + } + } + } + leaf origin { + description "BGP path origin"; + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + container aigp-originate { + presence "enable aigp-originate"; + description "Originate a BGP AIGP attribute"; + leaf distance { + description "AIGP distance"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container aigp-adjust { + description "Adjust a BGP AIGP attribute"; + choice math-op { + case case_1 { + leaf add { + type empty; + } + } + case case_2 { + leaf subtract { + type empty; + } + } + case case_3 { + leaf multiply { + type empty; + } + } + case case_4 { + leaf divide { + type empty; + } + } + } + choice adjust-value { + case case_1 { + leaf user-value { + description "Adjustment value"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf distance-to-protocol-nexthop { + description "Metric2"; + type empty; + } + } + } + } + list community { + key "choice-ident choice-value community-name"; + ordered-by user; + description "BGP community properties associated with a route"; + leaf choice-ident { + type enumeration { + enum "equal-literal" { + } + enum "set" { + } + enum "plus-literal" { + } + enum "add" { + } + enum "minus-literal" { + } + enum "delete" { + } + enum "community-name" { + } + } + } + leaf choice-value { + type string; + } + leaf community-name { + description "Name to identify a BGP community"; + type string; + } + } + leaf damping { + description "Define BGP route flap damping parameters"; + type string; + } + leaf aggregate-bandwidth { + description "Advertise aggregate outbound link bandwidth"; + type empty; + } + leaf limit-bandwidth { + description "Limit advertised aggregate outbound link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf no-entropy-label-capability { + description "Don't advertise entropy label capability"; + type empty; + } + leaf as-path-prepend { + description "Prepend AS numbers to an AS path (BGP only)"; + type string; + } + container as-path-expand { + description "Prepend AS numbers prior to adding local-as (BGP only)"; + choice aspath_exp_value { + case case_1 { + container last-as { + presence "enable last-as"; + description "Prepend last AS"; + leaf count { + description "Repeat count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + } + } + case case_2 { + leaf aspath { + description "AS path string"; + type string; + } + } + } + } + container next-hop { + description "Set the address of the next-hop router"; + choice nexthop_value { + case case_1 { + leaf self { + description "Use a local address as the next-hop address"; + type empty; + } + } + case case_2 { + leaf peer-address { + description "Use the remote peer address as the next-hop address"; + type empty; + } + } + case case_3 { + leaf address { + description "Next-hop address"; + type jt:ipaddr; + } + } + case case_4 { + leaf reject { + description "Use a reject next hop"; + type empty; + } + } + case case_5 { + leaf discard { + description "Use a discard next hop"; + type empty; + } + } + case case_6 { + leaf next-table { + description "Perform a forwarding lookup in the specified table"; + type string; + } + } + } + } + container install-nexthop { + description "Choose the next hop to be used for forwarding"; + leaf strict { + description "Do not use any other available next hops"; + type empty; + } + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + container except { + description "Do not choose to install matching next hops"; + uses apply-advanced; + choice nexthop-value { + case case_1 { + leaf-list lsp { + ordered-by user; + description "Next-hop LSP name"; + type string; + } + } + case case_2 { + leaf-list lsp-regex { + ordered-by user; + description "Next-hop LSP name regular expression"; + type string; + } + } + case case_3 { + leaf-list static-lsp { + ordered-by user; + description "Next-hop static LSP name"; + type string; + } + } + case case_4 { + leaf-list static-lsp-regex { + ordered-by user; + description "Next-hop static LSP name regular expression"; + type string; + } + } + } + } + } + leaf trace { + description "Log matches to a trace file"; + type empty; + } + container external { + presence "enable external"; + description "External route"; + uses apply-advanced; + leaf type { + description "OSPF external metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 2"; + } + } + } + leaf nssa-only { + description "Clear P-bit on lsa type 7"; + type empty; + } + } + container load-balance { + description "Type of load balancing in forwarding table"; + choice load_balance_type { + case case_1 { + leaf per-packet { + description "Load balance on a per-packet basis"; + type empty; + } + } + case case_2 { + } + case case_3 { + } + case case_4 { + leaf consistent-hash { + description "Give a prefix consistent load-balancing"; + type empty; + } + } + case case_5 { + } + case case_6 { + } + } + } + leaf analyze { + description "Send to registered controllers for analysis"; + type empty; + } + leaf class { + description "Set class-of-service parameters"; + type string; + } + leaf destination-class { + description "Set destination class in forwarding table"; + type string; + } + leaf source-class { + description "Set source class in forwarding table"; + type string; + } + leaf forwarding-class { + description "Set source or destination class in forwarding table"; + type string; + } + container map-to-interface { + description "Set output logical interface"; + choice map_to_interface_value { + case case_1 { + leaf self { + description "Map the interface to itself"; + type empty; + } + } + case case_2 { + leaf interface { + description "Output logical interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf-list ssm-source { + ordered-by user; + description "List of Sources for SSM mapping"; + type jt:ipaddr; + } + container p2mp-lsp-root { + description "P2mp lsp root address"; + uses apply-advanced; + leaf address { + description "Ipv4 root address"; + type jt:ipv4addr; + } + } + leaf cos-next-hop-map { + description "Set CoS-based next-hop map in forwarding table"; + type string; + } + leaf dynamic-tunnel-attributes { + description "Choose the dynamic tunnel attributes used for forwarding"; + type string; + } + leaf selected-mldp-egress { + description "This node should act as egress node for MLDP inband signalling"; + type empty; + } + leaf mhop-bfd-port { + description "Use port number 4784 for MPLS-BFD as per RFC5884"; + type empty; + } + leaf no-backup { + description "This prefix should not have backup"; + type empty; + } + leaf default-action { + description "Set default policy action"; + type enumeration { + enum "accept" { + description "Accept a route"; + } + enum "reject" { + description "Reject a route"; + } + } + } + leaf next { + description "Skip to next policy or term"; + type enumeration { + enum "policy" { + description "Skip to next policy filter"; + } + enum "term" { + description "Skip to next term in a policy filter"; + } + } + } + choice accept_reject { + case case_1 { + leaf accept { + description "Accept a route"; + type empty; + } + } + case case_2 { + leaf reject { + description "Reject a route"; + type empty; + } + } + } + container bgp-output-queue-priority { + description "Set the BGP Update output queue priority."; + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + leaf multipath-resolve { + description "Use all paths for resolution over this prefix"; + type empty; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-protocols@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-protocols@2019-01-01.yang new file mode 100644 index 00000000..f8782d7c --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-protocols@2019-01-01.yang @@ -0,0 +1,36445 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-protocols { + namespace "http://yang.juniper.net/junos-qfx/conf/protocols"; + + prefix jc-protocols; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos protocols configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses protocols-group; + } + augment /jc:configuration/jc:groups { + uses protocols-group; + } + grouping protocols-group { + container protocols { + description "Routing protocol configuration"; + uses juniper-protocols; + } + } + grouping juniper-protocols { + uses apply-advanced; + container overlay { + description "Overlay protocol"; + uses juniper-protocols-overlayd; + } + container l2iw { + presence "enable l2iw"; + description "Configuration for Layer 2 interworking"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container igmp { + presence "enable igmp"; + description "IGMP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IGMP on this interface"; + type empty; + } + } + } + leaf version { + description "Set IGMP version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv4addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv4addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf promiscuous-mode { + description "Accept igmp messages coming from different subnet"; + type empty; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving IGMP messages"; + leaf allow-receive { + description "Allow receiving IGMP messages"; + type empty; + } + leaf send-general-query { + description "Send IGMP general query messages"; + type empty; + } + leaf send-group-query { + description "Send IGMP group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed IGMP interface"; + type empty; + } + } + container amt { + description "Automatic Multicast Tunnel options for IGMP"; + uses apply-advanced; + container relay { + description "AMT relay options for IGMP"; + uses apply-advanced; + container defaults { + presence "enable defaults"; + description "Default AMT relay options for IGMP"; + uses apply-advanced; + leaf version { + description "Set IGMP version number on AMT interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + } + leaf ssm-map { + description "Map for SSM translation of IGMPv1 or IGMPv2 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming IGMP report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of limit at which to generate warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + } + } + } + } + container mld { + presence "enable mld"; + description "MLD options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "mtrace" { + description "Trace mtrace packets"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf maximum-transmit-rate { + description "Maximum transmission rate (packets per second)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MLD on this interface"; + type empty; + } + } + } + leaf version { + description "Set mld version number on this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 2"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf group-increment { + description "Mask for the incrementing group IP address"; + type jt:ipv6addr; + } + leaf group-count { + description "Number of groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 512"; + } + } + } + leaf exclude { + description "Exclude sources"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + leaf source-increment { + description "Mask for the incrementing source IP address"; + type jt:ipv6addr; + } + leaf source-count { + description "Number of sources"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + leaf ssm-map { + description "Map for ssm translation of mld v1 messages"; + type string; + } + leaf-list ssm-map-policy { + ordered-by user; + description "SSM map policy name"; + type jt:policy-algebra; + } + leaf immediate-leave { + description "Group removed immediately, last membership query not sent"; + type empty; + } + leaf-list group-policy { + ordered-by user; + description "Group filter applied to incoming mld report messages"; + type jt:policy-algebra; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 32767"; + } + } + } + leaf group-threshold { + description "Percentage of group-limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between consecutive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + choice accounting-choice { + leaf accounting { + description "Enable join and leave event notification"; + type empty; + } + leaf no-accounting { + description "Don't enable join and leave event notification"; + type empty; + } + } + container passive { + presence "enable passive"; + description "Suppress sending and receiving mld messages"; + leaf allow-receive { + description "Allow receiving mld messages"; + type empty; + } + leaf send-general-query { + description "Send mld general query messages"; + type empty; + } + leaf send-group-query { + description "Send mld group query messages"; + type empty; + } + } + leaf-list oif-map { + ordered-by user; + description "Output interface map"; + type jt:policy-algebra; + } + leaf distributed { + description "Distributed MLD interface"; + type empty; + } + } + } + container amt { + description "AMT configuration"; + uses juniper-protocols-amt; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container router-advertisement { + description "IPv6 router advertisement options"; + uses apply-advanced; + container traceoptions { + description "Trace options for router advertisement"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router advertisement"; + leaf name { + type string; + } + uses apply-advanced; + leaf preference { + description "Set the Preference for Router Selection"; + type enumeration { + enum "medium" { + description "Medium / (Default)"; + } + enum "high" { + description "High"; + } + enum "low" { + description "Low"; + } + } + } + leaf max-advertisement-interval { + description "Maximum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum advertisement interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1350"; + } + } + } + choice managed-configuration-choice { + leaf managed-configuration { + description "Set managed address configuration"; + type empty; + } + leaf no-managed-configuration { + description "Don't set managed address configuration"; + type empty; + } + } + choice other-stateful-configuration-choice { + leaf other-stateful-configuration { + description "Set other stateful configuration"; + type empty; + } + leaf no-other-stateful-configuration { + description "Don't set other stateful configuration"; + type empty; + } + } + choice link-mtu-choice { + leaf link-mtu { + description "Link MTU"; + type empty; + } + leaf no-link-mtu { + description "Don't link MTU"; + type empty; + } + } + leaf solicit-router-advertisement-unicast { + description "Enbale solicited router advertisement as unicast"; + type empty; + } + leaf reachable-time { + description "Reachable time"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600000"; + } + } + } + leaf retransmit-timer { + description "Retransmit timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf virtual-router-only { + description "Send advertisemnets only for vrrp-inet6-group"; + type empty; + } + leaf current-hop-limit { + description "Current hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf default-lifetime { + description "Router lifetime"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9000"; + } + } + } + list dns-server-address { + key name; + ordered-by user; + description "Recursive DNS address configuration"; + max-elements 3; + leaf name { + description "DNS address to be advertised"; + type string; + } + uses apply-advanced; + leaf lifetime { + description "DNS address lifetime"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + list prefix { + key name; + ordered-by user; + description "Prefix configuration"; + leaf name { + description "Prefix to be advertised"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf valid-lifetime { + description "Valid lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice on-link-choice { + leaf on-link { + description "Set on-link flag"; + type empty; + } + leaf no-on-link { + description "Don't set on-link flag"; + type empty; + } + } + leaf preferred-lifetime { + description "Preferred lifetime (fixed)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice autonomous-choice { + leaf autonomous { + description "Set autonomous flag"; + type empty; + } + leaf no-autonomous { + description "Don't set autonomous flag"; + type empty; + } + } + } + } + container ra-secure { + description "Protect box against rogue incoming RA messages"; + uses apply-advanced; + } + } + container sap { + presence "enable sap"; + description "Session Advertisement Protocol options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SAP"; + type empty; + } + } + } + list listen { + key name; + ordered-by user; + description "Address for SAP and SDP to listen on"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "Port to listen for session advertisements"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container rsvp { + description "RSVP options"; + uses juniper-protocols-rsvp; + } + container mpls { + description "Multiprotocol Label Switching options"; + uses juniper-protocols-mpls; + } + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container dvmrp { + presence "enable dvmrp"; + description "DVMRP options"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for DVMRP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "poison" { + description "Trace poison-route-reverse packets"; + } + enum "packets" { + description "Trace all DVMRP packets"; + } + enum "probe" { + description "Trace probe packets"; + } + enum "report" { + description "Trace DVMRP route report packets"; + } + enum "neighbor" { + description "Trace neighbor probe packets"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "graft" { + description "Trace graft messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + list interface { + key name; + ordered-by user; + description "DVMRP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DVMRP on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "forwarding" { + description "Use DVMRP for multicast forwarding"; + } + enum "unicast-routing" { + description "Use DVMRP for unicast routing only"; + } + } + } + leaf metric { + description "DVMRP metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf hold-time { + description "When neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + } + container isis { + description "IS-IS options"; + uses juniper-protocols-isis; + } + container esis { + description "End system-intermediate system options"; + uses juniper-protocols-esis; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPFv3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container ldp { + description "LDP options"; + uses juniper-protocols-ldp; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container connections { + description "Circuit cross-connect configuration"; + uses apply-advanced; + list interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between interfaces"; + leaf name { + description "Name of interface switch"; + type string { + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to be switched"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + list remote-interface-switch { + key name; + ordered-by user; + description "Bidirectional switch between a local and a remote interface"; + leaf name { + description "Name of remote interface switch"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Local interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list lsp-switch { + key name; + ordered-by user; + description "Unidirectional switch between two label-switched paths"; + leaf name { + description "Name of label-switched path switch"; + type string { + } + } + uses apply-advanced; + leaf transmit-lsp { + description "Name of outgoing label-switched path"; + type string; + } + leaf receive-lsp { + description "Name of incoming label-switched path"; + type string; + } + } + list p2mp-transmit-switch { + key name; + ordered-by user; + description "Local interface to point-to-multipoint LSP switch"; + leaf name { + description "Point-to-multipoint switch name on which to transmit"; + type string { + } + } + uses apply-advanced; + leaf input-interface { + description "Input interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transmit-p2mp-lsp { + description "Point-to-multipoint LSP name on which to transmit"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 16; + } + } + list p2mp-receive-switch { + key name; + ordered-by user; + description "Point-to-multipoint LSP to local interfaces switch"; + leaf name { + description "Point-to-multipoint switch name on which to receive"; + type string { + } + } + uses apply-advanced; + leaf receive-p2mp-lsp { + description "Point-to-multipoint LSP name on which to receive"; + type string; + } + leaf-list output-interface { + ordered-by user; + description "Next outgoing interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container vrrp { + description "VRRP options"; + uses apply-advanced; + container traceoptions { + description "Trace options for VRRP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database"; + } + enum "general" { + description "Trace general events"; + } + enum "interfaces" { + description "Trace interface messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "packets" { + description "Trace packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer events"; + } + enum "ppm" { + description "VRRP PPM related messages"; + } + enum "all" { + description "Trace all events"; + } + } + } + } + } + leaf failover-delay { + description "Additional failover delay timer"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 100000"; + } + } + } + leaf startup-silent-period { + description "Period for ignoring master down timer at device startup"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2000"; + } + } + } + leaf asymmetric-hold-time { + description "Priority hold time asymmetric behaviour"; + type empty; + } + leaf skew-timer-disable { + description "Disable the skew timer"; + type empty; + } + leaf global-advertisements-threshold { + description "Number of vrrp advertisements missed before declaring master down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf inherit-advertisement-interval { + description "Advertisement interval for inherit sessions"; + default "120"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 120"; + } + } + } + leaf version-3 { + description "VRRPv3 conformance"; + type empty; + } + } + container l2circuit { + description "Configuration for Layer 2 circuits over MPLS"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 circuits"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 circuit topology changes"; + } + enum "fec" { + description "Trace Layer 2 circuit VC FEC advertisements"; + } + enum "connections" { + description "Trace Layer 2 circuit connections"; + } + enum "oam" { + description "Trace Layer 2 circuit OAM messages"; + } + enum "egress-protection" { + description "Trace Layer 2 circuit egress protection messages"; + } + enum "auto-sensing" { + description "Trace Layer 2 circuit PW auto-sensing"; + } + enum "sdb" { + description "Trace SDB"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "List of Layer 2 circuits to this neighbor"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf send-oam { + description "Turn on sending of l2ckt ping"; + type empty; + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + choice control-word-choice { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + leaf no-control-word { + description "Don't add control word to the Layer 2 encapsulation"; + type empty; + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + leaf no-revert { + description "Don't revert to primary-interface"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Layer 2 circuit switchover delay"; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static Pseudowire"; + uses apply-advanced; + leaf incoming-label { + description "Layer 2 circuit incoming static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf outgoing-label { + description "Layer 2 circuit outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + container egress-protection { + description "Egress protection for Layer 2 circuit"; + uses apply-advanced; + choice protection-type { + case case_1 { + leaf protector-interface { + description "Name of the protector interface for local protection"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + container protector-pe { + description "Address of the protector PE"; + leaf address { + description "Address of the protector PE"; + type jt:ipv4addr; + } + leaf context-identifier { + description "Identifier of the context used for this protection"; + type jt:ipv4addr; + } + leaf lsp { + description "Name of the label-switched path used for the protection"; + type string { + } + } + } + } + } + container protected-l2circuit { + description "Primary Layer 2 circuit to be protected"; + leaf l2circuit-name { + description "Name of the protected Layer 2 circuit"; + type string { + } + } + leaf ingress-pe { + description "Ingress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf egress-pe { + description "Egress PE address of the protected Layer 2 circuit"; + type jt:ipv4addr; + } + leaf virtual-circuit-id { + description "Identifier of the protected Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + } + container local-switching { + description "Configuration of Layer 2 circuits local switching"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface forming the local Layer 2 circuit"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configuration of Layer 2 circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the neighbor PE"; + type jt:ipv4addr; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Backup Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf virtual-circuit-id { + description "Identifier for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the backup neighbor PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf mtu { + description "MTU to be advertised for this Layer 2 circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 65535"; + } + } + } + } + container end-interface { + description "Interface name of the other end point"; + uses apply-advanced; + leaf interface { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-revert { + description "Do not revert to primary-interface"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf backup-interface { + description "Name of backup interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf description { + description "Text description of Layer 2 circuit"; + type string; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf ignore-mtu-mismatch { + description "Allow different MTUs on interfaces"; + type empty; + } + } + } + container auto-sensing { + presence "enable auto-sensing"; + description "Configuration of PW auto-sensing"; + uses apply-advanced; + leaf password { + description "Password for authentication with Radius server; 1 to 15 characters long"; + type jt:unreadable; + } + } + } + container evpn { + description "Configuration EVPN default routing instance"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf es-import-oldstyle { + description "Enable noncompliant ES import route-target computation"; + type empty; + } + leaf es-label-oldstyle { + description "Enable noncompliant ESI 24 bit label"; + type empty; + } + leaf mac-history { + description "Number of history entries to be maitained per mac"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + list mac-list { + key name; + description "Configure MAC lists"; + leaf name { + description "List name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf-list mac-address { + description "MAC address"; + type jt:mac-addr; + } + } + container vni-options { + description "Vni options"; + uses juniper-protocols-vni-options; + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf-list extended-vlan-list { + description "List of VLAN identifiers that are to be EVPN extended"; + type jt:vlan-range; + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + leaf default-gateway { + description "Default gateway mode"; + type enumeration { + enum "advertise" { + description "Advertise IRB MACs with default gateway community"; + } + enum "no-gateway-community" { + description "Advertise IRB MACs without default gateway community"; + } + enum "do-not-advertise" { + description "Do not advertise IRB MACs"; + } + } + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf-list extended-vni-list { + description "List of VNI identifiers or all, that are to be EVPN extended"; + type string; + } + container duplicate-mac-detection { + description "Duplicate MAC detection settings"; + uses apply-advanced; + leaf detection-threshold { + description "Number of moves to trigger duplicate MAC detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + leaf detection-window { + description "Time window for detection of duplicate MACs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + leaf auto-recovery-time { + description "Automatically unblock duplicate MACs after a time delay"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 360"; + } + } + } + } + container mac-mobility { + description "MAC mobility settings"; + uses apply-advanced; + leaf no-sequence-numbers { + description "Don't use sequence numbers for MAC mobility"; + type empty; + } + } + leaf no-core-isolation { + description "Disable EVPN Core isolation"; + type empty; + } + } + container link-management { + description "LMP options"; + uses juniper-protocols-lmp; + } + container pgm { + description "PGM options"; + presence "enable pgm"; + status deprecated; + uses juniper-protocols-pgm; + } + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + container traceoptions { + description "Trace options for BFD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "adjacency" { + description "Trace adjacency messages"; + } + enum "event" { + description "Trace all events"; + } + enum "error" { + description "Trace all errors"; + } + enum "rtsock" { + description "Trace all rtscok messages"; + } + enum "packet" { + description "Trace all packets"; + } + enum "ppm-packet" { + description "Trace packet activity by periodic packet management"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "state" { + description "Trace state transitions"; + } + enum "timer" { + description "Trace timer processing"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-packet" { + description "Trace packet activity of NSR"; + } + enum "issu" { + description "Trace ISSU packet activity"; + } + enum "slow-start" { + description "Trace slow-start activity"; + } + enum "session" { + description "Per session activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-issu-timer-negotiation { + description "Disable ISSU timer negotiation"; + type empty; + } + container sbfd { + description "Seamless BFD parameters"; + uses apply-advanced; + leaf-list pool { + description "List of Seamless BFD endpoints"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list local-discriminator { + key name; + ordered-by user; + description "Local discriminator for Seamless BFD responder"; + leaf name { + description "Local discriminator for Seamless BFD responder"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + uses apply-advanced; + leaf minimum-receive-interval { + description "Minimum receive interval for Seamless BFD responder"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 255000"; + } + } + } + } + } + } + container mvpn { + description "BGP-MVPN configuration"; + uses juniper-protocols-mvpn; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container traceoptions { + description "Trace options for soure-packet-routing"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "controller" { + description "Trace controller-related activity"; + } + enum "state" { + description "Trace LSP state-related activity"; + } + enum "route" { + description "Trace route-related activity"; + } + enum "general" { + description "Trace general activity"; + } + enum "interface" { + description "Trace interface-related activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + } + leaf preference { + description "Route preference for SPRING-TE routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf sr-preference-override { + description "SR-preference override for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf sr-preference { + description "SR-preference for static SR-policies.Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf maximum-segment-list-depth { + description "Maximum segment list depth for SR-TE policies"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container statistics { + presence "enable statistics"; + description "Enable traffic-statistics collection on SR-TE policies"; + uses apply-advanced; + container telemetry { + presence "enable telemetry"; + description "Enable traffic-statistics collection on per-policy basis"; + } + } + list segment-list { + key name; + ordered-by user; + description "Explicit path for SR-TE segments"; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list hop-list { + key name; + ordered-by user; + max-elements 5; + leaf name { + description "Next hop in SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf label { + description "Next label in SR-TE segment-list"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf ip-address { + description "IP address of the hop"; + type jt:ipaddr; + } + } + } + list source-routing-path { + key name; + ordered-by user; + description "Configure a source-routing-path"; + leaf name { + description "Name of the source routing path"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Ip-address of the tunnel end-point"; + type jt:ipaddr; + } + leaf color { + description "Color identifier for the tunnel end-point"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-ingress { + description "Disable ingress functionality for this tunnel"; + type empty; + } + leaf binding-sid { + description "Specify the binding-label to enable transit functionality for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf preference { + description "Preference for routes downloaded for this tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric for routes downloaded for this tunnel"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf sr-preference { + description "SR-preference for SPRING-TE routes. Higher value is more preferred"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list primary { + key name; + ordered-by user; + description "Configure a primary segment list for this source-routing-path"; + max-elements 8; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf weight { + description "Specify the balance factor for this segment list in SR-TE tunnel"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list secondary { + key name; + ordered-by user; + description "Configure a secondary segment list for this source-routing-path"; + max-elements 1; + leaf name { + description "Name of SR-TE segment-list"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + } + } + } + container neighbor-discovery { + presence "enable neighbor-discovery"; + description "IPv6 neighbor discovery"; + uses apply-advanced; + container ndp-proxy { + description "Configure NDP PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + container dad-proxy { + description "Configure DAD PROXY behaviour"; + uses apply-advanced; + leaf no-proxy-on-resolve { + description "Disable proxy on unresolved address"; + type empty; + } + } + container secure { + description "SEND process configuration"; + uses apply-advanced; + container security-level { + presence "enable security-level"; + description "Security level"; + uses apply-advanced; + choice security-level-name { + case case_1 { + leaf default { + description "Default level"; + type empty; + } + } + case case_2 { + leaf secure-messages-only { + description "Allow only secure messages"; + type empty; + } + } + } + } + container cryptographic-address { + presence "enable cryptographic-address"; + description "Cryptographic address configuration"; + uses apply-advanced; + leaf key-length { + description "RSA key length in bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 2048"; + } + } + } + leaf key-pair { + description "Pathname of RSA key file"; + type string; + } + } + container timestamp { + presence "enable timestamp"; + description "Timestamp option configuration"; + uses apply-advanced; + leaf new-peer-window { + description "New peer window (delta)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf known-peer-window { + description "Known peer window (fuzz)"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf clock-drift { + description "Clock drift"; + type jt:unsigned-float; + } + } + container traceoptions { + description "Trace options for SEND"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cryptographic-address" { + description "Trace Cryptographically Generated Address events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "rsa" { + description "Trace RSA events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + } + container iccp { + description "ICCP options"; + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use by default for all peers"; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with peers"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf authentication-key { + description "MD5 authentication key for all peers"; + type string { + length "1 .. 126"; + } + } + list peer { + key name; + description "Redundancy Group Configuration"; + max-elements 1; + uses peer-group; + } + container traceoptions { + description "Trace options for ICCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "error" { + description "Trace all errors"; + } + enum "event" { + description "Trace all events"; + } + enum "packet" { + description "Trace all packets"; + } + enum "pipe" { + description "Trace pipe messages"; + } + enum "pipe-detail" { + description "Trace pipe messages in detail"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container ilmi { + description "Interim Local Management Interface Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "ILMI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "database" { + description "Trace database events"; + } + enum "routing-socket" { + description "Trace Routing socket events"; + } + enum "state" { + description "Trace state change events"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "event" { + description "Trace event handler events"; + } + enum "packet" { + description "Trace packet events"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + } + container lacp { + description "Link Aggregation Control Protocol configuration"; + uses apply-advanced; + container traceoptions { + description "LACP trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and packet types to include in the trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration events"; + } + enum "routing-socket" { + description "Routing socket events"; + } + enum "process" { + description "Process events"; + } + enum "startup" { + description "Process startup events"; + } + enum "protocol" { + description "Protocol events"; + } + enum "packet" { + description "LACP packets"; + } + enum "ppm" { + description "LACP PPM messages"; + } + enum "bfd" { + description "LACP BFD events"; + } + enum "mc-ae" { + description "Multi-chassis AE messages"; + } + enum "all" { + description "All events and packets"; + } + } + } + } + } + leaf ppm { + description "Force PPM processing"; + type enumeration { + enum "centralized" { + description "Centralized PPM processing"; + } + } + } + leaf fast-hello-issu { + description "ISSU support for peer lacp configured in fast periodic"; + type empty; + } + } + container oam { + description "Operation, Administration, and Management configuration"; + uses apply-advanced; + container ethernet { + description "OAM configuration for Ethernet"; + uses apply-advanced; + container link-fault-management { + description "802.3ah Ethernet OAM configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for link-fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "action-profile" { + description "Trace action profile invocation events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list action-profile { + key name; + ordered-by user; + description "Define an action profile"; + leaf name { + description "Name of action profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container event { + description "Events this action profile will check"; + uses apply-advanced; + leaf link-adjacency-loss { + description "Loss of adjacency with OAM peer"; + type empty; + } + leaf protocol-down { + description "Upper layer indication on protocol down"; + type empty; + } + container link-event-rate { + uses apply-advanced; + leaf symbol-period { + description "Rate of receiving symbol period events"; + units "error(s) per 100 symbol"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-error { + description "Rate of receiving frame error events"; + units "error(s) per 100 milli-second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + leaf frame-period { + description "Rate of receiving frame period events"; + units "error(s) per 100 frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + leaf frame-period-summary { + description "Rate of receiving frame period summary events"; + units "error(s) per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 1000"; + } + } + } + } + } + container action { + description "Action to take on specified events"; + uses apply-advanced; + leaf syslog { + description "Generate syslog message"; + type empty; + } + leaf link-down { + description "Mark the interface down for transit traffic"; + type empty; + } + leaf send-critical-event { + description "Start sending OAM PDUs with critical event bit set"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface on which to set Ethernet OAM parameters"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf-list apply-action-profile { + ordered-by user; + description "Apply the specified action profile on the interface"; + type string; + } + leaf pdu-interval { + description "Periodic OAM protocol data unit interval"; + default "1000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "100 .. 1000"; + } + } + } + leaf loopback-tracking { + description "Enable link down on loopback detection"; + type empty; + } + leaf detect-loc { + description "Detects initial lack of adjacency formation"; + type empty; + } + leaf link-discovery { + description "Mode of discovery"; + default "active"; + type enumeration { + enum "active" { + } + enum "passive" { + } + } + } + leaf pdu-threshold { + description "Number of PDUs missed before declaring peer lost"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "3 .. 10"; + } + } + } + leaf remote-loopback { + description "Put remote DTE into remote-loopback mode"; + type empty; + } + container negotiation-options { + description "802.3ah features supported on the interface"; + uses apply-advanced; + leaf no-allow-link-events { + description "Do not emit periodic PDUs detailing framing and symbol errors"; + type empty; + } + leaf allow-remote-loopback { + description "Allow local port to be put into loopback mode"; + type empty; + } + } + container event-thresholds { + description "Thresholds for sending 802.3ah events"; + uses apply-advanced; + leaf symbol-period { + description "Threshold for sending symbol period events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-error { + description "Threshold for sending frame error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period { + description "Threshold for sending frame period error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + leaf frame-period-summary { + description "Threshold for sending frame period summary error events"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 100"; + } + } + } + } + } + } + container connectivity-fault-management { + description "Configurations related to 802.1ag ethernet oam"; + uses apply-advanced; + leaf no-aggregate-delegate-processing { + description "Do not distribute aggregate session to pfe"; + type empty; + } + leaf enhanced-cfm-mode { + description "Enables Enhanced CFM Mode"; + type empty; + } + container traceoptions { + description "Trace options for connectivity fault management"; + presence "enable traceoptions"; + uses cfm-traceoptions; + } + list action-profile { + key name; + ordered-by user; + description "Action profiles to use when one or more remote maintenance association endpoints are down"; + leaf name { + description "Name of action profile"; + type string; + } + uses apply-advanced; + container event { + description "Events that need to be monitored"; + uses apply-advanced; + leaf-list interface-status-tlv { + ordered-by user; + description "Values that need to be monitored in interface status TLV"; + type enumeration { + enum "down" { + description "Interface is administratively down"; + } + enum "lower-layer-down" { + description "Interface is physically down"; + } + } + } + leaf-list port-status-tlv { + ordered-by user; + description "Values that need to be monitored in port status TLV"; + type enumeration { + enum "blocked" { + description "Port is blocked"; + } + } + } + leaf adjacency-loss { + description "Connectivity is lost"; + type empty; + } + leaf rdi { + description "RDI received from some MEP"; + type empty; + } + leaf connection-protection-tlv { + description "Values that need to be monitored in connection protection TLV"; + type enumeration { + enum "using-working-path" { + description "Service traffic is using working path"; + } + enum "using-protection-path" { + description "Service traffic is using protection path"; + } + } + } + } + container action { + uses apply-advanced; + leaf interface-down { + description "Mark the interface as down"; + type empty; + } + leaf revertive-interface-down { + description "Wait for CC loss-threshold to bring back the interface up"; + type empty; + } + leaf non-revertive-interface-down { + description "Interface will not be brought up when CC is received"; + type empty; + } + leaf propagate-remote-mac-flush { + description "Remote mac-flush"; + type empty; + } + leaf interface-group-down { + description "Mark the interface group as down"; + type empty; + } + container log-and-generate-ais { + uses apply-advanced; + leaf-list level { + description "Server maintenance domain levels range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7"; + } + } + } + leaf interval { + description "Interval between AIS messages"; + default "1s"; + type enumeration { + enum "1s" { + } + enum "1m" { + } + } + } + leaf priority { + description "802.1p priority of AIS packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container clear-action { + uses apply-advanced; + container interface-down { + description "Mark the interface as down"; + leaf peer-interface { + description "Mark the interface as down"; + type empty; + } + } + leaf propagate-remote-mac-flush { + description "Remote mac flush"; + type empty; + } + } + container default-actions { + description "Action that needs to be taken"; + uses apply-advanced; + leaf interface-down { + description "Bring the interface down"; + type empty; + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for all sessions"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + container linktrace { + presence "enable linktrace"; + description "Linktrace protocol global options"; + uses apply-advanced; + leaf path-database-size { + description "Number of linktrace reply entries to be stored per linktrace request"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf age { + description "Time after which a stale request-response entry is deleted"; + default "10m"; + type enumeration { + enum "10s" { + } + enum "30s" { + } + enum "1m" { + } + enum "10m" { + } + enum "30m" { + } + } + } + } + list maintenance-domain { + key name; + ordered-by user; + description "Maintenance domain configuration"; + leaf name { + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + description "Bridge-domain information for the default maintenance domain"; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + list vlan { + key name; + ordered-by user; + description "VLAN information for the default maintenance domain"; + leaf name { + description "VLAN name"; + type string; + } + } + list virtual-switch { + key name; + ordered-by user; + description "Virtual switch Bridge-domain information for the default maintenance domain"; + leaf name { + description "Routing instance of type virtual switch"; + type string; + } + uses apply-advanced; + list bridge-domain { + key name; + ordered-by user; + leaf name { + description "Bridge domain name"; + type string; + } + leaf-list vlan-id { + ordered-by user; + description "VLAN id"; + type string; + } + } + } + list instance { + key name; + ordered-by user; + description "VPLS instance name for the default maintenance domain"; + leaf name { + description "VPLS routing instance name"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Name of interface for the default maintenance domain"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf level { + description "Level value for maintenance domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 7"; + } + } + } + leaf name-format { + description "Format of maintenance domain name"; + type enumeration { + enum "none" { + description "No format specified"; + } + enum "dns" { + description "Character string similar to Domain Name System name"; + } + enum "mac+2oct" { + description "MAC address with 2 octet integer (xx:xx:xx:xx:xx:xx.Y format)"; + } + enum "character-string" { + description "Character string"; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "none"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + } + } + list maintenance-association { + key name; + ordered-by user; + description "Maintenance association configuration"; + leaf name { + description "Name of maintenance association in IEEE compliant format"; + type string { + length "1 .. 45"; + } + } + uses apply-advanced; + leaf debug-session { + description "Debug the CFM session"; + type empty; + } + leaf short-name-format { + description "Format of Maintenance Association Name"; + type enumeration { + enum "2octet" { + description "An integer in the range 0..65535"; + } + enum "rfc-2685-vpn-id" { + description "VPN identifier that complies with RFC 2685"; + } + enum "vlan" { + description "Primary VLAN identifier"; + } + enum "character-string" { + description "Character string"; + } + enum "icc" { + description "ITU Carrier Code"; + } + } + } + leaf primary-vid { + description "VLAN id"; + type string; + } + container continuity-check { + presence "enable continuity-check"; + description "Continuity check configuration"; + uses apply-advanced; + leaf interval { + description "Interval between continuity-check messages"; + default "1m"; + type enumeration { + enum "10ms" { + } + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + enum "3.3ms" { + } + } + } + leaf loss-threshold { + description "Number of continuity-check messages lost before marking endpoint as down"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 256"; + } + } + } + leaf hold-interval { + description "Time before flushing MEP database if no updates occur"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30240"; + } + } + } + leaf port-status-tlv { + description "Include port status TLV in CCM"; + type empty; + } + leaf interface-status-tlv { + description "Include interface status TLV in CCM"; + type empty; + } + leaf connection-protection-tlv { + description "Include connection protection OUI TLV in CCM"; + type empty; + } + leaf convey-loss-threshold { + description "Include Loss Threshold OUI TLV in CCM"; + type empty; + } + leaf interface-status-send-rdi { + description "Send RDI on interface operation status down in CCM"; + type empty; + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + leaf mip-half-function { + description "Half function to be implemented by MIP"; + default "defer"; + type enumeration { + enum "none" { + description "No MHFs should be created"; + } + enum "default" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefault"; + } + enum "explicit" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFExplicit"; + } + enum "defer" { + description "Create MHF as per IEEE 802.1ag specifications for defMHFDefer"; + } + } + } + list mep { + key name; + ordered-by user; + description "Maintenance association endpoint configuration"; + leaf name { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + container interface { + presence "enable interface"; + description "Name of interface"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf vlan { + description "Trunk port interface VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + choice connection-type { + case case_1 { + leaf working { + description "Monitory the primary path"; + type empty; + } + } + case case_2 { + leaf protect { + description "Monitory the protect path"; + type empty; + } + } + } + } + leaf direction { + description "Direction of maintenance endpoint"; + default "down"; + type enumeration { + enum "up" { + } + enum "down" { + } + } + } + leaf priority { + description "802.1p priority of continuity-check and link-trace packet"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf auto-discovery { + description "Accept continuity-check messages from all remote MEPs"; + type empty; + } + leaf action-profile { + description "Name of the action profile"; + type string; + } + list remote-mep { + key name; + ordered-by user; + description "Remote maintenance association endpoint configuration"; + leaf name { + description "Identifier for remote maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + uses apply-advanced; + leaf action-profile { + description "Name of the action profile"; + type string; + } + container interface-group { + presence "enable interface-group"; + description "Mark this interface group down Profile configured with action interface-group-down"; + uses apply-advanced; + leaf interface-device-name { + description "Interface device name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list unit-list { + description "One or more logical interface unit numbers"; + type jt:range; + } + } + list sla-iterator-profile { + key name; + ordered-by user; + description "Name of the iterator profile"; + leaf name { + type string; + } + uses apply-advanced; + leaf iteration-count { + description "Iterations to partake for acquiring SLA measurements"; + units "frames"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "The vlan pcp value to be sent in the Y.1731 frame"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf data-tlv-size { + description "Size of the data-tlv portion of Y.1731 frame"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1400"; + } + } + } + } + leaf detect-loc { + description "Detects initial loss of connectivity with remote mep"; + type empty; + } + } + leaf lowest-priority-defect { + description "Lowest priority defect that is allowed to generate a fault alarm"; + type enumeration { + enum "all-defects" { + description "Allows all defects"; + } + enum "mac-rem-err-xcon" { + description "Allows only MAC, not receiving CCM, erroneous CCM and cross connect defects"; + } + enum "rem-err-xcon" { + description "Allows only not receiving CCM, erroneous CCM and cross connect CCM defects"; + } + enum "err-xcon" { + description "Allows only erroneous CCM and cross connect CCM defects"; + } + enum "xcon" { + description "Allows only cross connect CCM defect"; + } + enum "no-defect" { + description "Allows no defect"; + } + } + } + } + container policer { + description "Rate limit Ethernet OAM packets for this session"; + uses apply-advanced; + leaf continuity-check { + description "Policer to rate limit Continuity Check Ethernet OAM messages"; + type string; + } + leaf other { + description "Policer to rate limit non Continuity Check Ethernet OAM messages"; + type string; + } + leaf all { + description "Policer to rate limit all Ethernet OAM messages"; + type string; + } + } + } + } + container sendid-tlv { + description "Include sendid-tlv in CCM/LBM/LTM"; + uses apply-advanced; + leaf send-chassis-tlv { + description "Attach Chassis ID & Mgmt Addr to CCM/LBM/LTM"; + type empty; + } + } + } + list evcs { + key name; + description "Ethernet virtual circuits configuration"; + leaf name { + description "EVC id"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + container evc-protocol { + description "Signaling protocol to monitor EVC status"; + choice protocol { + case case_1 { + container cfm { + presence "enable cfm"; + description "Connectivity fault management"; + leaf maintenance-domain { + description "Maintenance domain name"; + type string; + } + leaf maintenance-association { + description "Maintenance association name"; + type string; + } + leaf mep { + description "Identifier for maintenance association endpoint"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 8191"; + } + } + } + } + } + case case_2 { + container vpls { + presence "enable vpls"; + description "Virtual private LAN service (BGP/LDP)"; + leaf routing-instance { + description "Routing instance name"; + type string; + } + } + } + case case_3 { + } + case case_4 { + } + } + } + leaf remote-uni-count { + description "Number of remote UNIs in the EVC"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf multipoint-to-multipoint { + description "Multipoint to Multipoint EVC"; + type empty; + } + } + container lmi { + presence "enable lmi"; + description "Ethernet local management interface configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for ethernet local management interface"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "packet" { + description "Trace events related to packet flow"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + list interface { + key name; + description "Interface options"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf uni-id { + description "UNI identifier"; + type string { + length "1 .. 64"; + } + } + leaf status-counter { + description "E-LMI status counter (N393)"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "2 .. 10"; + } + } + } + leaf polling-verification-timer { + description "Polling verification timer (T392)"; + default "15"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 30"; + } + } + } + leaf evc-map-type { + description "CE-VLAN ID/EVC map type"; + default "bundling"; + type enumeration { + enum "all-to-one-bundling" { + description "All to one bundling"; + } + enum "service-multiplexing" { + description "Service multiplexing with no bundling"; + } + enum "bundling" { + description "Bundling with service multiplexing"; + } + } + } + list evc { + key name; + description "EVC configuration"; + leaf name { + description "EVC identifier"; + type string { + length "1 .. 100"; + } + } + uses apply-advanced; + leaf default-evc { + description "Default EVC"; + type empty; + } + leaf-list vlan-list { + description "Vlans mapped to this EVC"; + type jt:vlan-range; + } + } + } + } + container fnp { + presence "enable fnp"; + description "Failure notification protocol configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for FNP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace protocol events"; + } + enum "pdu" { + description "Trace PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + leaf interval { + description "Interval between FNP messages"; + default "1s"; + type enumeration { + enum "100ms" { + } + enum "1s" { + } + enum "10s" { + } + enum "1m" { + } + enum "10m" { + } + } + } + leaf loss-threshold { + description "Number of FNP messages lost before clearing FNP state"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "3 .. 255"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf domain-id { + description "Ethernet domain identifier"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + container ptp { + description "Precision Time Protocol v2 options"; + uses apply-advanced; + leaf clock-mode { + description "Clock mode"; + type enumeration { + enum "ordinary" { + description "PTP Ordinary clock"; + } + enum "boundary" { + description "PTP Boundary clock"; + } + } + } + leaf profile-type { + description "PTP profile type"; + type enumeration { + enum "g.8275.1" { + description "G.8275.1 profile type"; + } + enum "g.8275.1.enh" { + description "G.8275.1 Enhanced profile type"; + } + enum "g.8275.2.enh" { + description "G.8275.2 Enhanced profile type"; + } + enum "enterprise-profile" { + description "Enterprise Profile"; + } + enum "smpte" { + description "SMPTE ST-2059-2 Profile, 2015 version"; + } + enum "aes67" { + description "AES67 Profile"; + } + enum "aes67-smpte" { + description "Combined profile with AES67 and SMPTE ST-2059-2"; + } + } + } + leaf e2e-transparent { + description "Enable end-to-end IEEE1588 transparent clock functionality"; + type empty; + } + leaf priority1 { + description "Used in selecting best master clock"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + leaf priority2 { + description "Tie-breaker in selecting best master clock"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + leaf local-priority { + description "Priority assigned to the local clock"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf domain { + description "PTP domain number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 127"; + } + } + } + leaf path-trace { + description "Enable path tracing"; + type empty; + } + leaf unicast-negotiation { + description "Enable unicast negotiation"; + type empty; + } + leaf ipv4-dscp { + description "IPv4 dscp value to be used for PTP packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 63"; + } + } + } + leaf utc-leap-seconds { + description "UTC leap seconds offset"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + container slave { + description "PTP Slave parameters"; + uses apply-advanced; + leaf frequency-only { + description "Only for frequency syntonization"; + type empty; + } + leaf delay-request { + description "Log mean interval between delay requests"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-7 .. 7"; + } + } + } + leaf announce-timeout { + description "Timeout period for announce messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf grant-duration { + description "Length of grants in seconds requested during unicast-negotiation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1000"; + } + } + } + list interface { + key name; + description "Interface on which to respond to upstream PTP master"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container unicast-mode { + description "Configure upstream unicast PTP master clock sources"; + uses apply-advanced; + leaf transport { + description "Encapsulation for PTP packet transport"; + type enumeration { + enum "ipv4" { + description "Use IPv4 as transport"; + } + enum "ipv6" { + description "Use IPv6 as transport"; + } + } + } + leaf local-priority { + description "Priority assigned to the port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + list clock-source { + key "ip-address local-ip-address"; + description "Configure PTP master parameters"; + leaf ip-address { + description "IP address of PTP master"; + type jt:ipaddr; + } + leaf local-ip-address { + description "Must be IP address on local interface"; + type jt:ipaddr; + } + uses apply-advanced; + leaf asymmetry { + description "Adjust the slave-to-master delay by value specified in nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-100000000 .. 100000000"; + } + } + } + } + } + container multicast-mode { + description "Configure PTP slave clock to use multicast frames"; + uses apply-advanced; + container transport { + description "Encapsulation for PTP packet transport"; + uses apply-advanced; + choice transport-type { + case case_1 { + container ieee-802.3 { + presence "enable ieee-802.3"; + description "PTP over 802.3 frames"; + leaf link-local { + description "Use link local 802.3 MAC address"; + type empty; + } + } + } + case case_2 { + container ipv4 { + presence "enable ipv4"; + description "Use IP as transport"; + } + } + } + } + leaf local-priority { + description "Priority assigned to the port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf asymmetry { + description "Adjust the slave-to-master delay by value specified in nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-100000000 .. 100000000"; + } + } + } + leaf local-ip-address { + description "IP address on local interface"; + type jt:ipv4addr; + } + } + } + } + container master { + description "PTP Master parameters"; + uses apply-advanced; + leaf announce-interval { + description "Log mean interval between announce messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-3 .. 4"; + } + } + } + leaf sync-interval { + description "Log mean interval between sync messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "-7 .. 7"; + } + } + } + list interface { + key name; + description "Interface on which to respond to downstream PTP slaves"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container unicast-mode { + description "Configure downstream PTP clock slaves"; + uses apply-advanced; + leaf transport { + description "Encapsulation for PTP packet transport"; + type enumeration { + enum "ipv4" { + description "Use IPv4 as transport"; + } + enum "ipv6" { + description "Use IPv6 as transport"; + } + } + } + list clock-client { + key "ip-address local-ip-address"; + description "Configure PTP master parameters"; + leaf ip-address { + description "IP address or subnet of remote PTP slave"; + type jt:ipprefix; + } + leaf local-ip-address { + description "IP address of local PTP master interface"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + } + container clock-synchronization { + description "Configuring parameters common to SyncE and PTP"; + uses apply-advanced; + container traceoptions { + description "Configure trace information for PTP and synce"; + presence "enable traceoptions"; + uses clksync-traceoptions; + } + } + container dcbx { + description "DCBX Protocol"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DCBX"; + type empty; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + description "Name of logical interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable DCBX"; + type empty; + } + } + } + leaf dcbx-version { + description "Configure DCBX version"; + default "auto-negotiation"; + type enumeration { + enum "auto-negotiation" { + description "Negotiate with peer device (default)"; + } + enum "ieee-dcbx" { + description "IEEE DCBX version"; + } + enum "dcbx-1.01" { + description "DCBX version 1.01"; + } + } + } + container priority-flow-control { + description "Configure priority flow control feature"; + uses apply-advanced; + leaf no-auto-negotiation { + description "Enable PFC manually"; + type empty; + } + } + container enhanced-transmission-selection { + description "Configure enhanced transmission selection feature"; + uses apply-advanced; + leaf no-auto-negotiation { + description "Enable ETS manually"; + type empty; + } + choice recommendation { + case case_1 { + leaf recommendation-tlv { + description "Enables recommendation tlv (default)"; + type empty; + } + } + case case_2 { + leaf no-recommendation-tlv { + description "Disables recommendation tlv"; + type empty; + } + } + } + } + container applications { + description "Configure application feature"; + uses apply-advanced; + leaf no-auto-negotiation { + description "Enable APP manually"; + type empty; + } + } + leaf application-map { + description "Application map to be enabled on the interface"; + type string { + length "1 .. 63"; + } + } + } + } + container dot1x { + description "802.1X options"; + uses juniper-protocols-dot1x; + } + container l2-learning { + description "Layer 2 forwarding configuration"; + uses juniper-protocols-bridge; + } + container lldp { + description "Link Layer Detection Protocol"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container traceoptions { + description "Trace options for LLDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace configuration events"; + } + enum "configuration" { + description "Log configuration events"; + } + enum "rtsock" { + description "Trace rtsock message events"; + } + enum "packet" { + description "Trace packet information"; + } + enum "protocol" { + description "Trace protocol information"; + } + enum "interface" { + description "Trace interface update events"; + } + enum "vlan" { + description "Trace VLAN update events"; + } + enum "snmp" { + description "Trace SNMP events"; + } + enum "jvision" { + description "Trace Jvision events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf management-address { + description "LLDP management address"; + type jt:ipaddr; + } + leaf advertisement-interval { + description "Transmit interval for LLDP messages"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 32768"; + } + } + } + leaf transmit-delay { + description "Transmit delay time interval for LLDP messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8192"; + } + } + } + leaf hold-multiplier { + description "Hold timer interval for LLDP messages"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf ptopo-configuration-trap-interval { + description "Interval for physical topology configuration change trap"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf ptopo-configuration-maximum-hold-time { + description "Hold time for physical topology connection entries"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf lldp-configuration-notification-interval { + description "Time interval for LLDP notification"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 3600"; + } + } + } + leaf port-id-subtype { + description "Sub-type to be used for Port ID TLV generation"; + default "locally-assigned"; + type enumeration { + enum "locally-assigned" { + description "Locally assigned value (SNMP index of the interface)"; + } + enum "interface-name" { + description "Interface name on which LLDPDU is sent"; + } + } + } + leaf port-description-type { + description "The Interfaces Group MIB object to be used for Port Description TLV generation"; + default "interface-alias"; + type enumeration { + enum "interface-alias" { + description "Use object ifAlias value for TLV generation"; + } + enum "interface-description" { + description "Use object ifDescr value for TLV generation"; + } + } + } + leaf neighbour-port-info-display { + description "Show lldp neighbors to display port-id or port-description "; + type enumeration { + enum "port-id" { + description "Display port-id information of neighbor in port info"; + } + enum "port-description" { + description "Display port description of neighbor in port info"; + } + } + } + leaf vlan-name-tlv-option { + description "Vlan tlv options to transmit vlan name or vlan-id"; + default "vlan-id"; + type enumeration { + enum "vlan-id" { + description "Use vlan-id for tlv"; + } + enum "name" { + description "Use vlan-name for tlv"; + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLVs to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container power-negotiation { + presence "enable power-negotiation"; + description "LLDP power negotiation"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable power negotiation"; + type empty; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "port-description" { + description "Port Description"; + } + enum "system-name" { + description "System Name"; + } + enum "system-description" { + description "System Description"; + } + enum "system-capabilities" { + description "System Capabilities"; + } + enum "management-address" { + description "Management Address"; + } + enum "mac-phy-config-status" { + description "OUI IEEE 802.3 mac-phy-config-status"; + } + enum "power-vi-mdi" { + description "OUI IEEE 802.3 power-vi-mdi"; + } + enum "link-aggregation" { + description "OUI IEEE 802.3 link-aggregation"; + } + enum "maximum-frame-size" { + description "OUI IEEE 802.3 maximum-frame-size"; + } + enum "jnpr-chassis-serial" { + description "OUI Juniper chassis-serial"; + } + enum "jnpr-vcp" { + description "OUI Juniper vcp"; + } + enum "jnpr-mode-change" { + description "OUI Juniper mode-change"; + } + enum "jnpr-mode-change-error" { + description "OUI Juniper mode-change-error"; + } + enum "jnpr-mode-change-ip-address" { + description "OUI Juniper mode-change-ip-address"; + } + enum "jnpr-mode-change-image-name" { + description "OUI Juniper mode-change-image-name"; + } + enum "jnpr-mode-change-ftp-login" { + description "OUI Juniper mode-change-ftp-login"; + } + enum "jnpr-mode-change-image-md5" { + description "OUI Juniper mode-change-image-md5"; + } + enum "jnpr-mode-change-ftp-server" { + description "OUI Juniper mode-change-ftp-server"; + } + enum "port-vid" { + description "OUI IEEE 802.1 port-vid"; + } + enum "port-protocol-vid" { + description "OUI IEEE 802.1 port-procol-vid"; + } + enum "vlan-name" { + description "OUI IEEE 802.1 vlan-name"; + } + enum "protocol-id" { + description "OUI IEEE 802.1 protocol-id"; + } + enum "evb" { + description "OUI IEEE 802.1QBG evb"; + } + } + } + } + } + container lldp-med { + presence "enable lldp-med"; + description "LLDP Media Endpoint Discovery"; + uses apply-advanced; + leaf fast-start { + description "Discovery count for MED"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LLDP"; + type empty; + } + } + } + container location { + presence "enable location"; + uses apply-advanced; + choice location-type { + case case_1 { + container civic-based { + description "Postal address"; + presence "enable civic-based"; + uses civic-address-elements; + } + } + case case_2 { + leaf elin { + description "Emergency line identification (ELIN) string"; + type string; + } + } + case case_3 { + container co-ordinate { + description "Address based on longitude and latitude coordinates"; + presence "enable co-ordinate"; + uses co-ordinate-elements; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select TLV(s) to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter TLV(s) to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + leaf-list tlv-select { + ordered-by user; + description "Select MED TLVs to be sent"; + type enumeration { + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + leaf-list tlv-filter { + ordered-by user; + description "Filter MED TLVs to be sent"; + type enumeration { + enum "all" { + description "Filter all non mandatory TLVs"; + } + enum "med-capabilities" { + description "OUI TIA med-capabilities"; + } + enum "network-policy" { + description "OUI TIA network-policy"; + } + enum "location-id" { + description "OUI TIA location-id"; + } + enum "ext-power-via-mdi" { + description "OUI TIA ext-power-via-mdi"; + } + } + } + } + container igmp-snooping { + description "IGMP snooping configuration"; + uses juniper-default-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-default-ri-protocols-mld-snooping; + } + container openflow { + description "OpenFlow protocol"; + uses juniper-protocols-openflow; + } + container pcep { + description "Path computation client configuration"; + uses apply-advanced; + leaf message-rate-limit { + description "Messages per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf update-rate-limit { + description "Updates per minute rate that path computation client will handle at maximum. 0 - disabled"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 16384"; + } + } + } + leaf max-provisioned-lsps { + description "Defines max count of externally provisioned LSPs over all conected PCEs (default: 16000)"; + default "16000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32000"; + } + } + } + list pce-group { + key name; + ordered-by user; + description "PCE group definition"; + leaf name { + description "PCE group identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + list pce { + key name; + ordered-by user; + description "Per PCE configuration"; + leaf name { + description "PCE unique identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf local-address { + description "Address of local end of PCEP session"; + type jt:ipv4addr; + } + leaf destination-ipv4-address { + description "IPV4 Address of PCE"; + type jt:ipv4addr; + } + leaf destination-port { + description "Destination TCP port PCE is listening on"; + default "4189"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf delegation-priority { + description "This PCE's priority among configured stateful PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf request-priority { + description "This PCE's priority among configured stateless PCEs in one pce-group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf pce-group { + description "Assign this PCE to defined pce group. PCE will inherit default values from the pce-group"; + type string; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 128"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container pce-type { + description "Type of the PCE (e.g. stateful or stateless)"; + leaf active { + description "The PCE can modify delegated LSPs"; + type empty; + } + choice statefullness { + case case_1 { + leaf stateful { + description "The PCE is stateful"; + type empty; + } + } + } + } + leaf lsp-provisioning { + description "The PCE is capable of provisioning LSPs"; + type empty; + } + leaf p2mp-lsp-report-capability { + description "The PCE is capable of reporting P2MP LSPs"; + type empty; + } + leaf lsp-cleanup-timer { + description "LSP cleanup time (default: 60)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf spring-capability { + description "PCE is capable of supporting SPRING based provisioning"; + type empty; + } + leaf max-sid-depth { + description "Max SID Depth (default: 5)"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 6"; + } + } + } + leaf lsp-retry-delegation { + description "Retry LSP delegation process is enabled"; + type empty; + } + leaf lsp-retry-delegation-timer { + description "LSP retry delegation timer in case delegation failure or re-delegate (default: 3600)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2147483647"; + } + } + } + leaf request-timer { + description "The amount of time path computation client waits for a reply before resending its requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf max-unknown-requests { + description "Max unknown requests per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "requests-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + leaf max-unknown-messages { + description "Max unknown messages per minute after which the connection will be closed. 0 - disabled"; + default "5"; + units "messages-per-minute"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16384"; + } + } + } + container traceoptions { + description "Path Computation Element Protocol trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of Path Computation Client Daemon to enable debugging output"; + leaf name { + type enumeration { + enum "pcep" { + description "Trace Path Computation Element protocol"; + } + enum "all" { + description "Trace all areas of Path Computation Client Daemon code"; + } + } + } + } + } + leaf delegation-cleanup-timeout { + description "Return control of LSPs or Re-delegation time after PCEP session disconnect (default: 30)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 600"; + } + } + } + } + container traceoptions { + description "Path Computation Client Daemon trace options"; + uses pccd-traceoptions-type; + } + } + container sflow { + presence "enable sflow"; + description "SFLOW protocol"; + uses apply-advanced; + container traceoptions { + description "Trace options for SFLOW"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace sflow configuration"; + } + enum "rtsock" { + description "Trace rtsock events"; + } + enum "interface" { + description "Trace interface events"; + } + enum "client-server" { + description "Trace sflow client-server events"; + } + enum "all" { + description "Trace all sflow events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container agent-id { + description "Sflow agent id configuration"; + leaf inet { + description "Sflow agent ipv4 address"; + type jt:ipv4addr; + } + leaf inet6 { + description "Sflow agent ipv6 address"; + type jt:ipv6addr; + } + } + leaf polling-interval { + description "Interval between port statistics"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + leaf adaptive-sample-rate { + description "Trigger adaptive sampling"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf inline-sampling { + description "Enable inline sampling of packets"; + type empty; + } + container sample-rate { + description "Sampling rate"; + uses apply-advanced; + leaf ingress { + description "Ingress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf egress { + description "Egress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + container source-ip { + description "Sflow agent id configuration"; + leaf inet { + description "Sflow datagram source ipv4 address"; + type jt:ipv4addr; + } + leaf inet6 { + description "Sflow datagram source ipv6 address"; + type jt:ipv6addr; + } + } + list collector { + key name; + ordered-by user; + description "SFLOW collector configuration"; + max-elements 4; + leaf name { + description "Collector IP v4/v6 address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf udp-port { + description "Collector UDP port"; + default "6343"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list interfaces { + key name; + description "Enable SFLOW on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf polling-interval { + description "Interval between port statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + container sample-rate { + description "Sampling rate"; + uses apply-advanced; + leaf ingress { + description "Ingress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf egress { + description "Egress direction"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + leaf disable-sw-rate-limiter { + description "Disable sw rate limiter"; + type empty; + } + } + container protection-group { + description "Protection group"; + presence "enable protection-group"; + uses juniper-protocols-protection-group; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container layer2-control { + description "Global options for layer 2 protocols"; + uses juniper-protocols-l2control; + } + container rstp { + description "Rapid Spanning Tree Protocol options"; + uses juniper-protocols-stp; + } + container mstp { + description "Multiple Spanning Tree Protocol options"; + uses juniper-protocols-mstp; + } + container vstp { + description "VLAN Spanning Tree Protocol options"; + uses juniper-protocols-vstp; + } + container loop-detect { + presence "enable loop-detect"; + description "Layer2 Loop Detect on interface with non-IP L2 Multicast mac as destination mac"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block Loop Detect PDUs on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable loop detect feature on a port"; + type empty; + } + } + leaf destination-mac { + description "Destination non-IP L2 multicast mac to be used for transmitting Loop Detect PDUs"; + type jt:mac-multicast; + } + leaf transmit-interval { + description "Loop Detect PDU TX interval in sec --default 30s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 3600"; + } + } + } + } + container uplink-failure-detection { + description "Uplink failure detection configuration"; + uses apply-advanced; + container group { + description "Uplink failure detection group"; + uses apply-advanced; + list ufd-group-name { + key name; + description "Uplink failure detection group name"; + uses ufd-group-type; + } + } + container traceoptions { + description "Trace options for uplink failure detection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "interface" { + description "Trace interface notifcation handlers of ufd"; + } + enum "dcd" { + description "Trace ufdd interaction with dcd"; + } + enum "groups" { + description "Trace uplink failure detection group handling"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container action { + description "Define action on ufd group state change"; + uses apply-advanced; + leaf log { + description "Log a message"; + type empty; + } + } + } + container ovsdb { + description "OVSDB protocol"; + uses juniper-protocols-vgd; + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping bandwidth-type { + uses apply-advanced; + leaf per-traffic-class-bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf ct0 { + description "Bandwidth from traffic class 0"; + units "bps"; + type string; + } + leaf ct1 { + description "Bandwidth from traffic class 1"; + units "bps"; + type string; + } + leaf ct2 { + description "Bandwidth from traffic class 2"; + units "bps"; + type string; + } + leaf ct3 { + description "Bandwidth from traffic class 3"; + units "bps"; + type string; + } + } + grouping cfm-traceoptions { + description "Trace options for connectivity fault management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "routing-socket" { + description "Trace routing socket events"; + } + enum "protocol" { + description "Trace protocol processing events"; + } + enum "init" { + description "Trace events related to protocol daemon start-up"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "issu" { + description "Trace ISSU related events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping civic-address-elements { + uses apply-advanced; + leaf what { + description "Type of address"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 2"; + } + } + } + leaf country-code { + description "Two-letter country code"; + type string { + length 2; + } + } + list ca-type { + key name; + ordered-by user; + leaf name { + description "Address element type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + uses apply-advanced; + leaf ca-value { + description "Address element value"; + type string; + } + } + } + grouping clksync-traceoptions { + description "Trace options for syncE and PTP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace daemon start-up related events"; + } + enum "routing-socket" { + description "Trace routing-socket events"; + } + enum "synchronization" { + description "Trace esmc protocol events only"; + } + enum "ptp" { + description "Trace ptp protocol events only"; + } + enum "protocol" { + description "Trace protocol events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "debug" { + description "Trace generic debug events"; + } + enum "ppm" { + description "Trace periodic packet management events"; + } + enum "error" { + description "Trace error events"; + } + enum "hybrid" { + description "Trace hybrid events"; + } + enum "framer" { + description "Trace BITS framer events"; + } + enum "ipc" { + description "Trace IPC messages"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping co-ordinate-elements { + description "Geographical co-ordinates"; + uses apply-advanced; + leaf longitude { + description "Longitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + leaf lattitude { + description "Lattitude vlaue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 360"; + } + } + } + } + grouping juniper-default-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interface"; + type empty; + } + leaf host-only-interface { + description "Enable interface to be treated as host-side interface"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-default-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN options"; + leaf name { + description "VLAN name"; + type string; + } + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv1 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of groups an interface can join"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + } + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + } + grouping juniper-ospf-authentication { + description "Authentication information"; + uses apply-advanced; + choice authentication-type { + case case_1 { + leaf simple-password { + description "Authentication key"; + type jt:unreadable; + } + } + case case_2 { + list md5 { + key name; + ordered-by user; + description "MD5 authentication key"; + leaf name { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf key { + description "MD5 authentication key value"; + type jt:unreadable; + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + } + } + } + } + grouping juniper-protocols-amt { + uses apply-advanced; + container traceoptions { + description "Trace options for AMT"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all AMT packets"; + } + enum "errors" { + description "Trace all error messages"; + } + enum "tunnels" { + description "Trace all AMT tunnel messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container relay { + description "AMT relay"; + presence "enable relay"; + uses juniper-protocols-amt-relay; + } + } + grouping juniper-protocols-amt-relay { + uses apply-advanced; + container family { + presence "enable family"; + description "Protocol family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + leaf anycast-prefix { + description "IPv4 anycast prefix"; + type jt:ipv4prefix; + } + leaf local-address { + description "IPv4 local address"; + type jt:ipv4addr; + } + } + } + leaf secret-key-timeout { + description "Time interval for the secret key to expire"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 1440"; + } + } + } + leaf tunnel-limit { + description "Number of AMT tunnels"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf unicast-stream-limit { + description "Maximum number of AMT unicast streams(s,g,intf)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf accounting { + description "Enable AMT accounting"; + type empty; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating ud interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-protocols-bridge { + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 address service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "routing-instance" { + description "Routing instance operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "logical-system" { + description "Logical system operations"; + } + enum "bmac-next-hop" { + description "Backbone Mac Next hop operations "; + } + enum "bridge-bmac-next-hop" { + description "Bmac Next hop bridge operations"; + } + enum "isid" { + description "I-Tagged Service ID"; + } + enum "mc-ae" { + description "Multi-chassis AE"; + } + enum "kack" { + description "Kernel-acknowledgment"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "redundant-trunk-group" { + description "Redundant trunk group"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + container in-memory-debug { + presence "enable in-memory-debug"; + description "Enable trace parameters in the memory"; + } + } + container global-mac-move { + presence "enable global-mac-move"; + description "Enable mac move related options at global level"; + uses apply-advanced; + leaf notification-time { + description "Periodical time interval in secs during which MAC move notification occurs"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-time { + description "Time during which if certain number of MAC moves happen warrant recording"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf reopen-time { + description "Time after which a blocked interface is reopened"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf threshold-count { + description "Count of MAC moves which warrant recording when happen in certain time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Enable logging for the MAC moves"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + leaf log { + description "Syslog all the MAC moves as stored in the mac-move-buffer"; + type empty; + } + leaf disable-action { + description "Disable mac move action globally"; + type empty; + } + list exclusive-mac { + key name; + ordered-by user; + description "MAC addresses to be excluded in mac-move-limit or in VPLS loop prevention algorithm"; + leaf name { + description "Source MAC address"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + } + } + leaf global-mac-table-aging-time { + description "System level MAC table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf global-mac-ip-table-aging-time { + description "System level MAC+IP table aging time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1000000"; + } + } + } + leaf mclag-arpreq-sync { + description "Enable syncing ARP REQ packets to peer MCLAG PE"; + type empty; + } + container global-mac-limit { + presence "enable global-mac-limit"; + description "System level MAC limit options"; + uses apply-advanced; + leaf mac-limit { + description "System level MAC limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64; + } + } + leaf packet-action { + type enumeration { + enum "drop" { + description "Enable packet-action drop when MAC limit is reached"; + } + } + } + } + container global-mac-ip-limit { + presence "enable global-mac-ip-limit"; + description "System level MAC+IP limit options"; + uses apply-advanced; + leaf mac-ip-limit { + description "System level MAC+IP limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "20 .. 1048575"; + } + } + } + } + leaf global-mac-statistics { + description "Enable MAC address statistics at system level"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VxLAN packets with inner VLAN disabled by default"; + type empty; + } + leaf destination-udp-port { + description "VXLAN destination UDP port"; + default "4789"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4789 .. 65535"; + } + } + } + container disable-vxlan-multicast-transit { + description "VXLAN multicast group configuration"; + uses apply-advanced; + list vxlan-multicast-group { + key name; + ordered-by user; + description "VXLAN multicast group that requires multicast transit disabled"; + leaf name { + description "Disable multicast transit on specified VXLAN multicast group"; + type string; + } + uses apply-advanced; + } + } + leaf global-no-mac-learning { + description "Disable dynamic MAC address learning at system level"; + type empty; + } + leaf global-no-hw-mac-learning { + description "Disable hardware MAC-address learning at system level"; + type empty; + } + leaf global-no-control-mac-aging { + description "Disable control MAC-address aging from software"; + type empty; + } + leaf mclag-arp-nd-sync { + description "Arp and ND entry sync from peer device."; + type empty; + } + leaf no-mclag-ifa-sync { + description "IFA entry disable sync from/to peer device."; + type empty; + } + } + grouping juniper-protocols-dot1x { + uses apply-advanced; + container traceoptions { + description "Trace options for 802.1X"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "dot1x-debug" { + description "Trace dot1x events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "esw-if" { + description "Trace ESW Interactions"; + } + enum "eapol" { + description "Trace EAPOL Transmit/Receive"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "vlan" { + description "Trace VLAN transactions"; + } + enum "all" { + description "Trace everything"; + } + enum "dot1x-ipc" { + description "Trace dot1x IPC interactions"; + } + enum "dot1x-event" { + description "Trace dot1x events"; + } + enum "iccp" { + description "Trace iccp events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container authenticator { + presence "enable authenticator"; + description "802.1X authenticator options"; + uses apply-advanced; + leaf authentication-profile-name { + description "Access profile name to use for authentication"; + type string { + length "1 .. 63"; + } + } + leaf no-mac-table-binding { + description "Disable association between mac table and dot1x"; + type empty; + } + leaf radius-options { + description "Info sent to radius server"; + type enumeration { + enum "use-vlan-name" { + description "Vlan name"; + } + enum "use-vlan-id" { + description "Vlan id"; + } + } + } + list static { + key name; + ordered-by user; + description "Static MAC configuration needed to bypass 802.1X"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + list interface { + key name; + description "802.1X interface specific options"; + leaf name { + type string; + } + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + description "Flexible authentication order"; + type enumeration { + enum "dot1x" { + description "Dot1x mode"; + } + enum "mac-radius" { + description "Mac radius mode"; + } + enum "captive-portal" { + description "Captive portal mode"; + } + } + } + leaf disable { + description "Disable 802.1X on this interface"; + type empty; + } + leaf supplicant { + description "Set supplicant mode for this interface"; + default "single"; + type enumeration { + enum "single" { + description "Allow multiple clients; authenticate first client only"; + } + enum "single-secure" { + description "Allow and authenticate only a single client"; + } + enum "multiple" { + description "Allow multiple clients; authenticate each individually"; + } + } + } + leaf retries { + description "Number of retries after which port is placed into wait state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10"; + } + } + } + leaf quiet-period { + description "Time to wait after an authentication failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf transmit-period { + description "Interval before retransmitting initial EAPOL PDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Enable MAC-RADIUS"; + uses apply-advanced; + leaf restrict { + description "Bypass dot1x authentication, use MAC RADIUS only"; + type empty; + } + leaf flap-on-disconnect { + description "Reset an interface on receiving a disconnect request"; + type empty; + } + leaf ignore-port-bounce { + description "To ignore the port-bounce request received from RADIUS server"; + type empty; + } + container authentication-protocol { + description "Set mac-radius authentication method"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf eap-md5 { + description "Authentication protocol EAP-MD5"; + type empty; + } + } + case case_2 { + leaf pap { + description "Authentication protocol PAP"; + type empty; + } + } + case case_3 { + container eap-peap { + presence "enable eap-peap"; + description "Authentication protocol EAP-PEAP"; + uses apply-advanced; + leaf resume { + description "Enable resume functionality for faster authentication"; + type empty; + } + } + } + } + } + } + choice reauthentication-mode { + case case_1 { + leaf no-reauthentication { + description "Disable reauthentication"; + type empty; + } + } + case case_2 { + leaf reauthentication { + description "Reauthentication interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + } + leaf supplicant-timeout { + description "Time to wait for a client response"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf server-timeout { + description "Authentication server timeout interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf maximum-requests { + description "Number of EAPOL RequestIDs to send before timing out"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf guest-vlan { + description "VLAN name or 802.1q tag for unauthenticated or non-responsive hosts"; + type string { + } + } + container server-reject-vlan { + description "VLAN name or 802.1q tag for authentication rejected clients"; + leaf vlan-name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + leaf eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets."; + type empty; + } + } + container eapol-block { + description "Force the authenticator to ignore EAPOL-Start packets"; + uses apply-advanced; + container server-fail { + presence "enable server-fail"; + description "Block EAPOL-Start during RADIUS Timeout"; + uses apply-advanced; + leaf block-interval { + description "Interval for authenticator to ignore the EAP-Start packets."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 65535"; + } + } + } + } + container mac-radius { + presence "enable mac-radius"; + description "Block EAPOL-Start when client is authenticated in mac-radius mode"; + } + container captive-portal { + presence "enable captive-portal"; + description "Block EAPOL-Start when client is authenticated in captive-portal mode"; + } + } + leaf lldp-med-bypass { + description "Bypass dot1x authentication, use lldp-med based authentication"; + type empty; + } + container server-fail { + description "Action to be taken when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + } + case case_5 { + leaf use-cache { + description "Use the previous state of the client"; + type empty; + } + } + } + } + container server-fail-voip { + description "Action to be taken for VOIP client when server is inaccessible"; + choice server-fail-options { + case case_1 { + leaf deny { + description "Force VoIP client authentication to fail"; + type empty; + } + } + case case_2 { + leaf permit { + description "Force VoIP client authentication to succeed"; + type empty; + } + } + case case_3 { + leaf vlan-name { + description "Configured VoIP VLAN name or 802.1q tag for unreachable servers"; + type string { + } + } + } + case case_4 { + leaf use-cache { + description "Use the previous state of the VoIP client"; + type empty; + } + } + } + } + leaf redirect-url { + description "CWA redirect URL to be used for unauthenticated users"; + type string { + length "10 .. 247"; + } + } + leaf no-tagged-mac-authentication { + description "Don't allow tagged mac for radius authentication"; + type empty; + } + } + } + } + grouping juniper-protocols-esis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for ES-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "esh" { + description "Trace end system hello packets"; + } + enum "ish" { + description "Trace intermediate system hello packets"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf preference { + description "Preference of routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container graceful-restart { + description "ES-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf end-system-configuration-timer { + description "Suggested end system configuration timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable ES-IS on this interface"; + type empty; + } + } + } + } + } + grouping juniper-protocols-isis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for IS-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "spf" { + description "Trace SPF events"; + } + enum "packets" { + description "Trace IS-IS packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "lsp" { + description "Trace link-state packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "layer2-map" { + description "Trace ARP/ND kernel state manipulation"; + } + enum "lsp-generation" { + description "Trace LSP generation"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "ldp-synchronization" { + description "Trace synchronization between IS-IS and LDP"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "spring" { + description "Trace source packet routing"; + } + enum "traffic-statistics" { + description "Trace traffic-statistics related events"; + } + enum "prefix-sid" { + description "Trace source packet routing, prefix-sids"; + } + enum "adj-sid" { + description "Trace adj-sid related events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + leaf lsp-lifetime { + description "Lifetime of LSPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "350 .. 65535"; + } + } + } + leaf max-lsp-size { + description "Maximum size allowed for LSPs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1492"; + } + } + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf max-snp-size { + description "Maximum size allowed for Sequence Number (Complete/Partial) PDUs"; + default "1400"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1400"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 120000"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf loose-authentication-check { + description "Verify authentication only if PDU has authentication TLV"; + type empty; + } + leaf max-areas { + description "Maximum number of advertised Areas"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 36"; + } + } + } + leaf no-authentication-check { + description "Disable authentication checking"; + type empty; + } + leaf no-ipv4-routing { + description "Disable IPv4 routing"; + type empty; + } + leaf no-ipv6-routing { + description "Disable IPv6 routing"; + type empty; + } + leaf no-adjacency-holddown { + description "Disable adjacency hold down"; + type empty; + } + leaf multicast-topology { + description "Enable multicast topology"; + status deprecated; + type empty; + } + leaf ignore-attached-bit { + description "Ignore the attached bit in Level 1 LSPs"; + type empty; + } + container rib-group { + description "Routing table group for importing IS-IS routes"; + uses rib_group_type; + } + container spf-options { + description "Configure SPF attributes"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf rapid-runs { + description "Number of rapid SPF runs before SPF holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container multipath { + description "Configure multipath options"; + uses apply-advanced; + container weighted { + description "Weighted multipath options"; + uses apply-advanced; + leaf one-hop { + description "Enable load balancing on onehop multipath based on interface bandwidth"; + type empty; + } + } + } + } + container backup-spf-options { + description "Configure backup SPF attributes"; + uses apply-advanced; + leaf per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate Post Convergence Backup Nexthops"; + uses apply-advanced; + leaf maximum-labels { + description "Set maximum number of label supported for post convergence path calculations"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Set maximum equal cost backup post convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + container use-source-packet-routing { + presence "enable use-source-packet-routing"; + description "Use SPRING routed paths for protection"; + uses apply-advanced; + } + } + container topologies { + description "Enable topologies"; + uses apply-advanced; + leaf ipv4-multicast { + description "Enable IPv4-multicast topology"; + type empty; + } + leaf ipv6-unicast { + description "Enable IPv6-unicast topology"; + type empty; + } + leaf ipv6-multicast { + description "Enable IPv6-multicast topology"; + type empty; + } + } + container overload { + presence "enable overload"; + description "Set the overload bit (no transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload bit is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf advertise-high-metrics { + description "Advertise high metrics instead of setting the overload bit"; + type empty; + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + } + container traffic-engineering { + description "Configure traffic engineering attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable traffic engineering"; + type empty; + } + } + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf credibility-protocol-preference { + description "Follow IGP protocol preference for TED protocol credibility"; + type empty; + } + leaf ipv4-multicast-rpf-routes { + description "Install IPv4 routes for multicast RPF checks into inet.2"; + status deprecated; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family specific traffic-engineering attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet-mpls" { + description "IPv4-MPLS family"; + } + enum "inet6-mpls" { + description "IPv6-MPLS family"; + } + } + } + uses apply-advanced; + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into multicast RIB"; + type empty; + } + } + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + status deprecated; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + } + container multipath { + description "Configure label-switched-path multipath behavior"; + uses apply-advanced; + leaf lsp-equal-cost { + description "Include equal cost label-switched-paths"; + type empty; + } + } + } + container graceful-restart { + description "IS-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + container adjacency-segment { + description "Configure attributes for Adjacency Segments in SPRING"; + uses apply-advanced; + leaf hold-time { + description "Duration(ms) for which adjacency segments will be retained after isolating from an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180000 .. 900000"; + } + } + } + } + container sensor-based-stats { + description "Configure sensor based stats in SPRING"; + uses apply-advanced; + container per-interface-per-member-link { + description "Configure sensor based stats per nexthop"; + leaf ingress { + description "Enable sensor based stats on ingress interface"; + type empty; + } + leaf egress { + description "Enable sensor based stats on egress interface"; + type empty; + } + } + container per-sid { + description "Configure sensor based stats per spring route"; + leaf ingress { + description "Enable sensor based stats for per-sid ingress accounting"; + type empty; + } + } + } + container srgb { + description "Set the SRGB global block in SPRING"; + leaf start-label { + description "Start range for SRGB label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf index-range { + description "Index to the SRGB start label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container node-segment { + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set IPv4 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf ipv6-index { + description "Set IPv6 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf index-range { + description "Set Range of Node Segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16385"; + } + } + } + } + container traffic-statistics { + description "Enable support for traffic statistics in SPRING"; + uses apply-advanced; + container statistics-granularity { + description "Granularity for traffic statistics in SPRING"; + uses apply-advanced; + leaf per-interface { + description "Interface Based traffic statistics in SPRING"; + type empty; + } + } + leaf auto-bandwidth { + description "Auto bandwidth name"; + type string; + } + } + leaf explicit-null { + description "Set E and P bits in all Prefix SID advertisements"; + type empty; + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf ldp-stitching { + description "Enable SR to LDP stitching"; + type empty; + } + } + list level { + key name; + ordered-by user; + description "Configure global level attributes"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this level"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf purge-originator { + description "Add Purge Originator information"; + type enumeration { + enum "self" { + description "Add POI only for self-originated purge LSPs"; + } + enum "empty" { + description "Add POI for purge LSPs who do not have POI information"; + } + } + } + leaf no-hello-authentication { + description "Disable authentication for hello packets"; + type empty; + } + leaf no-csnp-authentication { + description "Disable authentication for CSN packets"; + type empty; + } + leaf no-psnp-authentication { + description "Disable authentication for PSN packets"; + type empty; + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf wide-metrics-only { + description "Generate wide metrics only"; + type empty; + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled IS-IS routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix-export-limit { + description "Maximum number of external prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source Packet Routing on this level"; + type empty; + } + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + container auto-bandwidth { + description "Auto bandwidth configuration"; + uses apply-advanced; + leaf template-name { + description "Auto bandwidth template name"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Auto bandwidth on this interface"; + type empty; + } + } + } + } + leaf flood-group { + description "ISO Area that this interface should send LSPs to"; + type string { + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + status deprecated; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-padding-type { + description "Type of padding for hello packets"; + default "loose"; + type enumeration { + enum "strict" { + description "Padding for all adjacency states"; + } + enum "adaptive" { + description "Padding until state of neighbor adjacency is 'up'"; + } + enum "loose" { + description "Padding until state of adjacency is 'initializing'"; + } + enum "disable" { + description "Do not add any padding for hello packets"; + } + } + } + leaf interface-group-holddown-delay { + description "Time to wait before including in BBM calculation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf lsp-interval { + description "Interval between LSP transmissions"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + container csnp-interval { + description "Rate of CSN packets (for LAN interfaces only)"; + choice csnp_interval_option { + case case_1 { + leaf csnp-interval-number { + description "Interval between CSN packets"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + leaf disable { + description "Do not send CSN packets on this interface"; + type empty; + } + } + } + } + container mesh-group { + description "Add the interface to a mesh group"; + choice mesh_group_option { + case case_1 { + leaf mesh-group-number { + description "Mesh group number for this interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf blocked { + description "Do not flood new LSPs on this interface"; + type empty; + } + } + } + } + leaf point-to-point { + description "Treat interface as point to point"; + type empty; + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible for backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run IS-IS, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + leaf checksum { + description "Enable checksum for packets on this interface"; + type empty; + } + leaf no-unicast-topology { + description "Do not include this interface in the unicast topology"; + type empty; + } + leaf no-ipv4-multicast { + description "Do not include this interface in the IPv4 multicast topology"; + type empty; + } + leaf no-ipv6-unicast { + description "Do not include this interface in the IPv6 unicast topology"; + type empty; + } + leaf no-ipv6-multicast { + description "Do not include this interface in the IPv6 multicast topology"; + type empty; + } + leaf no-adjacency-down-notification { + description "Do not inform other protocols about adjacency down events"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list family { + key name; + ordered-by user; + description "Address family specific interface attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS for this level"; + type empty; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Configure backup along post convergence on this interface"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Enable node protection"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + leaf fate-sharing-protection { + description "Enable fate-sharing protection"; + type empty; + } + } + leaf metric { + description "Metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv4-multicast-metric { + description "IPv4 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-unicast-metric { + description "IPv6 unicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-multicast-metric { + description "IPv6 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this level"; + type empty; + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf hello-authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf hello-interval { + description "Interval between hello packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 21845"; + } + } + } + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "Designated router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container passive { + presence "enable passive"; + description "Do not run IS-IS at this level, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + list lan-neighbor { + key name; + ordered-by user; + description "Configuration specific to a LAN neighbor"; + leaf name { + description "Neighbor's sysid"; + type jt:sysid; + } + uses apply-advanced; + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + } + container link-degradation-threshold { + presence "enable link-degradation-threshold"; + description "Link up and down thresholds (in %) for proactive link protection"; + leaf link-down { + description "Signal degradation threshold above which link marked down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf link-up { + description "Signal degradation threshold below which link is marked up."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list interface-group { + key name; + description "Interface grouping configuration"; + leaf name { + description "Interface group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "List interfaces for this group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf weight { + description "Interface weight for adjacency set"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface-group"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + container link-group-protection { + description "Configure link group protection"; + uses apply-advanced; + leaf minimum-bandwidth { + description "Minimum bandwidth to carry traffic"; + type string; + } + leaf revert-bandwidth { + description "Revert bandwidth to carry traffic"; + type string; + } + } + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this label-switched path"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + leaf metric { + description "SPF metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + list context-identifier { + key name; + ordered-by user; + description "Configuration for advertisement of a context-identifier "; + leaf name { + description "Context identifier range"; + type jt:ipprefix; + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this context-identifier"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + } + } + } + grouping juniper-protocols-l2control { + uses apply-advanced; + container traceoptions { + description "Global tracing options for STP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol task timer processing"; + } + enum "ppmlite" { + description "Trace libppmlite processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf nonstop-bridging { + description "Enable nonstop operation"; + type empty; + } + container bpdu-block { + presence "enable bpdu-block"; + description "Block BPDU on interface (BPDU Protect)"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface name to block BPDU on"; + leaf name { + type string; + } + uses apply-advanced; + leaf disable { + description "Disable bpdu-block on a port"; + type empty; + } + leaf drop { + description "Drop xSTP BPDUs"; + type empty; + } + } + leaf disable-timeout { + description "Disable timeout for BPDU Protect"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "10 .. 3600"; + } + } + } + } + container mac-rewrite { + description "Mac rewrite functionality"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf enable-all-ifl { + description "Enable tunneling for all the IFLs under the interface"; + type empty; + } + container protocol { + presence "enable protocol"; + description "Protocols for which mac rewrite need to be enabled"; + uses apply-advanced; + container stp { + presence "enable stp"; + description "Enable mac rewrite for STP"; + } + container vtp { + presence "enable vtp"; + description "Enable mac rewrite for VTP"; + } + container cdp { + presence "enable cdp"; + description "Enable mac rewrite for CDP"; + } + container ieee8021x { + presence "enable ieee8021x"; + description "Enable mac rewrite for 8021X"; + } + container ieee8023ah { + presence "enable ieee8023ah"; + description "Enable mac rewrite for 8023AH"; + } + container elmi { + presence "enable elmi"; + description "Enable mac rewrite for ELMI"; + } + container lacp { + presence "enable lacp"; + description "Enable mac rewrite for LACP"; + } + container lldp { + presence "enable lldp"; + description "Enable mac rewrite for LLDP"; + } + container mmrp { + presence "enable mmrp"; + description "Enable mac rewrite for MMRP"; + } + container mvrp { + presence "enable mvrp"; + description "Enable mac rewrite for MVRP"; + } + container pvstp { + presence "enable pvstp"; + description "Enable mac rewrite for PVSTP+"; + } + container gvrp { + presence "enable gvrp"; + description "Enable mac rewrite for GVRP"; + } + container vstp { + presence "enable vstp"; + description "Enable mac rewrite for VSTP"; + } + container udld { + presence "enable udld"; + description "Enable mac rewrite for UDLD"; + } + } + } + } + } + grouping juniper-protocols-ldp { + uses apply-advanced; + container traceoptions { + description "Trace options for LDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace LDP state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "packets" { + description "Trace all LDP packets"; + } + enum "periodic" { + description "Trace periodic (hello and keepalive) packets"; + } + enum "initialization" { + description "Trace initialization packets"; + } + enum "notification" { + description "Trace notification packets"; + } + enum "address" { + description "Trace address packets"; + } + enum "label" { + description "Trace label packets"; + } + enum "binding" { + description "Trace label binding state"; + } + enum "path" { + description "Trace label path state"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "link-protection" { + description "Trace link protection events"; + } + enum "p2mp-nsr-synchronization" { + description "Trace p2mp NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses ldp_filter_obj; + } + } + } + container traffic-statistics { + description "Collect statistics for LDP label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + leaf no-penultimate-hop { + description "No penultimate hop statistics collection"; + type empty; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable the graceful restart helper capability"; + type empty; + } + leaf recovery-time { + description "Time required for recovery"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1800"; + } + } + } + leaf maximum-neighbor-recovery-time { + description "Maximum time stale mappings are maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "140 .. 1900"; + } + } + } + leaf reconnect-time { + description "Time required to reestablish session after graceful restart"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf maximum-neighbor-reconnect-time { + description "Maximum reconnect time allowed from a restarting neighbor"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container auto-targeted-session { + presence "enable auto-targeted-session"; + description "Configure auto targeted session parameters for rLFA only"; + uses apply-advanced; + leaf teardown-delay { + description "Auto targeted session tear down delay"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf maximum-sessions { + description "Auto targeted maximum sessions"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + leaf preference { + description "Route preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-forwarding { + description "Do not use LDP ingress routes for forwarding"; + type empty; + } + leaf rib-group { + description "Routing table group for importing ingress routes"; + type string; + } + leaf l2-smart-policy { + description "Do not export or import Layer 3 FECs for Layer 2 sessions"; + type empty; + } + leaf track-igp-metric { + description "Track the IGP metric"; + type empty; + } + leaf strict-targeted-hellos { + description "Do not send targeted hellos to unconfigured neighbors"; + type empty; + } + container longest-match { + presence "enable longest-match"; + description "Configure longest match"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Longest match import policy"; + type jt:policy-algebra; + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list egress-policy { + ordered-by user; + description "Configure LSP egress policy"; + type jt:policy-algebra; + } + leaf-list dod-request-policy { + ordered-by user; + description "Configure DoD label request policy"; + type jt:policy-algebra; + } + container next-hop { + description "LDP next-hop control"; + uses apply-advanced; + container merged { + description "Merged next hop"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Merged next-hop policy"; + type jt:policy-algebra; + } + } + container no-rsvp-tunneling { + description "No rsvp tunneling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "No rsvp tunneling next-hop policy"; + type jt:policy-algebra; + } + } + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + choice deaggregate-choice { + leaf deaggregate { + description "Deaggregate FECs into separate labels"; + type empty; + } + leaf no-deaggregate { + description "Don't deaggregate FECs into separate labels"; + type empty; + } + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label for egress FECs"; + type empty; + } + leaf label-withdrawal-delay { + description "Delay label withdrawal for FECs to avoid label churn"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + container make-before-break { + presence "enable make-before-break"; + description "Configure make before break"; + uses apply-advanced; + leaf timeout { + description "Make before break timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf switchover-delay { + description "Make before break switchover delay"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container transport-address { + description "Address used for TCP sessions"; + choice address-choice { + case case_1 { + leaf router-id { + description "Use router ID for TCP connections"; + type empty; + } + } + case case_2 { + leaf interface { + description "Use interface address for TCP connections"; + type empty; + } + } + case case_3 { + leaf address { + description "Use specified address for TCP connections"; + type jt:ipaddr; + } + } + } + } + leaf keepalive-interval { + description "Keepalive interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keepalive-timeout { + description "Keepalive timeout (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list interface { + key name; + description "Enable LDP on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP on this interface"; + type empty; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hello hold time (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection to protect interface for link faults only"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link-protection"; + type empty; + } + } + } + leaf dynamic-rsvp-lsp { + description "Enable setup of dynamic rsvp lsp for link protection"; + type empty; + } + } + leaf transport-address { + description "Address used for TCP sessions"; + type enumeration { + enum "router-id" { + description "Use router ID for TCP connections"; + } + enum "interface" { + description "Use interface address for TCP connections"; + } + } + } + choice allow-subnet-mismatch-choice { + leaf allow-subnet-mismatch { + description "Allow subnet mismatch for source address in hello packet"; + type empty; + } + leaf no-allow-subnet-mismatch { + description "Don't allow subnet mismatch for source address in hello packet"; + type empty; + } + } + } + list neighbor { + key name; + description "Configure a remote LDP neighbor"; + leaf name { + description "Neighbor address"; + type jt:ipaddr; + } + uses apply-advanced; + } + list session { + key name; + description "Configure session parameters"; + leaf name { + description "Session destination address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + list session-group { + key name; + description "Configure session group parameters"; + leaf name { + description "Session destination address/prefix length"; + type jt:ipprefix; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + container session-protection { + presence "enable session-protection"; + description "Configure session protection"; + leaf timeout { + description "Session protection timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container igp-synchronization { + description "Configure IGP synchronization parameters"; + uses apply-advanced; + leaf holddown-interval { + description "Time to hold the up notification to the IGPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + container trap { + description "SNMP traps options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP LSP up/down trap"; + type empty; + } + } + } + } + } + container policing { + description "Configure policing for an LDP FEC"; + uses apply-advanced; + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf ingress-traffic { + description "Name of filter to use for policing ingress LDP traffic"; + type string { + } + } + leaf transit-traffic { + description "Name of filter to use for policing transit LDP traffic"; + type string { + } + } + } + } + container entropy-label { + description "Insert entropy label for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "Entropy label ingress policy"; + type jt:policy-algebra; + } + } + container oam { + description "Configure periodic OAM for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "OAM ingress policy"; + type jt:policy-algebra; + } + leaf-list bfd-port-egress-policy { + ordered-by user; + description "OAM egress policy"; + type jt:policy-algebra; + } + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice bfd_liveness_detection_type { + case case_1 { + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + } + case case_2 { + leaf no-bfd-liveness-detection { + description "Disable BFD liveness detection"; + type empty; + } + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + leaf disable { + description "Disable periodic traceroute for a FEC"; + type empty; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + } + container targeted-hello { + description "Configure targeted hello parameters"; + uses apply-advanced; + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hold interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Advertise P2MP capability to peers"; + uses apply-advanced; + container recursive { + description "Configure P2MP recursive parameters"; + uses apply-advanced; + leaf route { + description "Allow recursive route resolution to signal P2MP FEC"; + type empty; + } + } + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + list lsp-id { + key name; + description "Configure the generic LSP identifier"; + leaf name { + description "Generic LSP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + leaf no-rsvp-tunneling { + description "Do not allow LDP P2MP to use RSVP-TE LSPs for tunneling"; + type empty; + } + } + container sr-mapping-client { + presence "enable sr-mapping-client"; + description "Enable LDP to SR mapping-client functionality"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "SR mapping-client policy"; + type jt:policy-algebra; + } + } + leaf upstream-label-assignment { + description "Allow Upstream Label Assignment capability"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + } + leaf transport-preference { + description "TCP transport preference"; + type enumeration { + enum "ipv4" { + description "Use IPv4 for TCP connections"; + } + enum "ipv6" { + description "Use IPv6 for TCP connections"; + } + } + } + container dual-transport { + presence "enable dual-transport"; + description "Use separate IPv4 and IPv6 TCP transport"; + uses apply-advanced; + leaf inet-lsr-id { + description "LSR identifier for address family inet"; + type jt:ipv4addr; + } + leaf inet6-lsr-id { + description "LSR identifier for address family inet6"; + type jt:ipv4addr; + } + } + } + grouping juniper-protocols-lmp { + uses apply-advanced; + list te-link { + key name; + ordered-by user; + description "Traffic engineering link"; + leaf name { + description "Name of TE link"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Address of the local end of the link"; + type jt:ipaddr; + } + leaf remote-address { + description "Address of the remote end of the link"; + type jt:ipaddr; + } + leaf remote-id { + description "Link ID for the remote end of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf te-metric { + description "Traffic engineering metric of the link"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable TE link"; + type empty; + } + } + } + container ethernet-vlan { + presence "enable ethernet-vlan"; + description "TE link used for setup of L2 VLAN LSP"; + uses apply-advanced; + leaf-list vlan-id-range { + description "VLAN id"; + type jt:vlan-range; + max-elements 1; + } + } + choice resource-option { + case case_1 { + list interface { + key name; + ordered-by user; + description "Member interface of TE link"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + case case_2 { + list label-switched-path { + key name; + ordered-by user; + description "Member forwarding adjacency LSP of TE link"; + max-elements 1; + leaf name { + description "Name of label-switched path"; + type string; + } + uses apply-advanced; + leaf local-address { + description "Local address of the resource"; + type jt:ipaddr; + } + leaf remote-address { + description "Remote address of the resource"; + type jt:ipaddr; + } + leaf remote-id { + description "Interface ID for the remote end of the resource"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable resource on this TE link"; + type empty; + } + } + } + } + } + } + } + list peer { + key name; + ordered-by user; + description "Define a network or LMP peer"; + leaf name { + description "Name of peer"; + type string; + } + uses apply-advanced; + leaf address { + description "Address of peer"; + type jt:ipaddr; + } + container lmp-protocol { + presence "enable lmp-protocol"; + description "LMP protocol attributes"; + uses apply-advanced; + leaf hello-interval { + description "Interval between Hello messages"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "150 .. 21845"; + } + } + } + leaf hello-dead-interval { + description "Delay for control channel shutdown when no Hello received"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 65535"; + } + } + } + leaf retransmission-interval { + description "Minimum time before retransmitting a message"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 300000"; + } + } + } + leaf retry-limit { + description "Number of times to retransmit a message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1000"; + } + } + } + leaf passive { + description "Do not send Config messages to peer"; + type empty; + } + } + leaf-list control-channel { + ordered-by user; + description "Control channel interfaces by priority"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + list lmp-control-channel { + key name; + ordered-by user; + description "Control channel IDs"; + uses lmp_control_channel_type; + } + leaf-list te-link { + ordered-by user; + description "List of TE links managed by this peer"; + type string; + } + } + container traceoptions { + description "LMP trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "process" { + description "Trace general configuration processing"; + } + enum "server" { + description "Trace server processing"; + } + enum "routing" { + description "Trace routing protocols interworking"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "hello-packets" { + description "Trace hello packet processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "nsr-synchronization" { + description "Trace mirror and nsr transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + status deprecated; + type empty; + } + leaf receive { + description "Trace received packets"; + status deprecated; + type empty; + } + leaf detail { + description "Trace detailed information"; + status deprecated; + type empty; + } + leaf disable { + description "Disable this trace flag"; + status deprecated; + type empty; + } + } + } + } + grouping juniper-protocols-mpls { + description "Multiprotocol Label Switching options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS"; + type empty; + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list pce-controlled-lsp { + key name; + ordered-by user; + description "Template for externally provisioned LSP using regular expression"; + leaf name { + description "Template regular expression"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + } + } + container path-mtu { + presence "enable path-mtu"; + description "Path MTU configuration"; + uses apply-advanced; + leaf allow-fragmentation { + description "If needed, fragment IP before encapsulating in MPLS"; + type empty; + } + container rsvp { + presence "enable rsvp"; + description "RSVP-specific path MTU options"; + uses apply-advanced; + leaf mtu-signaling { + description "Enable RSVP path MTU signaling"; + type empty; + } + } + } + container diffserv-te { + description "Global diffserv-traffic-engineering options"; + uses apply-advanced; + leaf bandwidth-model { + description "Bandwidth constraint model supported"; + type enumeration { + enum "extended-mam" { + description "Maximum allocation model with support for E-LSPs"; + } + enum "mam" { + description "Maximum allocation model"; + } + enum "rdm" { + description "Russian dolls model"; + } + } + } + container te-class-matrix { + description "Supported combinations of traffic-class and preemption"; + uses apply-advanced; + container te0 { + description "Definition for traffic-engineering class te0"; + uses te-class-object; + } + container te1 { + description "Definition for traffic-engineering class te1"; + uses te-class-object; + } + container te2 { + description "Definition for traffic-engineering class te2"; + uses te-class-object; + } + container te3 { + description "Definition for traffic-engineering class te3"; + uses te-class-object; + } + container te4 { + description "Definition for traffic-engineering class te4"; + uses te-class-object; + } + container te5 { + description "Definition for traffic-engineering class te5"; + uses te-class-object; + } + container te6 { + description "Definition for traffic-engineering class te6"; + uses te-class-object; + } + container te7 { + description "Definition for traffic-engineering class te7"; + uses te-class-object; + } + } + } + container auto-policing { + description "Automatic policing of LSPs"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + type enumeration { + enum "all" { + description "All forwarding classes"; + } + enum "ct0" { + description "Forwarding class 0"; + } + enum "ct1" { + description "Forwarding class 1"; + } + enum "ct2" { + description "Forwarding class 2"; + } + enum "ct3" { + description "Forwarding class 3"; + } + } + } + uses apply-advanced; + choice policing-action { + case case_1 { + leaf drop { + description "Drop packets if bandwidth is exceeded"; + type empty; + } + } + case case_2 { + leaf loss-priority-high { + description "Set loss priority to high if bandwidth is exceeded"; + type empty; + } + } + case case_3 { + leaf loss-priority-low { + description "Set loss priority to low if bandwidth is exceeded"; + type empty; + } + } + } + } + } + container statistics { + description "Collect statistics for signaled label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + presence "enable file"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf auto-bandwidth { + description "Enable auto bandwidth allocation"; + type empty; + } + leaf no-transit-statistics { + description "Disable transit LSP statistics collection"; + type empty; + } + choice transit-polling-type { + case case_1 { + leaf no-transit-statistics-polling { + description "Disable polling and display of transit lsp statistics"; + status deprecated; + type empty; + } + } + case case_2 { + leaf transit-statistics-polling { + description "Enable polling and display of transit lsp statistics"; + type empty; + } + } + } + leaf statistics-query-batch-size { + description "Number of LSPs for which statistics will be queried together"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 25"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Send syslog messages"; + type empty; + } + leaf no-syslog { + description "Don't send syslog messages"; + type empty; + } + } + choice trap-choice { + case case_1 { + leaf trap { + description "Send SNMP traps"; + type empty; + } + } + case case_2 { + container no-trap { + presence "enable no-trap"; + description "Don't send SNMP traps"; + uses apply-advanced; + leaf mpls-lsp-traps { + description "Dont send mpls lsp up/down traps"; + type empty; + } + leaf rfc3812-traps { + description "Dont send rfc3812 traps"; + type empty; + } + } + } + } + leaf trap-path-down { + description "Send SNMP traps when a path goes down"; + type empty; + } + leaf trap-path-up { + description "Send SNMP traps when a path goes up"; + type empty; + } + } + container optimize-adaptive-teardown { + description "Post make before break adaptive teardown"; + uses apply-advanced; + leaf p2p { + description "Turn on post make before break adaptive teardown for p2p"; + type empty; + } + leaf timeout { + description "Timeout for adaptive teardown to clean up LSP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-engineering control"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf bgp { + description "BGP destinations only"; + type empty; + } + } + case case_2 { + leaf bgp-igp { + description "BGP and IGP destinations"; + type empty; + } + } + case case_3 { + leaf bgp-igp-both-ribs { + description "BGP and IGP destinations with routes in both routing tables"; + type empty; + } + } + case case_4 { + leaf mpls-forwarding { + description "Use MPLS routes for forwarding, not routing"; + type empty; + } + } + } + container database { + description "Traffic engineering database"; + uses apply-advanced; + container import { + description "Configure TED import parameters"; + uses apply-advanced; + container igp-topology { + presence "enable igp-topology"; + description "Download IGP topology into RIB"; + uses apply-advanced; + leaf bgp-link-state { + description "Export IGP topology, instead of TE topology, into BGP-LS"; + type empty; + } + } + leaf-list policy { + ordered-by user; + description "Configure import policy"; + type jt:policy-algebra; + } + leaf identifier { + description "BGP-TE identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "2 .. 18446744073709551615"; + } + } + } + leaf bgp-ls-identifier { + description "BGP-TE domain identifier"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container export { + description "Configure TED export related parameters"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + container credibility { + description "TED credibility value for entries from BGP-TE"; + uses apply-advanced; + leaf unknown { + description "Entries sourced from unknown entities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf direct { + description "Entries sourced from directly connected links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf static { + description "Entries sourced from static configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf ospf { + description "Entries sourced from ospf"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-1 { + description "Entries sourced from ISIS Level 1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-2 { + description "Entries sourced from ISIS Level 2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + } + } + } + } + container traceoptions { + description "Trace options for MPLS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "connection" { + description "Trace CCC activity"; + } + enum "connection-detail" { + description "Trace CCC activity in detail"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "lsping" { + description "Trace LSP ping packets received"; + } + enum "graceful-restart" { + description "Trace graceful-restart-related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-synchronization-detail" { + description "Trace NSR synchronization events in detail"; + } + enum "static" { + description "Trace static label-switched path"; + } + enum "egress-protection" { + description "Trace egress protection events"; + } + enum "all" { + description "Trace everything"; + } + enum "autobw-state" { + description "Trace autobandwidth events in mpls trace"; + } + enum "externally-controlled-lsp" { + description "Trace externally controlled LSP events in mpls trace"; + } + enum "ted-import" { + description "Trace leaking TED entries into lsdist.0 table"; + } + enum "ted-export" { + description "Trace leaking of entries from lsdist.0 table into TED"; + } + enum "lsp-history" { + description "Trace LSP history events"; + } + enum "abstract-hop" { + description "Trace abstract hop related events"; + } + } + } + } + } + list admin-groups { + key name; + ordered-by user; + description "Administrative groups"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf group-value { + description "Group bit position"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + leaf advertisement-hold-time { + description "Time that an 'LSP down' advertisement will be delayed"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf rsvp-error-hold-time { + description "Time that RSVP PathErr events will be remembered"; + default "25"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 240"; + } + } + } + leaf optimize-aggressive { + description "Run aggressive optimization algorithm based on IGP metric only"; + type empty; + } + leaf smart-optimize-timer { + description "Path optimization interval after a link traversed by the path goes down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-switchover-delay { + description "Delay before switching LSP to newly optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 900"; + } + } + } + leaf no-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + leaf sensor-based-stats { + description "Enable sensor based statistics collection"; + type empty; + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label when the router is the egress"; + type empty; + } + leaf ipv6-tunneling { + description "Allow MPLS LSPs to be used for tunneling IPv6 traffic"; + type empty; + } + leaf icmp-tunneling { + description "Allow MPLS LSPs to be used for tunneling ICMP error packets"; + type empty; + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf expand-loose-hop { + description "Perform CSPF path computation to expand loose hops"; + type empty; + } + leaf mib-mpls-show-p2mp { + description "Show p2mp tunnels entries in mpls mib walk"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + list label-switched-path { + key name; + ordered-by user; + description "Label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS label-switched path"; + type empty; + } + } + } + container traceoptions { + description "Trace options for MPLS label-switched path"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + leaf backup { + description "Use LSP for IGP backup"; + type empty; + } + leaf from { + description "Address of ingress router"; + type jt:ipv4addr; + } + container pop-and-forward { + presence "enable pop-and-forward"; + description "Enable LSP as pop-and-forward with auto-delegation"; + } + choice label-switched-path-or-template { + case case_1 { + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + } + case case_2 { + leaf template { + description "Template for dynamic lsp paramaters"; + type empty; + } + } + } + leaf corouted-bidirectional { + description "Setup the LSP as a corouted bidirectional LSP"; + type empty; + } + leaf corouted-bidirectional-passive { + description "Associate LSP with incoming corouted bidirectional LSP"; + type empty; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf ldp-tunneling { + description "Allow LDP to use this LSP for tunneling"; + type empty; + } + leaf soft-preemption { + description "Attempt make-before-break service while preempting this LSP"; + type empty; + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf retry-timer { + description "Time before retrying the primary path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf retry-limit { + description "Maximum number of times to retry primary path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container lsp-attributes { + description "Attributes for generalized LSP"; + uses apply-advanced; + leaf signal-bandwidth { + description "Signal bandwidth for the LSP"; + type enumeration { + enum "ds1" { + description "1.544 Mbps"; + } + enum "vt1-5" { + description "1.728 Mbps"; + } + enum "e1" { + description "2.048 Mbps"; + } + enum "vt2" { + description "2.304 Mbps"; + } + enum "ethernet" { + description "10 Mbps"; + } + enum "e3" { + description "34.368 Mbps"; + } + enum "ds3" { + description "44.736 Mbps"; + } + enum "sts-1" { + description "51.84 Mbps"; + } + enum "fastether" { + description "100.00 Mbps"; + } + enum "stm-1" { + description "155.52 Mbps"; + } + enum "stm-4" { + description "622.08 Mbps"; + } + enum "gigether" { + description "1000.00 Mbps"; + } + enum "stm-16" { + description "2488.32 Mbps"; + } + enum "stm-64" { + description "9953.28 Mbps"; + } + enum "10gigether" { + description "10000.00 Mbps"; + } + enum "stm-256" { + description "39813.12 Mbps"; + } + enum "100gige" { + description "100000.00 Mbps"; + } + } + } + leaf switching-type { + description "LSP switching type desired"; + type enumeration { + enum "psc-1" { + description "Packet switching"; + } + enum "lambda" { + description "Lambda switching"; + } + enum "fiber" { + description "Fiber switching"; + } + enum "tdm" { + description "TDM switching"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN switching"; + } + } + } + leaf encoding-type { + description "LSP encoding type desired"; + type enumeration { + enum "packet" { + description "Packet encoding"; + } + enum "ethernet" { + description "Ethernet encoding"; + } + enum "pdh" { + description "PDH encoding"; + } + enum "sonet-sdh" { + description "SONET-SDH encoding"; + } + } + } + leaf gpid { + description "Generalized PID"; + type enumeration { + enum "ipv4" { + } + enum "ethernet" { + } + enum "ppp" { + } + enum "hdlc" { + } + enum "pos-no-scrambling-crc-16" { + } + enum "pos-no-scrambling-crc-32" { + } + enum "pos-scrambling-crc-16" { + } + enum "pos-scrambling-crc-32" { + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + leaf self-ping-duration { + description "Duration over which to run self-ping (65535 = until success). Default = 1800s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf no-self-ping { + description "Do not run self-ping for this LSP"; + type empty; + } + choice cspf-attribute { + case case_1 { + leaf random { + description "Randomly select among equal-cost paths"; + type empty; + } + } + case case_2 { + leaf least-fill { + description "Select the least filled among equal-cost paths"; + type empty; + } + } + case case_3 { + leaf most-fill { + description "Select the most filled among equal-cost paths"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + choice lp-type { + case case_1 { + leaf link-protection { + description "Protect LSP from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect LSP from both link and node faults"; + type empty; + } + } + } + leaf intra-domain { + description "Intra-domain LSP"; + status deprecated; + type empty; + } + leaf inter-domain { + description "Inter-domain LSP"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + container fast-reroute { + presence "enable fast-reroute"; + description "Fast reroute"; + uses apply-advanced; + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + choice bw-attribute { + case case_1 { + leaf bandwidth { + description "Bandwidth to reserve (bps)"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Percentage of main path bandwidth to reserve"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + } + } + choice include_any_or_no_include_any { + case case_1 { + leaf no-include-any { + description "Disable include-any checking"; + type empty; + } + } + case case_2 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include_all_or_no_include_all { + case case_1 { + leaf no-include-all { + description "Disable include-all checking"; + type empty; + } + } + case case_2 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude_or_no_exclude { + case case_1 { + leaf no-exclude { + description "Disable exclude checking"; + type empty; + } + } + case case_2 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Point-to-multipoint label-switched path"; + leaf path_name { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Do auto bandwidth allocation for this LSP"; + uses apply-advanced; + leaf adjust-interval { + description "Time to adjust LSP bandwidth"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf adjust-threshold { + description "Percentage change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50"; + } + } + } + leaf adjust-threshold-absolute { + description "Change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "bps"; + type string; + } + leaf adjust-threshold-activate-bandwidth { + description "Adjusts signaled bw if greater than this value"; + units "bps"; + type string; + } + leaf minimum-bandwidth { + description "Minimum LSP bandwidth"; + units "bps"; + type string; + } + leaf maximum-bandwidth { + description "Maximum LSP bandwidth"; + units "bps"; + type string; + } + leaf minimum-bandwidth-adjust-interval { + description "Duration for which minimum bandwidth will be frozen"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 31536000"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-change { + description "Change in max average bandwidth to freeze min bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-value { + description "Freeze min bandwidth if max average bandwidth falls below this bw"; + status deprecated; + units "bps"; + type string; + } + leaf monitor-bandwidth { + description "Monitor LSP bandwidth without adjustments"; + type empty; + } + leaf adjust-threshold-overflow-limit { + description "Number of consecutive overflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf adjust-threshold-underflow-limit { + description "Number of consecutive underflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf resignal-minimum-bandwidth { + description "Resignal the LSP using minimum-bandwidth"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this LSP"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + container associate-lsp { + description "Associate the LSP for OAM"; + uses apply-advanced; + leaf lsp-name { + description "Name of assocation LSP"; + type string { + } + } + leaf from { + description "Address of ingress router of associated LSP"; + type jt:ipv4addr; + } + } + list primary { + key name; + ordered-by user; + description "Preferred path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + list secondary { + key name; + ordered-by user; + description "Backup path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + leaf associate-backup-pe-groups { + description "Associate this LSP with backup-pe groups"; + type empty; + } + leaf egress-protection { + description "Use this LSP for egress protection data transport"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + list container-label-switched-path { + key name; + ordered-by user; + leaf name { + description "Name of container-lsp"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS container-label-switched path"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf suffix { + description "Suffix to generate names of members of container LSP"; + type string { + } + } + container splitting-merging { + description "Do splitting and merging"; + uses apply-advanced; + leaf maximum-member-lsps { + description "Maximum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf minimum-member-lsps { + description "Minimum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf splitting-bandwidth { + description "Maximum bandwidth threshold for splitting"; + units "bps"; + type string; + } + leaf merging-bandwidth { + description "Minimum bandwidth threshold for merging"; + units "bps"; + type string; + } + leaf maximum-signaling-bandwidth { + description "Maximum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf minimum-signaling-bandwidth { + description "Minimum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf splitting-merging-threshold { + description "Change in aggregate LSP utilization to trigger splitting or merging"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container normalization { + description "Do normalization"; + uses apply-advanced; + leaf normalize-interval { + description "Time to normalize container LSP"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf failover-normalization { + description "Do pre-mature normalization in case some LSPs go down before next normalization"; + type empty; + } + leaf no-incremental-normalize { + description "Do not normalize unless all LSPs are successfully signaled"; + type empty; + } + leaf normalization-retry-duration { + description "Time before retrying the container LSP normalization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf normalization-retry-limits { + description "Maximum number of times to retry container LSP normalization"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container sampling { + description "Sampling information"; + uses apply-advanced; + leaf cut-off-threshold { + description "Cut-off percentile to remove outliers from aggregate samples"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice sampling-mode { + case case_1 { + leaf use-average-aggregate { + description "Use average of the samples"; + type empty; + } + } + case case_2 { + leaf use-percentile { + description "Use a percentile of the samples"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + } + list transit-lsp-association { + key name; + ordered-by user; + description "Transit label switch path assoication"; + leaf name { + description "Name of transit assocation LSP group"; + type string { + } + } + uses apply-advanced; + leaf lsp-name-1 { + description "Name of assocation LSP 1"; + type string { + } + } + leaf from-1 { + description "Address of associated LSP 1"; + type jt:ipv4addr; + } + leaf lsp-name-2 { + description "Name of assocation LSP 2"; + type string { + } + } + leaf from-2 { + description "Address of associated LSP 2"; + type jt:ipv4addr; + } + } + list path { + key name; + ordered-by user; + description "Route of a label-switched path"; + leaf name { + description "Name of label-switched path"; + type string { + } + } + uses apply-advanced; + list path-list { + key name; + ordered-by user; + description "List of routers in the label-switched path"; + leaf name { + description "Address of next system in path"; + type string { + } + } + leaf abstract { + description "Next system in path is abstract"; + type empty; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf loose-link { + description "Next hop link might not be adjacent"; + type empty; + } + } + case case_3 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + } + list static-label-switched-path { + key name; + ordered-by user; + description "Static label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice lsp-type { + case case_1 { + container bypass { + description "Bypass ingress label-switched path"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf next-table { + description "Next-table for lookup"; + type string; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipaddr; + } + } + } + case case_2 { + list transit { + key name; + ordered-by user; + description "Transit label-switched path"; + leaf name { + description "Incoming label value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf member-interface { + description "AE member interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap top label with this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the top label"; + type empty; + } + } + case case_3 { + leaf stitch { + description "Swap top label with the resolved LSP"; + type empty; + } + } + } + } + } + case case_3 { + container ingress { + description "Ingress LSR configuration for a static LSP"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipv4prefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + } + } + case case_4 { + container segment { + description "Segment for segment routing"; + uses apply-advanced; + leaf sid-label { + description "Segment identifier (SID) label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap the SID label to this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the SID label"; + type empty; + } + } + } + } + } + } + } + list constituent-list { + key name; + ordered-by user; + description "MPLS constituent list for abstract hops"; + leaf name { + description "Constituent list name"; + type string { + } + } + uses apply-advanced; + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 16; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + max-elements 16; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + max-elements 16; + } + } + list abstract-hop { + key name; + ordered-by user; + description "MPLS abstract hop"; + leaf name { + description "Abstract hop name"; + type string { + } + } + uses apply-advanced; + leaf operator { + description "Operation among constituent lists"; + type enumeration { + enum "AND" { + description "AND"; + } + enum "OR" { + description "OR"; + } + } + } + list constituent-list { + key name; + ordered-by user; + description "Building abstract hop using constituent lists"; + leaf name { + description "Constituent list name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice list-type { + case case_1 { + leaf include-any-list { + description "Include any"; + type empty; + } + } + case case_2 { + leaf include-all-list { + description "Include all"; + type empty; + } + } + case case_3 { + leaf exclude-any-list { + description "Exclude any"; + type empty; + } + } + case case_4 { + leaf exclude-all-list { + description "Exclude all"; + type empty; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "MPLS interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS on this interface"; + type empty; + } + } + } + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 64; + } + leaf always-mark-connection-protection-tlv { + description "Mark connection protection tlv on this interface"; + type empty; + } + leaf switch-away-lsps { + description "Switch away protected LSPs to their bypass LSPs"; + type empty; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + } + container static { + description "Static label-switch path related configurations"; + uses apply-advanced; + leaf protection-revert-time { + description "FRR revert wait time, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container egress-protection { + description "Egress router protection"; + uses apply-advanced; + list context-identifier { + key name; + description "Context identifier"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice context-type { + case case_1 { + leaf primary { + description "Primary"; + type empty; + } + } + case case_2 { + leaf protector { + description "Protector"; + type empty; + } + } + } + leaf metric { + description "IGP metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 16777215"; + } + } + } + leaf advertise-mode { + description "Advertise mode"; + type enumeration { + enum "stub-proxy" { + description "Proxy"; + } + enum "stub-alias" { + description "Alias"; + } + } + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + } + container traceoptions { + description "Trace options for egress-protection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "state" { + description "Trace state transitions"; + } + enum "route" { + description "Trace route transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container label-history { + presence "enable label-history"; + description "MPLS label history recording"; + uses apply-advanced; + leaf max-entries { + description "Limit for the number of history entry per label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container label-range { + description "MPLS labels ranges"; + uses apply-advanced; + list lsi-label-range { + key name; + ordered-by user; + description "LSI-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list block-label-range { + key name; + ordered-by user; + description "Block-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list dynamic-label-range { + key name; + ordered-by user; + description "Dynamic-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list static-label-range { + key name; + ordered-by user; + description "Static-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf label-limit { + description "Limit for the number of concurrent active labels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping admin_group_include_exclude { + uses apply-advanced; + choice include-any-choice { + case case_1 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include-all-choice { + case case_1 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude-choice { + case case_1 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + grouping juniper-protocols-msdp { + uses apply-advanced; + leaf data-encapsulation { + description "Set encapsulation of data packets"; + type enumeration { + enum "disable" { + description "Disable data encapsulation"; + } + enum "enable" { + description "Enable data encapsulation"; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + list source { + key name; + ordered-by user; + description "Configure parameters for each source"; + leaf name { + description "Source address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + } + list group { + key name; + ordered-by user; + description "Configure MSDP peer groups"; + leaf name { + description "MSDP peer group name"; + type string; + } + uses apply-advanced; + leaf mode { + description "MSDP group source-active flooding mode"; + default "standard"; + type enumeration { + enum "standard" { + description "Use standard MSDP source-active flooding rules"; + } + enum "mesh-group" { + description "Group peers are mesh group members"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + } + } + grouping juniper-protocols-mstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSTP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf configuration-name { + description "Configuration name (part of MST configuration identifier)"; + type string { + length "1 .. 32"; + } + } + leaf revision-level { + description "Revision level (part of MST configuration identifier)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf max-hops { + description "Maximum number of hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + list msti { + key name; + description "Per-MSTI options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4094"; + } + } + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + } + } + grouping juniper-protocols-mvpn { + description "BGP-MVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for BGP-MVPN"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "nlri" { + description "Trace MVPN advertisements"; + } + enum "topology" { + description "Trace MVPN topology changes"; + } + enum "tunnel" { + description "Trace provider tunnel events"; + } + enum "umh" { + description "Trace Upstream Multicast Hop (UMH) events"; + } + enum "intra-as-ad" { + description "Trace MVPN intra-AS auto discovery routes"; + } + enum "inter-as-ad" { + description "Trace MVPN inter-AS auto discovery routes"; + } + enum "spmsi-ad" { + description "Trace MVPN SPMSI auto discovery routes"; + } + enum "leaf-ad" { + description "Trace MVPN leaf auto discovery routes"; + } + enum "source-active" { + description "Trace MVPN source active routes"; + } + enum "cmcast-join" { + description "Trace MVPN c-multicast join routes"; + } + enum "mdt-safi-ad" { + description "Trace MVPN MDT SAFI auto discovery routes"; + } + enum "mvpn-limit" { + description "Trace MVPN spmsi and cmcast limit events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + status deprecated; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + container family { + description "BGP-MVPN address family"; + uses apply-advanced; + container any { + presence "enable any"; + description "BGP-MVPN properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + description "IPv4 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + choice sender-receiver-site-choice { + case case_1 { + leaf receiver-site { + description "MVPN instance has sites only with multicast receivers"; + type empty; + } + } + case case_2 { + leaf sender-site { + description "MVPN instance has sites only with multicast sources"; + type empty; + } + } + } + leaf unicast-umh-election { + description "Upstream Multicast Hop election based on unicast route preference"; + type empty; + } + container static-umh { + description "Upstream Multicast Hop election based on static configuration"; + uses apply-advanced; + leaf primary { + description "Primary Upstream Multicast Hop"; + type jt:ipv4addr; + } + leaf backup { + description "Secondary Upstream Multicast Hop"; + type jt:ipv4addr; + } + choice source-tree_choice { + case case_1 { + leaf source-tree { + description "Mandatory attribute - static-umh applies only to MVPN source-tree c-multicast joins"; + type empty; + } + } + } + } + leaf cmcast-joins-limit-inet { + description "Maximum number of cmcast entries for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf cmcast-joins-limit-inet6 { + description "Maximum number of cmcast entries for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container mvpn-mode { + description "MVPN mode of operation"; + uses apply-advanced; + choice mode { + case case_1 { + container rpt-spt { + presence "enable rpt-spt"; + description "MVPN works in multicast RPT and SPT mode"; + uses apply-advanced; + leaf spt-switch-timer { + description "Timeout before a PE router switches between RPT and SPT"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + } + case case_2 { + container spt-only { + presence "enable spt-only"; + description "MVPN works in multicast SPT only mode (default mode)"; + uses apply-advanced; + container source-active-advertisement { + description "Attributes associated with advertising Source-Active A-D routes"; + uses apply-advanced; + leaf dampen { + description "Time to wait before re-advertising source-active route"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf min-rate { + description "Minimum traffic rate required to advertise Source-Active route"; + units "bits per second"; + type string; + } + } + leaf convert-sa-to-msdp { + description "Turn on MVPN SA route to MSDP SA conversion"; + type empty; + } + } + } + } + } + container route-target { + description "Configure route-targets for MVPN routes"; + uses apply-advanced; + container import-target { + description "Target communities used when importing routes"; + uses apply-advanced; + container unicast { + presence "enable unicast"; + description "Use the same target community as configured for unicast"; + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + container target { + presence "enable target"; + description "Target community"; + leaf target-value { + type string { + } + } + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + } + container export-target { + description "Target communities used when exporting routes"; + uses apply-advanced; + leaf unicast { + description "Use the same target community as configured for unicast"; + type empty; + } + leaf target { + description "Target community"; + type string { + } + } + } + } + container mvpn-join-load-balance { + description "MVPN Join Load Balancing Algorithm"; + uses apply-advanced; + choice algorithm { + case case_1 { + container bytewise-xor-hash { + presence "enable bytewise-xor-hash"; + description "Upstream selection using bytewise XOR hash"; + } + } + } + } + container hot-root-standby { + description "MVPN live-live - hot root standby"; + uses apply-advanced; + choice tree { + case case_1 { + container source-tree { + presence "enable source-tree"; + description "MVPN live-live - hot root standby for source tree"; + } + } + } + container min-rate { + description "Minimum traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + uses apply-advanced; + leaf rate { + description "Minium traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + units "bits per second"; + type string; + } + leaf revert-delay { + description "Time to delay updating of multicast routes to allow for multicast convergence"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + } + } + container inter-region-template { + description "MVPN inter-region tunnel mapping template"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Define a inter-region template"; + leaf name { + description "MVPN Template Name"; + type string; + } + uses apply-advanced; + list region { + key name; + ordered-by user; + description "BGP peer group names used as region"; + leaf name { + description "Region name"; + type string; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + container all-regions { + description "Used for all regions not specified"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + } + } + leaf source-redundancy { + description "Assume all the sources for a particular group is sending same data"; + type empty; + } + container umh-selection-additional-input { + description "Additional parameters to consider during UMH"; + uses apply-advanced; + leaf source-active-preference { + description "Use the preference set in the source active route"; + type empty; + } + leaf tunnel-status { + description "Use the RSVP tunnel status"; + type empty; + } + } + } + grouping juniper-protocols-mvrp { + description "MVRP Configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for MVRP"; + uses mrp-trace-options; + } + leaf join-timer { + description "Join timer interval"; + default "200"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + default "800"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf no-dynamic-vlan { + description "Disable dynamic VLAN creation"; + type empty; + } + leaf no-attribute-length-in-pdu { + description "No attribute length while sending pdu "; + type empty; + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the MVRP BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + list interface { + key name; + ordered-by user; + description "Configure interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf join-timer { + description "Join timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf point-to-point { + description "Port is point to point"; + type empty; + } + leaf registration { + description "Registration mode"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal registration mode"; + } + enum "restricted" { + description "Restricted registration mode"; + } + enum "forbidden" { + description "Forbidden registration mode"; + } + } + } + } + } + grouping juniper-protocols-openflow { + uses apply-advanced; + list switch { + key name; + ordered-by user; + description "OpenFlow switch"; + max-elements 1; + leaf name { + description "Switch name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container default-action { + description "Action for packets that not have a matching flow entry"; + uses apply-advanced; + choice drop-pktin { + case case_1 { + leaf drop { + description "Drop all packets that do not have a matching flow entry"; + type empty; + } + } + case case_2 { + leaf packet-in { + description "Send packets to client if no matching flow entry"; + type empty; + } + } + } + } + list interfaces { + key name; + ordered-by user; + description "Interfaces configured for use with Openflow"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf port-id { + description "Openflow port ID"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 32640"; + } + } + } + } + leaf purge-flow-timer { + description "Purge timer value for invalid flows"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + container controller { + description "OpenFlow controller's IP address, port and protocol"; + uses apply-advanced; + container protocol { + description "Protocol type for controller connection"; + uses apply-advanced; + container tcp { + description "Set protocol type to 'TCP' (default)"; + uses apply-advanced; + leaf port { + description "Controller's port number (default 6633)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1024 .. 65535"; + } + } + } + } + } + leaf role { + description "Controller role"; + type enumeration { + enum "equal" { + description "Set role to 'equal'"; + } + } + } + leaf address { + description "Controller's IPv4 address"; + type jt:ipaddr; + } + leaf id { + description "Controller id"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "OpenFlow switch daemon trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "switch" { + description "Trace openflow switch events"; + } + enum "configuration" { + description "Trace openflow configuration events"; + } + enum "flow" { + description "Trace openflow flow events"; + } + enum "filter" { + description "Trace openflow filter events"; + } + enum "function" { + description "Trace openflow function entry/exit events"; + } + enum "packet-io" { + description "Trace openflow packet in/out events"; + } + enum "statistics" { + description "Trace openflow statistics events"; + } + enum "interface" { + description "Trace openflow interface events"; + } + enum "packets" { + description "Trace openflow packets"; + } + enum "barrier" { + description "Trace openflow barrier events"; + } + enum "nh" { + description "Trace openflow next-hop events"; + } + enum "group" { + description "Trace openflow group events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping juniper-protocols-ospf { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + grouping juniper-protocols-overlayd { + uses apply-advanced; + container traceoptions { + description "Overlayd trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "socket" { + description "Trace overlay daemon socket events"; + } + enum "rtsock" { + description "Trace overlay daemon rtsock events"; + } + enum "config" { + description "Trace overlay daemon config events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping juniper-protocols-pgm { + uses apply-advanced; + container traceoptions { + description "PGM trace options"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "show" { + description "Trace show command servicing"; + } + enum "route-socket" { + description "Trace route-socket events"; + } + enum "parse" { + description "Trace parser processing"; + } + enum "state" { + description "Trace state transitions"; + } + enum "packets" { + description "Trace packet processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + leaf register-probe-time { + description "Register probe time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 60"; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping juniper-protocols-protection-group { + uses apply-advanced; + container ethernet-aps { + description "Ethernet APS configuration"; + uses juniper-protocols-protection-group-eaps; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses erp-trace-options; + } + leaf restore-interval { + description "Wait to restore interval"; + default "5"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms steps"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + list ethernet-ring { + key name; + ordered-by user; + description "Ethernet ring"; + uses juniper-protocols-protection-group-ethernet-ring; + } + } + grouping erp-trace-options { + description "Trace options for Ethernet Ring Protocol"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace R-APS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace R-APS state machine"; + } + enum "periodic-packet-management" { + description "Trace periodic packet management state and events"; + } + enum "config" { + description "Trace protocol configuration"; + } + enum "normal" { + description "Trace protocol general log messages"; + } + enum "debug" { + description "Trace protocol debug log messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + container file { + description "Trace file options"; + uses trace_file_type; + } + } + grouping juniper-protocols-protection-group-eaps { + uses apply-advanced; + list profile { + key name; + uses juniper-protocols-protection-group-eaps-profile; + } + } + grouping juniper-protocols-protection-group-eaps-profile { + description "Ethernet APS profile"; + leaf name { + description "Profile name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf protocol { + description "Protocol value"; + type enumeration { + enum "ccm" { + description "Use CCM packets for protection."; + } + enum "G.8031" { + description "Use G.8031 packets for protection."; + } + } + } + leaf revert-time { + description "Reversion time in minutes, 0 would mean no reversion"; + default "4"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf hold-time { + description "Hold time in seconds"; + default "0"; + units "milli seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf local-request { + description "Local APS request"; + type enumeration { + enum "lockout" { + description "Lockout protection"; + } + } + } + } + grouping juniper-protocols-protection-group-ethernet-ring { + description "Ethernet Ring protection group configuration"; + leaf name { + description "Name of Ethernet Ring protection group"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf node-id { + description "Node ID of the protection group, by default bridge's MAC"; + type jt:mac-unicast; + } + leaf ring-protection-link-owner { + description "Ring protection link owner flag, one ring should have only one node as a ring protection link owner"; + type empty; + } + leaf level { + description "MPG Level value for R-APS PDU"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf restore-interval { + description "Wait to restore interval"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 12"; + } + } + } + leaf guard-interval { + description "Guard timer interval in 10ms"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 2000"; + } + } + } + leaf hold-interval { + description "Hold off timer interval in 100ms steps"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container east-interface { + description "East interface configuration"; + presence "enable east-interface"; + uses erp-interface; + } + container west-interface { + description "West interface configuration"; + presence "enable west-interface"; + uses erp-interface; + } + leaf control-vlan { + description "Dedicated VLAN identifier - VLAN id or VLAN name"; + type string; + } + container data-channel { + description "Ring instance data channel"; + presence "enable data-channel"; + uses erp-data-channel; + } + } + grouping erp-data-channel { + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + } + grouping erp-interface { + uses apply-advanced; + container control-channel { + presence "enable control-channel"; + description "Control channel of ring port"; + uses apply-advanced; + leaf vlan { + description "Dedicated VLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 4094"; + } + } + } + leaf control-channel-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ring-protection-link-end { + description "Port is connecting to ring protection link"; + type empty; + } + leaf interface-none { + description "Port is not used"; + type empty; + } + } + grouping juniper-protocols-rip { + uses apply-advanced; + container traceoptions { + description "Trace options for RIP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "auth" { + description "Trace RIP authentication"; + } + enum "error" { + description "Trace RIP errors"; + } + enum "expiration" { + description "Trace RIP route expiration processing"; + } + enum "holddown" { + description "Trace RIP hold-down processing"; + } + enum "packets" { + description "Trace all RIP packets"; + } + enum "request" { + description "Trace RIP information packets"; + } + enum "trigger" { + description "Trace RIP triggered updates"; + } + enum "update" { + description "Trace RIP update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses rip_filter_obj; + } + } + } + container rib-group { + description "Routing table group for importing RIP routes"; + uses rib_group_inet_type; + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv2 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv2 packets"; + type empty; + } + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a message in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf interface-type { + description "Interface type for the neighbor"; + type enumeration { + enum "p2mp" { + description "Point-to-multipoint link"; + } + } + } + leaf dynamic-peers { + description "Learn peers dynamically on a p2mp interface"; + type empty; + } + list peer { + key name; + ordered-by user; + description "P2MP peer"; + leaf name { + description "Address of peer"; + type jt:ipaddr; + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a msg in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv1 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv1 packets"; + type empty; + } + } + leaf any-sender { + description "Disable strict checks on sender address"; + type empty; + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIP is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-ripng { + uses apply-advanced; + container traceoptions { + description "Trace options for RIPng"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace RIPng errors"; + } + enum "expiration" { + description "Trace RIPng route expiration processing"; + } + enum "holddown" { + description "Trace RIPng hold-down processing"; + } + enum "packets" { + description "Trace all RIPng packets"; + } + enum "request" { + description "Trace RIPng information packets"; + } + enum "trigger" { + description "Trace RIPng triggered updates"; + } + enum "update" { + description "Trace RIPng update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIPng graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIPng is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-router-discovery { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable router discovery"; + type empty; + } + } + } + container traceoptions { + description "Trace options for router discovery"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router discovery"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf max-advertisement-interval { + description "Maximum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1800"; + } + } + } + leaf lifetime { + description "How long addresses in advertisements are valid"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 9000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "IP addresses to include in advertisements"; + leaf name { + description "IP addresses to include in router advertisements"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf advertise { + description "Advertise the IP address in advertisements"; + type empty; + } + leaf ignore { + description "Do not advertise the IP address in advertisements"; + type empty; + } + leaf broadcast { + description "Include IP address only in broadcast advertisements"; + type empty; + } + leaf multicast { + description "Include IP address only in multicast advertisements"; + type empty; + } + leaf ineligible { + description "IP address can never become a default router"; + type empty; + } + leaf priority { + description "Preference of the address to become a default router"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-rsvp { + description "RSVP options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP"; + type empty; + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP graceful restart capability"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf maximum-helper-restart-time { + description "Maximum wait time from down event to neighbor dead"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf maximum-helper-recovery-time { + description "Maximum time restarting neighbor states are kept"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container tunnel-services { + presence "enable tunnel-services"; + description "Use tunnel services for P2MP LSP ultimate-hop popping"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for P2MP LSPs"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf no-p2mp-sublsp { + description "Disable P2MP sub-LSP object generation"; + type empty; + } + leaf no-node-id-subobject { + description "Do not include the node-id sub-object in the RRO"; + type empty; + } + leaf no-interface-hello { + description "Disble interface Hellos on all RSVP interfaces"; + type empty; + } + container pop-and-forward { + description "RSVP pop-and-forward specific global parameters"; + uses apply-advanced; + container application-label { + description "Number of application labels under the RSVP transport"; + uses apply-advanced; + leaf depth { + description "Application label depth"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + } + } + leaf hello-acknowledgements { + description "Acknowledge Hellos on RSVP interfaces not having sessions"; + type empty; + } + leaf no-hello-acknowledgements { + description "Do not ack Hellos on RSVP interfaces not having sessions"; + type empty; + } + container node-hello { + presence "enable node-hello"; + description "Enable node-ID based Hellos on all RSVP interfaces"; + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + leaf no-node-hello { + description "Disable node-ID based Hellos on the router"; + type empty; + } + leaf allow-bidirectional { + description "Enable bidirectional support in RSVP"; + status deprecated; + type empty; + } + leaf local-reversion { + description "Enable local reversion at this Point of Local Repair"; + type empty; + } + leaf no-local-reversion { + description "Disable local reversion at this Point of Local Repair"; + type empty; + } + container fast-reroute { + description "One-to-one fast-reroute protection mechanism"; + uses apply-advanced; + leaf optimize-timer { + description "Frequency of reoptimization for fast-reroute detour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + container load-balance { + description "Per-packet load-balancing algorithm"; + uses apply-advanced; + leaf bandwidth { + description "Per-packet load balancing proportional to LSP bandwidth"; + type empty; + } + } + container traceoptions { + description "Trace options for RSVP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP trigger packets"; + } + enum "path" { + description "Trace RSVP trigger path messages"; + } + enum "resv" { + description "Trace RSVP trigger Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Refresh time in seconds"; + default "1200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keep-multiplier { + description "Keep multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf graceful-deletion-timeout { + description "Time to complete graceful deletion signaling"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf setup-protection { + description "Enable setup protection"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute CSPF paths spanning protocols for bypass LSP, detour LSP and loose hop expansion"; + type empty; + } + container preemption { + description "Set RSVP session preemption attributes"; + uses apply-advanced; + choice preemption-type { + case case_1 { + leaf disabled { + description "No RSVP session preemption"; + type empty; + } + } + case case_2 { + leaf normal { + description "Run RSVP session preemption to accommodate new sessions"; + type empty; + } + } + case case_3 { + leaf aggressive { + description "Run RSVP session preemption whenever necessary"; + type empty; + } + } + } + container soft-preemption { + description "Options for establishing new path before tearing down a preempted LSP"; + uses apply-advanced; + leaf cleanup-timer { + description "Time a soft-preempted LSP will be maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 180"; + } + } + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + leaf no-authentication-check { + description "Skip authentication check for received messages"; + type empty; + } + container associated-bidirectional-lsp { + description "Set associated bidirectional LSP attributes"; + uses apply-advanced; + leaf single-sided-provisioning { + description "Enable unidirectional reverse LSP setup for single sided provisioned forward LSP"; + type empty; + } + } + leaf no-enhanced-frr-bypass { + description "Disable enhanced facility backup FRR"; + type empty; + } + list interface { + key name; + ordered-by user; + description "RSVP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container subscription { + description "Link bandwidth percentage for RSVP reservation"; + uses subscription-type; + } + leaf bandwidth { + description "Available bandwidth for the interface units bps"; + type string; + } + leaf update-threshold { + description "Percentage change in reserved bandwidth to trigger IGP update"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + container update-threshold-max-reservable { + description "Change in non-rsvp bandwidth to trigger IGP update "; + uses apply-advanced; + leaf bandwidth { + description "Change in non-rsvp bandwidth to trigger IGP update units bps"; + type string; + } + leaf percent { + description "Percentage change in max-reservable bandwidth to trigger IGP update"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container link-protection { + presence "enable link-protection"; + description "Protect traffic with a label-stacked LSP"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link protection on this interface"; + type empty; + } + } + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf max-bypasses { + description "Max number of bypasses permitted for protecting this interface"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + leaf subscription { + description "Percent of bandwidth guaranteed when admitting protected LSPs into bypasses"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-node-protection { + description "Disallow node protection on this interface"; + type empty; + } + leaf optimize-timer { + description "Interval between bypass reoptimizations"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + container priority { + presence "enable priority"; + description "Preemption priorities for the bypass LSP"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + list bypass { + key name; + ordered-by user; + description "Bypass with specific constraints"; + leaf name { + description "Name of bypass"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf description { + description "Text description of bypass"; + type string { + length "1 .. 80"; + } + } + container priority { + presence "enable priority"; + description "Preemption priorities for bypass"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this control peer"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container dynamic-bidirectional-transport { + presence "enable dynamic-bidirectional-transport"; + description "Enable dynamic setup of bidirectional packet LSP for transporting non-packet GMPLS LSP"; + uses apply-advanced; + leaf template { + description "Template for the dynamic bidirectional packet LSP"; + type string { + } + } + } + } + list lsp-set { + key name; + ordered-by user; + description "Configuration for lsp set"; + leaf name { + description "Name of lsp set"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this lsp set"; + type empty; + } + } + } + container match-criteria { + description "Match criteria for this lsp set"; + uses lsp-set-match-type; + } + container traceoptions { + description "Trace options for this lsp set"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP packets"; + } + enum "path" { + description "Trace RSVP path messages"; + } + enum "resv" { + description "Trace RSVP Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + grouping juniper-protocols-stp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable STP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + leaf extended-system-id { + description "Extended system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 4095"; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + } + grouping juniper-protocols-vgd { + uses apply-advanced; + container traceoptions { + description "OVSDB trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "interface" { + description "Trace OVSDB daemon interface events"; + } + enum "configuration" { + description "Trace OVSDB daemon configuration events"; + } + enum "core" { + description "Trace OVSDB daemon core events"; + } + enum "l2-client" { + description "Trace OVSDB daemon l2-client events"; + } + enum "ovs-client" { + description "Trace OVSDB daemon ovs-client events"; + } + enum "function" { + description "Trace OVSDB daemon function events"; + } + enum "netconf-client" { + description "Trace OVSDB daemon netconf-client events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interfaces { + key name; + ordered-by user; + description "Interfaces configured to be controlled by OVSDB"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list controller { + key name; + ordered-by user; + description "Controller's IP address and port"; + leaf name { + description "Controller's IPv4 address"; + type jt:ipaddr; + } + uses apply-advanced; + container protocol { + description "Protocol type for controller connection"; + uses apply-advanced; + container tcp { + description "Set protocol type to 'TCP'"; + uses apply-advanced; + leaf port { + description "Controller's port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1024 .. 65535"; + } + } + } + } + container ssl { + description "Set protocol type to 'SSL' (default)"; + uses apply-advanced; + leaf port { + description "Controller's port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1024 .. 65535"; + } + } + } + } + } + leaf maximum-backoff-duration { + description "Maximum duration to wait between connection attempts"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf inactivity-probe-duration { + description "Maximum idle duration before sending inactivity probe"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-vni-options { + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-vstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable VSTP"; + type empty; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + list vlan { + key name; + description "VLAN spanning tree options"; + leaf name { + description "VLAN id or all"; + type string; + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + container vlan-group { + presence "enable vlan-group"; + description "Spanning tree options for group of VLANs"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name if VLAN group"; + leaf name { + description "VLAN group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + } + } + grouping ldp-sync-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP synchronization"; + type empty; + } + } + } + leaf hold-time { + description "Time during which maximum metric is advertised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + grouping ldp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "fec" { + description "Filter based on FEC associated to the traced object."; + } + enum "address" { + description "Filter based on packet source and destination addresses."; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping lmp_control_channel_type { + leaf name { + description "Control channel interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf remote-address { + description "Control channel remote address"; + type jt:ipaddr; + } + } + grouping lsp-set-match-type { + uses apply-advanced; + leaf lsp-name { + description "LSP name that matches this string"; + type string; + } + leaf lsp-regex { + description "All LSPs that match this regular expression pattern"; + type string; + } + leaf p2mp-name { + description "P2MP names that match this string"; + type string; + } + leaf p2mp-regex { + description "P2MP names that match this regular expression pattern"; + type string; + } + choice router-type { + case case_1 { + leaf egress { + description "All LSPs for which this router is egress"; + type empty; + } + } + case case_2 { + leaf ingress { + description "All LSPs for which this router is ingress"; + type empty; + } + } + case case_3 { + leaf transit { + description "All LSPs for which this router is transit"; + type empty; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping mrp-trace-options { + description "Trace options for MMRP Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace RAPS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace information of the state machine"; + } + enum "socket" { + description "Trace soccket activity"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping mstp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping pccd-traceoptions-type { + description "Trace options for PCCD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Area of PCCD to enable debugging output"; + leaf name { + type enumeration { + enum "pccd-main" { + description "Trace main module"; + } + enum "pccd-config" { + description "Trace configuration parsing operations"; + } + enum "pccd-core" { + description "Trace PCCD's core operations"; + } + enum "pccd-ui" { + description "Trace user interface handling"; + } + enum "pccd-rpd" { + description "Trace communication with RPD"; + } + enum "pccd-functions" { + description "Trace function entries/outs"; + } + enum "all" { + description "Trace all areas of PCCD code"; + } + } + } + } + } + grouping peer-group { + leaf name { + description "IP address for this peer"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf local-ip-addr { + description "Local IP address to use for this peer alone."; + type jt:ipv4addr; + } + leaf session-establishment-hold-time { + description "Time within which connection must succeed with this peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "45 .. 600"; + } + } + } + leaf-list redundancy-group-id-list { + ordered-by user; + description "List of redundacy groups this peer is part of"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 1; + } + container backup-liveness-detection { + presence "enable backup-liveness-detection"; + description "Backup liveness detection"; + uses apply-advanced; + leaf backup-peer-ip { + description "Backup livelness detection peer's IP address"; + type jt:ipv4addr; + } + } + container liveness-detection { + presence "enable liveness-detection"; + description "Bidirectional Forwarding Detection options for the peer"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + grouping periodic_oam { + uses apply-advanced; + container mpls-tp-mode { + presence "enable mpls-tp-mode"; + description "MPLS-TP Mode, Do not use IP addressing for OAM"; + uses apply-advanced; + container lsping-channel-type { + description "Supported Control-channel types for MPLS-TP mode...."; + uses apply-advanced; + choice action-choice { + case case_1 { + leaf ipv4 { + description "Use channel-type IPv4(0x0021), With IP-UDP encapsulation"; + type empty; + } + } + case case_2 { + leaf on-demand-cv { + description "Use channel-type On-Demand-CV(0x0025), Without IP-UDP encapsulation"; + type empty; + } + } + } + } + } + container bfd-port { + description "Egress knob to select MHOP-BFD port for MPLS BFD"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf teardown { + description "Teardown label switched path and resignal"; + type empty; + } + } + case case_2 { + container make-before-break { + presence "enable make-before-break"; + description "Resignal the label switched path before teardown"; + uses apply-advanced; + leaf teardown-timeout { + description "Time to wait before teardown"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + } + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container performance-monitoring { + description "Performance monitoring options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace init commnad"; + } + enum "error" { + description "Trace error conditions"; + } + enum "event" { + description "Trace state machine events"; + } + enum "general" { + description "Trace general events"; + } + enum "packet" { + description "Trace various packets "; + } + enum "timer" { + description "Trace timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container querier { + description "Querier options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic class"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container loss-delay { + description "Combined loss-delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container responder { + description "Responder options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf lsp-ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container traceoptions { + description "Trace options for MPLSOAM process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "pipe" { + description "Trace pipe activity"; + } + enum "rpc-packet-details" { + description "Trace RPC packet details"; + } + enum "database" { + description "Trace database activity"; + } + enum "network" { + description "Trace network activity"; + } + enum "traceroute" { + description "Trace traceroute activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rip_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping stp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping stp-trace-options { + description "Trace options for Spanning Tree Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "bpdu" { + description "Trace BPDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "port-information-state-machine" { + description "Trace port information state machine"; + } + enum "port-receive-state-machine" { + description "Trace port receive state machine"; + } + enum "port-role-select-state-machine" { + description "Trace port role selection state machine"; + } + enum "port-role-transit-state-machine" { + description "Trace port role transit state machine"; + } + enum "port-state-transit-state-machine" { + description "Trace port state transit state machine"; + } + enum "port-migration-state-machine" { + description "Trace port migration state machine"; + } + enum "port-transmit-state-machine" { + description "Trace port transmit state machine"; + } + enum "topology-change-state-machine" { + description "Trace topology change state machine"; + } + enum "bridge-detection-state-machine" { + description "Trace Bridge detection state machine"; + } + enum "state-machine-variables" { + description "Trace when state machine variables change"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "all-failures" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping subscription-type { + uses apply-advanced; + leaf link-subscription { + description "Link bandwidth percentage for RSVP reservation"; + default "100"; + type string; + } + leaf ct0 { + description "Subscription percentage for traffic class 0"; + default "100"; + type string; + } + leaf ct1 { + description "Subscription percentage for traffic class 1"; + default "100"; + type string; + } + leaf ct2 { + description "Subscription percentage for traffic class 2"; + default "100"; + type string; + } + leaf ct3 { + description "Subscription percentage for traffic class 3"; + default "100"; + type string; + } + } + grouping system-id-ip-map { + leaf name { + type jt:mac-unicast; + } + uses apply-advanced; + leaf ip-address { + description "Peer ID (IP Address)"; + type jt:ipv4prefix; + } + } + grouping te-class-object { + leaf traffic-class { + description "Traffic class"; + type enumeration { + enum "ct0" { + description "Traffic class 0"; + } + enum "ct1" { + description "Traffic class 1"; + } + enum "ct2" { + description "Traffic class 2"; + } + enum "ct3" { + description "Traffic class 3"; + } + } + } + leaf priority { + description "Preemption priority for this class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping ufd-group-type { + description "Uplink failure detection group type"; + leaf name { + description "Uplink failure detection group name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + list link-to-monitor { + key name; + ordered-by user; + description "Uplinks to be monitored"; + leaf name { + description "Interface to be monitored"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + list link-to-disable { + key name; + ordered-by user; + description "Downlinks to disable"; + leaf name { + description "Interface to disable"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-root@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-root@2019-01-01.yang new file mode 100644 index 00000000..332585de --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-root@2019-01-01.yang @@ -0,0 +1,245 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-root { + namespace "http://yang.juniper.net/junos-qfx/conf/root"; + + prefix jc; + + import junos-common-types { + prefix jt; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos YANG module for configuration hierarchies."; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + container configuration { + config true; + uses juniper-config; + list groups { + key name; + ordered-by user; + description "Configuration groups"; + uses juniper-group; + } + } + grouping juniper-config { + leaf rcsid { + description "Revision control system identifier"; + type string; + } + leaf version { + description "Software version information"; + type string; + } + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + container jsrc-partition { + description "JSRC partition configuration"; + leaf jsrc-partition-name { + description "JSRC partition name"; + type string { + length "1 .. 63"; + } + } + } + container jsrc { + description "JSRC partition configuration"; + uses jsrc-options; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping jsrc-options { + uses apply-advanced; + list partition { + key name; + ordered-by user; + description "JSRC partition definition"; + leaf name { + description "JSRC partition name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf diameter-instance { + description "JSRC diameter instance"; + type string { + length "1 .. 63"; + } + mandatory true; + } + leaf destination-realm { + description "JSRC destination realm"; + type string { + length "1 .. 63"; + } + mandatory true; + } + leaf destination-host { + description "JSRC destination host"; + type string { + length "1 .. 63"; + } + mandatory true; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping juniper-group { + description "Configuration groups"; + uses juniper-config; + leaf name { + description "Group name"; + type string { + length "1 .. 254"; + } + } + container when { + description "Specify additional conditions for groups"; + uses apply-advanced; + container time { + description "Time at which group should be effective"; + leaf start-time { + description "Start time([yyyy-mm-dd.]hh:mm)"; + type string; + } + container to { + description "End time"; + uses apply-advanced; + leaf end-time { + description "End time([yyyy-mm-dd.]hh:mm)"; + type string; + } + } + } + leaf-list peers { + ordered-by user; + description "Hosts on which this group should be effective"; + type string { + length "1 .. 255"; + } + } + leaf chassis { + description "Chassis id"; + type enumeration { + enum "lcc0" { + description "Chassis lcc0"; + } + enum "lcc1" { + description "Chassis lcc1"; + } + enum "lcc2" { + description "Chassis lcc2"; + } + enum "lcc3" { + description "Chassis lcc3"; + } + enum "lcc4" { + description "Chassis lcc4"; + } + enum "lcc5" { + description "Chassis lcc5"; + } + enum "lcc6" { + description "Chassis lcc6"; + } + enum "lcc7" { + description "Chassis lcc7"; + } + enum "scc" { + description "Chassis scc"; + } + enum "sfc0" { + description "Chassis sfc0"; + } + } + } + leaf model { + description "Model name"; + type string; + } + leaf routing-engine { + description "Routing Engine"; + type enumeration { + enum "re0" { + description "RE0"; + } + enum "re1" { + description "RE1"; + } + } + } + leaf member { + description "Member of virtual chassis"; + type string; + } + leaf node { + description "Node of cluster"; + type enumeration { + enum "node0" { + description "Node0"; + } + enum "node1" { + description "Node1"; + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-routing-instances@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-routing-instances@2019-01-01.yang new file mode 100644 index 00000000..3edbb8cf --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-routing-instances@2019-01-01.yang @@ -0,0 +1,53576 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-routing-instances { + namespace "http://yang.juniper.net/junos-qfx/conf/routing-instances"; + + prefix jc-routing-instances; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos routing-instances configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses routing-instances-group; + } + augment /jc:configuration/jc:groups { + uses routing-instances-group; + } + grouping routing-instances-group { + container routing-instances { + description "Routing instance configuration"; + uses apply-advanced; + list instance { + key name; + uses juniper-routing-instance; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-routing-instance { + description "Routing instance"; + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of routing instance"; + type string { + } + } + leaf vlan-model { + description "Subscriber vlan-model in L2Wholesale framework"; + type enumeration { + enum "one-to-one" { + description "Customer VLAN model (1:1)"; + } + } + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf-list remote-vtep-v6-list { + description "Configurate static ipv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + leaf instance-role { + description "Primary role of L2Backhaul-vpn router"; + type enumeration { + enum "access" { + description "Role of Access/Aggregation router"; + } + enum "nni" { + description "Role of Provider network interfacing router"; + } + } + } + leaf instance-type { + description "Type of routing instance"; + type enumeration { + enum "forwarding" { + description "Forwarding instance"; + } + enum "vrf" { + description "Virtual routing forwarding instance"; + } + enum "no-forwarding" { + description "Nonforwarding instance"; + } + enum "l2vpn" { + description "Layer 2 VPN routing instance"; + } + enum "vpls" { + description "VPLS routing instance"; + } + enum "virtual-switch" { + description "Virtual switch routing instance"; + } + enum "l2backhaul-vpn" { + description "L2Backhaul/L2Wholesale routing instance"; + } + enum "virtual-router" { + description "Virtual routing instance"; + } + enum "layer2-control" { + description "Layer 2 control protocols"; + } + enum "mpls-internet-multicast" { + description "Internet Multicast over MPLS routing instance"; + } + enum "evpn" { + description "EVPN routing instance"; + } + enum "mpls-forwarding" { + description "Routing instance provides a MPLS forwarding-context"; + } + enum "evpn-vpws" { + description "EVPN VPWS routing instance"; + } + } + } + choice vrf-propagate-ttl-or-no-vrf-propagate-ttl { + case case_1 { + leaf no-vrf-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + case case_2 { + leaf vrf-propagate-ttl { + description "Enable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + } + } + container egress-protection { + description "Egress instance protection"; + uses apply-advanced; + leaf protector { + description "Enable Edge Protector functionality for this VPN"; + type empty; + } + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + container system { + description "System parameters"; + uses apply-advanced; + container services { + description "System services"; + uses apply-advanced; + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + } + } + container access { + description "Network access configuration"; + uses apply-advanced; + container address-assignment { + description "Address assignment configuration"; + uses address-assignment-type; + } + container address-protection { + presence "enable address-protection"; + description "Initiate Duplicate Address Protection"; + uses apply-advanced; + } + } + container access-profile { + description "Access profile for this instance"; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + list interface { + key name; + description "Interface name for this routing instance"; + leaf name { + type string; + } + uses apply-advanced; + choice mode { + case case_1 { + leaf any { + description "Interface used for both unicast and multicast traffic"; + type empty; + } + } + case case_2 { + leaf unicast { + description "Interface used for unicast traffic only"; + type empty; + } + } + case case_3 { + leaf multicast { + description "Interface used for multicast traffic only"; + type empty; + } + } + } + leaf primary { + description "Preferred multicast vt interface for the routing-instance"; + type empty; + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this routing-instance"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf multicast-v6-group { + description "Multicast IPv6 group registered for VXLAN segment"; + type jt:ipv6addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf l3-interface { + description "L3 interface name for this routing-instance"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-local-switching { + description "Disable local switching within CE-facing interfaces"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf qualified-bum-pruning-mode { + description "Enable BUM pruning for VPLS instance"; + type empty; + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of irb routing-interface"; + type empty; + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + container l2vpn-id { + description "Layer-2 vpn-id for this instance"; + uses apply-advanced; + leaf community { + description "L2VPN ID community for FEC129 VPLS/VPWS with BGP auto-discovery"; + type string { + } + } + } + container provider-tunnel { + description "Provider tunnel configuration"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + container family { + presence "enable family"; + description "PIM-SSM provider tunnel address family"; + status deprecated; + uses apply-advanced; + container inet { + presence "enable inet"; + description "IPv4 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV4"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address for IPV6"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + } + } + container inter-region { + description "Inter-region segmented tunnels"; + uses apply-advanced; + choice segmented-or-not { + case case_1 { + leaf template { + description "Use inter-region segmentation template"; + type string; + } + } + case case_2 { + leaf no-inter-region-segmentation { + description "Do not participate in inter-region segmentation"; + type empty; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + container selective { + description "Selective tunnels"; + uses apply-advanced; + leaf tunnel-limit { + description "Maximum number of selective tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf leaf-tunnel-limit-inet { + description "Maximum number of selective leaf tunnels for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf leaf-tunnel-limit-inet6 { + description "Maximum number of selective leaf tunnels for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container wildcard-group-inet { + description "IPv4 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + container wildcard-group-inet6 { + description "IPv6 wilcard group matching any group address"; + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by fan-out factor only"; + uses apply-advanced; + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Use Selective-Tunnel for wildcard-source (*,G) joins"; + uses apply-advanced; + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_4 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_2 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_3 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-range { + description "PIM-SSM provider tunnel group range"; + type jt:ipv4prefix; + } + } + } + case case_4 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + } + leaf threshold-rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + container inter-region-segmented { + description "Inter-Region Segmented LSP triggered by threshold rate and/or fan-out"; + uses apply-advanced; + leaf threshold { + description "Data threshold rate to trigger segmentation"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + leaf fan-out { + description "Number of remote Leaf-AD routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + } + } + } + } + container mdt { + description "Data MDT tunnels for PIM MVPN"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container family { + presence "enable family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv4 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + container inet6 { + presence "enable inet6"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress Replication Tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + container pim-asm { + description "PIM-SM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + case case_5 { + container pim-ssm { + description "PIM-SSM provider tunnel"; + uses apply-advanced; + leaf group-address { + description "PIM-SSM provider tunnel group address"; + type jt:ipv4addr; + } + leaf tunnel-source { + description "Source address for the provider space mGRE tunnel"; + type jt:ipv4addr; + } + } + } + } + container mdt { + description "IPv6 Data MDT tunnels for PIM MVPN"; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + leaf auto { + description "Auto derive import and export target community from BGP AS & L2"; + type empty; + } + } + leaf no-vrf-advertise { + description "Don't advertise this instance to remote PEs"; + type empty; + } + leaf connector-id-advertise { + description "Advertise connector-id attribute"; + type empty; + } + container vrf-advertise-selective { + presence "enable vrf-advertise-selective"; + description "Override no-vrf-advertise knob for the specified address family"; + uses apply-advanced; + container family { + description "Protocol family to be selectively advertised"; + uses apply-advanced; + leaf inet-mvpn { + description "IPv4 MVPN Address Family"; + type empty; + } + leaf inet6-mvpn { + description "IPv6 MVPN Address Family"; + type empty; + } + } + } + container vrf-table-label { + presence "enable vrf-table-label"; + description "Advertise a single VPN label for all routes in the VRF"; + leaf static { + description "Specify label value to be used"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf source-class-usage { + description "Enable source class usage"; + type empty; + } + } + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container igmp-snooping-options { + description "IGMP snooping option configuration"; + uses juniper-igmp-snooping-options; + } + container mld-snooping-options { + description "MLD snooping option configuration"; + uses juniper-mld-snooping-options; + } + container protocols { + description "Routing protocol configuration"; + uses apply-advanced; + container bgp { + description "BGP options"; + uses juniper-protocols-bgp; + } + container mpls { + description "MPLS configuration"; + uses juniper-protocols-mpls; + } + container rsvp { + description "RSVP configuration"; + uses juniper-protocols-rsvp; + } + container ospf { + description "OSPF configuration"; + uses juniper-protocols-ospf; + } + container ospf3 { + description "OSPF3 configuration"; + list realm { + key name; + ordered-by user; + description "OSPFv3 realm configuration"; + leaf name { + description "OSPFv3 realm name"; + type enumeration { + enum "ipv6-unicast" { + description "IPv6 unicast realm"; + } + enum "ipv6-multicast" { + description "IPv6 multicast realm"; + } + enum "ipv4-unicast" { + description "IPv4 unicast realm"; + } + enum "ipv4-multicast" { + description "IPv4 multicast realm"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + container rip { + description "RIP options"; + uses juniper-protocols-rip; + } + container ripng { + description "RIPng options"; + uses juniper-protocols-ripng; + } + container isis { + description "IS-IS configuration"; + uses juniper-protocols-isis; + } + container l2vpn { + description "Layer 2 VPN configuration"; + uses juniper-protocols-l2vpn; + } + container vpls { + description "VPLS configuration"; + presence "enable vpls"; + uses juniper-protocols-l2vpn; + } + container evpn { + description "EVPN configuration"; + presence "enable evpn"; + uses juniper-protocols-l2vpn; + } + container pim { + description "PIM configuration"; + uses juniper-protocols-pim; + } + container amt { + description "AMT relay configuration"; + uses juniper-protocols-amt; + } + container ldp { + description "LDP configuration"; + uses juniper-protocols-ldp; + } + container router-discovery { + description "ICMP router discovery options"; + uses juniper-protocols-router-discovery; + } + container msdp { + description "MSDP configuration"; + uses juniper-protocols-msdp; + } + container mvpn { + description "BGP-MVPN configuration"; + presence "enable mvpn"; + uses juniper-protocols-mvpn; + } + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-ri-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-ri-protocols-mld-snooping; + } + container pim-snooping { + description "PIM snooping configuration"; + presence "enable pim-snooping"; + uses juniper-protocols-pim-snooping; + } + container mvrp { + description "MVRP configuration"; + uses juniper-protocols-mvrp; + } + container rstp { + description "RSTP configuration"; + uses juniper-protocols-stp; + } + container mstp { + description "MSTP configuration"; + uses juniper-protocols-mstp; + } + container vstp { + description "VSTP configuration"; + uses juniper-protocols-vstp; + } + } + container bridge-domains { + description "Bridge domain configuration"; + uses apply-advanced; + list domain { + key name; + uses juniper-bridge-domains; + } + } + container switch-options { + description "L2 options for routing-instance of type virtual-switch"; + uses juniper-routing-instance-switch-options; + } + leaf layer3-domain-identifier { + description "Layer3 domain identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 8192"; + } + } + } + leaf l2-domain-id-for-l3 { + description "Layer2 domain identifier for L3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 4095"; + } + } + } + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping address-assignment-type { + description "Address assignment configuration"; + uses apply-advanced; + container neighbor-discovery-router-advertisement { + description "Designated NDRA pool for this instance"; + leaf ndra-name { + description "Designated NDRA pool name"; + type string { + length "1 .. 63"; + } + } + } + leaf high-utilization { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + leaf high-utilization-v6 { + description "Generate an SNMP trap when address pool use surpasses this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "2 .. 99"; + } + } + } + leaf abated-utilization-v6 { + description "Generate an SNMP clear trap when address pool use falls below this percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 98"; + } + } + } + list pool { + key name; + ordered-by user; + description "Address pool"; + leaf name { + description "Address pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf active-drain { + description "Notify client of pool active drain mode"; + type empty; + } + leaf hold-down { + description "Place pool in passive drain mode"; + type empty; + } + leaf link { + description "Address pool link name"; + type string { + length "1 .. 63"; + } + } + container family { + presence "enable family"; + description "Address family"; + choice family_type { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4"; + uses apply-advanced; + leaf network { + description "Network address"; + type jt:ipv4prefix; + } + list range { + key name; + ordered-by user; + description "Address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipv4addr; + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + container xauth-attributes { + description "Configure xauth attributes"; + uses apply-advanced; + leaf primary-dns { + description "Specify the primary-dns IP address"; + type jt:ipv4prefix; + } + leaf secondary-dns { + description "Specify the secondary-dns IP address"; + type jt:ipv4prefix; + } + leaf primary-wins { + description "Specify the primary-wins IP address"; + type jt:ipv4prefix; + } + leaf secondary-wins { + description "Specify the secondary-wins IP address"; + type jt:ipv4prefix; + } + } + list host { + key name; + ordered-by user; + description "Hostname for static reservations"; + leaf name { + description "Hostname"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf hardware-address { + description "Hardware address"; + type jt:mac-addr; + } + leaf ip-address { + description "Reserved address"; + type jt:ipv4addr; + } + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv4addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv4addr; + } + } + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6"; + uses apply-advanced; + leaf prefix { + description "IPv6 network prefix"; + type jt:ipv6prefix-mandatory; + } + list range { + key name; + ordered-by user; + description "IPv6 address range"; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf high { + description "Upper limit of ipv6 address range"; + type jt:ipv6prefix-mandatory; + } + leaf prefix-length { + description "IPv6 delegated prefix length"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + } + container dhcp-attributes { + description "DHCP options and match criteria"; + uses dhcp-attribute-type; + } + list excluded-address { + key name; + ordered-by user; + description "Excluded Addresses"; + max-elements 20; + leaf name { + description "Excluded address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list excluded-range { + key name; + ordered-by user; + description "Excluded address range"; + max-elements 20; + leaf name { + description "Range name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf low { + description "Lower limit of excluded address range"; + type jt:ipv6addr; + } + leaf high { + description "Upper limit of excluded address range"; + type jt:ipv6addr; + } + } + } + } + } + } + } + } + grouping dhcp-attribute-type { + uses apply-advanced; + container option-match { + description "Match"; + uses apply-advanced; + container option-82 { + uses apply-advanced; + list circuit-id { + key name; + ordered-by user; + description "Circuit ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + list remote-id { + key name; + ordered-by user; + description "Remote ID portion of the option 82"; + leaf name { + type string; + } + leaf range { + description "Range name"; + type string; + } + } + } + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf server-identifier { + description "Server Identifier - IP address value"; + type jt:ipv4addr; + } + leaf grace-period { + description "Grace period for leases"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "WINS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf tftp-server { + description "TFTP server IP address advertised to clients"; + type jt:ipv4addr; + } + leaf netbios-node-type { + description "Type of NETBIOS node advertised to clients"; + type enumeration { + enum "b-node" { + description "Broadcast node"; + } + enum "p-node" { + description "Peer-to-peer node"; + } + enum "m-node" { + description "Mixed Node"; + } + enum "h-node" { + description "Hybrid node"; + } + } + } + leaf sip-server-domain-name { + description "SIP server domain name available to clients"; + type string { + } + } + list sip-server-address { + key name; + ordered-by user; + description "SIP Servers list of IPv6 addresses available to the client"; + leaf name { + description "SIP Server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list dns-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv6 address"; + type jt:ipv6addr; + } + uses apply-advanced; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf hex-string { + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_10 { + leaf ipv6-address { + description "IPV6 address value"; + type jt:ipv6addr; + } + } + case case_11 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list hex-string { + ordered-by user; + description "Hexadecimal string"; + type string { + length "1 .. 510"; + } + } + } + case case_8 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_9 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + case case_10 { + leaf-list ipv6-address { + ordered-by user; + description "Array of IPv6 address values"; + type jt:ipv6addr; + } + } + } + } + } + } + } + leaf valid-lifetime { + description "Valid lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf preferred-lifetime { + description "Preferred lifetime advertised to clients"; + units "seconds"; + type string; + } + leaf t1-percentage { + description "T1 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf t2-percentage { + description "T2 time as percentage of preferred lifetime or max lease"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf exclude-prefix-len { + description "Length of IPv6 prefix to be excluded from delegated prefix"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + leaf t1-renewal-time { + description "T1 renewal time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf t2-rebinding-time { + description "T2 rebinding time"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping jdhcp-local-server-type { + uses apply-advanced; + container traceoptions { + description "DHCP local server trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container interface-traceoptions { + description "DHCP local server interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-local-server-type; + } + list pool-match-order { + key name; + ordered-by user; + description "Define order of attribute matching for pool selection"; + leaf name { + description "Match type"; + type enumeration { + enum "external-authority" { + description "External authority handles address selection"; + } + enum "ip-address-first" { + description "IP address used first to select a pool"; + } + enum "option-82" { + description "Option 82 used in matching of pool"; + } + enum "option-82-strict" { + description "Option 82 used in strict matching of pool"; + } + } + } + uses apply-advanced; + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container reconfigure { + description "DHCP reconfigure processing"; + presence "enable reconfigure"; + uses reconfigure-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP local server group"; + uses dhcp-local-server-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-local-server-dual-stack-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and giaddr for passive clients"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCP leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-bulk-leasequery { + description "Allow DHCP bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-local-server-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf on-demand-address-allocation { + description "Allocate addresses on demand"; + type empty; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container reconfigure { + description "DHCP reconfigure processing"; + presence "enable reconfigure"; + uses reconfigure-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcpv6-local-server-type { + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 local server group"; + uses dhcpv6-local-server-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and link-address for passive clients"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container server-duid-type { + description "Define the DUID type to be used as the Server ID. Type supported is DUID-LL"; + uses duid-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCPv6 leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container allow-bulk-leasequery { + description "Allow DHCPv6 bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcpv6-override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + container delay-advertise { + description "Filter options for dhcp-server"; + presence "enable delay-advertise"; + uses dhcpv6-filter-option; + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf multi-address-embedded-option-response { + description "If the client requests multiple addresses place the options in each address"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf top-level-status-code { + description "A top level status code option rather than encapsulated in IA for NoAddrsAvail in Advertise PDUs"; + type empty; + } + leaf always-add-option-dns-server { + description "Add option-23, DNS recursive name server in Advertise and Reply"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv6 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-filter-option { + description "Generic DHCPv6 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between solicit and advertise"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-18 { + presence "enable option-18"; + description "Option 18"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-37 { + presence "enable option-37"; + description "Option 37"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-15 { + presence "enable option-15"; + description "Option 15"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-16 { + presence "enable option-16"; + description "Option 16"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping dhcpv6-reconfigure-type { + description "DHCPv6 reconfigure processing"; + uses apply-advanced; + leaf strict { + description "Only allow packets containing Reconfigure Accept Option"; + type empty; + } + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping duid-type { + uses apply-advanced; + leaf duid_ll { + description "Link Layer Address based DUID "; + type empty; + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-interface-traceoptions-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-traceoptions-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jsscd-static-subscribers-type { + uses apply-advanced; + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list group { + key name; + ordered-by user; + description "Static Subscriber Client group configuration"; + uses jsscd-group-type; + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + leaf baseline-stats { + description "Baseline the statistics for static subscribers"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container subscriber-ip-address { + description "Assigned IP address to report externally"; + uses apply-advanced; + leaf address { + description "IPv4 address"; + type jt:ipv4addr; + } + } + container subscriber-ipv6-address { + description "Assigned IPv6 address to report externally"; + uses apply-advanced; + leaf address { + description "IPv6 Address or Prefix"; + type jt:ipv6prefix; + } + } + } + } + grouping jsscd-access-profile-type { + description "Access profile for static subscribers"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + grouping jsscd-authentication-type { + description "Static Subscriber Client authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type jt:unreadable; + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf interface { + description "Include interface name"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + } + } + grouping jsscd-dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile-name { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + grouping jsscd-group-type { + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf upto { + description "Interface up to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + } + grouping jsscd-service-profile-type { + description "Service profile for static subscribers"; + uses apply-advanced; + leaf service-profile-name { + description "Service profile name"; + type string { + length "1 .. 80"; + } + } + } + grouping juniper-bridge-domains { + description "Bridge domains"; + leaf name { + description "Bridge domain name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of bridge domain"; + type string { + } + } + leaf domain-type { + description "Type of bridge domain"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + choice vlan_choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for bridging domain"; + type string; + } + } + case case_2 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for bridging domain"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + case case_3 { + leaf-list vlan-id-list { + description "Create bridge-domain for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + } + leaf-list isid-list { + ordered-by user; + description "Create bridge-domain for isid (Valid isid:256..16777214)"; + type string; + } + leaf vlan-id-scope-local { + description "Enable the scope of vlan-id local to avoid transmitting vlan tagged packets"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface name for this bridge domain"; + leaf name { + type string; + } + uses apply-advanced; + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf routing-interface { + description "Routing interface name for this bridge-domain"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-bridge-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container bridge-options { + description "Bridge domain configuration"; + uses juniper-protocols-bd; + } + container protocols { + presence "enable protocols"; + uses apply-advanced; + container igmp-snooping { + description "IGMP snooping configuration"; + presence "enable igmp-snooping"; + uses juniper-bd-protocols-igmp-snooping; + } + container mld-snooping { + description "MLD snooping configuration"; + presence "enable mld-snooping"; + uses juniper-bd-protocols-mld-snooping; + } + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + leaf isolated-vlan { + description "Isolated VLAN ID for private vlan bridge domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + leaf-list community-vlans { + description "List of Community VLANs for private vlan bridge domain"; + type jt:vlan-range; + } + } + grouping juniper-bd-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bd-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-bridge-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for bridge forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for bridge flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for bridge flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "Dynamic ARP Inspection configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + container traceoptions { + description "DHCP relay trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container interface-traceoptions { + description "DHCP relay interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-forwarding-options { + uses apply-advanced; + list storm-control-profiles { + key name; + description "Storm control profile for this instance"; + leaf name { + description "Storm control profile name"; + type string { + length "1 .. 127"; + } + } + uses apply-advanced; + container all { + presence "enable all"; + description "For all BUM traffic"; + uses apply-advanced; + choice bandwidth { + case case_1 { + leaf bandwidth-percentage { + description "Percentage of link bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf bandwidth-level { + description "Link bandwidth"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + leaf burst-size { + description "Burst size"; + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1500 .. 100000000"; + } + } + } + leaf no-broadcast { + description "Disable broadcast storm control"; + type empty; + } + leaf no-unknown-unicast { + description "Disable unknown unicast storm control"; + type empty; + } + choice no-multicast-choices { + case case_1 { + leaf no-multicast { + description "Disable multicast storm control"; + type empty; + } + } + case case_2 { + leaf no-registered-multicast { + description "Disable registered multicast storm control"; + type empty; + } + } + case case_3 { + leaf no-unregistered-multicast { + description "Disable unregistered multicast storm control"; + type empty; + } + } + } + } + leaf action-shutdown { + description "Disable port for excessive storm control errors"; + type empty; + } + } + choice sampling-or-packet-capture { + case case_1 { + container sampling { + description "Statistical traffic sampling options"; + uses juniper-sampling-options; + } + } + case case_2 { + } + } + list accounting { + key name; + description "Configure accounting of traffic"; + uses juniper-packet-accounting-options; + } + list analyzer { + key name; + description "Analyzer options"; + uses smpl-analyzer-type; + } + container port-mirroring { + description "Configure port mirroring of traffic"; + uses juniper-port-mirror-options; + } + container load-balance { + description "Configure load-balancing attributes on the forwarding path"; + uses apply-advanced; + container indexed-load-balance { + presence "enable indexed-load-balance"; + description "Use indexed permuted next hop lists for unilist and aggregate next hops"; + uses apply-advanced; + } + container per-flow { + uses apply-advanced; + } + container per-prefix { + presence "enable per-prefix"; + uses apply-advanced; + leaf hash-seed { + description "Specifies per-router input value for per-prefix load-balancing hash function"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65534"; + } + } + } + } + } + container hash-key { + description "Select data used in the hash key"; + uses junos_hash_key; + } + container local-bias { + presence "enable local-bias"; + description "Turn on local bias functionality"; + uses apply-advanced; + leaf disable { + description "Disable local-bias"; + type empty; + } + } + container enhanced-hash-key { + description "Select data used in the hash key for Enhanced IP Forwarding Engines"; + uses apply-advanced; + leaf ecmp-resilient-hash { + description "Set resilient hashing for ECMP"; + type empty; + } + container fabric-load-balance { + presence "enable fabric-load-balance"; + description "Set load balancing options for VC-Fabric forwarding"; + status deprecated; + uses apply-advanced; + choice mode { + case case_1 { + container flowlet { + presence "enable flowlet"; + description "Inactivity-based flowlet link assignment (default)"; + status deprecated; + uses apply-advanced; + leaf inactivity-interval { + description "Minimum inactivity interval for flowlet detection"; + status deprecated; + type enumeration { + enum "16us" { + description "16 microseconds (default)"; + status deprecated; + } + enum "64us" { + description "64 microseconds"; + status deprecated; + } + enum "512us" { + description "512 microseconds"; + status deprecated; + } + enum "32ms" { + description "32 milliseconds"; + status deprecated; + } + } + } + } + } + case case_2 { + leaf per-packet { + description "Per-packet optimal spraying"; + status deprecated; + type empty; + } + } + } + } + container hash-mode { + description "Hashing mode"; + uses apply-advanced; + choice instance { + case case_1 { + leaf layer2-header { + description "Only layer2 header fields are considered for hashing"; + type empty; + } + } + case case_2 { + leaf layer2-payload { + description "Only layer2 payload fields are considered for hashing"; + type empty; + } + } + case case_3 { + leaf gtp-header-offset { + description "Gtp header first byte offset"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container hash-seed { + presence "enable hash-seed"; + description "Hash seed"; + uses apply-advanced; + leaf seed-value { + description "Hash seed value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container resilient-hash-seed { + presence "enable resilient-hash-seed"; + description "Resilient hash seed"; + uses apply-advanced; + leaf resilient-seed-value { + description "Hash seed value for resilient ECMP and LAG"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container layer2 { + description "Configure layer2 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-source-mac-address { + description "Exclude source MAC address from the hash key"; + type empty; + } + leaf source-mac-address { + description "Include source MAC address from the hash key"; + type empty; + } + leaf no-destination-mac-address { + description "Exclude destination MAC address from the hash key"; + type empty; + } + leaf destination-mac-address { + description "Include destination MAC address from the hash key"; + type empty; + } + leaf no-ether-type { + description "Exclude ether type from the hash key"; + type empty; + } + leaf vlan-id { + description "Include incoming vlan-id in hash key"; + type empty; + } + leaf no-vlan-id { + description "Not include vlan-id in hash key"; + type empty; + } + leaf inner-vlan-id { + description "Include incoming inner-vlan-id in hash key"; + type empty; + } + } + container inet { + description "Configure inet4 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-l4-source-port { + description "Exclude l4 source port from the hash key"; + type empty; + } + leaf no-l4-destination-port { + description "Exclude l4 dest port from the hash key"; + type empty; + } + leaf no-protocol { + description "Exclude protocol from the hash key"; + type empty; + } + leaf no-ipv4-source-address { + description "Exclude IPv4 source address"; + type empty; + } + leaf no-ipv4-destination-address { + description "Exclude IPv4 destination address"; + type empty; + } + leaf vlan-id { + description "Include incoming vlan-id in hash key"; + type empty; + } + } + container inet6 { + description "Configure inet6 fields"; + uses apply-advanced; + leaf no-incoming-port { + description "Exclude incoming port from the hash key"; + type empty; + } + leaf no-incoming-device { + description "Exclude incoming device from the hash key"; + type empty; + } + leaf no-l4-source-port { + description "Exclude l4 source port from the hash key"; + type empty; + } + leaf no-l4-destination-port { + description "Exclude l4 dest port from the hash key"; + type empty; + } + leaf ipv6-flow-label { + description "Include IPv6 flow label"; + type empty; + } + leaf no-next-header { + description "Exclude next header from the hash key"; + type empty; + } + leaf no-ipv6-source-address { + description "Exclude IPv6 source address"; + type empty; + } + leaf no-ipv6-destination-address { + description "Exclude IPv6 destination address"; + type empty; + } + leaf vlan-id { + description "Include vlan-id in hash key"; + type empty; + } + } + leaf no-mpls { + description "Disable mpls in hash key"; + type empty; + } + container gre { + description "Configure for GRE "; + uses apply-advanced; + leaf key { + description "Include key in hash key"; + type empty; + } + leaf protocol { + description "Include protocol in hash key"; + type empty; + } + } + leaf vxlan-vnid { + description "Enable vxlan-vnid"; + type empty; + } + container services-loadbalancing { + description "Select key to load balance across service PICs"; + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3-services { + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf src-prefix-len { + description "Enhanced hash key inet6 source prefix length"; + default "127"; + units "bits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "56 .. 127"; + } + } + } + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf type-of-service { + description "Include TOS byte in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + leaf l2tp-tunnel-session-identifier { + description "Include TID SID in the hash key for L2TP packets"; + type empty; + } + leaf session-id { + description "Include session ID in the enhanced hash key"; + type empty; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class byte in the hash key"; + type empty; + } + leaf no-destination-port { + description "Omit IP destination port in the hash key"; + type empty; + } + leaf no-source-port { + description "Omit IP source port in the hash key"; + type empty; + } + leaf gtp-tunnel-endpoint-identifier { + description "Include TEID in the hash key for GTP-U packets"; + type empty; + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + leaf label-1-exp { + description "Include EXP of first MPLS label from the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + choice pseudowire_option { + case case_1 { + leaf no-ether-pseudowire { + description "Omit IP payload over ethernet PW from the hash-key"; + type empty; + } + } + case case_2 { + } + } + leaf no-payload { + description "Omit MPLS payload data from the hash key"; + type empty; + } + } + container multiservice { + description "Multiservice protocol (bridged/CCC/VPLS) family"; + uses apply-advanced; + leaf incoming-interface-index { + description "Include incoming interface index in hash key"; + type empty; + } + leaf outer-priority { + description "Include Outer 802.1 Priority bits in the hash key"; + type empty; + } + leaf no-payload { + description "Omit payload data from the hash key"; + type empty; + } + leaf no-mac-addresses { + description "Omit source and destination MAC addresses from the hash key"; + type empty; + } + } + } + } + container next-hop { + description "Next hop throttle"; + uses apply-advanced; + } + container multicast { + description "Multicast resolve and mismatch rate"; + uses apply-advanced; + leaf resolve-rate { + description "Multicast resolve rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 1000"; + } + } + } + leaf mismatch-rate { + description "Multicast interface mismatch rate"; + units "per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + } + container rpf-loose-mode-discard { + description "Configure rpf loose mode behavior"; + uses apply-advanced; + container family { + description "Protocol family"; + uses apply-advanced; + leaf inet { + description "Configure rpf loose mode behavior for IPv4"; + type empty; + } + leaf inet6 { + description "Configure rpf loose mode behavior for IPv6"; + type empty; + } + } + } + container explicit-null-cos { + presence "enable explicit-null-cos"; + description "Configure to use MPLS explicit null exp for COS classification"; + uses apply-advanced; + leaf inet { + description "Include family inet"; + type empty; + } + leaf inet6 { + description "Include family inet6"; + type empty; + } + } + container helpers { + description "Port forwarding configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of UDP forwarding helper process on which to enable debugging output"; + leaf name { + type enumeration { + enum "trace" { + description "Trace tracing code"; + } + enum "address" { + description "Trace address management code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "util" { + description "Trace miscellaneous utility code"; + } + enum "gencfg" { + description "Trace fud gencfg message"; + } + enum "domain" { + description "Trace DNS service-specific code"; + } + enum "tftp" { + description "Trace TFTP service-specific code"; + } + enum "bootp" { + description "Trace BOOTP/DHCP service-specific code"; + } + enum "port" { + description "Trace arbitrary protocol code"; + } + enum "if-rtsdb" { + description "Trace interface hierarchy rtsdb"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + container rtsdb-client-traceoptions { + presence "enable rtsdb-client-traceoptions"; + description "SHM rtsock database client library trace options"; + status deprecated; + uses apply-advanced; + container if-rtsdb { + presence "enable if-rtsdb"; + description "Trace interface hierarchy rtsdb"; + uses apply-advanced; + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "map" { + description "Trace shared memory mapping"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container domain { + description "Incoming DNS request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming DNS request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container tftp { + description "Incoming TFTP request forwarding configuration"; + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming TFTP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + container server { + description "Server information"; + leaf address { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + container bootp { + description "Incoming BOOTP/DHCP request forwarding configuration"; + uses apply-advanced; + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + type empty; + } + container dhcp-option82 { + description "Configure DHCP option 82"; + presence "enable dhcp-option82"; + uses dhcp-option82-type; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on all interfaces"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Incoming BOOTP/DHCP request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of servers"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of servers to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + list logical-system { + key name; + ordered-by user; + description "Logical system of server to which to forward"; + leaf name { + description "Name of logical system"; + type string { + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf-list routing-instance { + ordered-by user; + description "Routing instance of server to which to forward"; + type string; + } + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + default "4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + container dhcp-option82 { + description "Configure DHCP option 82"; + presence "enable dhcp-option82"; + uses dhcp-option82-type; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip on this interface"; + type empty; + } + } + } + list port { + key name; + ordered-by user; + description "Incoming arbitrary protocol request forwarding configuration"; + leaf name { + description "Port number of the protocol to listen"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Incoming request forwarding interface configuration"; + leaf name { + description "Name of interface or group of interfaces"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf no-listen { + description "Do not listen on this interface"; + type empty; + } + leaf broadcast { + description "If the layer 2 interface is unknown then broadcast"; + type empty; + } + leaf description { + description "Text description of server"; + type string; + } + list server { + key name; + ordered-by user; + description "Server information"; + leaf name { + description "Name or address of server to which to forward"; + type jt:ipv4addr; + } + uses apply-advanced; + choice instance { + case case_1 { + container logical-system { + description "Logical system of server to which to forward"; + leaf logical-system-name { + description "Name of logical system"; + type string { + } + } + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + case case_2 { + leaf routing-instance { + description "Routing instance of server to which to forward"; + type union { + type string { + pattern "default"; + } + type string { + } + } + } + } + } + } + } + } + leaf relay-agent-option { + description "Use DHCP Relay Agent option in relayed BOOTP/DHCP messages"; + status deprecated; + type empty; + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container inet6 { + description "IPv6 parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + leaf route-accounting { + description "Enable IPv6 route accounting"; + type empty; + } + leaf source-checking { + description "Discard IPv6 packet when source address type is unspecified, loopback, multicast or link-local "; + type empty; + } + } + container mpls { + description "MPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + } + container vpls { + description "VPLS parameters"; + uses apply-advanced; + container filter { + description "Filtering for VPLS DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for VPLS flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for VPLS flood packets"; + type string; + } + } + } + container evpn { + description "EVPN parameters"; + uses apply-advanced; + container filter { + description "Filtering for EVPN DMAC forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for EVPN flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for EVPN flood packets"; + type string; + } + } + } + } + list next-hop-group { + key name; + description "Next hop group forwarding option"; + uses juniper-next-hop-group-options; + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + uses jdhcp-relay-type; + } + choice load-balance-label-capability-choice { + leaf load-balance-label-capability { + description "Load balance label capability"; + type empty; + } + leaf no-load-balance-label-capability { + description "Don't load balance label capability"; + type empty; + } + } + list ip-options-protocol-queue { + key name; + ordered-by user; + description "IP Options protocol logical queue parameters"; + leaf name { + description "Protocol name"; + type string; + } + uses apply-advanced; + leaf protocol-id { + description "Protocol Identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 254"; + } + } + } + leaf queue-depth { + description "Size of the protocol logical options queue"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 807"; + } + } + } + } + leaf cut-through { + description "Enable cut-through forwarding"; + type empty; + } + leaf vrf-fallback { + description "Enable vrf-fallback forwarding. This will restart PFE"; + type empty; + } + leaf no-hierarchical-ecmp { + description "Disable hierarchical ecmp. This will restart PFE"; + type empty; + } + leaf ipmc-miss-do-l2mc { + description "Do L2MC forwarding when IPMC miss"; + type empty; + } + leaf ecmp-do-local-lookup { + description "Do ECMP local lookup only"; + type empty; + } + container access-security { + description "Access security configuration"; + uses jdhcp-access-security-type; + } + list forwarding-sandbox { + key name; + description "Create forwarding sandbox"; + max-elements 8; + uses juniper-forwarding-sandbox-options; + } + container vxlan-routing { + description "VXLAN Routing forwarding options"; + uses apply-advanced; + leaf next-hop { + description "Next-hop. Must be multiple of 4096. This will restart PFE"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 45056"; + } + } + } + leaf interface-num { + description "Interface. Must be multiple of 2048. This will restart PFE"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10240"; + } + } + } + leaf overlay-ecmp { + description "Enable overlay ecmp for vxlan L3. This will restart PFE"; + type empty; + } + } + container satellite { + description "Satellite forwarding options"; + uses apply-advanced; + container traceoptions { + description "Global tracing options for satellite control plane"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace everything"; + } + enum "bd" { + description "Trace BD events"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "interface" { + description "Trace interface events"; + } + enum "interface-vlan" { + description "Trace IFBD events"; + } + enum "ipc" { + description "Trace internal IPC messages"; + } + enum "kernel" { + description "Trace Kernel messages"; + } + enum "krt" { + description "Trace communication over routing socket"; + } + enum "mac" { + description "Trace MAC events "; + } + enum "nh" { + description "Trace NH events"; + } + enum "normal" { + description "Trace normal events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "stp" { + description "Trace STP events"; + } + enum "task" { + description "Trace task processing"; + } + enum "timer" { + description "Trace task timer processing"; + } + enum "firewall" { + description "Trace firewall processing"; + } + enum "l3" { + description "Trace Layer-3 processing"; + } + enum "fip-snooping" { + description "Trace FIP-Snooping processing"; + } + } + } + } + } + leaf local-replication { + description "Enable satellite multicast replication"; + type empty; + } + list fpc { + key name; + leaf name { + description "Satellite slot identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "65 .. 254"; + } + } + } + uses apply-advanced; + choice local-switching-mode-choice { + case case_1 { + container local-switching { + presence "enable local-switching"; + description "Enable local-switching on Satellite device"; + uses apply-advanced; + leaf l3 { + description "Enable L3 local switching on the Satellite device"; + type empty; + } + } + } + case case_2 { + container selective-vlan-switching { + description "Enable selective-vlan-switching on Satellite device"; + uses apply-advanced; + leaf routing-instance { + description "Associated Routing instance name"; + type string { + } + } + } + } + } + } + container vlan-auto-sense { + description "Vlan-auto-sense attributes provisioning"; + uses apply-advanced; + leaf expiry-time { + description "Expiry time (in seconds) after last MAC aged out"; + default "600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + } + container analyzer-vlan { + description "Output VLAN for Analyzer"; + uses apply-advanced; + leaf vlan-name { + description "Name of the analyzer VLAN"; + type string; + } + } + } + } + grouping dhcp-option82-type { + uses apply-advanced; + leaf disable { + description "Disable DHCP option 82 on this VLAN"; + type empty; + } + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + leaf prefix { + description "Configure DHCP option 82 circuit id prefix"; + type enumeration { + enum "hostname" { + description "Set hostname as the prefix"; + } + } + } + leaf use-interface-description { + description "Use interface description instead of name"; + type empty; + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf prefix { + description "Configure DHCP option 82 remote id prefix"; + type enumeration { + enum "none" { + description "Set no prefix"; + } + enum "hostname" { + description "Set hostname as the prefix"; + } + enum "mac" { + description "Set chassis MAC as the prefix"; + } + } + } + leaf use-interface-description { + description "Use interface description instead of name"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + type string; + } + } + } + grouping jdhcp-access-security-type { + description "Access security configuration"; + uses apply-advanced; + container router-advertisement-guard { + presence "enable router-advertisement-guard"; + description "Router Advertisement Guard Configuration"; + uses apply-advanced; + list policy { + key name; + ordered-by user; + description "Router Advertisement Guard policy"; + leaf name { + description "Router Advertisement Guard policy name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container discard { + description "Discard parameters"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + } + container accept { + description "Accept parameters"; + uses apply-advanced; + container match-list { + description "List of parameters to check"; + uses apply-advanced; + leaf source-ip-address-list { + description "IPv6 Source address list name"; + type string; + } + leaf source-mac-address-list { + description "Source mac address list name"; + type string; + } + leaf prefix-list-name { + description "Prefix-list Name"; + type string; + } + leaf match-criteria { + description "Match Criteria"; + type enumeration { + enum "match-all" { + description "A match from every list"; + } + enum "match-any" { + description "A match from any list"; + } + } + } + } + container match-options { + presence "enable match-options"; + description "List of Options to check"; + uses apply-advanced; + container hop-limit { + description "Hop limit"; + uses apply-advanced; + leaf maximum { + description "Maximum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf minimum { + description "Minimum hop limit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + container route-preference { + description "Accept route preference"; + uses apply-advanced; + leaf maximum { + description "Maximum route preference"; + type enumeration { + enum "low" { + description "Route preference low"; + } + enum "medium" { + description "Route preference medium"; + } + enum "high" { + description "Route preference high"; + } + } + } + } + leaf managed-config-flag { + description "Check Managed config flag"; + type empty; + } + leaf other-config-flag { + description "Check Other config flag"; + type empty; + } + } + } + } + container interface { + description "RA Guard config on Interface"; + uses apply-advanced; + list intf-config { + key name; + description "Interface Configuration"; + uses interface-policy; + } + } + container vlans { + description "RA Guard config on Vlan"; + uses apply-advanced; + list vlan-config { + key name; + description "Virtual LAN Configuration"; + uses vlan-policy; + } + } + } + } + grouping interface-policy { + description "Interface Name"; + leaf name { + description "Interface Name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + container mark-interface { + description "Mark interface"; + uses apply-advanced; + choice mark-intf-type { + case case_1 { + leaf trusted { + description "Mark interface trusted"; + type empty; + } + } + case case_2 { + leaf block { + description "Block router-advertisement"; + type empty; + } + } + } + } + } + grouping juniper-forwarding-sandbox-options { + leaf name { + description "Sandbox name"; + type string; + } + uses apply-advanced; + leaf size { + description "Size of the sandbox"; + default "small"; + type enumeration { + enum "small" { + description "Sandbox size small"; + } + enum "medium" { + description "Sandbox size medium"; + } + enum "large" { + description "Sandbox size large"; + } + } + } + list port { + key name; + description "Sandbox port"; + max-elements 64; + uses juniper-forwarding-sandbox-port-options; + } + } + grouping juniper-forwarding-sandbox-port-options { + leaf name { + description "Port name"; + type string; + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Interface to which the port is mapped"; + max-elements 1; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping juniper-igmp-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-mld-snooping-options { + uses apply-advanced; + leaf use-p2mp-lsp { + description "P2MP will be used to forward traffic instead of PW"; + type empty; + } + container snoop-pseudowires { + presence "enable snoop-pseudowires"; + description "VPLS PE would send traffic selectively to PE's having interest"; + uses apply-advanced; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-next-hop-group-options { + leaf name { + description "Next hop group name"; + type string; + } + uses apply-advanced; + leaf group-type { + description "Next hop group type"; + default "inet"; + type enumeration { + enum "inet" { + description "Group of family inet next-hops"; + } + enum "layer-2" { + description "Layer-2 next-hop group"; + } + enum "inet6" { + description "Group of family inet6 next-hops"; + } + } + } + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses next_hop_group_intf_type; + } + list next-hop-subgroup { + key name; + description "Group of interfaces through which to send sampled traffic"; + uses juniper-next-hop-subgroup-options; + } + } + grouping juniper-next-hop-subgroup-options { + leaf name { + description "Next-hop sub-group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "Interface through which to send the sampled traffic"; + max-elements 16; + uses next_hop_subgroup_intf_type; + } + } + grouping juniper-ospf-authentication { + description "Authentication information"; + uses apply-advanced; + choice authentication-type { + case case_1 { + leaf simple-password { + description "Authentication key"; + type jt:unreadable; + } + } + case case_2 { + list md5 { + key name; + ordered-by user; + description "MD5 authentication key"; + leaf name { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf key { + description "MD5 authentication key value"; + type jt:unreadable; + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + } + } + } + } + grouping juniper-packet-accounting-options { + leaf name { + description "Name for accounting group"; + type string; + } + uses apply-advanced; + container output { + description "Accounting data disposition"; + uses packet_accounting_output_type; + } + } + grouping juniper-port-mirror-options { + uses apply-advanced; + container traceoptions { + description "Port-mirroring trace options"; + uses sampling_traceoptions_type; + } + leaf disable { + description "Disable the global port-mirroring instance"; + type empty; + } + leaf disable-all-instances { + description "Disable the all port-mirroring instances"; + type empty; + } + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container inet6 { + description "Mirror IPv6 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet6_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ethernet-switching { + description "Mirror Layer-2 ethernet-switched packets"; + uses apply-advanced; + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of port-mirroring parameters"; + leaf name { + description "Name for port-mirroring instance"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf disable { + description "Disable the this port-mirroring instance"; + type empty; + } + choice input_params_or_instance { + case case_1 { + container input { + description "Settings for sampling of input packets"; + uses pm_family_input_type; + } + } + case case_2 { + leaf input-parameters-instance { + description "Name of port-mirroring instance to use for input parameters"; + type string; + } + } + } + container family { + description "Address family of packets to mirror"; + container inet { + description "Mirror IPv4 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet_pm_family_output_type; + } + } + container inet6 { + description "Mirror IPv6 packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses inet6_pm_family_output_type; + } + } + container mpls { + description "Mirror MPLS packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "One or more next hops for port-mirrored packets"; + uses mpls_pm_family_output_type; + } + } + container vpls { + description "Mirror Layer-2 bridged/vpls packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ethernet-switching { + description "Mirror Layer-2 ethernet-switched packets"; + uses apply-advanced; + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + container ccc { + description "Mirror layer-2 ccc packets"; + uses apply-advanced; + container input { + description "Settings for sampling of input packets"; + status deprecated; + uses pm_family_input_type; + } + container output { + description "Destination for port-mirrored packets"; + uses layer2_pm_family_output_type; + } + } + } + } + } + grouping inet6_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet6_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping inet6_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet6_next_hop_type; + } + } + grouping inet6_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv6addr; + } + uses apply-advanced; + } + grouping inet_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + list interface { + key name; + description "Interfaces through which to send sampled traffic"; + uses inet_pm_intf_type; + } + } + case case_2 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses inet_pm_output-routing-instance-type; + } + } + grouping inet_pm_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses inet_next_hop_type; + } + } + grouping inet_next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipv4addr; + } + uses apply-advanced; + } + grouping inet_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + grouping juniper-protocols-amt { + uses apply-advanced; + container traceoptions { + description "Trace options for AMT"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all AMT packets"; + } + enum "errors" { + description "Trace all error messages"; + } + enum "tunnels" { + description "Trace all AMT tunnel messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container relay { + description "AMT relay"; + presence "enable relay"; + uses juniper-protocols-amt-relay; + } + } + grouping juniper-protocols-amt-relay { + uses apply-advanced; + container family { + presence "enable family"; + description "Protocol family"; + uses apply-advanced; + container inet { + presence "enable inet"; + uses apply-advanced; + leaf anycast-prefix { + description "IPv4 anycast prefix"; + type jt:ipv4prefix; + } + leaf local-address { + description "IPv4 local address"; + type jt:ipv4addr; + } + } + } + leaf secret-key-timeout { + description "Time interval for the secret key to expire"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 1440"; + } + } + } + leaf tunnel-limit { + description "Number of AMT tunnels"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf unicast-stream-limit { + description "Maximum number of AMT unicast streams(s,g,intf)"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf accounting { + description "Enable AMT accounting"; + type empty; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating ud interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping juniper-protocols-bd { + description "Bridging configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container traceoptions { + description "Trace options for this bridge domain"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-protocols-bgp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable BGP"; + type empty; + } + } + } + choice precision-timers-choice { + leaf precision-timers { + description "Use precision timers for scheduling keepalives"; + type empty; + } + leaf no-precision-timers { + description "Don't use precision timers for scheduling keepalives"; + type empty; + } + } + container path-selection { + description "Configure path selection strategy"; + uses apply-advanced; + leaf cisco-non-deterministic { + description "Use Cisco IOS nondeterministic path selection algorithm"; + type empty; + } + leaf always-compare-med { + description "Always compare MED values, regardless of neighbor AS"; + type empty; + } + container med-plus-igp { + presence "enable med-plus-igp"; + description "Add IGP cost to next-hop to MED before comparing MED values"; + uses apply-advanced; + leaf med-multiplier { + description "Multiplier for MED"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + leaf igp-multiplier { + description "Multiplier for IGP cost to next-hop"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1000"; + } + } + } + } + leaf external-router-id { + description "Compare router ID on BGP externals"; + type empty; + } + leaf as-path-ignore { + description "Ignore AS path comparison during path selection"; + type empty; + } + leaf l2vpn-use-bgp-rules { + description "Use standard BGP rules during L2VPN path selection"; + type empty; + } + } + container snmp-options { + description "Customize SNMP behaviors specifically for BGP MIBs"; + uses apply-advanced; + leaf backward-traps-only-from-established { + description "Limit traps for backward transitions to only those moving from Established state."; + type empty; + } + leaf emit-inet-address-length-in-oid { + description "Emit Length in OID for InetAddress MIB type."; + type empty; + } + } + leaf advertise-from-main-vpn-tables { + description "Advertise VPN routes from bgp.Xvpn.0 tables in master instance"; + type empty; + } + leaf stale-labels-holddown-period { + description "Duration (sec) MPLS labels allocated by BGP are kept after they go stale"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf holddown-all-stale-labels { + description "Hold all BGP stale-labels, facilating make-before-break for new label advertisements"; + type empty; + } + container egress-te-backup-paths { + description "Backup-path for Egress-TE peer interface failure"; + uses apply-advanced; + list template { + key name; + description "Backup-path template"; + leaf name { + description "Name of Egress-TE backup path"; + type string { + } + } + uses apply-advanced; + list peer { + key name; + ordered-by user; + description "Egress peer TE backup exit path"; + leaf name { + description "Address of BGP peer to use as backup next-hop"; + type jt:ipaddr; + } + uses apply-advanced; + } + container remote-nexthop { + description "Resolve and use tunnel to this next-hop as backup path"; + uses apply-advanced; + leaf remote-nh-addr { + description "Address of remote-nexthop to use as backup path"; + type jt:ipaddr; + } + } + container ip-forward { + presence "enable ip-forward"; + description "Use IP-forward backup path for Egress TE"; + uses apply-advanced; + leaf rti-name { + description "Routing-instance to use as IP forward backup-path"; + type string { + } + } + } + } + } + leaf sr-preference-override { + description "Replace received segment routing traffic engineering preference value with override value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + container output-queue-priority { + description "BGP output queue priority scheduler for updates"; + uses apply-advanced; + container expedited { + presence "enable expedited"; + description "Expedited queue; highest priority"; + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + list priority { + key name; + description "Output queue priority 1..16; higher is better"; + leaf name { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf update-tokens { + description "Number of tokens"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container defaults { + description "Map policy's priority class and BGP output-queue"; + uses apply-advanced; + container low { + description "Assign the 'low' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container medium { + description "Assign the 'medium' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + container high { + description "Assign the 'high' priority class to this output-queue"; + uses bgp-output-queue-priority-class; + } + } + } + list group { + key name; + ordered-by user; + description "Define a peer group"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf type { + description "Type of peer group"; + type enumeration { + enum "internal" { + description "IBGP group"; + } + enum "external" { + description "EBGP group"; + } + } + } + leaf protocol { + description "IGP to use to resolve the next hop"; + status deprecated; + type enumeration { + enum "rip" { + description "Use RIP to resolve the BGP next hop"; + status deprecated; + } + enum "ospf" { + description "Use OSPF to resolve the BGP next hop"; + status deprecated; + } + enum "isis" { + description "Use IS-IS to resolve the BGP next hop"; + status deprecated; + } + } + } + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + leaf-list allow { + ordered-by user; + description "Configure peer connections for specific networks"; + type jt:ipprefix; + } + container optimal-route-reflection { + description "Enable optimal route reflection for this client group"; + uses apply-advanced; + leaf igp-primary { + description "Primary node identifier for this client group"; + type jt:ipv4addr; + } + leaf igp-backup { + description "Backup node identifier for this client group"; + type jt:ipv4addr; + } + } + leaf mvpn-iana-rt-import { + description "Use IANA assigned rt-import type value for MVPN"; + status deprecated; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Configure a neighbor"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for BGP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "damping" { + description "Trace BGP damping information"; + } + enum "packets" { + description "Trace all BGP protocol packets"; + } + enum "open" { + description "Trace BGP open packets"; + } + enum "update" { + description "Trace BGP update packets"; + } + enum "keepalive" { + description "Trace BGP keepalive packets"; + } + enum "refresh" { + description "Trace BGP refresh packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bfd" { + description "Trace BFD events"; + } + enum "4byte-as" { + description "Trace 4 byte AS events"; + } + enum "add-path" { + description "Trace add-path events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "egress-te" { + description "Egress Peering Traffic-Engineering events"; + } + enum "thread-io" { + description "Trace threaded I/O processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses bgp_filter_obj; + } + } + } + leaf description { + description "Text description"; + type string { + length "1 .. 255"; + } + } + container metric-out { + description "Route metric sent in MED"; + choice metric_param { + case case_1 { + leaf metric-value { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + container minimum-igp { + presence "enable minimum-igp"; + description "Track the minimum IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_3 { + container igp { + presence "enable igp"; + description "Track the IGP metric"; + leaf metric-offset { + description "Metric offset for MED"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delay-med-update { + description "Delay updating MED when IGP metric increases"; + type empty; + } + } + } + } + } + container multihop { + presence "enable multihop"; + description "Configure an EBGP multihop session"; + uses apply-advanced; + leaf ttl { + description "TTL value for the session"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + leaf no-nexthop-change { + description "Do not change next hop to self in advertisements"; + type empty; + } + } + leaf route-server-client { + description "Enable route server client behavior"; + type empty; + } + leaf accept-remote-nexthop { + description "Allow import policy to specify a non-directly connected next-hop"; + type empty; + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-preference { + description "Value of LOCAL_PREF path attribute"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf local-address { + description "Address of local end of BGP session"; + type jt:ipaddr; + } + leaf local-interface { + description "Local interface for IPv6 link local EBGP peering"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf forwarding-context { + description "Routing-instance used for data-forwarding and transport-session"; + type string { + } + } + leaf hold-time { + description "Hold time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf passive { + description "Do not send open messages to a peer"; + type empty; + } + leaf advertise-inactive { + description "Advertise inactive routes"; + type empty; + } + choice advertise-peer-as-choice { + leaf advertise-peer-as { + description "Advertise routes received from the same autonomous system"; + type empty; + } + leaf no-advertise-peer-as { + description "Don't advertise routes received from the same autonomous system"; + type empty; + } + } + container advertise-external { + presence "enable advertise-external"; + description "Advertise best external routes"; + leaf conditional { + description "Route matches active route upto med-comparison rule"; + type empty; + } + } + leaf keep { + description "How to retain routes in the routing table"; + type enumeration { + enum "all" { + description "Retain all routes"; + } + enum "none" { + description "Retain no routes"; + } + } + } + leaf rfc6514-compliant-safi129 { + description "Compliant with RFC6514 SAFI129 format"; + type empty; + } + leaf no-aggregator-id { + description "Set router ID in aggregator path attribute to 0"; + type empty; + } + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf enforce-first-as { + description "Enforce first AS in AS-path is the neighbor's AS"; + type empty; + } + leaf out-delay { + description "How long before exporting routes from routing table"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf ttl { + description "TTL value for the single-hop peer"; + type enumeration { + enum "1" { + } + enum "255" { + } + } + } + leaf log-updown { + description "Log a message for peer state transitions"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list nlri { + ordered-by user; + description "NLRI type to include in updates"; + status deprecated; + type enumeration { + enum "unicast" { + description "Include unicast NLRI"; + status deprecated; + } + enum "multicast" { + description "Include multicast NLRI"; + status deprecated; + } + enum "any" { + description "Include any kind of NLRI"; + status deprecated; + } + } + } + container bgp-error-tolerance { + presence "enable bgp-error-tolerance"; + description "Handle BGP malformed updates softly"; + uses apply-advanced; + leaf malformed-update-log-interval { + description "Time used when logging malformed update"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 65535"; + } + } + } + choice malformed-routes-limit-choice { + case case_1 { + leaf malformed-route-limit { + description "Maximum number of malformed routes from a peer"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-malformed-route-limit { + description "No malformed route limit"; + type empty; + } + } + } + } + container family { + description "Protocol family for NLRIs in updates"; + container inet { + description "IPv4 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet-vpn { + description "IPv4 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container inet6 { + description "IPv6 NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-topo; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-default; + } + container flow { + description "Include flow NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-default; + } + container labeled-unicast { + description "Include labeled unicast NLRI"; + presence "enable labeled-unicast"; + uses bgp-afi-inet6-labeled; + } + container segment-routing-te { + description "Include segment-routing TE policy"; + presence "enable segment-routing-te"; + uses bgp-afi-srte; + } + } + container inet6-vpn { + description "IPv6 Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + container multicast { + description "Include multicast NLRI"; + presence "enable multicast"; + uses bgp-afi-vpn; + } + container flow { + description "Include flow VPN NLRI"; + presence "enable flow"; + uses bgp-afi-flow; + } + container any { + description "Include unicast or multicast NLRI"; + presence "enable any"; + uses bgp-afi-vpn; + } + } + container iso-vpn { + description "ISO Layer 3 VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn-protection; + } + } + container l2vpn { + description "MPLS-based Layer 2 VPN and VPLS NLRI parameters"; + uses apply-advanced; + container auto-discovery-only { + description "Include auto-discovery NLRI for LDP Layer 2 VPN and VPLS"; + presence "enable auto-discovery-only"; + uses bgp-afi-default; + } + container auto-discovery-mspw { + description "Include auto-discovery NLRI for LDP Signalled MultiSegment PW"; + presence "enable auto-discovery-mspw"; + uses bgp-afi-default; + } + container signaling { + description "Include Layer 2 VPN and VPLS signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-l2vpn; + } + } + container evpn { + description "EVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include EVPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mvpn { + description "IPv4 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet6-mvpn { + description "IPv6 MVPN NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv6 multicast VPN signaling NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container inet-mdt { + description "IPv4 Multicast Distribution Tree (MDT) NLRI parameters"; + uses apply-advanced; + container signaling { + description "Include IPv4 multicast VPN auto-discovery NLRI"; + presence "enable signaling"; + uses bgp-afi-default; + } + } + container traffic-engineering { + description "Traffic Engineering (BGP-TE) NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include BGP-TE NLRI"; + presence "enable unicast"; + uses bgp-afi-default; + } + } + container route-target { + presence "enable route-target"; + description "Route target NLRI used for VPN route filtering"; + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container proxy-generate { + presence "enable proxy-generate"; + description "Generate route target NLRI for peers that don't support it"; + uses apply-advanced; + leaf-list route-target-policy { + ordered-by user; + description "Limit VPN routes that are used to generate proxy route-target filters"; + type jt:policy-algebra; + } + } + leaf external-paths { + description "Number of external paths accepted for route filtering"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256"; + } + } + } + leaf advertise-default { + description "Advertise default and suppress more specific routes"; + type empty; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + container bridge-vpn { + description "Bridge VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + container fabric-vpn { + description "Fabric VPN NLRI parameters"; + uses apply-advanced; + container unicast { + description "Include unicast NLRI"; + presence "enable unicast"; + uses bgp-afi-vpn; + } + } + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf vpn-apply-export { + description "Apply BGP export policy when exporting VPN routes"; + type empty; + } + container egress-te { + presence "enable egress-te"; + description "Use Egress Peering traffic engineering"; + uses apply-advanced; + leaf install-address { + description "Address to use in egress-te created inet route"; + type jt:ipaddr; + } + container rib { + description "Select primary table for Egress-TE routes"; + uses apply-advanced; + leaf inet.0 { + description "Install Egress-TE routes in inet.0"; + type empty; + } + leaf inet6.0 { + description "Install Egress-TE routes in inet6.0"; + type empty; + } + } + leaf no-install { + description "Avoid installation to FIB or resolving over"; + type empty; + } + leaf-list import { + ordered-by user; + description "Import policy to set attributes"; + type jt:policy-algebra; + } + leaf backup-path { + description "The 'egress-te-backup-paths template' to use for this peer"; + type string { + } + } + } + container remove-private { + presence "enable remove-private"; + description "Remove well-known private AS numbers"; + uses apply-advanced; + container all { + presence "enable all"; + description "Remove all private AS numbers and do not stop at the first public AS number"; + container replace { + presence "enable replace"; + description "Replace private AS numbers with the BGP Group's local AS number"; + leaf nearest { + description "Use closest public AS number to replace a private AS number"; + type empty; + } + } + } + leaf no-peer-loop-check { + description "Remove peer loop-check"; + type empty; + } + } + leaf cluster { + description "Cluster identifier"; + type jt:areaid; + } + leaf no-client-reflect { + description "Disable intracluster route redistribution"; + type empty; + } + leaf peer-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + container local-as { + description "Local autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf private { + description "Hide this local AS in paths learned from this peering"; + type empty; + } + leaf alias { + description "Treat this AS as an alias to the system AS"; + type empty; + } + leaf no-prepend-global-as { + description "Do not prepend global autonomous-system number in advertised paths"; + type empty; + } + } + leaf ipsec-sa { + description "IPSec SA name"; + type string { + length "1 .. 32"; + } + } + leaf unconfigured-peer-graceful-restart { + description "BGP unconfigured peer graceful restart options"; + type empty; + } + container graceful-restart { + presence "enable graceful-restart"; + description "BGP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Restart time used when negotiating with a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf stale-routes-time { + description "Maximum time for which stale routes are kept"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container receiver { + description "Long-lived graceful restart receiver (helper) options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable receiver (helper) functionality"; + type empty; + } + } + } + } + container advertise-to-non-llgr-neighbor { + presence "enable advertise-to-non-llgr-neighbor"; + description "Advertise stale routes to non-LLGR neighbors"; + uses apply-advanced; + leaf omit-no-export { + description "Do not attach no-export community to stale routes"; + type empty; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "as-rr-client" { + description "As for a route reflector client"; + } + enum "from-fib" { + description "Always use state of associated FIB(s)"; + } + } + } + } + leaf include-mp-next-hop { + description "Include NEXT-HOP attribute in multiprotocol updates"; + type empty; + } + container idle-after-switch-over { + description "Stop peer session from coming up after nonstop-routing switch-over"; + choice idle-interval { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in seconds, for starting peer after switch over"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container outbound-route-filter { + description "Dynamically negotiated cooperative route filtering"; + uses apply-advanced; + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container extended-community { + description "Extended community filtering"; + status deprecated; + uses apply-advanced; + choice accept-choice { + leaf accept { + description "Honor remote requests for extended community ORF"; + type empty; + } + leaf no-accept { + description "Don't honor remote requests for extended community ORF"; + type empty; + } + } + leaf vrf-filter { + description "Request remote filtering using locally configured VRF import targets"; + type empty; + } + } + container prefix-based { + presence "enable prefix-based"; + description "Prefix-based outbound route filtering"; + uses apply-advanced; + container accept { + presence "enable accept"; + description "Honor Prefix-based ORFs from remote peers"; + uses apply-advanced; + leaf inet { + description "Honor IPv4 prefix filters"; + type empty; + } + leaf inet6 { + description "Honor IPv6 prefix filters"; + type empty; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Allow load sharing among multiple BGP paths"; + uses apply-advanced; + leaf disable { + description "Disable Multipath"; + type empty; + } + leaf multiple-as { + description "Use paths received from different ASs"; + type empty; + } + leaf allow-protection { + description "Allow protection for multipath legs"; + type empty; + } + } + leaf tcp-mss { + description "Maximum TCP segment size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4096"; + } + } + } + leaf tcp-aggressive-transmission { + description "Enable aggressive transmission of pure TCP ACKs and retransmissions"; + type empty; + } + container bmp { + description "Specific settings to override the routing-options settings"; + uses apply-advanced; + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + } + container advertise-bgp-static { + presence "enable advertise-bgp-static"; + description "Advertise bgp-static routes"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Static route advertisement policy"; + type jt:policy-algebra; + } + } + leaf add-path-display-ipv4-address { + description "Display add-path path-id in IPv4 address format"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + leaf as-override { + description "Replace neighbor AS number with our AS number"; + type empty; + } + } + } + container multipath-build-priority { + description "Configure the multipath build priority"; + uses apply-advanced; + choice multipath-priority { + case case_1 { + leaf low { + description "Do multipath build with low priority"; + type empty; + } + } + case case_2 { + leaf medium { + description "Do multipath build with medium priority"; + type empty; + } + } + } + } + container traffic-statistics-labeled-path { + presence "enable traffic-statistics-labeled-path"; + description "Collect periodic ingress labeled statistics for BGP label-switched paths "; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time interval to collect statistics"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + } + grouping bgp-af-gr { + uses apply-advanced; + container long-lived { + description "Long-lived graceful restart options"; + uses apply-advanced; + container restarter { + description "Long-lived graceful restart restarter options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable restarter functionality"; + type empty; + } + } + } + leaf stale-time { + description "Stale time in seconds or dhms notation (1..16777215)"; + type string; + } + } + } + leaf forwarding-state-bit { + description "Control forwarding-state flag negotiation"; + type enumeration { + enum "set" { + description "Always set"; + } + enum "from-fib" { + description "Use state of associated FIB(s)"; + } + } + } + } + grouping bgp-afi-default { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping apath-options { + description "Number of paths to advertise"; + uses apply-advanced; + leaf receive { + description "Receive multiple paths from peer"; + type empty; + } + container send { + presence "enable send"; + description "Send multiple paths to peer"; + uses apply-advanced; + leaf-list prefix-policy { + ordered-by user; + description "Perform add-path only for prefixes that match policy"; + type jt:policy-algebra; + } + leaf path-count { + description "Number of paths to advertise"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 6"; + } + } + } + leaf multipath { + description "Include only multipath contributor routes"; + type empty; + } + } + } + grouping bgp-afi-flow { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + leaf-list no-validate { + ordered-by user; + description "Bypass validation procedure for routes that match policy"; + type jt:policy-algebra; + } + leaf strip-nexthop { + description "Strip the next-hop from the outgoing flow update"; + type empty; + } + leaf allow-policy-add-nexthop { + description "Allow policy to add nexthop to a route without nexthop"; + status deprecated; + type empty; + } + } + grouping bgp-afi-inet6-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet6.3 { + description "Use inet6.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + } + grouping bgp-afi-l2vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-afi-labeled { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + leaf per-prefix-label { + description "Allocate a unique label to each advertised prefix"; + type empty; + } + leaf per-group-label { + description "Advertise prefixes with unique labels per group"; + type empty; + } + container traffic-statistics { + description "Collect statistics for BGP label-switched paths"; + presence "enable traffic-statistics"; + uses bgpaf-traffic-statistics; + } + container rib { + description "Select table used by labeled unicast routes"; + uses apply-advanced; + leaf inet.3 { + description "Use inet.3 to exchange labeled unicast routes"; + type empty; + } + } + container explicit-null { + presence "enable explicit-null"; + description "Advertise explicit null"; + leaf connected-only { + description "Advertise explicit null only for connected routes"; + type empty; + } + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + uses apply-advanced; + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + leaf resolve-vpn { + description "Install received NLRI in inet.3 also"; + type empty; + } + container entropy-label { + presence "enable entropy-label"; + description "Use entropy label for entropy label capable BGP LSPs"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Policy to select BGP LSPs to use entropy label"; + type jt:policy-algebra; + } + leaf no-next-hop-validation { + description "Don't validate next hop field against route next hop"; + type empty; + } + } + } + grouping bgp-afi-srte { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + } + grouping bgp-afi-topo { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container protection { + presence "enable protection"; + description "Compute backup path for active nexthop failure"; + } + list topology { + key name; + ordered-by user; + description "Multi topology routing tables"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + leaf community { + description "Community to identify multi topology routes"; + type string; + } + } + } + grouping bgp-afi-vpn { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + } + grouping bgp-afi-vpn-protection { + uses apply-advanced; + container prefix-limit { + description "Limit maximum number of prefixes from a peer"; + uses bgpaf-prefix-limit; + } + container accepted-prefix-limit { + description "Limit maximum number of prefixes accepted from a peer"; + uses bgpaf-accepted-prefix-limit; + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container add-path { + description "Advertise multiple paths to peer"; + uses apath-options; + } + container aigp { + description "Allow sending and receiving of AIGP attribute"; + presence "enable aigp"; + uses bgpaf-aigp-options; + } + leaf damping { + description "Enable route flap damping"; + type empty; + } + leaf local-ipv4-address { + description "Local IPv4 address"; + type jt:ipv4addr; + } + container loops { + description "Allow local AS in received AS paths"; + uses bgpaf-loops; + } + container delay-route-advertisements { + presence "enable delay-route-advertisements"; + description "Delay route updates for this family until FIB-sync"; + uses apply-advanced; + leaf always-wait-for-krt-drain { + description "Wait for KRT-queue drain for more-specific prefixes also"; + type empty; + } + container minimum-delay { + description "Minumum-delay to ensure KRT sees the route flash"; + uses apply-advanced; + leaf routing-uptime { + description "Min delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf inbound-convergence { + description "Min delay(sec) advertisement after source-peer sent all routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + container maximum-delay { + description "Maximum delay deferring routes"; + uses apply-advanced; + leaf route-age { + description "Max delay(sec) advertisement route age"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + leaf routing-uptime { + description "Max delay(sec) advertisement after RPD start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 36000"; + } + } + } + } + } + container defer-initial-multipath-build { + presence "enable defer-initial-multipath-build"; + description "Defer initial multipath build until EOR is received"; + uses apply-advanced; + leaf maximum-delay { + description "Max delay(sec) multipath build after peer is up"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container graceful-restart { + description "BGP graceful restart options"; + uses bgp-af-gr; + } + leaf extended-nexthop { + description "Extended nexthop encoding"; + type empty; + } + leaf extended-nexthop-color { + description "Resolve using extended color nexthop"; + type empty; + } + leaf no-install { + description "Dont install received routes in forwarding"; + type empty; + } + container output-queue-priority { + description "Default output-queue to assign updates to"; + uses bgp-output-queue-priority-class; + } + container route-refresh-priority { + description "Default output-queue to assign route refreshes to"; + uses bgp-output-queue-priority-class; + } + container withdraw-priority { + description "Default output-queue to assign withdrawn routes to"; + uses bgp-output-queue-priority-class; + } + container aggregate-label { + presence "enable aggregate-label"; + description "Aggregate labels of incoming routes with the same FEC"; + uses apply-advanced; + leaf community { + description "Community to identify the FEC of incoming routes"; + type string; + } + } + container egress-protection { + presence "enable egress-protection"; + description "Egress router protection"; + uses apply-advanced; + container context-identifier { + description "Context identifier"; + uses apply-advanced; + leaf context-id { + description "IP address"; + type jt:ipv4addr; + } + } + leaf-list keep-import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + grouping bgp-output-queue-priority-class { + choice class { + case case_1 { + leaf priority { + description "Output queue priority; higher is better"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + case case_2 { + leaf expedited { + description "Expedited queue; highest priority"; + type empty; + } + } + } + } + grouping bgp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping bgpaf-accepted-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes accepted from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-aigp-options { + uses apply-advanced; + leaf disable { + description "Disable sending and receiving of AIGP attribute"; + type empty; + } + } + grouping bgpaf-loops { + uses apply-advanced; + leaf loops { + description "AS-Path loop count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + } + grouping bgpaf-prefix-limit { + uses apply-advanced; + leaf maximum { + description "Maximum number of prefixes from a peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container teardown { + presence "enable teardown"; + description "Clear peer connection on reaching limit"; + leaf limit-threshold { + description "Percentage of prefix-limit to start warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + container idle-timeout { + presence "enable idle-timeout"; + description "Timeout before attempting to restart peer"; + choice idle-parm { + case case_1 { + leaf forever { + description "Idle the peer until the user intervenes"; + type empty; + } + } + case case_2 { + leaf timeout { + description "Timeout value, in minutes, for restarting peer"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2400"; + } + } + } + } + } + } + } + } + grouping bgpaf-traffic-statistics { + uses apply-advanced; + leaf labeled-path { + description "Ingress labeled path statistics"; + type empty; + } + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + } + grouping juniper-protocols-isis { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS"; + type empty; + } + } + } + container traceoptions { + description "Trace options for IS-IS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "spf" { + description "Trace SPF events"; + } + enum "packets" { + description "Trace IS-IS packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "lsp" { + description "Trace link-state packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "layer2-map" { + description "Trace ARP/ND kernel state manipulation"; + } + enum "lsp-generation" { + description "Trace LSP generation"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "ldp-synchronization" { + description "Trace synchronization between IS-IS and LDP"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "spring" { + description "Trace source packet routing"; + } + enum "traffic-statistics" { + description "Trace traffic-statistics related events"; + } + enum "prefix-sid" { + description "Trace source packet routing, prefix-sids"; + } + enum "adj-sid" { + description "Trace adj-sid related events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + leaf lsp-lifetime { + description "Lifetime of LSPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "350 .. 65535"; + } + } + } + leaf max-lsp-size { + description "Maximum size allowed for LSPs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1492"; + } + } + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + default "1492"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf max-snp-size { + description "Maximum size allowed for Sequence Number (Complete/Partial) PDUs"; + default "1400"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 1400"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 120000"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf loose-authentication-check { + description "Verify authentication only if PDU has authentication TLV"; + type empty; + } + leaf max-areas { + description "Maximum number of advertised Areas"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 36"; + } + } + } + leaf no-authentication-check { + description "Disable authentication checking"; + type empty; + } + leaf no-ipv4-routing { + description "Disable IPv4 routing"; + type empty; + } + leaf no-ipv6-routing { + description "Disable IPv6 routing"; + type empty; + } + leaf no-adjacency-holddown { + description "Disable adjacency hold down"; + type empty; + } + leaf multicast-topology { + description "Enable multicast topology"; + status deprecated; + type empty; + } + leaf ignore-attached-bit { + description "Ignore the attached bit in Level 1 LSPs"; + type empty; + } + container rib-group { + description "Routing table group for importing IS-IS routes"; + uses rib_group_type; + } + container spf-options { + description "Configure SPF attributes"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 1000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf rapid-runs { + description "Number of rapid SPF runs before SPF holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + container multipath { + description "Configure multipath options"; + uses apply-advanced; + container weighted { + description "Weighted multipath options"; + uses apply-advanced; + leaf one-hop { + description "Enable load balancing on onehop multipath based on interface bandwidth"; + type empty; + } + } + } + } + container backup-spf-options { + description "Configure backup SPF attributes"; + uses apply-advanced; + leaf per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate Post Convergence Backup Nexthops"; + uses apply-advanced; + leaf maximum-labels { + description "Set maximum number of label supported for post convergence path calculations"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Set maximum equal cost backup post convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + container use-source-packet-routing { + presence "enable use-source-packet-routing"; + description "Use SPRING routed paths for protection"; + uses apply-advanced; + } + } + container topologies { + description "Enable topologies"; + uses apply-advanced; + leaf ipv4-multicast { + description "Enable IPv4-multicast topology"; + type empty; + } + leaf ipv6-unicast { + description "Enable IPv6-unicast topology"; + type empty; + } + leaf ipv6-multicast { + description "Enable IPv6-multicast topology"; + type empty; + } + } + container overload { + presence "enable overload"; + description "Set the overload bit (no transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload bit is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf advertise-high-metrics { + description "Advertise high metrics instead of setting the overload bit"; + type empty; + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + } + container traffic-engineering { + description "Configure traffic engineering attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable traffic engineering"; + type empty; + } + } + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf credibility-protocol-preference { + description "Follow IGP protocol preference for TED protocol credibility"; + type empty; + } + leaf ipv4-multicast-rpf-routes { + description "Install IPv4 routes for multicast RPF checks into inet.2"; + status deprecated; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family specific traffic-engineering attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + enum "inet-mpls" { + description "IPv4-MPLS family"; + } + enum "inet6-mpls" { + description "IPv6-MPLS family"; + } + } + } + uses apply-advanced; + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into multicast RIB"; + type empty; + } + } + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + status deprecated; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + } + container multipath { + description "Configure label-switched-path multipath behavior"; + uses apply-advanced; + leaf lsp-equal-cost { + description "Include equal cost label-switched-paths"; + type empty; + } + } + } + container graceful-restart { + description "IS-IS graceful restart options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + container adjacency-segment { + description "Configure attributes for Adjacency Segments in SPRING"; + uses apply-advanced; + leaf hold-time { + description "Duration(ms) for which adjacency segments will be retained after isolating from an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180000 .. 900000"; + } + } + } + } + container sensor-based-stats { + description "Configure sensor based stats in SPRING"; + uses apply-advanced; + container per-interface-per-member-link { + description "Configure sensor based stats per nexthop"; + leaf ingress { + description "Enable sensor based stats on ingress interface"; + type empty; + } + leaf egress { + description "Enable sensor based stats on egress interface"; + type empty; + } + } + container per-sid { + description "Configure sensor based stats per spring route"; + leaf ingress { + description "Enable sensor based stats for per-sid ingress accounting"; + type empty; + } + } + } + container srgb { + description "Set the SRGB global block in SPRING"; + leaf start-label { + description "Start range for SRGB label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf index-range { + description "Index to the SRGB start label block"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container node-segment { + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set IPv4 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf ipv6-index { + description "Set IPv6 Node Segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf index-range { + description "Set Range of Node Segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16385"; + } + } + } + } + container traffic-statistics { + description "Enable support for traffic statistics in SPRING"; + uses apply-advanced; + container statistics-granularity { + description "Granularity for traffic statistics in SPRING"; + uses apply-advanced; + leaf per-interface { + description "Interface Based traffic statistics in SPRING"; + type empty; + } + } + leaf auto-bandwidth { + description "Auto bandwidth name"; + type string; + } + } + leaf explicit-null { + description "Set E and P bits in all Prefix SID advertisements"; + type empty; + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf ldp-stitching { + description "Enable SR to LDP stitching"; + type empty; + } + } + list level { + key name; + ordered-by user; + description "Configure global level attributes"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this level"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf purge-originator { + description "Add Purge Originator information"; + type enumeration { + enum "self" { + description "Add POI only for self-originated purge LSPs"; + } + enum "empty" { + description "Add POI for purge LSPs who do not have POI information"; + } + } + } + leaf no-hello-authentication { + description "Disable authentication for hello packets"; + type empty; + } + leaf no-csnp-authentication { + description "Disable authentication for CSN packets"; + type empty; + } + leaf no-psnp-authentication { + description "Disable authentication for PSN packets"; + type empty; + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf wide-metrics-only { + description "Generate wide metrics only"; + type empty; + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled IS-IS routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf prefix-export-limit { + description "Maximum number of external prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable Source Packet Routing (SPRING)"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Source Packet Routing on this level"; + type empty; + } + } + } + } + } + list interface { + key name; + description "Interface configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + container auto-bandwidth { + description "Auto bandwidth configuration"; + uses apply-advanced; + leaf template-name { + description "Auto bandwidth template name"; + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Auto bandwidth on this interface"; + type empty; + } + } + } + } + leaf flood-group { + description "ISO Area that this interface should send LSPs to"; + type string { + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + status deprecated; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-padding-type { + description "Type of padding for hello packets"; + default "loose"; + type enumeration { + enum "strict" { + description "Padding for all adjacency states"; + } + enum "adaptive" { + description "Padding until state of neighbor adjacency is 'up'"; + } + enum "loose" { + description "Padding until state of adjacency is 'initializing'"; + } + enum "disable" { + description "Do not add any padding for hello packets"; + } + } + } + leaf interface-group-holddown-delay { + description "Time to wait before including in BBM calculation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + choice layer2-map-choice { + leaf layer2-map { + description "Kernel ARP/ND creation for nexthops"; + type empty; + } + leaf no-layer2-map { + description "Don't kernel ARP/ND creation for nexthops"; + type empty; + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf max-hello-size { + description "Maximum size allowed for ISIS Hello PDUs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 16000"; + } + } + } + leaf lsp-interval { + description "Interval between LSP transmissions"; + default "100"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + container csnp-interval { + description "Rate of CSN packets (for LAN interfaces only)"; + choice csnp_interval_option { + case case_1 { + leaf csnp-interval-number { + description "Interval between CSN packets"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + case case_2 { + leaf disable { + description "Do not send CSN packets on this interface"; + type empty; + } + } + } + } + container mesh-group { + description "Add the interface to a mesh group"; + choice mesh_group_option { + case case_1 { + leaf mesh-group-number { + description "Mesh group number for this interface"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf blocked { + description "Do not flood new LSPs on this interface"; + type empty; + } + } + } + } + leaf point-to-point { + description "Treat interface as point to point"; + type empty; + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible for backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run IS-IS, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + leaf checksum { + description "Enable checksum for packets on this interface"; + type empty; + } + leaf no-unicast-topology { + description "Do not include this interface in the unicast topology"; + type empty; + } + leaf no-ipv4-multicast { + description "Do not include this interface in the IPv4 multicast topology"; + type empty; + } + leaf no-ipv6-unicast { + description "Do not include this interface in the IPv6 unicast topology"; + type empty; + } + leaf no-ipv6-multicast { + description "Do not include this interface in the IPv6 multicast topology"; + type empty; + } + leaf no-adjacency-down-notification { + description "Do not inform other protocols about adjacency down events"; + type empty; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list family { + key name; + ordered-by user; + description "Address family specific interface attributes"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable IS-IS for this level"; + type empty; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Configure backup along post convergence on this interface"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Enable node protection"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + leaf fate-sharing-protection { + description "Enable fate-sharing protection"; + type empty; + } + } + leaf metric { + description "Metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv4-multicast-metric { + description "IPv4 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-unicast-metric { + description "IPv6 unicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf ipv6-multicast-metric { + description "IPv6 multicast metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this level"; + type empty; + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + status deprecated; + type jt:unreadable; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + } + } + leaf hello-authentication-key { + description "Authentication key (password) for hello packets"; + type jt:unreadable; + } + leaf hello-authentication-type { + description "Authentication type for hello packets"; + type enumeration { + enum "md5" { + description "MD5 authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + } + } + leaf hello-authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf hello-interval { + description "Interval between hello packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 21845"; + } + } + } + leaf hold-time { + description "Time after which neighbors think the interface is down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf priority { + description "Designated router election priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + container passive { + presence "enable passive"; + description "Do not run IS-IS at this level, but advertise it"; + uses apply-advanced; + leaf remote-node-iso { + description "ISO System-ID of the remote node"; + type jt:sysid; + } + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipv4addr; + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + list lan-neighbor { + key name; + ordered-by user; + description "Configuration specific to a LAN neighbor"; + leaf name { + description "Neighbor's sysid"; + type jt:sysid; + } + uses apply-advanced; + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + } + container link-degradation-threshold { + presence "enable link-degradation-threshold"; + description "Link up and down thresholds (in %) for proactive link protection"; + leaf link-down { + description "Signal degradation threshold above which link marked down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf link-up { + description "Signal degradation threshold below which link is marked up."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + list interface-group { + key name; + description "Interface grouping configuration"; + leaf name { + description "Interface group name"; + type string; + } + uses apply-advanced; + list interface { + key name; + description "List interfaces for this group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf weight { + description "Interface weight for adjacency set"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + list level { + key name; + ordered-by user; + description "Configure levels on this interface-group"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type enumeration { + enum "default" { + description "Default topology"; + } + enum "ipv4-multicast" { + description "IPv4 multicast topology"; + } + enum "ipv6-unicast" { + description "IPv6 unicast topology"; + } + enum "ipv6-multicast" { + description "IPv6 multicast topology"; + } + } + } + uses apply-advanced; + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + } + container ipv4-adjacency-segment { + description "Configure ipv4 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + container ipv6-adjacency-segment { + description "Configure ipv6 adjacency segment"; + uses apply-advanced; + container protected { + description "Adjacency SID is eligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + container unprotected { + description "Adjacency SID uneligible for protection"; + choice adjsid-type { + case case_1 { + container index { + description "Adjacency SID indexed from SRGB"; + leaf index-number { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + } + case case_2 { + leaf label { + description "Adjacency SID from static label pool"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + case case_3 { + leaf dynamic { + description "Dynamically allocate an adjacency segment"; + type empty; + } + } + } + } + } + } + container link-group-protection { + description "Configure link group protection"; + uses apply-advanced; + leaf minimum-bandwidth { + description "Minimum bandwidth to carry traffic"; + type string; + } + leaf revert-bandwidth { + description "Revert bandwidth to carry traffic"; + type string; + } + } + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this label-switched path"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + leaf metric { + description "SPF metric for this level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777215"; + } + } + } + } + } + list context-identifier { + key name; + ordered-by user; + description "Configuration for advertisement of a context-identifier "; + leaf name { + description "Context identifier range"; + type jt:ipprefix; + } + uses apply-advanced; + list level { + key name; + ordered-by user; + description "Level to advertise this context-identifier"; + leaf name { + description "IS-IS level number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable advertisements to this level"; + type empty; + } + } + } + } + } + } + grouping juniper-protocols-l2vpn { + description "Layer 2 VPN, VPLS or EVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for Layer 2 VPNs"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "topology" { + description "Trace Layer 2 VPN, VPLS and EVPN topology changes"; + } + enum "nlri" { + description "Trace Layer 2 VPN, VPLS and EVPN remote site advertisements"; + } + enum "connections" { + description "Trace Layer 2 VPN and VPLS connections"; + } + enum "automatic-site" { + description "Trace VPLS automatic site state"; + } + enum "oam" { + description "Trace OAM messages"; + } + enum "mac-database" { + description "Trace MAC route database in a EVPN instance"; + } + enum "nsr" { + description "Trace NSR in a EVPN instance"; + } + enum "egress-protection" { + description "Trace Edge Protection messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + choice cword { + case case_1 { + leaf control-word { + description "Add control word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control word on the Layer 2 encapsulation"; + type empty; + } + } + } + leaf site-range { + description "Maximum site identifier in this VPLS domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf bum-hashing { + description "Enable BUM hashing feature in the instance"; + type empty; + } + leaf label-block-size { + description "Label block size for this VPLS instance"; + type enumeration { + enum "2" { + description "Label block size of 2"; + } + enum "4" { + description "Label block size of 4"; + } + enum "8" { + description "Label block size of 8"; + } + enum "16" { + description "Label block size of 16"; + } + } + } + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + choice tunnel-services-choice { + case case_1 { + container tunnel-services { + description "Use tunnel services for this VPLS instance"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for this VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf primary { + description "Primary tunnel services device to use for VPLS instance"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_2 { + leaf no-tunnel-services { + description "Do not use tunnel services for this VPLS instance"; + type empty; + } + } + } + list site { + key name; + ordered-by user; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + choice site-identifier-mode { + case case_1 { + leaf site-identifier { + description "Layer 2 VPN or VPLS site identifier (unique in the VPN)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + } + case case_2 { + container automatic-site-id { + presence "enable automatic-site-id"; + description "Enable automatic assignment of site identifier"; + uses apply-advanced; + leaf startup-wait-time { + description "Time to wait at startup before claming a site identifier (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf new-site-wait-time { + description "Time to wait before claiming a site identifier"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf collision-detect-time { + description "Time to wait for detecting a collision"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container reclaim-wait-time { + presence "enable reclaim-wait-time"; + description "Time to wait for reclaiming a site identifier"; + leaf minimum { + description "Minimum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum { + description "Maximum wait time"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + } + leaf source-attachment-identifier { + description "FEC 129 VPWS source attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this site"; + type string; + } + container multi-homing { + presence "enable multi-homing"; + description "Enable multi-homing functionality for this site"; + uses apply-advanced; + leaf hold-time { + description "Enable multi-homing non-designated forwarder hold time (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 18000"; + } + } + } + } + leaf site-preference { + description "Layer 2 VPN or VPLS site preference"; + type string; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + list mesh-group { + key name; + ordered-by user; + description "Mesh-groups that are part of this site"; + leaf name { + description "Mesh-group name"; + type string; + } + uses apply-advanced; + } + container active-interface { + description "Configure interface to designate as active"; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf best-site { + description "Activates best-site functionality for this instance"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + leaf community { + description "Community associated with this VPLS instance"; + type string; + } + leaf vpls-id { + description "Identifier for this VPLS instance"; + type string; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor for this VPLS instance"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to pop Flow Label in receive direction to remote PE"; + type empty; + } + leaf flow-label-transmit-static { + description "Push Flow Label on PW packets sent to remote PE"; + type empty; + } + leaf flow-label-receive-static { + description "Pop Flow Label from PW packets received from remote PE"; + type empty; + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + list mesh-group { + key name; + description "Mesh-group under this VPLS instance"; + leaf name { + description "Mesh-group name"; + type string { + } + } + uses apply-advanced; + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + choice peer-as-choice { + case case_1 { + container peer-as { + description "Autonomous system of the peer"; + uses apply-advanced; + leaf all { + description "Include peers from all autonomous systems"; + type empty; + } + } + } + } + leaf vpls-id { + description "LDP VPLS Identifier for this mesh-group"; + type string; + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VPLS instance mesh-group"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VPLS instance mesh-group"; + type jt:policy-algebra; + } + container vrf-target { + description "VPLS mesh-group target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + } + container mac-flush { + presence "enable mac-flush"; + description "Enables mac-flush processing"; + uses apply-advanced; + leaf any-interface { + description "Send mac-flush when any AC interface goes down"; + type empty; + } + leaf any-spoke { + description "Send mac-flush when any spoke pseudo wire goes down"; + type empty; + } + leaf propagate { + description "Propagate mac-flush to the core"; + type empty; + } + } + leaf local-switching { + description "Allow local-switching within interfaces in this mesh-group"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor belonging to this mesh-group"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + container associate-profile { + description "Associate profile options for dynamic IFL"; + uses apply-advanced; + leaf profile-name { + description "Associated profile name"; + type string { + length "1 .. 81"; + } + } + leaf profile-variable-set { + description "Associate dynamic variable set with the profile"; + type string { + length "1 .. 81"; + } + } + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf community { + description "Community associated with this neighbor"; + type string; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + container pseudowire-status-tlv { + presence "enable pseudowire-status-tlv"; + description "Send pseudowire status TLV"; + uses apply-advanced; + leaf hot-standby-vc-on { + description "Activate pseudowire upon arrival of 'hot-standby' status TLV message"; + type empty; + } + } + leaf switchover-delay { + description "Pseudowire switchover delay "; + default "10000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 180000"; + } + } + } + container revert-time { + presence "enable revert-time"; + description "Enable pseudowire redundancy reversion (seconds)"; + leaf delay { + description "Reversion timer (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 600"; + } + } + } + leaf maximum { + description "Maximum reversion interval to add over revert-time delay"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1200"; + } + } + } + } + leaf connection-protection { + description "End-2-end protection via OAM failure detection"; + type empty; + } + list backup-neighbor { + key name; + ordered-by user; + description "Configuration of redundant l2circuit"; + leaf name { + description "Neighbor ID"; + type jt:ipv4addr; + } + uses apply-advanced; + container static { + presence "enable static"; + description "Configuration of static vpls"; + uses apply-advanced; + leaf incoming-label { + description "VPLS incoming static label [1000000 - 1048575] or [29696 - 41983]"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf outgoing-label { + description "VPLS outgoing static label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf community { + description "Community associated with this Layer 2 circuit"; + type string; + } + leaf psn-tunnel-endpoint { + description "Endpoint of the transport tunnel on the remote PE"; + type jt:ipv4addr; + } + leaf standby { + description "Keep backup pseudowire in continuous standby"; + type empty; + } + leaf hot-standby { + description "Keep backup pseudowire in continuous standby mode and ready for traffic forwarding"; + type empty; + } + } + leaf-list vpls-id-list { + ordered-by user; + description "LDP VPLS Identifier list for this neighbor"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + list interface { + key name; + description "Interfaces belonging to this flood group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container route-distinguisher { + description "Route distinguisher for this mesh-group"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + } + leaf connectivity-type { + description "Specify type of interface sufficient to bring vpls connection up"; + type enumeration { + enum "ce" { + description "CE interface is required"; + } + enum "irb" { + description "IRB interface is sufficient"; + } + enum "permanent" { + description "Pseudowire permanently up"; + } + } + } + list import-labeled-routes { + key name; + ordered-by user; + description "Import ingress label route to instance.mpls.0 from mpls.0"; + leaf name { + description "Routing instance name where label route has to be imported"; + type string; + } + } + container multi-homing { + description "Multi-homing configuration for FEC129 VPLS"; + uses apply-advanced; + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + list site { + key name; + description "Sites connected to this provider equipment"; + leaf name { + description "Name of Layer 2 VPN or VPLS site"; + type string; + } + uses apply-advanced; + leaf identifier { + description "Layer 2 VPN or VPLS multi-homing identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference"; + type string; + } + container active-interface { + description "Configure interface to designate as active"; + uses apply-advanced; + choice interface_name { + case case_1 { + leaf any { + description "One configured interface is designated active at random"; + type empty; + } + } + case case_2 { + leaf primary { + description "Interface to designate as active if it is operational"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connects this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Layer 2 VPN or VPLS multi-homing preference for the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + leaf peer-active { + description "Keep CE interfaces in up state when all BGP peers go down"; + type empty; + } + } + } + container evi-options { + description "EVI options"; + uses juniper-protocols-evi-options; + } + leaf designated-forwarder-election-hold-time { + description "Time to wait before electing a DF(seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf igmp-id { + description "EVPN IGMP Identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf encapsulation { + description "Encapsulation type for EVPN"; + default "mpls"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + choice extended-attributes { + case case_1 { + } + case case_2 { + leaf-list extended-vni-list { + description "List of VNI identifiers (1..16777214) or all, that are to be EVPN extended"; + type string; + } + } + case case_3 { + } + } + container vni-options { + description "VNI options"; + uses apply-advanced; + list vni { + key name; + description "Per-vni options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf export { + description "Target community to use when marking routes on export"; + status deprecated; + type string { + } + } + leaf community { + description "Target community"; + type string { + } + } + } + } + } + container ip-prefix-routes { + presence "enable ip-prefix-routes"; + description "Advertise IP prefixes through EVPN"; + uses apply-advanced; + leaf advertise { + description "Advertisement attributes for IP prefixes"; + type enumeration { + enum "gateway-address" { + description "Advertise a gateway address in exported IP prefix routes"; + } + enum "direct-nexthop" { + description "Advertise a direct nexthop in exported IP prefix routes"; + } + } + } + leaf gateway-interface { + description "Gateway interface used when gateway address is advertised"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf encapsulation { + description "Encapsulation used for IP prefixes"; + type enumeration { + enum "mpls" { + description "MPLS encapsulation"; + } + enum "vxlan" { + description "VXLAN encapsulation"; + } + } + } + leaf vni { + description "VXLAN network identifier used for IP prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777214"; + } + } + } + leaf-list import { + ordered-by user; + description "Policy to control import of IP prefixes from EVPN"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Policy to control export of IP prefixes through EVPN"; + type jt:policy-algebra; + } + } + leaf multicast-mode { + description "Multicast mode for EVPN"; + default "ingress-replication"; + type enumeration { + enum "ingress-replication" { + description "Ingress Replication"; + } + } + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + } + leaf default-gateway { + description "Default gateway mode"; + type enumeration { + enum "advertise" { + description "Advertise IRB MACs with default gateway community"; + } + enum "no-gateway-community" { + description "Advertise IRB MACs without default gateway community"; + } + enum "do-not-advertise" { + description "Do not advertise IRB MACs"; + } + } + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + container duplicate-mac-detection { + description "Duplicate MAC detection settings"; + uses apply-advanced; + leaf detection-threshold { + description "Number of moves to trigger duplicate MAC detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 20"; + } + } + } + leaf detection-window { + description "Time window for detection of duplicate MACs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 600"; + } + } + } + leaf auto-recovery-time { + description "Automatically unblock duplicate MACs after a time delay"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 360"; + } + } + } + } + choice flexible-cross-connect-type { + case case_1 { + leaf flexible-cross-connect-vlan-aware { + description "Enable EVPN flexible cross-connect VLAN aware Service"; + type empty; + } + } + case case_2 { + leaf flexible-cross-connect-vlan-unaware { + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + type empty; + } + } + } + leaf auto-service-id { + description "Enable auto-derivation of VPWS service instance identifier"; + type empty; + } + leaf hot-standby-on { + description "Activate evpn vpws upon becoming DF"; + type empty; + } + list group { + key name; + ordered-by user; + description "Enable EVPN flexible cross-connect VLAN unaware Service"; + leaf name { + description "Group name to group vlan unaware cross connects"; + type string; + } + uses apply-advanced; + container esi { + presence "enable esi"; + description "ESI configuration to group vlan unaware cross connects"; + uses apply-advanced; + leaf identifier { + description "ESI value for grouping of vlan unaware cross connects"; + type jt:esi; + } + } + list interface { + key name; + ordered-by user; + description "Name of the interface part of vlan unaware fxc"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + container service-id { + presence "enable service-id"; + description "Service-id for vlan unaware cross connects for EVPN VPWS"; + uses apply-advanced; + leaf local { + description "Local service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf remote { + description "Remote service id for vlan unaware service"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + } + } + grouping juniper-protocols-evi-options { + uses apply-advanced; + list isid { + key name; + description "Per-evi options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "256 .. 16777214"; + } + } + } + uses apply-advanced; + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community"; + type string { + } + } + } + } + } + grouping juniper-protocols-ldp { + uses apply-advanced; + container traceoptions { + description "Trace options for LDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace LDP state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "packets" { + description "Trace all LDP packets"; + } + enum "periodic" { + description "Trace periodic (hello and keepalive) packets"; + } + enum "initialization" { + description "Trace initialization packets"; + } + enum "notification" { + description "Trace notification packets"; + } + enum "address" { + description "Trace address packets"; + } + enum "label" { + description "Trace label packets"; + } + enum "binding" { + description "Trace label binding state"; + } + enum "path" { + description "Trace label path state"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "link-protection" { + description "Trace link protection events"; + } + enum "p2mp-nsr-synchronization" { + description "Trace p2mp NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses ldp_filter_obj; + } + } + } + container traffic-statistics { + description "Collect statistics for LDP label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "60 .. 65535"; + } + } + } + leaf no-penultimate-hop { + description "No penultimate hop statistics collection"; + type empty; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf helper-disable { + description "Disable the graceful restart helper capability"; + type empty; + } + leaf recovery-time { + description "Time required for recovery"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 1800"; + } + } + } + leaf maximum-neighbor-recovery-time { + description "Maximum time stale mappings are maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "140 .. 1900"; + } + } + } + leaf reconnect-time { + description "Time required to reestablish session after graceful restart"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf maximum-neighbor-reconnect-time { + description "Maximum reconnect time allowed from a restarting neighbor"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + } + container auto-targeted-session { + presence "enable auto-targeted-session"; + description "Configure auto targeted session parameters for rLFA only"; + uses apply-advanced; + leaf teardown-delay { + description "Auto targeted session tear down delay"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf maximum-sessions { + description "Auto targeted maximum sessions"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + leaf preference { + description "Route preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf no-forwarding { + description "Do not use LDP ingress routes for forwarding"; + type empty; + } + leaf rib-group { + description "Routing table group for importing ingress routes"; + type string; + } + leaf l2-smart-policy { + description "Do not export or import Layer 3 FECs for Layer 2 sessions"; + type empty; + } + leaf track-igp-metric { + description "Track the IGP metric"; + type empty; + } + leaf strict-targeted-hellos { + description "Do not send targeted hellos to unconfigured neighbors"; + type empty; + } + container longest-match { + presence "enable longest-match"; + description "Configure longest match"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Longest match import policy"; + type jt:policy-algebra; + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list egress-policy { + ordered-by user; + description "Configure LSP egress policy"; + type jt:policy-algebra; + } + leaf-list dod-request-policy { + ordered-by user; + description "Configure DoD label request policy"; + type jt:policy-algebra; + } + container next-hop { + description "LDP next-hop control"; + uses apply-advanced; + container merged { + description "Merged next hop"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Merged next-hop policy"; + type jt:policy-algebra; + } + } + container no-rsvp-tunneling { + description "No rsvp tunneling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "No rsvp tunneling next-hop policy"; + type jt:policy-algebra; + } + } + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + choice deaggregate-choice { + leaf deaggregate { + description "Deaggregate FECs into separate labels"; + type empty; + } + leaf no-deaggregate { + description "Don't deaggregate FECs into separate labels"; + type empty; + } + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label for egress FECs"; + type empty; + } + leaf label-withdrawal-delay { + description "Delay label withdrawal for FECs to avoid label churn"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 120"; + } + } + } + container make-before-break { + presence "enable make-before-break"; + description "Configure make before break"; + uses apply-advanced; + leaf timeout { + description "Make before break timeout"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf switchover-delay { + description "Make before break switchover delay"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container transport-address { + description "Address used for TCP sessions"; + choice address-choice { + case case_1 { + leaf router-id { + description "Use router ID for TCP connections"; + type empty; + } + } + case case_2 { + leaf interface { + description "Use interface address for TCP connections"; + type empty; + } + } + case case_3 { + leaf address { + description "Use specified address for TCP connections"; + type jt:ipaddr; + } + } + } + } + leaf keepalive-interval { + description "Keepalive interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keepalive-timeout { + description "Keepalive timeout (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list interface { + key name; + description "Enable LDP on this interface"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP on this interface"; + type empty; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hello hold time (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + container link-protection { + presence "enable link-protection"; + description "Enable link protection to protect interface for link faults only"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link-protection"; + type empty; + } + } + } + leaf dynamic-rsvp-lsp { + description "Enable setup of dynamic rsvp lsp for link protection"; + type empty; + } + } + leaf transport-address { + description "Address used for TCP sessions"; + type enumeration { + enum "router-id" { + description "Use router ID for TCP connections"; + } + enum "interface" { + description "Use interface address for TCP connections"; + } + } + } + choice allow-subnet-mismatch-choice { + leaf allow-subnet-mismatch { + description "Allow subnet mismatch for source address in hello packet"; + type empty; + } + leaf no-allow-subnet-mismatch { + description "Don't allow subnet mismatch for source address in hello packet"; + type empty; + } + } + } + list neighbor { + key name; + description "Configure a remote LDP neighbor"; + leaf name { + description "Neighbor address"; + type jt:ipaddr; + } + uses apply-advanced; + } + list session { + key name; + description "Configure session parameters"; + leaf name { + description "Session destination address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + list session-group { + key name; + description "Configure session group parameters"; + leaf name { + description "Session destination address/prefix length"; + type jt:ipprefix; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + leaf downstream-on-demand { + description "Configure downstream on demand label distribution mode"; + type empty; + } + choice mtu-discovery-choice { + leaf mtu-discovery { + description "Enable TCP path MTU discovery"; + type empty; + } + leaf no-mtu-discovery { + description "Don't enable TCP path MTU discovery"; + type empty; + } + } + } + container session-protection { + presence "enable session-protection"; + description "Configure session protection"; + leaf timeout { + description "Session protection timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + container igp-synchronization { + description "Configure IGP synchronization parameters"; + uses apply-advanced; + leaf holddown-interval { + description "Time to hold the up notification to the IGPs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + container trap { + description "SNMP traps options"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP LSP up/down trap"; + type empty; + } + } + } + } + } + container policing { + description "Configure policing for an LDP FEC"; + uses apply-advanced; + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf ingress-traffic { + description "Name of filter to use for policing ingress LDP traffic"; + type string { + } + } + leaf transit-traffic { + description "Name of filter to use for policing transit LDP traffic"; + type string { + } + } + } + } + container entropy-label { + description "Insert entropy label for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "Entropy label ingress policy"; + type jt:policy-algebra; + } + } + container oam { + description "Configure periodic OAM for a LDP FEC"; + uses apply-advanced; + leaf-list ingress-policy { + ordered-by user; + description "OAM ingress policy"; + type jt:policy-algebra; + } + leaf-list bfd-port-egress-policy { + ordered-by user; + description "OAM egress policy"; + type jt:policy-algebra; + } + list fec { + key name; + ordered-by user; + description "Forwarding equivalence class"; + leaf name { + description "Forwarding equivalence class address"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice bfd_liveness_detection_type { + case case_1 { + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + } + case case_2 { + leaf no-bfd-liveness-detection { + description "Disable BFD liveness detection"; + type empty; + } + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + leaf disable { + description "Disable periodic traceroute for a FEC"; + type empty; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf ecmp { + description "Enable equal cost multipath (ECMP) support for BFD"; + type empty; + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf remove-route { + description "Remove LDP route from the ribs"; + type empty; + } + } + case case_2 { + leaf remove-nexthop { + description "Remove LDP nexthop from the route"; + type empty; + } + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container periodic-traceroute { + presence "enable periodic-traceroute"; + description "Configure periodic traceroute"; + uses apply-advanced; + leaf frequency { + description "Time between traceroute attempts"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 120"; + } + } + } + leaf ttl { + description "Maximum time-to-live value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf retries { + description "Number of times to resend probe"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 9"; + } + } + } + leaf wait { + description "Time to wait before resending probe"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "5 .. 15"; + } + } + } + leaf paths { + description "Maximum number of paths to traverse"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf source { + description "Source address to use when sending probes"; + type jt:ipv4addr; + } + leaf exp { + description "Class-of-service value to use when sending probes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 7"; + } + } + } + leaf fanout { + description "Maximum number of nexthops to search per node"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 64"; + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + } + container targeted-hello { + description "Configure targeted hello parameters"; + uses apply-advanced; + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hold-time { + description "Hold interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Advertise P2MP capability to peers"; + uses apply-advanced; + container recursive { + description "Configure P2MP recursive parameters"; + uses apply-advanced; + leaf route { + description "Allow recursive route resolution to signal P2MP FEC"; + type empty; + } + } + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + list lsp-id { + key name; + description "Configure the generic LSP identifier"; + leaf name { + description "Generic LSP identifier value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + leaf no-rsvp-tunneling { + description "Do not allow LDP P2MP to use RSVP-TE LSPs for tunneling"; + type empty; + } + } + container sr-mapping-client { + presence "enable sr-mapping-client"; + description "Enable LDP to SR mapping-client functionality"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "SR mapping-client policy"; + type jt:policy-algebra; + } + } + leaf upstream-label-assignment { + description "Allow Upstream Label Assignment capability"; + type empty; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + } + leaf transport-preference { + description "TCP transport preference"; + type enumeration { + enum "ipv4" { + description "Use IPv4 for TCP connections"; + } + enum "ipv6" { + description "Use IPv6 for TCP connections"; + } + } + } + container dual-transport { + presence "enable dual-transport"; + description "Use separate IPv4 and IPv6 TCP transport"; + uses apply-advanced; + leaf inet-lsr-id { + description "LSR identifier for address family inet"; + type jt:ipv4addr; + } + leaf inet6-lsr-id { + description "LSR identifier for address family inet6"; + type jt:ipv4addr; + } + } + } + grouping juniper-protocols-mpls { + description "Multiprotocol Label Switching options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS"; + type empty; + } + } + } + list lsp-external-controller { + key name; + ordered-by user; + description "External path computing entity"; + leaf name { + description "Name of the external path computing entity"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 32"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list pce-controlled-lsp { + key name; + ordered-by user; + description "Template for externally provisioned LSP using regular expression"; + leaf name { + description "Template regular expression"; + type string { + } + } + uses apply-advanced; + container label-switched-path-template { + description "Template for externally provisioned LSP parameters"; + uses apply-advanced; + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + } + } + container path-mtu { + presence "enable path-mtu"; + description "Path MTU configuration"; + uses apply-advanced; + leaf allow-fragmentation { + description "If needed, fragment IP before encapsulating in MPLS"; + type empty; + } + container rsvp { + presence "enable rsvp"; + description "RSVP-specific path MTU options"; + uses apply-advanced; + leaf mtu-signaling { + description "Enable RSVP path MTU signaling"; + type empty; + } + } + } + container diffserv-te { + description "Global diffserv-traffic-engineering options"; + uses apply-advanced; + leaf bandwidth-model { + description "Bandwidth constraint model supported"; + type enumeration { + enum "extended-mam" { + description "Maximum allocation model with support for E-LSPs"; + } + enum "mam" { + description "Maximum allocation model"; + } + enum "rdm" { + description "Russian dolls model"; + } + } + } + container te-class-matrix { + description "Supported combinations of traffic-class and preemption"; + uses apply-advanced; + container te0 { + description "Definition for traffic-engineering class te0"; + uses te-class-object; + } + container te1 { + description "Definition for traffic-engineering class te1"; + uses te-class-object; + } + container te2 { + description "Definition for traffic-engineering class te2"; + uses te-class-object; + } + container te3 { + description "Definition for traffic-engineering class te3"; + uses te-class-object; + } + container te4 { + description "Definition for traffic-engineering class te4"; + uses te-class-object; + } + container te5 { + description "Definition for traffic-engineering class te5"; + uses te-class-object; + } + container te6 { + description "Definition for traffic-engineering class te6"; + uses te-class-object; + } + container te7 { + description "Definition for traffic-engineering class te7"; + uses te-class-object; + } + } + } + container auto-policing { + description "Automatic policing of LSPs"; + uses apply-advanced; + list class { + key name; + ordered-by user; + description "Forwarding class"; + leaf name { + type enumeration { + enum "all" { + description "All forwarding classes"; + } + enum "ct0" { + description "Forwarding class 0"; + } + enum "ct1" { + description "Forwarding class 1"; + } + enum "ct2" { + description "Forwarding class 2"; + } + enum "ct3" { + description "Forwarding class 3"; + } + } + } + uses apply-advanced; + choice policing-action { + case case_1 { + leaf drop { + description "Drop packets if bandwidth is exceeded"; + type empty; + } + } + case case_2 { + leaf loss-priority-high { + description "Set loss priority to high if bandwidth is exceeded"; + type empty; + } + } + case case_3 { + leaf loss-priority-low { + description "Set loss priority to low if bandwidth is exceeded"; + type empty; + } + } + } + } + } + container statistics { + description "Collect statistics for signaled label-switched paths"; + uses apply-advanced; + container file { + description "Statistics file options"; + presence "enable file"; + uses trace_file_type; + } + leaf interval { + description "Time to collect statistics (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf auto-bandwidth { + description "Enable auto bandwidth allocation"; + type empty; + } + leaf no-transit-statistics { + description "Disable transit LSP statistics collection"; + type empty; + } + choice transit-polling-type { + case case_1 { + leaf no-transit-statistics-polling { + description "Disable polling and display of transit lsp statistics"; + status deprecated; + type empty; + } + } + case case_2 { + leaf transit-statistics-polling { + description "Enable polling and display of transit lsp statistics"; + type empty; + } + } + } + leaf statistics-query-batch-size { + description "Number of LSPs for which statistics will be queried together"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 25"; + } + } + } + } + container log-updown { + description "Logging actions for LSP up/down events"; + uses apply-advanced; + choice syslog-choice { + leaf syslog { + description "Send syslog messages"; + type empty; + } + leaf no-syslog { + description "Don't send syslog messages"; + type empty; + } + } + choice trap-choice { + case case_1 { + leaf trap { + description "Send SNMP traps"; + type empty; + } + } + case case_2 { + container no-trap { + presence "enable no-trap"; + description "Don't send SNMP traps"; + uses apply-advanced; + leaf mpls-lsp-traps { + description "Dont send mpls lsp up/down traps"; + type empty; + } + leaf rfc3812-traps { + description "Dont send rfc3812 traps"; + type empty; + } + } + } + } + leaf trap-path-down { + description "Send SNMP traps when a path goes down"; + type empty; + } + leaf trap-path-up { + description "Send SNMP traps when a path goes up"; + type empty; + } + } + container optimize-adaptive-teardown { + description "Post make before break adaptive teardown"; + uses apply-advanced; + leaf p2p { + description "Turn on post make before break adaptive teardown for p2p"; + type empty; + } + leaf timeout { + description "Timeout for adaptive teardown to clean up LSP"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Traffic-engineering control"; + uses apply-advanced; + choice protocols { + case case_1 { + leaf bgp { + description "BGP destinations only"; + type empty; + } + } + case case_2 { + leaf bgp-igp { + description "BGP and IGP destinations"; + type empty; + } + } + case case_3 { + leaf bgp-igp-both-ribs { + description "BGP and IGP destinations with routes in both routing tables"; + type empty; + } + } + case case_4 { + leaf mpls-forwarding { + description "Use MPLS routes for forwarding, not routing"; + type empty; + } + } + } + container database { + description "Traffic engineering database"; + uses apply-advanced; + container import { + description "Configure TED import parameters"; + uses apply-advanced; + container igp-topology { + presence "enable igp-topology"; + description "Download IGP topology into RIB"; + uses apply-advanced; + leaf bgp-link-state { + description "Export IGP topology, instead of TE topology, into BGP-LS"; + type empty; + } + } + leaf-list policy { + ordered-by user; + description "Configure import policy"; + type jt:policy-algebra; + } + leaf identifier { + description "BGP-TE identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint64 { + range "2 .. 18446744073709551615"; + } + } + } + leaf bgp-ls-identifier { + description "BGP-TE domain identifier"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container export { + description "Configure TED export related parameters"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + container credibility { + description "TED credibility value for entries from BGP-TE"; + uses apply-advanced; + leaf unknown { + description "Entries sourced from unknown entities"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf direct { + description "Entries sourced from directly connected links"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf static { + description "Entries sourced from static configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf ospf { + description "Entries sourced from ospf"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-1 { + description "Entries sourced from ISIS Level 1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf isis-level-2 { + description "Entries sourced from ISIS Level 2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + } + } + } + } + container traceoptions { + description "Trace options for MPLS"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "connection" { + description "Trace CCC activity"; + } + enum "connection-detail" { + description "Trace CCC activity in detail"; + } + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "lsping" { + description "Trace LSP ping packets received"; + } + enum "graceful-restart" { + description "Trace graceful-restart-related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "nsr-synchronization-detail" { + description "Trace NSR synchronization events in detail"; + } + enum "static" { + description "Trace static label-switched path"; + } + enum "egress-protection" { + description "Trace egress protection events"; + } + enum "all" { + description "Trace everything"; + } + enum "autobw-state" { + description "Trace autobandwidth events in mpls trace"; + } + enum "externally-controlled-lsp" { + description "Trace externally controlled LSP events in mpls trace"; + } + enum "ted-import" { + description "Trace leaking TED entries into lsdist.0 table"; + } + enum "ted-export" { + description "Trace leaking of entries from lsdist.0 table into TED"; + } + enum "lsp-history" { + description "Trace LSP history events"; + } + enum "abstract-hop" { + description "Trace abstract hop related events"; + } + } + } + } + } + list admin-groups { + key name; + ordered-by user; + description "Administrative groups"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf group-value { + description "Group bit position"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + leaf advertisement-hold-time { + description "Time that an 'LSP down' advertisement will be delayed"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf rsvp-error-hold-time { + description "Time that RSVP PathErr events will be remembered"; + default "25"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 240"; + } + } + } + leaf optimize-aggressive { + description "Run aggressive optimization algorithm based on IGP metric only"; + type empty; + } + leaf smart-optimize-timer { + description "Path optimization interval after a link traversed by the path goes down"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-switchover-delay { + description "Delay before switching LSP to newly optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 900"; + } + } + } + leaf no-propagate-ttl { + description "Disable TTL propagation from IP to MPLS (on push) and MPLS to IP (on pop)"; + type empty; + } + leaf sensor-based-stats { + description "Enable sensor based statistics collection"; + type empty; + } + leaf explicit-null { + description "Advertise the EXPLICIT_NULL label when the router is the egress"; + type empty; + } + leaf ipv6-tunneling { + description "Allow MPLS LSPs to be used for tunneling IPv6 traffic"; + type empty; + } + leaf icmp-tunneling { + description "Allow MPLS LSPs to be used for tunneling ICMP error packets"; + type empty; + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf expand-loose-hop { + description "Perform CSPF path computation to expand loose hops"; + type empty; + } + leaf mib-mpls-show-p2mp { + description "Show p2mp tunnels entries in mpls mib walk"; + type empty; + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + list label-switched-path { + key name; + ordered-by user; + description "Label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS label-switched path"; + type empty; + } + } + } + container traceoptions { + description "Trace options for MPLS label-switched path"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cspf" { + description "Trace CSPF computation"; + } + enum "cspf-node" { + description "Trace nodes visited during CSPF"; + } + enum "cspf-link" { + description "Trace links visited during CSPF"; + } + enum "cspf-abstract" { + description "Trace abstract hop based CSPF details"; + } + enum "state" { + description "Trace state transitions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + leaf backup { + description "Use LSP for IGP backup"; + type empty; + } + leaf from { + description "Address of ingress router"; + type jt:ipv4addr; + } + container pop-and-forward { + presence "enable pop-and-forward"; + description "Enable LSP as pop-and-forward with auto-delegation"; + } + choice label-switched-path-or-template { + case case_1 { + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + } + case case_2 { + leaf template { + description "Template for dynamic lsp paramaters"; + type empty; + } + } + } + leaf corouted-bidirectional { + description "Setup the LSP as a corouted bidirectional LSP"; + type empty; + } + leaf corouted-bidirectional-passive { + description "Associate LSP with incoming corouted bidirectional LSP"; + type empty; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf ldp-tunneling { + description "Allow LDP to use this LSP for tunneling"; + type empty; + } + leaf soft-preemption { + description "Attempt make-before-break service while preempting this LSP"; + type empty; + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf retry-timer { + description "Time before retrying the primary path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + leaf retry-limit { + description "Maximum number of times to retry primary path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container lsp-attributes { + description "Attributes for generalized LSP"; + uses apply-advanced; + leaf signal-bandwidth { + description "Signal bandwidth for the LSP"; + type enumeration { + enum "ds1" { + description "1.544 Mbps"; + } + enum "vt1-5" { + description "1.728 Mbps"; + } + enum "e1" { + description "2.048 Mbps"; + } + enum "vt2" { + description "2.304 Mbps"; + } + enum "ethernet" { + description "10 Mbps"; + } + enum "e3" { + description "34.368 Mbps"; + } + enum "ds3" { + description "44.736 Mbps"; + } + enum "sts-1" { + description "51.84 Mbps"; + } + enum "fastether" { + description "100.00 Mbps"; + } + enum "stm-1" { + description "155.52 Mbps"; + } + enum "stm-4" { + description "622.08 Mbps"; + } + enum "gigether" { + description "1000.00 Mbps"; + } + enum "stm-16" { + description "2488.32 Mbps"; + } + enum "stm-64" { + description "9953.28 Mbps"; + } + enum "10gigether" { + description "10000.00 Mbps"; + } + enum "stm-256" { + description "39813.12 Mbps"; + } + enum "100gige" { + description "100000.00 Mbps"; + } + } + } + leaf switching-type { + description "LSP switching type desired"; + type enumeration { + enum "psc-1" { + description "Packet switching"; + } + enum "lambda" { + description "Lambda switching"; + } + enum "fiber" { + description "Fiber switching"; + } + enum "tdm" { + description "TDM switching"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN switching"; + } + } + } + leaf encoding-type { + description "LSP encoding type desired"; + type enumeration { + enum "packet" { + description "Packet encoding"; + } + enum "ethernet" { + description "Ethernet encoding"; + } + enum "pdh" { + description "PDH encoding"; + } + enum "sonet-sdh" { + description "SONET-SDH encoding"; + } + } + } + leaf gpid { + description "Generalized PID"; + type enumeration { + enum "ipv4" { + } + enum "ethernet" { + } + enum "ppp" { + } + enum "hdlc" { + } + enum "pos-no-scrambling-crc-16" { + } + enum "pos-no-scrambling-crc-32" { + } + enum "pos-scrambling-crc-16" { + } + enum "pos-scrambling-crc-32" { + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + } + leaf revert-timer { + description "Hold-down window before reverting back to primary path, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf optimize-hold-dead-delay { + description "Delay before tearing down the old optimized path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + leaf self-ping-duration { + description "Duration over which to run self-ping (65535 = until success). Default = 1800s"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf no-self-ping { + description "Do not run self-ping for this LSP"; + type empty; + } + choice cspf-attribute { + case case_1 { + leaf random { + description "Randomly select among equal-cost paths"; + type empty; + } + } + case case_2 { + leaf least-fill { + description "Select the least filled among equal-cost paths"; + type empty; + } + } + case case_3 { + leaf most-fill { + description "Select the most filled among equal-cost paths"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + choice lp-type { + case case_1 { + leaf link-protection { + description "Protect LSP from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect LSP from both link and node faults"; + type empty; + } + } + } + leaf intra-domain { + description "Intra-domain LSP"; + status deprecated; + type empty; + } + leaf inter-domain { + description "Inter-domain LSP"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + container fast-reroute { + presence "enable fast-reroute"; + description "Fast reroute"; + uses apply-advanced; + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + choice bw-attribute { + case case_1 { + leaf bandwidth { + description "Bandwidth to reserve (bps)"; + type string; + } + } + case case_2 { + leaf bandwidth-percent { + description "Percentage of main path bandwidth to reserve"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 100"; + } + } + } + } + } + choice include_any_or_no_include_any { + case case_1 { + leaf no-include-any { + description "Disable include-any checking"; + type empty; + } + } + case case_2 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include_all_or_no_include_all { + case case_1 { + leaf no-include-all { + description "Disable include-all checking"; + type empty; + } + } + case case_2 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude_or_no_exclude { + case case_1 { + leaf no-exclude { + description "Disable exclude checking"; + type empty; + } + } + case case_2 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + container p2mp { + presence "enable p2mp"; + description "Point-to-multipoint label-switched path"; + leaf path_name { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Do auto bandwidth allocation for this LSP"; + uses apply-advanced; + leaf adjust-interval { + description "Time to adjust LSP bandwidth"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf adjust-threshold { + description "Percentage change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 50"; + } + } + } + leaf adjust-threshold-absolute { + description "Change in average LSP utilization to trigger auto-adjustment"; + default "0"; + units "bps"; + type string; + } + leaf adjust-threshold-activate-bandwidth { + description "Adjusts signaled bw if greater than this value"; + units "bps"; + type string; + } + leaf minimum-bandwidth { + description "Minimum LSP bandwidth"; + units "bps"; + type string; + } + leaf maximum-bandwidth { + description "Maximum LSP bandwidth"; + units "bps"; + type string; + } + leaf minimum-bandwidth-adjust-interval { + description "Duration for which minimum bandwidth will be frozen"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 31536000"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-change { + description "Change in max average bandwidth to freeze min bandwidth"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf minimum-bandwidth-adjust-threshold-value { + description "Freeze min bandwidth if max average bandwidth falls below this bw"; + status deprecated; + units "bps"; + type string; + } + leaf monitor-bandwidth { + description "Monitor LSP bandwidth without adjustments"; + type empty; + } + leaf adjust-threshold-overflow-limit { + description "Number of consecutive overflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf adjust-threshold-underflow-limit { + description "Number of consecutive underflow samples to trigger auto-adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf resignal-minimum-bandwidth { + description "Resignal the LSP using minimum-bandwidth"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this LSP"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + container associate-lsp { + description "Associate the LSP for OAM"; + uses apply-advanced; + leaf lsp-name { + description "Name of assocation LSP"; + type string { + } + } + leaf from { + description "Address of ingress router of associated LSP"; + type jt:ipv4addr; + } + } + list primary { + key name; + ordered-by user; + description "Preferred path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + list secondary { + key name; + ordered-by user; + description "Backup path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + container bandwidth { + description "Bandwidth to reserve (bps)"; + uses bandwidth-type; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf no-decrement-ttl { + description "Do not decrement the TTL within an LSP"; + type empty; + } + leaf hop-limit { + description "Maximum allowed router hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf admin-down { + description "Set GMPLS LSP to administrative down state"; + type empty; + } + leaf optimize-timer { + description "Periodical path reoptimizations"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container priority { + presence "enable priority"; + description "Preemption priorities"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + choice record-choice { + leaf record { + description "Record transit routers"; + type empty; + } + leaf no-record { + description "Don't record transit routers"; + type empty; + } + } + leaf standby { + description "Keep backup paths in continuous standby"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links for secondary path"; + type empty; + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + container admin-group-extended { + description "Extended administrative group policy"; + uses admin_group_include_exclude; + } + container oam { + description "Periodic OAM"; + uses periodic_oam; + } + leaf ultimate-hop-popping { + description "Request ultimate hop popping from egress"; + type empty; + } + leaf sync-active-path-bandwidth { + description "Signal standby path with bandwidth obtained from active path"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute paths across multi-protocol links and nodes"; + type empty; + } + leaf adaptive { + description "Have the LSP smoothly cut over to new routes"; + type empty; + } + leaf select { + type enumeration { + enum "manual" { + description "Manual override as preferred active path, if up and stable"; + } + enum "unconditional" { + description "Unconditional override as preferred active path, regardless of up/down status"; + } + } + } + container upstream-label { + description "Upstream Label for the bidirectional label-switched path"; + uses apply-advanced; + leaf vlan-id { + description "VLAN ID label for the label-switched path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4094"; + } + } + } + } + container optimize-on-change { + description "Specify additional re-optimization triggers for this path"; + uses apply-advanced; + leaf link-congestion { + description "Optimize when a link becomes congested"; + type empty; + } + } + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + leaf associate-backup-pe-groups { + description "Associate this LSP with backup-pe groups"; + type empty; + } + leaf egress-protection { + description "Use this LSP for egress protection data transport"; + type empty; + } + } + container deselect-on-bandwidth-failure { + presence "enable deselect-on-bandwidth-failure"; + description "Deselect active path if it cannot meet the bandwidth constraint"; + uses apply-advanced; + leaf tear-lsp { + description "Bring down active path when all paths fail to reserve required bandwidth"; + type empty; + } + } + list container-label-switched-path { + key name; + ordered-by user; + leaf name { + description "Name of container-lsp"; + type string { + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS container-label-switched path"; + type empty; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf suffix { + description "Suffix to generate names of members of container LSP"; + type string { + } + } + container splitting-merging { + description "Do splitting and merging"; + uses apply-advanced; + leaf maximum-member-lsps { + description "Maximum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf minimum-member-lsps { + description "Minimum number of LSPs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 64"; + } + } + } + leaf splitting-bandwidth { + description "Maximum bandwidth threshold for splitting"; + units "bps"; + type string; + } + leaf merging-bandwidth { + description "Minimum bandwidth threshold for merging"; + units "bps"; + type string; + } + leaf maximum-signaling-bandwidth { + description "Maximum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf minimum-signaling-bandwidth { + description "Minimum bandwidth for signaling during normalization"; + units "bps"; + type string; + } + leaf splitting-merging-threshold { + description "Change in aggregate LSP utilization to trigger splitting or merging"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container normalization { + description "Do normalization"; + uses apply-advanced; + leaf normalize-interval { + description "Time to normalize container LSP"; + default "86400"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 315360000"; + } + } + } + leaf failover-normalization { + description "Do pre-mature normalization in case some LSPs go down before next normalization"; + type empty; + } + leaf no-incremental-normalize { + description "Do not normalize unless all LSPs are successfully signaled"; + type empty; + } + leaf normalization-retry-duration { + description "Time before retrying the container LSP normalization"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf normalization-retry-limits { + description "Maximum number of times to retry container LSP normalization"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container sampling { + description "Sampling information"; + uses apply-advanced; + leaf cut-off-threshold { + description "Cut-off percentile to remove outliers from aggregate samples"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + choice sampling-mode { + case case_1 { + leaf use-average-aggregate { + description "Use average of the samples"; + type empty; + } + } + case case_2 { + leaf use-percentile { + description "Use a percentile of the samples"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + } + } + leaf lsp-external-controller { + description "Name of the external path computing entity"; + type string { + } + } + } + list transit-lsp-association { + key name; + ordered-by user; + description "Transit label switch path assoication"; + leaf name { + description "Name of transit assocation LSP group"; + type string { + } + } + uses apply-advanced; + leaf lsp-name-1 { + description "Name of assocation LSP 1"; + type string { + } + } + leaf from-1 { + description "Address of associated LSP 1"; + type jt:ipv4addr; + } + leaf lsp-name-2 { + description "Name of assocation LSP 2"; + type string { + } + } + leaf from-2 { + description "Address of associated LSP 2"; + type jt:ipv4addr; + } + } + list path { + key name; + ordered-by user; + description "Route of a label-switched path"; + leaf name { + description "Name of label-switched path"; + type string { + } + } + uses apply-advanced; + list path-list { + key name; + ordered-by user; + description "List of routers in the label-switched path"; + leaf name { + description "Address of next system in path"; + type string { + } + } + leaf abstract { + description "Next system in path is abstract"; + type empty; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf loose-link { + description "Next hop link might not be adjacent"; + type empty; + } + } + case case_3 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + } + list static-label-switched-path { + key name; + ordered-by user; + description "Static label-switched path"; + leaf name { + description "Name of path"; + type string { + } + } + uses apply-advanced; + choice lsp-type { + case case_1 { + container bypass { + description "Bypass ingress label-switched path"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf next-table { + description "Next-table for lookup"; + type string; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipaddr; + } + } + } + case case_2 { + list transit { + key name; + ordered-by user; + description "Transit label-switched path"; + leaf name { + description "Incoming label value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + leaf next-hop { + description "IPv4 or IPv6 address or interface of next-hop router"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf member-interface { + description "AE member interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap top label with this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the top label"; + type empty; + } + } + case case_3 { + leaf stitch { + description "Swap top label with the resolved LSP"; + type empty; + } + } + } + } + } + case case_3 { + container ingress { + description "Ingress LSR configuration for a static LSP"; + uses apply-advanced; + leaf bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf class-of-service { + description "Class-of-service value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + list install { + key name; + ordered-by user; + description "Install prefix"; + leaf name { + description "Destination prefix"; + type jt:ipv4prefix; + } + leaf active { + description "Install prefix into forwarding table"; + type empty; + } + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + container link-protection { + description "Bypass link protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + } + container node-protection { + description "Bypass node protection"; + leaf bypass-name { + description "Bypass label-switched path name"; + type string { + } + } + leaf next-next-label { + description "Label expected by next-next-hop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + leaf no-install-to-address { + description "Don't install host route 'to' address into routing tables"; + type empty; + } + container policing { + description "Traffic policing for this LSP"; + leaf filter { + description "Name of filter to use for policing LSP traffic"; + type string { + } + } + leaf no-auto-policing { + description "Turn off automatic policing for this LSP"; + type empty; + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + leaf push { + description "Label to push"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + leaf entropy-label { + description "Enable entropy label"; + type empty; + } + } + } + case case_4 { + container segment { + description "Segment for segment routing"; + uses apply-advanced; + leaf sid-label { + description "Segment identifier (SID) label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf description { + description "Text description of label-switched path"; + type string { + } + } + leaf next-hop { + description "IPv4 address or interface of next-hop router"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + choice label-action { + case case_1 { + leaf swap { + description "Swap the SID label to this label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + case case_2 { + leaf pop { + description "Pop the SID label"; + type empty; + } + } + } + } + } + } + } + list constituent-list { + key name; + ordered-by user; + description "MPLS constituent list for abstract hops"; + leaf name { + description "Constituent list name"; + type string { + } + } + uses apply-advanced; + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 16; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + max-elements 16; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + max-elements 16; + } + } + list abstract-hop { + key name; + ordered-by user; + description "MPLS abstract hop"; + leaf name { + description "Abstract hop name"; + type string { + } + } + uses apply-advanced; + leaf operator { + description "Operation among constituent lists"; + type enumeration { + enum "AND" { + description "AND"; + } + enum "OR" { + description "OR"; + } + } + } + list constituent-list { + key name; + ordered-by user; + description "Building abstract hop using constituent lists"; + leaf name { + description "Constituent list name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice list-type { + case case_1 { + leaf include-any-list { + description "Include any"; + type empty; + } + } + case case_2 { + leaf include-all-list { + description "Include all"; + type empty; + } + } + case case_3 { + leaf exclude-any-list { + description "Exclude any"; + type empty; + } + } + case case_4 { + leaf exclude-all-list { + description "Exclude all"; + type empty; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "MPLS interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MPLS on this interface"; + type empty; + } + } + } + leaf-list srlg { + ordered-by user; + description "SRLG Name"; + type string; + max-elements 64; + } + leaf always-mark-connection-protection-tlv { + description "Mark connection protection tlv on this interface"; + type empty; + } + leaf switch-away-lsps { + description "Switch away protected LSPs to their bypass LSPs"; + type empty; + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + leaf-list admin-group-extended { + ordered-by user; + description "Extended administrative groups"; + type string; + } + container static { + description "Static label-switch path related configurations"; + uses apply-advanced; + leaf protection-revert-time { + description "FRR revert wait time, 0 means disable"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container egress-protection { + description "Egress router protection"; + uses apply-advanced; + list context-identifier { + key name; + description "Context identifier"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice context-type { + case case_1 { + leaf primary { + description "Primary"; + type empty; + } + } + case case_2 { + leaf protector { + description "Protector"; + type empty; + } + } + } + leaf metric { + description "IGP metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 16777215"; + } + } + } + leaf advertise-mode { + description "Advertise mode"; + type enumeration { + enum "stub-proxy" { + description "Proxy"; + } + enum "stub-alias" { + description "Alias"; + } + } + } + leaf-list admin-group { + ordered-by user; + description "Administrative groups"; + type string; + } + } + container traceoptions { + description "Trace options for egress-protection"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "state" { + description "Trace state transitions"; + } + enum "route" { + description "Trace route transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container label-history { + presence "enable label-history"; + description "MPLS label history recording"; + uses apply-advanced; + leaf max-entries { + description "Limit for the number of history entry per label"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container label-range { + description "MPLS labels ranges"; + uses apply-advanced; + list lsi-label-range { + key name; + ordered-by user; + description "LSI-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list block-label-range { + key name; + ordered-by user; + description "Block-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list dynamic-label-range { + key name; + ordered-by user; + description "Dynamic-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + list static-label-range { + key name; + ordered-by user; + description "Static-label-range"; + leaf name { + description "Label_range_start"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + leaf range-end { + description "Label_range_end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "16 .. 1048575"; + } + } + } + } + leaf label-limit { + description "Limit for the number of concurrent active labels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + grouping admin_group_include_exclude { + uses apply-advanced; + choice include-any-choice { + case case_1 { + leaf-list include-any { + ordered-by user; + description "Groups, one or more of which must be present"; + type string; + } + } + } + choice include-all-choice { + case case_1 { + leaf-list include-all { + ordered-by user; + description "Groups, all of which must be present"; + type string; + } + } + } + choice exclude-choice { + case case_1 { + leaf-list exclude { + ordered-by user; + description "Groups, all of which must be absent"; + type string; + } + } + } + } + grouping bandwidth-type { + uses apply-advanced; + leaf per-traffic-class-bandwidth { + description "Bandwidth to reserve"; + units "bps"; + type string; + } + leaf ct0 { + description "Bandwidth from traffic class 0"; + units "bps"; + type string; + } + leaf ct1 { + description "Bandwidth from traffic class 1"; + units "bps"; + type string; + } + leaf ct2 { + description "Bandwidth from traffic class 2"; + units "bps"; + type string; + } + leaf ct3 { + description "Bandwidth from traffic class 3"; + units "bps"; + type string; + } + } + grouping juniper-protocols-msdp { + uses apply-advanced; + leaf data-encapsulation { + description "Set encapsulation of data packets"; + type enumeration { + enum "disable" { + description "Disable data encapsulation"; + } + enum "enable" { + description "Enable data encapsulation"; + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_inet_type; + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + list source { + key name; + ordered-by user; + description "Configure parameters for each source"; + leaf name { + description "Source address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + } + list group { + key name; + ordered-by user; + description "Configure MSDP peer groups"; + leaf name { + description "MSDP peer group name"; + type string; + } + uses apply-advanced; + leaf mode { + description "MSDP group source-active flooding mode"; + default "standard"; + type enumeration { + enum "standard" { + description "Use standard MSDP source-active flooding rules"; + } + enum "mesh-group" { + description "Group peers are mesh group members"; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list peer { + key name; + ordered-by user; + description "Configure an MSDP peer"; + leaf name { + description "Peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSDP"; + type empty; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf local-address { + description "Local address"; + type jt:ipv4addr; + } + container traceoptions { + description "Trace options for MSDP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MSDP packets"; + } + enum "route" { + description "Trace routing information"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "source-active" { + description "Trace source-active messages"; + } + enum "source-active-request" { + description "Trace source-active request messages"; + } + enum "source-active-response" { + description "Trace source-active response messages"; + } + enum "keepalive" { + description "Trace keepalive messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container active-source-limit { + description "Limit the number of active sources accepted"; + uses apply-advanced; + leaf maximum { + description "Maximum number of active sources accepted"; + default "25000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf threshold { + description "RED threshold for active source acceptance"; + default "24000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf log-warning { + description "Percentage of maximum at which to start generating warnings"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 32767"; + } + } + } + } + leaf keep-alive { + description "Time limit for sending out periodic keep alive to peer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf hold-time { + description "Max time to terminating a peer for having not received any message from "; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 150"; + } + } + } + leaf sa-hold-time { + description "Max time for holding a sa message before timing out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "75 .. 300"; + } + } + } + leaf default-peer { + description "Default RPF peer"; + type empty; + } + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + } + } + } + grouping juniper-protocols-mstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable MSTP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf configuration-name { + description "Configuration name (part of MST configuration identifier)"; + type string { + length "1 .. 32"; + } + } + leaf revision-level { + description "Revision level (part of MST configuration identifier)"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf max-hops { + description "Maximum number of hops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + list msti { + key name; + description "Per-MSTI options"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 4094"; + } + } + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + list interface { + key name; + description "Interface options"; + uses mstp-interface; + } + } + } + grouping juniper-protocols-mvpn { + description "BGP-MVPN configuration"; + uses apply-advanced; + container traceoptions { + description "Trace options for BGP-MVPN"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errors"; + } + enum "nlri" { + description "Trace MVPN advertisements"; + } + enum "topology" { + description "Trace MVPN topology changes"; + } + enum "tunnel" { + description "Trace provider tunnel events"; + } + enum "umh" { + description "Trace Upstream Multicast Hop (UMH) events"; + } + enum "intra-as-ad" { + description "Trace MVPN intra-AS auto discovery routes"; + } + enum "inter-as-ad" { + description "Trace MVPN inter-AS auto discovery routes"; + } + enum "spmsi-ad" { + description "Trace MVPN SPMSI auto discovery routes"; + } + enum "leaf-ad" { + description "Trace MVPN leaf auto discovery routes"; + } + enum "source-active" { + description "Trace MVPN source active routes"; + } + enum "cmcast-join" { + description "Trace MVPN c-multicast join routes"; + } + enum "mdt-safi-ad" { + description "Trace MVPN MDT SAFI auto discovery routes"; + } + enum "mvpn-limit" { + description "Trace MVPN spmsi and cmcast limit events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + status deprecated; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + container family { + description "BGP-MVPN address family"; + uses apply-advanced; + container any { + presence "enable any"; + description "BGP-MVPN properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + description "IPv4 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 BGP-MVPN properties"; + uses apply-advanced; + container autodiscovery-only { + description "Use MVPN exclusively for PE router autodiscovery"; + uses apply-advanced; + container intra-as { + description "Intra-AS autodiscovery options"; + uses apply-advanced; + leaf inclusive { + description "Inclusive provider tunnel autodiscovery"; + type empty; + } + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + choice sender-receiver-site-choice { + case case_1 { + leaf receiver-site { + description "MVPN instance has sites only with multicast receivers"; + type empty; + } + } + case case_2 { + leaf sender-site { + description "MVPN instance has sites only with multicast sources"; + type empty; + } + } + } + leaf unicast-umh-election { + description "Upstream Multicast Hop election based on unicast route preference"; + type empty; + } + container static-umh { + description "Upstream Multicast Hop election based on static configuration"; + uses apply-advanced; + leaf primary { + description "Primary Upstream Multicast Hop"; + type jt:ipv4addr; + } + leaf backup { + description "Secondary Upstream Multicast Hop"; + type jt:ipv4addr; + } + choice source-tree_choice { + case case_1 { + leaf source-tree { + description "Mandatory attribute - static-umh applies only to MVPN source-tree c-multicast joins"; + type empty; + } + } + } + } + leaf cmcast-joins-limit-inet { + description "Maximum number of cmcast entries for v4"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + leaf cmcast-joins-limit-inet6 { + description "Maximum number of cmcast entries for v6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15000"; + } + } + } + container mvpn-mode { + description "MVPN mode of operation"; + uses apply-advanced; + choice mode { + case case_1 { + container rpt-spt { + presence "enable rpt-spt"; + description "MVPN works in multicast RPT and SPT mode"; + uses apply-advanced; + leaf spt-switch-timer { + description "Timeout before a PE router switches between RPT and SPT"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + } + case case_2 { + container spt-only { + presence "enable spt-only"; + description "MVPN works in multicast SPT only mode (default mode)"; + uses apply-advanced; + container source-active-advertisement { + description "Attributes associated with advertising Source-Active A-D routes"; + uses apply-advanced; + leaf dampen { + description "Time to wait before re-advertising source-active route"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf min-rate { + description "Minimum traffic rate required to advertise Source-Active route"; + units "bits per second"; + type string; + } + } + leaf convert-sa-to-msdp { + description "Turn on MVPN SA route to MSDP SA conversion"; + type empty; + } + } + } + } + } + container route-target { + description "Configure route-targets for MVPN routes"; + uses apply-advanced; + container import-target { + description "Target communities used when importing routes"; + uses apply-advanced; + container unicast { + presence "enable unicast"; + description "Use the same target community as configured for unicast"; + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + container target { + presence "enable target"; + description "Target community"; + leaf target-value { + type string { + } + } + choice receiver-sender-target-choice { + case case_1 { + leaf receiver { + description "Target community used when importing receiver site routes"; + type empty; + } + } + case case_2 { + leaf sender { + description "Target community used when importing sender site routes"; + type empty; + } + } + } + } + } + container export-target { + description "Target communities used when exporting routes"; + uses apply-advanced; + leaf unicast { + description "Use the same target community as configured for unicast"; + type empty; + } + leaf target { + description "Target community"; + type string { + } + } + } + } + container mvpn-join-load-balance { + description "MVPN Join Load Balancing Algorithm"; + uses apply-advanced; + choice algorithm { + case case_1 { + container bytewise-xor-hash { + presence "enable bytewise-xor-hash"; + description "Upstream selection using bytewise XOR hash"; + } + } + } + } + container hot-root-standby { + description "MVPN live-live - hot root standby"; + uses apply-advanced; + choice tree { + case case_1 { + container source-tree { + presence "enable source-tree"; + description "MVPN live-live - hot root standby for source tree"; + } + } + } + container min-rate { + description "Minimum traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + uses apply-advanced; + leaf rate { + description "Minium traffic rate for the provider tunnel below which switchover is initiated (in bps)"; + units "bits per second"; + type string; + } + leaf revert-delay { + description "Time to delay updating of multicast routes to allow for multicast convergence"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + } + } + container inter-region-template { + description "MVPN inter-region tunnel mapping template"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Define a inter-region template"; + leaf name { + description "MVPN Template Name"; + type string; + } + uses apply-advanced; + list region { + key name; + ordered-by user; + description "BGP peer group names used as region"; + leaf name { + description "Region name"; + type string; + } + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + container all-regions { + description "Used for all regions not specified"; + uses apply-advanced; + choice tunnel-type { + case case_1 { + container rsvp-te { + description "RSVP-TE point-to-multipoint LSP for flooding"; + uses apply-advanced; + choice static-or-dynamic { + case case_1 { + leaf static-lsp { + description "Name of point-to-multipoint LSP"; + type string { + } + } + } + case case_2 { + container label-switched-path-template { + description "Template for dynamic point-to-multipoint LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-multipoint LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + } + case case_2 { + container ldp-p2mp { + presence "enable ldp-p2mp"; + description "LDP point-to-multipoint LSP for flooding"; + } + } + case case_3 { + container ingress-replication { + description "Ingress replication tunnel"; + uses apply-advanced; + leaf create-new-ucast-tunnel { + description "Create new unicast tunnel for ingress replication"; + type empty; + } + container label-switched-path { + presence "enable label-switched-path"; + description "Point-to-point LSP unicast tunnel"; + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + } + } + } + case case_4 { + leaf incoming { + description "Same as incoming provider tunnel"; + type empty; + } + } + } + } + } + } + leaf source-redundancy { + description "Assume all the sources for a particular group is sending same data"; + type empty; + } + container umh-selection-additional-input { + description "Additional parameters to consider during UMH"; + uses apply-advanced; + leaf source-active-preference { + description "Use the preference set in the source active route"; + type empty; + } + leaf tunnel-status { + description "Use the RSVP tunnel status"; + type empty; + } + } + } + grouping juniper-protocols-mvrp { + description "MVRP Configuration"; + uses apply-advanced; + container traceoptions { + description "Tracing options for MVRP"; + uses mrp-trace-options; + } + leaf join-timer { + description "Join timer interval"; + default "200"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + default "800"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf no-dynamic-vlan { + description "Disable dynamic VLAN creation"; + type empty; + } + leaf no-attribute-length-in-pdu { + description "No attribute length while sending pdu "; + type empty; + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the MVRP BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + list interface { + key name; + ordered-by user; + description "Configure interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf join-timer { + description "Join timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "100 .. 500"; + } + } + } + leaf leave-timer { + description "Leave timer interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1000"; + } + } + } + leaf leaveall-timer { + description "Leaveall timer interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "10 .. 60"; + } + } + } + leaf point-to-point { + description "Port is point to point"; + type empty; + } + leaf registration { + description "Registration mode"; + default "normal"; + type enumeration { + enum "normal" { + description "Normal registration mode"; + } + enum "restricted" { + description "Restricted registration mode"; + } + enum "forbidden" { + description "Forbidden registration mode"; + } + } + } + } + } + grouping juniper-protocols-ospf { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF"; + type empty; + } + } + } + container traceoptions { + description "Trace options for OSPF"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "spf" { + description "Trace SPF calculations"; + } + enum "error" { + description "Trace errored packets"; + } + enum "event" { + description "Trace OSPF state machine events"; + } + enum "packet-dump" { + description "Dump the contents of selected packet types"; + } + enum "flooding" { + description "Trace LSA flooding"; + } + enum "lsa-analysis" { + description "Trace LSA analysis"; + } + enum "packets" { + description "Trace all OSPF packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "database-description" { + description "Trace database description packets"; + } + enum "lsa-request" { + description "Trace LSA request packets"; + } + enum "lsa-update" { + description "Trace LSA update packets"; + } + enum "lsa-ack" { + description "Trace LSA acknowledgment packets"; + } + enum "ldp-synchronization" { + description "Trace synchronization between OSPF and LDP"; + } + enum "on-demand" { + description "Trace demand circuit extensions"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "graceful-restart" { + description "Trace graceful restart"; + } + enum "restart-signaling" { + description "Trace restart signaling"; + } + enum "backup-spf" { + description "Trace backup SPF (LFA) specific events"; + } + enum "source-packet-routing" { + description "Trace source packet routing (SPRING) events"; + } + enum "post-convergence-lfa" { + description "Trace post-convergence-lfa related events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology parameters"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf topology-id { + description "Topology identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "32 .. 127"; + } + } + } + leaf overload { + description "Set the overload mode (repel transit traffic)"; + type empty; + } + leaf rib-group { + description "Routing table group for importing routes"; + type string; + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container spf-options { + description "Configure options for SPF"; + uses apply-advanced; + leaf delay { + description "Time to wait before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf holddown { + description "Time to hold down before running an SPF"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 20000"; + } + } + } + leaf rapid-runs { + description "Number of maximum rapid SPF runs before holddown"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf no-ignore-our-externals { + description "Do not ignore self-generated external and NSSA LSAs"; + type empty; + } + } + container backup-spf-options { + description "Configure options for backup SPF"; + uses apply-advanced; + leaf disable { + description "Do not run backup SPF"; + type empty; + } + leaf no-install { + description "Do not install backup nexthops into the RIB"; + type empty; + } + leaf downstream-paths-only { + description "Use only downstream backup paths"; + type empty; + } + container remote-backup-calculation { + presence "enable remote-backup-calculation"; + description "Calculate Remote LFA backup nexthops"; + uses apply-advanced; + } + container use-post-convergence-lfa { + presence "enable use-post-convergence-lfa"; + description "Calculate post-convergence backup paths"; + uses apply-advanced; + leaf maximum-labels { + description "Maximum number of labels installed for post-convergence paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 5"; + } + } + } + leaf maximum-backup-paths { + description "Maximum number of equal-cost post-convergence paths installed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 8"; + } + } + } + } + container per-prefix-calculation { + description "Calculate backup nexthops for non-best prefix originators"; + uses apply-advanced; + leaf stubs { + description "Per prefix calculation for stubs only"; + type empty; + } + leaf summary { + description "Per prefix calculation for summary originators only"; + type empty; + } + leaf externals { + description "Per prefix calculation for externals"; + type empty; + } + leaf all { + description "Per prefix calculation for all"; + type empty; + } + } + leaf node-link-degradation { + description "Degrade to link protection when nodelink protection not available"; + type empty; + } + leaf use-source-packet-routing { + description "Use spring backup paths for inet.0 routes"; + type empty; + } + } + leaf prefix-export-limit { + description "Maximum number of prefixes that can be exported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf rib-group { + description "Routing table group for importing OSPF routes"; + type string; + } + leaf job-stats { + description "Collect job statistics"; + type empty; + } + container overload { + presence "enable overload"; + description "Set the overload mode (repel transit traffic)"; + uses apply-advanced; + leaf timeout { + description "Time after which overload mode is reset"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + leaf allow-route-leaking { + description "Allow routes to be leaked when overload is configured"; + type empty; + } + leaf stub-network { + description "Advertise Stub Network with maximum metric"; + type empty; + } + leaf intra-area-prefix { + description "Advertise Intra Area Prefix with maximum metric"; + type empty; + } + leaf as-external { + description "Advertise As External with maximum usable metric"; + type empty; + } + } + container database-protection { + presence "enable database-protection"; + description "Configure database protection attributes"; + uses apply-advanced; + leaf maximum-lsa { + description "Maximum allowed non self-generated LSAs"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf warning-only { + description "Emit only a warning when LSA maximum limit is exceeded"; + type empty; + } + leaf warning-threshold { + description "Percentage of LSA maximum above which to trigger warning"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "30 .. 100"; + } + } + } + leaf ignore-count { + description "Maximum number of times to go into ignore state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 32"; + } + } + } + leaf ignore-time { + description "Time to stay in ignore state and ignore all neighbors"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf reset-time { + description "Time after which the ignore count gets reset to zero"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Time for all neighbors to become full"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf notify-duration { + description "Time to send all max-aged grace LSAs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + container helper-disable { + presence "enable helper-disable"; + description "Disable graceful restart helper capability"; + uses apply-advanced; + choice disable-choices { + case case_1 { + leaf standard { + description "Disable helper-mode for rfc3623 based GR"; + type empty; + } + } + case case_2 { + leaf restart-signaling { + description "Disable helper mode for restart-signaling "; + type empty; + } + } + case case_3 { + leaf both { + description "Disable helper mode for both the types of GR"; + type empty; + } + } + } + } + leaf no-strict-lsa-checking { + description "Do not abort graceful helper mode upon LSA changes"; + type empty; + } + } + container traffic-engineering { + presence "enable traffic-engineering"; + description "Configure traffic engineering attributes"; + uses apply-advanced; + leaf no-topology { + description "Disable dissemination of TE link-state topology information"; + type empty; + } + leaf multicast-rpf-routes { + description "Install routes for multicast RPF checks into inet.2"; + type empty; + } + leaf igp-topology { + description "Download IGP topology into TED"; + type empty; + } + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + type empty; + } + container shortcuts { + presence "enable shortcuts"; + description "Use label-switched paths as next hops, if possible"; + uses apply-advanced; + leaf ignore-lsp-metrics { + description "Ignore label-switched path metrics when doing shortcuts"; + status deprecated; + type empty; + } + leaf lsp-metric-into-summary { + description "Advertise LSP metric into summary LSAs"; + type empty; + } + } + leaf advertise-unnumbered-interfaces { + description "Advertise unnumbered interfaces"; + type empty; + } + leaf credibility-protocol-preference { + description "TED protocol credibility follows protocol preference"; + type empty; + } + } + leaf route-type-community { + description "Specify BGP extended community value to encode OSPF route type"; + type enumeration { + enum "iana" { + description "BGP extended community value used is 0x0306"; + } + enum "vendor" { + description "Vendor BGP extended community value used is 0x8000"; + } + } + } + container domain-id { + description "Configure domain ID"; + choice domain_id_or_disable { + case case_1 { + leaf domain-id { + description "Domain ID"; + type string; + } + } + case case_2 { + leaf disable { + description "Disable domain ID"; + type empty; + } + } + } + } + choice domain_vpn_tag_or_disable { + case case_1 { + leaf domain-vpn-tag { + description "Domain VPN tag for external LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + case case_2 { + leaf no-domain-vpn-tag { + description "Disable domain VPN tag"; + type empty; + } + } + } + leaf preference { + description "Preference of internal routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf external-preference { + description "Preference of external routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf labeled-preference { + description "Preference of labeled routes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy (for external routes or setting priority)"; + type jt:policy-algebra; + } + leaf reference-bandwidth { + description "Bandwidth for calculating metric defaults"; + type string; + } + leaf lsa-refresh-interval { + description "LSA refresh interval (minutes)"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 50"; + } + } + } + leaf spf-delay { + description "Time to wait before running an SPF"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50 .. 8000"; + } + } + } + leaf no-rfc-1583 { + description "Disable RFC1583 compatibility"; + type empty; + } + container source-packet-routing { + presence "enable source-packet-routing"; + description "Enable source packet routing (SPRING)"; + uses apply-advanced; + container node-segment { + presence "enable node-segment"; + description "Enable support for Node segments in SPRING"; + uses apply-advanced; + leaf ipv4-index { + description "Set ipv4 node segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16383"; + } + } + } + leaf index-range { + description "Set range of node segment indices allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 16384"; + } + } + } + } + leaf mapping-server { + description "Mapping server name"; + type string; + } + leaf install-prefix-sid-for-best-route { + description "For best route install a exact prefix sid route"; + type empty; + } + } + leaf forwarding-address-to-broadcast { + description "Set forwarding address in Type 5 LSA in broadcast network"; + type empty; + } + choice nssa-abr-option { + case case_1 { + leaf no-nssa-abr { + description "Disable full NSSA functionality at ABR"; + type empty; + } + } + } + container sham-link { + presence "enable sham-link"; + description "Configure parameters for sham links"; + uses apply-advanced; + leaf local { + description "Local sham link endpoint address"; + type jt:ipaddr; + } + leaf no-advertise-local { + description "Don't advertise local sham link endpoint as stub in router LSA"; + status deprecated; + type empty; + } + } + list area { + key name; + ordered-by user; + description "Configure an OSPF area"; + leaf name { + description "Area ID"; + type jt:areaid; + } + uses apply-advanced; + choice stub-option { + case case_1 { + container stub { + presence "enable stub"; + description "Configure a stub area"; + leaf default-metric { + description "Metric for the default route in this stub area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this stub area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this stub area"; + type empty; + } + } + } + } + case case_2 { + container nssa { + presence "enable nssa"; + description "Configure a not-so-stubby area"; + uses apply-advanced; + container default-lsa { + presence "enable default-lsa"; + description "Configure a default LSA"; + uses apply-advanced; + leaf default-metric { + description "Metric for the default route in this area"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf type-7 { + description "Flood type 7 default LSA if no-summaries is configured"; + type empty; + } + } + leaf default-metric { + description "Metric for the default route in this area"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "External metric type for the default type 7 LSA"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + choice summaries-choice { + leaf summaries { + description "Flood summary LSAs into this NSSA area"; + type empty; + } + leaf no-summaries { + description "Don't flood summary LSAs into this NSSA area"; + type empty; + } + } + list area-range { + key name; + ordered-by user; + description "Configure NSSA area ranges"; + leaf name { + description "Range to summarize NSSA routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + container override-metric { + presence "enable override-metric"; + description "Override the dynamic metric for this area-range"; + uses apply-advanced; + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + leaf metric-type { + description "Set the metric type for the override metric"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + } + } + } + } + } + list area-range { + key name; + ordered-by user; + description "Configure area ranges"; + leaf name { + description "Range to summarize routes in this area"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Restrict advertisement of this area range"; + type empty; + } + leaf exact { + description "Enforce exact match for advertisement of this area range"; + type empty; + } + leaf override-metric { + description "Override the dynamic metric for this area-range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16777215"; + } + } + } + } + leaf-list network-summary-export { + ordered-by user; + description "Export policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list network-summary-import { + ordered-by user; + description "Import policy for Type 3 Summary LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-export { + ordered-by user; + description "Export policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf-list inter-area-prefix-import { + ordered-by user; + description "Import policy for Inter Area Prefix LSAs"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + status deprecated; + type enumeration { + enum "none" { + description "No authentication"; + status deprecated; + } + enum "simple" { + description "Simple password authentication"; + status deprecated; + } + enum "md5" { + description "MD5 authentication"; + status deprecated; + } + } + } + list virtual-link { + key "neighbor-id transit-area"; + ordered-by user; + description "Configure virtual links"; + leaf neighbor-id { + description "Router ID of a virtual neighbor"; + type jt:ipv4addr; + } + leaf transit-area { + description "Transit area in common with virtual neighbor"; + type jt:areaid; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this virtual link"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list sham-link-remote { + key name; + ordered-by user; + description "Configure parameters for remote sham link endpoint"; + leaf name { + description "Remote sham link endpoint address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf metric { + description "Sham link metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Include an interface in this area"; + leaf name { + description "Interface name"; + type union { + type jt:ipv4addr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this interface"; + type empty; + } + } + } + leaf interface-type { + description "Type of interface"; + type enumeration { + enum "nbma" { + description "Nonbroadcast multiaccess"; + } + enum "p2mp" { + description "Point-to-multipoint NBMA"; + } + enum "p2p" { + description "Point-to-point"; + } + enum "p2mp-over-lan" { + description "Point-to-multipoint over LAN mode"; + } + } + } + container post-convergence-lfa { + presence "enable post-convergence-lfa"; + description "Protect interface using post-convergence backup path"; + uses apply-advanced; + container node-protection { + presence "enable node-protection"; + description "Compute backup path assuming node failure"; + uses apply-advanced; + leaf cost { + description "Cost for node protection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + case case_2 { + leaf node-link-protection { + description "Protect interface from both link and node faults"; + type empty; + } + } + } + leaf no-eligible-backup { + description "Not eligible to backup traffic from protected interfaces"; + type empty; + } + leaf no-eligible-remote-backup { + description "Not eligible for Remote-LFA backup traffic from protected interfaces"; + type empty; + } + container passive { + presence "enable passive"; + description "Do not run OSPF, but advertise it"; + uses apply-advanced; + container traffic-engineering { + description "Advertise TE link information"; + uses apply-advanced; + leaf remote-node-id { + description "Remote address of the link"; + type jt:ipaddr; + } + leaf remote-node-router-id { + description "TE Router-ID of the remote node"; + type jt:ipv4addr; + } + } + } + leaf secondary { + description "Treat interface as secondary"; + type empty; + } + leaf own-router-lsa { + description "Generate a separate router LSA for this interface"; + type empty; + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf te-metric { + description "Traffic engineering metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf priority { + description "Designated router priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container ldp-synchronization { + description "Advertise maximum metric until LDP is operational"; + presence "enable ldp-synchronization"; + uses ldp-sync-obj; + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + leaf ipsec-sa { + description "IPSec security association name"; + type string { + length "1 .. 32"; + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + leaf transmit-interval { + description "OSPF packet transmit interval (milliseconds)"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf full-neighbors-only { + description "Setup BFD sessions only to Full neighbors"; + type empty; + } + } + leaf dynamic-neighbors { + description "Learn neighbors dynamically on a p2mp interface"; + type empty; + } + leaf no-advertise-adjacency-segment { + description "Do not advertise an adjacency segment for this interface"; + type empty; + } + list neighbor { + key name; + ordered-by user; + description "NBMA neighbor"; + leaf name { + description "Address of neighbor"; + type jt:ipaddr; + } + leaf eligible { + description "Eligible to be DR on an NBMA network"; + type empty; + } + } + leaf poll-interval { + description "Poll interval for NBMA interfaces"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-interface-state-traps { + description "Do not send interface state change traps"; + type empty; + } + } + leaf no-source-packet-routing { + description "Disable SPRING in this area"; + type empty; + } + leaf no-context-identifier-advertisement { + description "Disable context identifier advertisments in this area"; + type empty; + } + list context-identifier { + key name; + ordered-by user; + description "Configure context identifier in support of edge protection"; + leaf name { + description "Context identifier"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list label-switched-path { + key name; + ordered-by user; + description "Configuration for advertisement of a label-switched path"; + leaf name { + description "Name of label-switched path to be advertised"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this label-switched path"; + type empty; + } + } + } + leaf metric { + description "Interface metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + list topology { + key name; + ordered-by user; + description "Topology specific attributes"; + leaf name { + description "Topology name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable this topology"; + type empty; + } + leaf metric { + description "Topology metric"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container bandwidth-based-metrics { + description "Configure bandwidth based metrics"; + uses apply-advanced; + list bandwidth { + key name; + description "Bandwidth threshold"; + leaf name { + type string; + } + leaf metric { + description "Metric associated with specified bandwidth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable OSPF on this control peer"; + type empty; + } + } + } + leaf retransmit-interval { + description "Retransmission interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf transit-delay { + description "Transit delay (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf hello-interval { + description "Hello interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf dead-interval { + description "Dead interval (seconds)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf mtu { + description "Maximum OSPF packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "128 .. 65535"; + } + } + } + choice auth { + case case_1 { + container authentication { + uses juniper-ospf-authentication; + } + } + case case_2 { + container authentication-key { + description "Authentication key"; + status deprecated; + leaf keyname { + description "Authentication key value"; + type jt:unreadable; + } + leaf key-id { + description "Key ID for MD5 authentication"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + } + leaf demand-circuit { + description "Interface functions as a demand circuit"; + type empty; + } + leaf flood-reduction { + description "Enable flood reduction"; + type empty; + } + leaf no-neighbor-down-notification { + description "Don't inform other protocols about neighbor down events"; + type empty; + } + } + } + } + grouping juniper-protocols-pim { + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all address families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on all interfaces"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on all interfaces"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM"; + type empty; + } + } + } + container nonstop-routing { + description "Configure PIM nonstop-routing attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable non-stop routing for PIM"; + type empty; + } + } + } + } + container traceoptions { + description "Trace options for PIM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "register" { + description "Trace register/register-stop messages"; + } + enum "join" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "prune" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "graft" { + description "Trace join/prune/graft/graft-ack messages"; + } + enum "bootstrap" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "rp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "autorp" { + description "Trace bootstrap/RP/auto-RP messages"; + } + enum "assert" { + description "Trace assert messages"; + } + enum "mdt" { + description "Trace messages related to multicast data tunnels"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "bidirectional-df-election" { + description "Trace bidirectional PIM DF election events"; + } + enum "mofrr" { + description "Trace Multicast only Fast Re-Route messages"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses pim_filter_obj; + } + } + } + container dense-groups { + description "Dense mode groups for sparse-dense mode"; + uses apply-advanced; + leaf dynamic-reject { + description "Reject dynamic autorp negative dense-mode prefixes learnt from network"; + type empty; + } + list pim-dense-group-type { + key name; + ordered-by user; + leaf name { + description "Group address or range to forward in dense mode"; + type jt:ipprefix; + } + choice dense-group-flags { + case case_1 { + leaf reject { + description "Do not include prefix as dense mode; force sparse mode"; + type empty; + } + } + case case_2 { + leaf announce { + description "Advertise as negative prefix in auto-RP announce messages"; + type empty; + } + } + } + } + } + leaf vpn-tunnel-source { + description "Source address for the provider space mGRE tunnel"; + status deprecated; + type jt:ipv4addr; + } + leaf vpn-group-address { + description "Group address for the VPN in provider space"; + status deprecated; + type jt:ipv4addr; + } + leaf-list tunnel-devices { + ordered-by user; + description "Tunnel devices to be used for creating mt interfaces"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + container rpf-selection { + description "Select RPF neighbor"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + list prefix-list { + key name; + ordered-by user; + description "Multicast group prefix list"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + uses apply-advanced; + container wildcard-source { + presence "enable wildcard-source"; + description "Select RPF for (*,g) and unspecified (s,g) joins"; + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources"; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf next-hop { + description "Next-hop address"; + type jt:ipaddr; + } + } + } + } + container mvpn { + presence "enable mvpn"; + description "PIM MVPN control-plane options"; + uses apply-advanced; + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + status deprecated; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + container family { + description "PIM MVPN address family"; + uses apply-advanced; + container inet { + description "IPv4 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv4"; + type empty; + } + } + container inet6 { + description "IPv6 PIM MVPN specific properties"; + uses apply-advanced; + leaf rosen-mvpn { + status deprecated; + type empty; + } + leaf ngen-mvpn { + status deprecated; + type empty; + } + container autodiscovery { + description "PE router autodiscovery options for SSM MDTs"; + uses apply-advanced; + leaf inet-mdt { + description "MDT-SAFI PE autodiscovery for SSM MDTs"; + type empty; + } + } + leaf disable { + description "Disable family IPv6"; + type empty; + } + } + } + } + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + leaf-list import { + ordered-by user; + description "PIM sparse import join policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "PIM sparse export join policy"; + type jt:policy-algebra; + } + container mldp-inband-signalling { + presence "enable mldp-inband-signalling"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "PIM MLDP join translation filter policy"; + type jt:policy-algebra; + } + } + container rpf-vector { + description "RPF vector TLV"; + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "RPF vector TLV include policy"; + type jt:policy-algebra; + } + } + leaf assert-timeout { + description "Set assert timeout"; + default "180"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 210"; + } + } + } + leaf assert-robust-count { + description "Number of assert messages an assert winner sends in one cycle"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + leaf join-prune-timeout { + description "Set join/prune timeout"; + default "210"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "210 .. 420"; + } + } + } + container spt-threshold { + description "Set shortest-path-tree threshold policy"; + uses apply-advanced; + leaf-list infinity { + ordered-by user; + description "Apply policy to always remain on shared tree"; + type jt:policy-algebra; + } + } + container sglimit { + description "Set limit on number of (S,G) states "; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container rp { + description "Router's rendezvous point properties"; + uses apply-advanced; + leaf bootstrap-priority { + description "Eligibility to be the bootstrap router (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list bootstrap-import { + ordered-by user; + description "Bootstrap import policy (IPv4 only)"; + type jt:policy-algebra; + } + leaf-list bootstrap-export { + ordered-by user; + description "Bootstrap export policy (IPv4 only)"; + type jt:policy-algebra; + } + container bootstrap { + description "Bootstrap properties"; + uses apply-advanced; + container family { + description "Bootstrap address family"; + container inet { + description "IPv4 bootstrap properties"; + uses pim_bootstrap_options_type; + } + container inet6 { + description "IPv6 bootstrap properties"; + uses pim_bootstrap_options_type; + } + } + } + container register-limit { + description "Set limit on incoming registers that create (S,G) state"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container group-rp-mapping { + description "Group-rp-mapping"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf maximum { + description "Maximum limit above which additional entries are not accepted"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf threshold { + description "Percentage of maximum at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf log-interval { + description "Time between successive log messages"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf-list rp-register-policy { + ordered-by user; + description "RP policy applied to incoming register messages"; + type jt:policy-algebra; + } + leaf-list dr-register-policy { + ordered-by user; + description "DR policy applied to outgoing register messages"; + type jt:policy-algebra; + } + container local { + description "Router's local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address (IPv4 only)"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP (IPv4 only)"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds (IPv4 only)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP (IPv4 only)"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container family { + description "Local RP address family"; + container inet { + description "IPv4 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv4addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv4prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv4 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv4 address of one or more remote anycast RPs"; + leaf name { + description "IPv4 address of remote anycast RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf forward-msdp-sa { + description "Forward SAs learned from MSDP to this RP"; + type empty; + } + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipaddr; + } + } + } + container inet6 { + description "IPv6 local RP properties"; + uses apply-advanced; + leaf address { + description "Local RP address"; + type jt:ipv6addr; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this RP"; + type empty; + } + } + } + leaf priority { + description "Router's priority for becoming an RP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf hold-time { + description "How long neighbor considers this router to be up, in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range for which this router can be an RP"; + leaf name { + type jt:ipv6prefix; + } + uses apply-advanced; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + container anycast-pim { + description "Attributes for IPv6 anycast PIM"; + uses apply-advanced; + container rp-set { + description "Rendezvous points belonging to anycast RP set"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IPv6 address of one or more remote anycast RPs"; + leaf name { + description "IPv6 address of remote anycast RP"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + leaf local-address { + description "Local address for replicating register messages to other RPs"; + type jt:ipv6addr; + } + } + } + } + } + container embedded-rp { + presence "enable embedded-rp"; + description "Set embedded-RP mode (IPv6 only)"; + uses apply-advanced; + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf maximum-rps { + description "Maximum number of embedded RPs"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container auto-rp { + description "Set auto-RP mode (IPv4 only)"; + uses apply-advanced; + choice autorp-mode { + case case_1 { + leaf discovery { + description "Listen for auto-RP discovery messages"; + type empty; + } + } + case case_2 { + leaf announce { + description "Transmit auto-RP announcement messages"; + type empty; + } + } + case case_3 { + leaf mapping { + description "Transmit auto-RP mapping messages"; + type empty; + } + } + } + choice mapping-agent-election-choice { + leaf mapping-agent-election { + description "Consider higher-addressed mapping agents as authoritative"; + type empty; + } + leaf no-mapping-agent-election { + description "Don't consider higher-addressed mapping agents as authoritative"; + type empty; + } + } + } + container static { + description "Configure static PIM RPs"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "RP address"; + leaf name { + description "IP address of RP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf version { + description "PIM version of RP"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + list group-ranges { + key name; + ordered-by user; + description "Group address range of RP"; + uses pim_rp_group_range_type; + } + leaf override { + description "Static RP mapping will take precedence over dynamic"; + type empty; + } + } + } + leaf register-probe-time { + description "Register probe time"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 60"; + } + } + } + } + leaf passive { + description "Configure PIM protocol in passive mode"; + type empty; + } + list interface { + key name; + ordered-by user; + description "PIM interface options"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + container family { + description "Local address family"; + container any { + presence "enable any"; + description "Default properties for all families"; + uses apply-advanced; + leaf disable { + description "Disable all families"; + type empty; + } + } + container inet { + presence "enable inet"; + description "IPv4 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + leaf mcae-mac-synchronize { + description "Mclag mac synchronization"; + type empty; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv4 on this interface"; + type empty; + } + } + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 specific properties"; + uses apply-advanced; + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIMv6 on this interface"; + type empty; + } + } + } + } + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM on this interface"; + type empty; + } + } + } + leaf mode { + description "Mode of interface"; + type enumeration { + enum "dense" { + description "Dense mode"; + } + enum "sparse" { + description "Sparse mode"; + } + enum "sparse-dense" { + description "Sparse-dense mode"; + } + enum "bidirectional-sparse" { + description "Bidirectional-sparse mode"; + } + enum "bidirectional-sparse-dense" { + description "Bidirectional-sparse-dense mode"; + } + } + } + leaf priority { + description "Hello option DR priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + leaf nondr-stickydr { + description "Make DR sticky when transition from NonDR to DR"; + type empty; + } + leaf version { + description "Force PIM version"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2"; + } + } + } + leaf hello-interval { + description "Hello interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list neighbor-policy { + ordered-by user; + description "PIM neighbor policy applied to incoming hello messages"; + type jt:policy-algebra; + } + leaf accept-remote-source { + description "Accept traffic from remote source"; + type empty; + } + container dual-dr { + presence "enable dual-dr"; + description "Configure PIM Dual DR"; + uses apply-advanced; + leaf enhanced { + description "Enable enhanced PIM Dual DR"; + type empty; + } + } + leaf distributed-dr { + description "PIM Distributed DR"; + type empty; + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options (ipv4 only)"; + status deprecated; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + container mdt { + description "Configure multicast data tunnel parameters"; + status deprecated; + uses apply-advanced; + container threshold { + description "Threshold for creation of multicast tunnels"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP prefix of multicast group"; + leaf name { + description "IP prefix of group"; + type jt:ipprefix; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP prefix of one or more multicast sources "; + leaf name { + description "IP prefix of source"; + type jt:ipprefix; + } + uses apply-advanced; + leaf rate { + description "Data threshold to create new tunnel"; + units "kilobits"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1000000"; + } + } + } + } + } + } + leaf data-mdt-reuse { + description "Allow multiple customer streams to be transmitted over one data tunnel "; + type empty; + } + leaf tunnel-limit { + description "Maximum multicast data tunnels"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8192"; + } + } + } + leaf group-range { + description "Group address range for multicast data tunnels"; + type jt:ipprefix; + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable PIM graceful restart capability"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 300"; + } + } + } + leaf no-bidirectional-mode { + description "Disable PIM graceful restart for bidirectional mode"; + type empty; + } + leaf restart-complete-duration { + description "Maximum time for graceful restart to complete (seconds)"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 300"; + } + } + } + } + container join-load-balance { + presence "enable join-load-balance"; + description "Configure PIM join load balancing"; + uses apply-advanced; + leaf automatic { + description "Enable automatic PIM join load balancing"; + type empty; + } + } + leaf standby-path-creation-delay { + description "Amount of time to wait before creating standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf idle-standby-path-switchover-delay { + description "Amount of time to wait before switching over to idle standby path"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf dr-election-on-p2p { + description "Enable DR election on Point-to-Point Interfaces"; + type empty; + } + leaf no-wildcard-register-stop { + description "Disable sending of wildcard register stop message"; + type empty; + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf mpls-internet-multicast { + description "Enable support for Internet Multicast over MPLS"; + type empty; + } + container join-make-before-break { + description "Enable PIM Join Make-Before-Break during RPF neighbor change"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Make-Before-Break for PIM RPF neighbor change"; + type empty; + } + } + } + } + leaf reset-tracking-bit { + description "Clear tracking-bit in PIM Hello LAN Prune Delay Option"; + type empty; + } + leaf propagation-delay { + description "Propagation delay value"; + default "500"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 2000"; + } + } + } + leaf override-interval { + description "Override interval value"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "500 .. 6000"; + } + } + } + container default-vpn-source { + presence "enable default-vpn-source"; + description "Let all VRFs use master loopback address for mt interfaces"; + uses apply-advanced; + leaf interface-name { + description "Master loopback interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container static { + description "Static PIM Join"; + uses apply-advanced; + leaf distributed { + description "Distributed all PIM Joins"; + type empty; + } + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static group"; + type empty; + } + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "IP multicast source address"; + type jt:ipaddr; + } + uses apply-advanced; + leaf distributed { + description "Distributed static source"; + type empty; + } + leaf no-upstream-join { + description "Prevent sending PIM join"; + type empty; + } + } + } + } + } + grouping juniper-protocols-pim-snooping { + description "PIM snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PIM Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all PIM packets"; + } + enum "hello" { + description "Trace hello packets"; + } + enum "join" { + description "Trace join messages"; + } + enum "prune" { + description "Trace prune messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM designated router port"; + type empty; + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan_id of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf no-dr-flood { + description "Disable default flooding of multicast data on the PIM DR port"; + type empty; + } + } + } + grouping juniper-protocols-rip { + uses apply-advanced; + container traceoptions { + description "Trace options for RIP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "auth" { + description "Trace RIP authentication"; + } + enum "error" { + description "Trace RIP errors"; + } + enum "expiration" { + description "Trace RIP route expiration processing"; + } + enum "holddown" { + description "Trace RIP hold-down processing"; + } + enum "packets" { + description "Trace all RIP packets"; + } + enum "request" { + description "Trace RIP information packets"; + } + enum "trigger" { + description "Trace RIP triggered updates"; + } + enum "update" { + description "Trace RIP update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + description "Filter to apply to this flag"; + presence "enable filter"; + uses rip_filter_obj; + } + } + } + container rib-group { + description "Routing table group for importing RIP routes"; + uses rib_group_inet_type; + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv2 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv2 packets"; + type empty; + } + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a message in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf interface-type { + description "Interface type for the neighbor"; + type enumeration { + enum "p2mp" { + description "Point-to-multipoint link"; + } + } + } + leaf dynamic-peers { + description "Learn peers dynamically on a p2mp interface"; + type empty; + } + list peer { + key name; + ordered-by user; + description "P2MP peer"; + leaf name { + description "Address of peer"; + type jt:ipaddr; + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIP send options"; + choice send-opts { + case case_1 { + leaf broadcast { + description "Broadcast RIPv2 packets (RIPv1 compatible)"; + type empty; + } + } + case case_2 { + leaf multicast { + description "Multicast RIPv2 packets"; + type empty; + } + } + case case_3 { + leaf none { + description "Do not send RIP updates"; + type empty; + } + } + case case_4 { + leaf version-1 { + description "Broadcast RIPv1 packets"; + type empty; + } + } + } + } + container receive { + description "Configure RIP receive options"; + choice receive-opts { + case case_1 { + leaf both { + description "Accept both RIPv1 and RIPv2 packets"; + type empty; + } + } + case case_2 { + leaf none { + description "Do not receive RIP packets"; + type empty; + } + } + case case_3 { + leaf version-1 { + description "Accept RIPv1 packets only"; + type empty; + } + } + case case_4 { + leaf version-2 { + description "Accept only RIPv2 packets"; + type empty; + } + } + } + } + leaf demand-circuit { + description "Enable demand circuit on this interface"; + type empty; + } + leaf max-retrans-time { + description "Maximum time to re-transmit a msg in demand-circuit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 180"; + } + } + } + choice check-zero-choice { + leaf check-zero { + description "Check reserved fields on incoming RIPv1 packets"; + type empty; + } + leaf no-check-zero { + description "Don't check reserved fields on incoming RIPv1 packets"; + type empty; + } + } + leaf any-sender { + description "Disable strict checks on sender address"; + type empty; + } + leaf message-size { + description "Number of route entries per update message"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "25 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf authentication-type { + description "Authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "simple" { + description "Simple password authentication"; + } + enum "md5" { + description "MD5 authentication"; + } + } + } + leaf authentication-key { + description "Authentication key (password)"; + type jt:unreadable; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIP graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIP is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-ripng { + uses apply-advanced; + container traceoptions { + description "Trace options for RIPng"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace RIPng errors"; + } + enum "expiration" { + description "Trace RIPng route expiration processing"; + } + enum "holddown" { + description "Trace RIPng hold-down processing"; + } + enum "packets" { + description "Trace all RIPng packets"; + } + enum "request" { + description "Trace RIPng information packets"; + } + enum "trigger" { + description "Trace RIPng triggered updates"; + } + enum "update" { + description "Trace RIPng update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf holddown { + description "Hold-down time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 180"; + } + } + } + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + list group { + key name; + ordered-by user; + description "Instance configuration"; + leaf name { + description "Group name"; + type string { + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf preference { + description "Preference of routes learned by this group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric-out { + description "Default metric of exported routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + list neighbor { + key name; + ordered-by user; + description "Neighbor configuration"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf route-timeout { + description "Delay before routes time out"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 360"; + } + } + } + leaf update-interval { + description "Interval between regular route updates"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf metric-in { + description "Metric value to add to incoming routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + container send { + description "Configure RIPng send options"; + choice send-opts { + case case_1 { + leaf none { + description "Do not send RIPng updates"; + type empty; + } + } + } + } + container receive { + description "Configure RIPng receive options"; + choice receive-opts { + case case_1 { + leaf none { + description "Do not receive RIPng packets"; + type empty; + } + } + } + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "RIPng graceful restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-time { + description "Time after which RIPng is declared out of restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600"; + } + } + } + } + } + grouping juniper-protocols-router-discovery { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable router discovery"; + type empty; + } + } + } + container traceoptions { + description "Trace options for router discovery"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interfaces on which to configure router discovery"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf max-advertisement-interval { + description "Maximum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "4 .. 1800"; + } + } + } + leaf min-advertisement-interval { + description "Minimum time before sending advertisements"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 1800"; + } + } + } + leaf lifetime { + description "How long addresses in advertisements are valid"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 9000"; + } + } + } + } + list address { + key name; + ordered-by user; + description "IP addresses to include in advertisements"; + leaf name { + description "IP addresses to include in router advertisements"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf advertise { + description "Advertise the IP address in advertisements"; + type empty; + } + leaf ignore { + description "Do not advertise the IP address in advertisements"; + type empty; + } + leaf broadcast { + description "Include IP address only in broadcast advertisements"; + type empty; + } + leaf multicast { + description "Include IP address only in multicast advertisements"; + type empty; + } + leaf ineligible { + description "IP address can never become a default router"; + type empty; + } + leaf priority { + description "Preference of the address to become a default router"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping juniper-protocols-rsvp { + description "RSVP options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP"; + type empty; + } + } + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP graceful restart capability"; + type empty; + } + } + } + leaf helper-disable { + description "Disable graceful restart helper capability"; + type empty; + } + leaf maximum-helper-restart-time { + description "Maximum wait time from down event to neighbor dead"; + default "20"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf maximum-helper-recovery-time { + description "Maximum time restarting neighbor states are kept"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container tunnel-services { + presence "enable tunnel-services"; + description "Use tunnel services for P2MP LSP ultimate-hop popping"; + uses apply-advanced; + leaf-list devices { + ordered-by user; + description "Tunnel services devices to use for P2MP LSPs"; + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf no-p2mp-sublsp { + description "Disable P2MP sub-LSP object generation"; + type empty; + } + leaf no-node-id-subobject { + description "Do not include the node-id sub-object in the RRO"; + type empty; + } + leaf no-interface-hello { + description "Disble interface Hellos on all RSVP interfaces"; + type empty; + } + container pop-and-forward { + description "RSVP pop-and-forward specific global parameters"; + uses apply-advanced; + container application-label { + description "Number of application labels under the RSVP transport"; + uses apply-advanced; + leaf depth { + description "Application label depth"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + } + } + leaf hello-acknowledgements { + description "Acknowledge Hellos on RSVP interfaces not having sessions"; + type empty; + } + leaf no-hello-acknowledgements { + description "Do not ack Hellos on RSVP interfaces not having sessions"; + type empty; + } + container node-hello { + presence "enable node-hello"; + description "Enable node-ID based Hellos on all RSVP interfaces"; + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + } + leaf no-node-hello { + description "Disable node-ID based Hellos on the router"; + type empty; + } + leaf allow-bidirectional { + description "Enable bidirectional support in RSVP"; + status deprecated; + type empty; + } + leaf local-reversion { + description "Enable local reversion at this Point of Local Repair"; + type empty; + } + leaf no-local-reversion { + description "Disable local reversion at this Point of Local Repair"; + type empty; + } + container fast-reroute { + description "One-to-one fast-reroute protection mechanism"; + uses apply-advanced; + leaf optimize-timer { + description "Frequency of reoptimization for fast-reroute detour"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + } + container load-balance { + description "Per-packet load-balancing algorithm"; + uses apply-advanced; + leaf bandwidth { + description "Per-packet load balancing proportional to LSP bandwidth"; + type empty; + } + } + container traceoptions { + description "Trace options for RSVP"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP trigger packets"; + } + enum "path" { + description "Trace RSVP trigger path messages"; + } + enum "resv" { + description "Trace RSVP trigger Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Refresh time in seconds"; + default "1200"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf keep-multiplier { + description "Keep multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf graceful-deletion-timeout { + description "Time to complete graceful deletion signaling"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf setup-protection { + description "Enable setup protection"; + type empty; + } + leaf cross-credibility-cspf { + description "Compute CSPF paths spanning protocols for bypass LSP, detour LSP and loose hop expansion"; + type empty; + } + container preemption { + description "Set RSVP session preemption attributes"; + uses apply-advanced; + choice preemption-type { + case case_1 { + leaf disabled { + description "No RSVP session preemption"; + type empty; + } + } + case case_2 { + leaf normal { + description "Run RSVP session preemption to accommodate new sessions"; + type empty; + } + } + case case_3 { + leaf aggressive { + description "Run RSVP session preemption whenever necessary"; + type empty; + } + } + } + container soft-preemption { + description "Options for establishing new path before tearing down a preempted LSP"; + uses apply-advanced; + leaf cleanup-timer { + description "Time a soft-preempted LSP will be maintained"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 180"; + } + } + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + leaf no-authentication-check { + description "Skip authentication check for received messages"; + type empty; + } + container associated-bidirectional-lsp { + description "Set associated bidirectional LSP attributes"; + uses apply-advanced; + leaf single-sided-provisioning { + description "Enable unidirectional reverse LSP setup for single sided provisioned forward LSP"; + type empty; + } + } + leaf no-enhanced-frr-bypass { + description "Disable enhanced facility backup FRR"; + type empty; + } + list interface { + key name; + ordered-by user; + description "RSVP interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this interface"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container subscription { + description "Link bandwidth percentage for RSVP reservation"; + uses subscription-type; + } + leaf bandwidth { + description "Available bandwidth for the interface units bps"; + type string; + } + leaf update-threshold { + description "Percentage change in reserved bandwidth to trigger IGP update"; + default "10"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + container update-threshold-max-reservable { + description "Change in non-rsvp bandwidth to trigger IGP update "; + uses apply-advanced; + leaf bandwidth { + description "Change in non-rsvp bandwidth to trigger IGP update units bps"; + type string; + } + leaf percent { + description "Percentage change in max-reservable bandwidth to trigger IGP update"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + container link-protection { + presence "enable link-protection"; + description "Protect traffic with a label-stacked LSP"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable link protection on this interface"; + type empty; + } + } + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf max-bypasses { + description "Max number of bypasses permitted for protecting this interface"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + leaf subscription { + description "Percent of bandwidth guaranteed when admitting protected LSPs into bypasses"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf no-node-protection { + description "Disallow node protection on this interface"; + type empty; + } + leaf optimize-timer { + description "Interval between bypass reoptimizations"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + container priority { + presence "enable priority"; + description "Preemption priorities for the bypass LSP"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + list bypass { + key name; + ordered-by user; + description "Bypass with specific constraints"; + leaf name { + description "Name of bypass"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf to { + description "Address of egress router"; + type jt:ipv4addr; + } + container bandwidth { + description "Bandwidth for each bypass"; + uses bandwidth-type; + } + leaf description { + description "Text description of bypass"; + type string { + length "1 .. 80"; + } + } + container priority { + presence "enable priority"; + description "Preemption priorities for bypass"; + } + leaf setup-priority { + description "Set-up priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf reservation-priority { + description "Reservation priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + leaf class-of-service { + description "Class of service for the bypass LSP"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 7"; + } + } + } + leaf hop-limit { + description "Maximum allowed router hops for bypass"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + leaf no-cspf { + description "Disable automatic path computation"; + type empty; + } + leaf exclude-srlg { + description "Exclude SRLG links"; + type empty; + } + list path { + key name; + ordered-by user; + description "Explicit route of bypass path"; + leaf name { + description "Address of next system in path"; + type jt:ipv4addr; + } + choice loose_strict_none { + case case_1 { + leaf loose { + description "Next hop might not be adjacent"; + type empty; + } + } + case case_2 { + leaf strict { + description "Next hop must be adjacent"; + type empty; + } + } + } + } + container admin-group { + description "Administrative group policy"; + uses admin_group_include_exclude; + } + } + } + } + list peer-interface { + key name; + ordered-by user; + description "Configuration for peer interface"; + leaf name { + description "Name of peer interface"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable RSVP on this control peer"; + type empty; + } + } + } + leaf authentication-key { + description "Authentication password"; + type jt:unreadable; + } + choice aggregate-choice { + leaf aggregate { + description "Permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + leaf no-aggregate { + description "Don't permit refresh reduction extensions on the interface"; + status deprecated; + type empty; + } + } + choice reliable-choice { + leaf reliable { + description "Permit reliable message delivery on the interface"; + type empty; + } + leaf no-reliable { + description "Don't permit reliable message delivery on the interface"; + type empty; + } + } + leaf hello-interval { + description "Hello interval"; + default "9"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + container dynamic-bidirectional-transport { + presence "enable dynamic-bidirectional-transport"; + description "Enable dynamic setup of bidirectional packet LSP for transporting non-packet GMPLS LSP"; + uses apply-advanced; + leaf template { + description "Template for the dynamic bidirectional packet LSP"; + type string { + } + } + } + } + list lsp-set { + key name; + ordered-by user; + description "Configuration for lsp set"; + leaf name { + description "Name of lsp set"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable this lsp set"; + type empty; + } + } + } + container match-criteria { + description "Match criteria for this lsp set"; + uses lsp-set-match-type; + } + container traceoptions { + description "Trace options for this lsp set"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "io-event" { + description "Trace RSVP IO task related events"; + } + enum "io-packets" { + description "Trace all RSVP periodic refresh activity"; + } + enum "packets" { + description "Trace all RSVP packets"; + } + enum "path" { + description "Trace RSVP path messages"; + } + enum "resv" { + description "Trace RSVP Resv messages"; + } + enum "pathtear" { + description "Trace RSVP PathTear messages"; + } + enum "resvtear" { + description "Trace RSVP ResvTear messages"; + } + enum "state" { + description "Trace state transitions"; + } + enum "error" { + description "Trace error conditions"; + } + enum "route" { + description "Trace routing information"; + } + enum "lmp" { + description "Trace RSVP-LMP related interactions"; + } + enum "event" { + description "Trace RSVP related events"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "lsp-prefix" { + description "Prefix the trace messages with LSP information"; + } + enum "enhanced-frr" { + description "Enhanced FRR related information"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + grouping juniper-protocols-stp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable STP"; + type empty; + } + } + } + leaf bpdu-destination-mac-address { + description "Destination MAC address in the spanning tree BPDUs"; + type enumeration { + enum "provider-bridge-group" { + description "802.1ad provider bridge group address"; + } + } + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + leaf extended-system-id { + description "Extended system identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 4095"; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + } + grouping juniper-protocols-vstp { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable VSTP"; + type empty; + } + } + } + leaf force-version { + description "Force protocol version"; + type enumeration { + enum "stp" { + description "Spanning tree protocol"; + } + } + } + leaf bpdu-block-on-edge { + description "Block BPDU on all interfaces configured as edge (BPDU Protect)"; + type empty; + } + leaf vpls-flush-on-topology-change { + description "Enable VPLS MAC flush on root protected CE interface receving topology change"; + type empty; + } + leaf priority-hold-time { + description "Hold time before switching to primary priority when core domain becomes up"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 255"; + } + } + } + list system-id { + key name; + ordered-by user; + description "System ID to IP mapping"; + uses system-id-ip-map; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + list vlan { + key name; + description "VLAN spanning tree options"; + leaf name { + description "VLAN id or all"; + type string; + } + uses apply-advanced; + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + container vlan-group { + presence "enable vlan-group"; + description "Spanning tree options for group of VLANs"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name if VLAN group"; + leaf name { + description "VLAN group name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list vlan { + ordered-by user; + description "VLAN ID or VLAN ID range [1..4094]"; + type string; + } + leaf bridge-priority { + description "Priority of the bridge (in increments of 4k - 0,4k,8k,..60k)"; + type string { + } + } + leaf backup-bridge-priority { + description "Priority of the bridge (in increments of 4k - 4k,8k,..60k)"; + type string { + } + } + leaf max-age { + description "Maximum age of received protocol bpdu"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "6 .. 40"; + } + } + } + leaf hello-time { + description "Time interval between configuration BPDUs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 10"; + } + } + } + leaf forward-delay { + description "Time spent in listening or learning state"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "4 .. 30"; + } + } + } + leaf system-identifier { + description "Sytem identifier to represent this node"; + type jt:mac-unicast; + } + container traceoptions { + description "Tracing options for debugging protocol operation"; + uses stp-trace-options; + } + list interface { + key name; + description "Interface options"; + uses stp-interface; + } + } + } + } + grouping juniper-ri-protocols-igmp-snooping { + description "IGMP snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for IGMP Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all IGMP packets"; + } + enum "query" { + description "Trace IGMP membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (IGMPv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + container l2-querier { + description "Enable L2 querier mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for L2 querier"; + type jt:ipv4addr; + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf learn-pim-router { + description "Learn PIM router interfaces from PIM hellos"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "VLAN name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv4addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for IGMP"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv4addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for IGMP"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-ri-protocols-mld-snooping { + description "MLD snooping options"; + uses apply-advanced; + container traceoptions { + description "Trace options for MLD Snooping"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all MLD packets"; + } + enum "query" { + description "Trace MLD membership query messages"; + } + enum "report" { + description "Trace membership report messages"; + } + enum "leave" { + description "Trace leave group messages (MLDv2 only)"; + } + enum "group" { + description "Trace group operations"; + } + enum "client-notification" { + description "Trace notifications"; + } + enum "host-notification" { + description "Trace host notifications"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf query-interval { + description "When to send host query messages"; + default "125"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + default "10"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + default "1"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + leaf irb { + description "Proxy IGMP reports to IRB"; + type empty; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + list vlan { + key name; + ordered-by user; + description "Vlan options"; + leaf name { + description "Vlan of the bridge-domain"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + list qualified-vlan { + key name; + ordered-by user; + description "VLAN options for qualified-learning"; + leaf name { + description "VLAN ID of the learning-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1023"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "When to send host query messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf query-response-interval { + description "How long to wait for a host query response"; + units "seconds"; + type string { + } + } + leaf query-last-member-interval { + description "When to send group query messages"; + units "seconds"; + type string { + } + } + leaf robust-count { + description "Expected packet loss on a subnet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + container proxy { + presence "enable proxy"; + description "Enable proxy mode"; + uses apply-advanced; + leaf source-address { + description "Source IP address to use for proxy"; + type jt:ipv6addr; + } + } + list interface { + key name; + ordered-by user; + description "Interface options for MLD"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + leaf host-only-interface { + description "Enable interfaces to be treated as host-side interfaces"; + type empty; + } + leaf group-limit { + description "Maximum number of (source,group) per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container static { + description "Static group or source membership"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "IP multicast group address"; + leaf name { + description "IP multicast group address"; + type jt:ipv6addr; + } + uses apply-advanced; + list source { + key name; + ordered-by user; + description "IP multicast source address"; + leaf name { + description "Source address of IP multicast data"; + type jt:ipv6addr; + } + uses apply-advanced; + } + } + } + } + list pseudowire-remote-address { + key name; + ordered-by user; + description "Pseudowire interface options for MLD"; + leaf name { + description "Pseudowire endpoint address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf multicast-router-interface { + description "Enabling multicast-router-interface on the interface"; + type empty; + } + leaf immediate-leave { + description "Enable immediate group leave on interfaces"; + type empty; + } + } + } + } + } + grouping juniper-routing-instance-switch-options { + description "Bridge options for the routing instance"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + list authentication-whitelist { + key name; + ordered-by user; + description "MAC authentication-whitelist configuration needed to bypass Authentication"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + choice vstp-flooding-option { + } + choice arp-trap-option { + } + choice mstp-flooding-option { + } + choice stp-flooding-option { + } + container traceoptions { + description "Layer 2 trace options for this routing instance"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Type of operation or event to include in trace"; + leaf name { + type enumeration { + enum "configuration" { + description "Configuration operations"; + } + enum "routing-socket" { + description "Routing socket operations"; + } + enum "interface-device" { + description "Interface device operations"; + } + enum "interface-logical" { + description "Logical interface operations"; + } + enum "interface-family" { + description "Interface family operations"; + } + enum "bridging-domain" { + description "Bridging domain operations"; + } + enum "bridge-interface" { + description "Interface bridge operations"; + } + enum "learning-domain" { + description "Learning domain operations"; + } + enum "ipc" { + description "Inter-process communications operations"; + } + enum "mac-learning" { + description "MAC address learning operations"; + } + enum "initialization" { + description "Initialization operations"; + } + enum "flood-next-hop" { + description "Flood next hop operations"; + } + enum "irb" { + description "Integrated routing and bridging operations"; + } + enum "vpls-ping" { + description "VPLS ping operations"; + } + enum "vpls-loop-prev" { + description "VPLS loop prevention"; + } + enum "storm-control" { + description "Storm-control"; + } + enum "unknown-unicast-forwarding" { + description "Trace unknown unicast forwarding events"; + } + enum "vxlan" { + description "VXLAN"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + } + grouping juniper-routing-options { + uses apply-advanced; + leaf no-soft-core { + description "Disable soft assert to generate core and just log the event"; + type empty; + } + leaf med-igp-update-interval { + description "Delay (in minutes) in updating MED IGP for bgp groups with 'delay-med-update' "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container bmp { + presence "enable bmp"; + description "BGP Monitoring Protocol (BMP) configuration"; + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list station { + key name; + description "Define a BMP station"; + leaf name { + description "Station name"; + type string; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container ppm { + presence "enable ppm"; + description "Set periodic packet management properties"; + uses apply-advanced; + leaf delegate-processing { + description "Enable distribution of PPM sessions"; + status deprecated; + type empty; + } + leaf no-delegate-processing { + description "Disable PPM sessions distribution"; + type empty; + } + leaf inline-processing-enable { + description "Enable PPM session inline distribution"; + type empty; + } + leaf inline-ae-processing-enable { + description "Enable PPM session inline distribution on AE"; + type empty; + } + leaf redistribution-timer { + description "Time to wait after switchover before starting timers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 120"; + } + } + } + } + leaf no-bfd-triggered-local-repair { + description "Disable bfd triggered local repair"; + type empty; + } + container source-routing { + description "Source-routing options"; + uses apply-advanced; + leaf ip { + description "Enable IP Source Routing"; + type empty; + } + leaf ipv6 { + description "Enable Type 0 RouteHeader processing"; + type empty; + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Auto bandwidth"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Auto bandwidth template"; + leaf name { + description "Auto bandwidth template name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf adjust-interval { + description "Adjust interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + leaf adjust-threshold { + description "Percentage threshhold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf statistic-collection-interval { + description "Collection interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 300"; + } + } + } + leaf auto-bandwidth-subscription { + description "Percentage threshhold for subscription"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 200"; + } + } + } + } + container traceoptions { + description "Trace options for sr stats"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace All"; + } + enum "timer" { + description "Trace traffic recv by periodic timer"; + } + enum "state" { + description "Trace state of sensor"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + list srlg { + key name; + ordered-by user; + description "SRLG configuration"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf srlg-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf srlg-cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container admin-groups-extended-range { + description "Extended administrative groups range"; + uses apply-advanced; + leaf minimum { + description "Minimum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + leaf maximum { + description "Maximum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + list admin-groups-extended { + key name; + ordered-by user; + description "Extended administrative groups"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf group-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + leaf enable-sensors { + description "Enable Sensor for MX/PTX/QFX/EX"; + type empty; + } + leaf lsp-telemetry { + description "Turn on Jvision LSP telemetry"; + type empty; + } + container source-packet-routing { + description "Source packet routing (SPRING)"; + uses apply-advanced; + list mapping-server-entry { + key name; + ordered-by user; + description "Mapping server entry"; + leaf name { + description "Mapping server entry name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list prefix-segment { + key name; + ordered-by user; + description "Prefix segment"; + max-elements 64; + leaf name { + description "Prefix segment prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf index { + description "Prefix segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + list prefix-segment-range { + key name; + ordered-by user; + description "Prefix segment range"; + max-elements 64; + leaf name { + description "Prefix segment range name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-prefix { + description "Start prefix"; + type jt:ipprefix; + } + leaf start-index { + description "Start index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf size { + description "Size of prefix segment range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container options { + description "Miscellaneous options"; + uses apply-advanced; + leaf no-send { + description "Listen only; do not send protocol packets"; + status deprecated; + type empty; + } + leaf no-resolve { + description "Do not use DNS name resolution"; + status deprecated; + type empty; + } + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + leaf warm-standby { + description "Enable warm-standby"; + type empty; + } + leaf nonstop-routing { + description "Enable nonstop routing"; + type empty; + } + container nonstop-routing-options { + presence "enable nonstop-routing-options"; + description "Nonstop routing options"; + uses apply-advanced; + leaf precision-timers-max-period { + description "Set Max period for precision timer support from kernel after switchover"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + } + leaf nsr-phantom-holdtime { + description "Set NSR phantom route hold time"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container interface-routes { + description "Define routing table groups for interface routes"; + uses apply-advanced; + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + container export { + description "Control exportability of local routes"; + uses apply-advanced; + leaf point-to-point { + description "Make point-to-point routes exportable"; + type empty; + } + leaf lan { + description "Make LAN routes exportable"; + type empty; + } + } + } + } + leaf loopback-strict-disable { + description "Completely disable lo0 host prefix when in admin-down state"; + type empty; + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + leaf firewall-install-disable { + description "Disable installing flowspec firewall filters in dfwd "; + type empty; + } + leaf term-order { + description "Term evaluation order for flow routes"; + type enumeration { + enum "legacy" { + description "Legacy term order (default)"; + } + enum "standard" { + description "RFC compliant term order"; + } + } + } + } + list rib-groups { + key name; + ordered-by user; + description "Group of routing tables"; + uses rpd_rib_group_type; + } + leaf route-record { + description "Enable route recording"; + type empty; + } + leaf router-id { + description "Router identifier"; + type jt:ipv4addr; + } + leaf route-distinguisher-id { + description "Identifier used in route distinguishers for routing instances"; + type jt:ipv4addr; + } + container autonomous-system { + description "Autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf asdot-notation { + description "Use AS-Dot notation to display true 4 byte AS numbers"; + type empty; + } + container independent-domain { + presence "enable independent-domain"; + description "Independent autonomous-system domain from master instance"; + leaf no-attrset { + description "Do not tunnel ce bgp attributes across provider network"; + type empty; + } + } + } + container confederation { + description "Confederation autonomous system number"; + leaf confederation-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf-list members { + ordered-by user; + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Direct/Host route FRR protection"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf arp-prefix-limit { + description "Max ARP/Host FRR routes allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf supplementary-blackout-timer { + description "ARP plimit blackout timer = kernel ARP timeout + supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + } + } + container host-fast-reroute { + presence "enable host-fast-reroute"; + description "Host Fast Re-route global values. Applies to all host FRR profiles."; + uses apply-advanced; + leaf global-arp-prefix-limit { + description "Max ARP/Host FRR routes allowed per protected IFL"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf global-supplementary-blackout-timer { + description "ARP plimit global blackout timer = kernel ARP timeout + global-supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + leaf-list tracefilter { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table resolution options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list resolution-family { + ordered-by user; + description "Family of resultion tree"; + type string; + } + leaf-list resolution-ribs { + ordered-by user; + description "Routing tables to use for default routing table family resolution"; + type string; + } + leaf-list inet-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv4 family protocol-next-hop resolution"; + type string; + } + leaf-list inet6-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv6 family protocol-next-hop resolution"; + type string; + } + leaf-list iso-resolution-ribs { + ordered-by user; + description "Routing tables to use for iso family protocol-next-hop resolution"; + type string; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list inet-import { + ordered-by user; + description "Import policy for IPV4 family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6-import { + ordered-by user; + description "Import policy for IPV6 family resolution tree"; + type jt:policy-algebra; + } + leaf-list iso-import { + ordered-by user; + description "Import policy for ISO family resolution tree"; + type jt:policy-algebra; + } + leaf-list inetcolor-import { + ordered-by user; + description "Import policy for INETCOLOR family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6color-import { + ordered-by user; + description "Import policy for INET6COLOR family resolution tree"; + type jt:policy-algebra; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + container stream-protection { + presence "enable stream-protection"; + description "Multicast only Fast Re-Route"; + uses apply-advanced; + leaf mofrr-primary-path-selection-by-routing { + description "Multicast only Fast Re-Route primary path by Routing"; + type empty; + } + leaf mofrr-disjoint-upstream-only { + description "Multicast only Fast Re-Route disjoint upstream only"; + type empty; + } + leaf mofrr-no-backup-join { + description "Multicast only Fast Re-Route no backup join"; + type empty; + } + leaf mofrr-asm-starg { + description "Multicast only Fast Re-Route asm (*,G)"; + type empty; + } + leaf-list policy { + ordered-by user; + description "MoFRR Policy"; + type jt:policy-algebra; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + leaf-list instance-import { + ordered-by user; + description "Import policy for instance RIBs"; + type jt:policy-algebra; + } + leaf-list instance-export { + ordered-by user; + description "Export policy for instance RIBs"; + type jt:policy-algebra; + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export"; + type empty; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container family { + container inet { + description "IPv4 parameters"; + uses export-af-obj; + } + container inet6 { + description "IPv6 parameters"; + uses export-af-obj; + } + container iso { + description "ISO parameters"; + uses export-af-obj; + } + } + } + container dynamic-tunnels { + description "Dynamic tunnel definitions"; + uses apply-advanced; + list tunnel-attributes { + key name; + ordered-by user; + description "Dynamic tunnel attributes definition"; + leaf name { + description "Dynamic Tunnel attribute name"; + type string { + } + } + uses apply-advanced; + leaf dynamic-tunnel-source-prefix { + description "Tunnel source address"; + type jt:ipaddr; + } + leaf dynamic-tunnel-type { + type enumeration { + enum "GRE" { + description "Tunnel type GRE"; + } + enum "V4oV6" { + description "Tunnel type is IPV4oIPV6"; + } + enum "UDP" { + description "Tunnel type UDP"; + } + enum "BGP-SIGNAL" { + description "Tunnel type BGP-SIGNAL"; + } + } + } + leaf dynamic-tunnel-mtu { + description "Dynamic Tunnel MTU value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "296 .. 9232"; + } + } + } + leaf dynamic-tunnel-anchor-pfe { + description "Dynamic Tunnel anchor PFE name of format pfe-x/y/z"; + type string { + } + } + leaf dynamic-tunnel-anti-spoof { + type enumeration { + enum "on" { + description "Enable antispoofing check. Default is enabled"; + } + enum "off" { + description "Disable antispoofing check"; + } + } + } + } + list forwarding-rib { + key name; + ordered-by user; + description "Forwarding routing table for dynamic-tunnel"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list inet-import { + ordered-by user; + description "Import policy for V4 dynamic-tunnel"; + type jt:policy-algebra; + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "kernel" { + description "Trace kernel communication"; + } + enum "tunnel" { + description "Trace tunnel addition, change, or deletion"; + } + enum "task" { + description "Trace task or job processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf udp { + description "Enable dynamic tunnel udp mode"; + type enumeration { + enum "full-resolved-next-hop-based-tunnel" { + description "Enable full resolved nh base dynamic-tunnel"; + } + } + } + leaf gre { + description "Enable dynamic gre tunnel mode"; + type enumeration { + enum "next-hop-based-tunnel" { + description "Enable nh base dynamic-tunnel"; + } + } + } + list dynamic-tunnel { + key name; + ordered-by user; + uses dynamic_tunnel_type; + } + } + container logical-system-mux { + description "Logical system control daemon information"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug-level lrmuxd activities"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container programmable-rpd { + description "RPD Server module management options"; + uses programmable-rpd-type; + } + container topologies { + description "Define routing topologies"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology information"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + } + } + } + container backup-selection { + presence "enable backup-selection"; + description "Backup selection options"; + uses apply-advanced; + list destination { + key name; + description "IP/IPv6 prefix for which backup selection policy is configured"; + leaf name { + description "IP/IPv6 address (and optional prefix length)"; + type jt:ipprefix-mandatory; + } + uses apply-advanced; + list interface { + key name; + description "Primary nexthop interface for which backup selection policy is configured"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container admin-group { + description "Administrative group policies for backup-selection"; + uses apply-advanced; + leaf-list exclude { + description "Do not use interface if any admin group available"; + type string; + } + leaf-list include-all { + description "Use interface if admin groups available entirely"; + type string; + } + leaf-list include-any { + description "Use interface if any admin group is available"; + type string; + } + leaf-list preference { + ordered-by user; + description "Administrative groups in descending preference order"; + type string; + } + } + leaf srlg { + description "Evaluate Shared Risk Link Group(SRLG) characteristics for backup selection"; + default "loose"; + type enumeration { + enum "loose" { + description "Loose SRLG"; + } + enum "strict" { + description "Strict SRLG"; + } + } + } + leaf protection-type { + description "Type of protection to be considered"; + type enumeration { + enum "link" { + description "Protect the primary interface from link faults only"; + } + enum "node" { + description "Protect the primary interface from node faults only"; + } + enum "node-link" { + description "Protect the primary interface from either link or node faults; prefer node protection"; + } + } + } + leaf downstream-paths-only { + description "Choose only the downstream nodes for backup"; + type empty; + } + leaf bandwidth-greater-equal-primary { + description "Use backup nexthop only if bandwidth is >= bandwidth of primary nexthop"; + type empty; + } + container backup-neighbor { + description "Backup Neighbor ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of backup neighbors to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of backup neighbors in descending order preference"; + type jt:ipv4addr; + } + } + container node { + description "Node ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of nodes to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of nodes in the descending order of preference"; + type jt:ipv4addr; + } + } + container node-tag { + description "Node tag policies"; + uses apply-advanced; + leaf-list exclude { + description "The set of node tags to be excluded"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list preference { + ordered-by user; + description "The set of node tags in the descending order of preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf root-metric { + description "Root metric"; + type enumeration { + enum "lowest" { + description "Choose lowest root metric"; + } + enum "highest" { + description "Choose highest root metric"; + } + } + } + leaf dest-metric { + description "Destination metric"; + type enumeration { + enum "lowest" { + description "Choose lowest destination metric"; + } + enum "highest" { + description "Choose highest destination metric"; + } + } + } + leaf-list metric-order { + ordered-by user; + description "Metric evaluation order"; + type enumeration { + enum "root" { + } + enum "dest" { + } + } + max-elements 2; + } + leaf-list evaluation-order { + ordered-by user; + description "Interface policy criteria evaluation order"; + type enumeration { + enum "admin-group" { + description "Administrative Group/Link Color"; + } + enum "srlg" { + description "SRLG"; + } + enum "bandwidth" { + description "Bandwidth"; + } + enum "protection-type" { + description "Type of protection"; + } + enum "backup-neighbor" { + description "Backup Neighbor"; + } + enum "node" { + description "Node"; + } + enum "node-tag" { + description "Node tag"; + } + enum "metric" { + description "Metric related parameters"; + } + } + } + } + } + } + container fate-sharing { + description "Fate-sharing links or nodes database"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group of objects sharing common characteristics"; + leaf name { + description "Name of object groups sharing the same fate"; + type string { + } + } + uses apply-advanced; + leaf cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf use-for-post-convergence-lfa { + description "Use this fate-sharing group as a constraint for post-convergence-lfa"; + type empty; + } + list from { + key name; + uses fate_sharing_links; + } + } + } + container validation { + description "Define Route validation"; + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list notification-rib { + ordered-by user; + description "Define routing tables that get notified upon validation state change"; + type string; + } + list group { + key name; + description "Define a group of sessions"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf max-sessions { + description "Maximum connected session in this group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 63"; + } + } + } + list session { + key name; + description "Configure a session"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Interval between keepalive packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf hold-time { + description "Time after which the session is declared down."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + leaf record-lifetime { + description "Lifetime of route validation records"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 604800"; + } + } + } + leaf preference { + description "Preference for session establishment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf port { + description "Portnumber to connect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf local-address { + type jt:ipaddr; + } + } + } + container static { + description "Define static route validation record"; + uses apply-advanced; + list record { + key name; + description "Static route validation record"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + list maximum-length { + key name; + ordered-by user; + leaf name { + description "Maximum prefix-length for route validation record"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + uses apply-advanced; + list origin-autonomous-system { + key name; + ordered-by user; + leaf name { + description "Legitimate Origin Autonomous System"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf validation-state { + description "Validation state for route validation record"; + type enumeration { + enum "invalid" { + description "Invalid route validation state"; + } + enum "valid" { + description "Valid route validation state"; + } + } + } + } + } + } + } + } + } + grouping dynamic_tunnel_type { + description "Dynamic tunnel definition"; + leaf name { + description "Tunnel name"; + type string { + } + } + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipaddr; + } + choice tunnel-type { + case case_1 { + list rsvp-te { + key name; + ordered-by user; + description "RSVP-TE point-to-point LSP"; + leaf name { + description "Configure multiple entries for RSVP tunnel"; + type string; + } + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + } + case case_2 { + leaf gre { + description "Generic routing encapsulation type for IPv4"; + type empty; + } + } + case case_3 { + leaf udp { + description "UDP encapsulation type for IPv4"; + type empty; + } + } + case case_4 { + leaf bgp-signal { + description "BGP signals the encapsulation type for IPv4"; + type empty; + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + grouping export-af-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export for address family"; + type empty; + } + } + } + container unicast { + description "Unicast routing information"; + presence "enable unicast"; + uses export-subaf-obj; + } + container multicast { + description "Multicast routing information"; + presence "enable multicast"; + uses export-subaf-obj; + } + container flow { + description "Flow routing information"; + presence "enable flow"; + uses export-subaf-obj; + } + } + grouping export-subaf-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance export"; + type empty; + } + } + } + leaf rib-group { + description "Auxiliary rib-group of additional RIBs to consider"; + type string; + } + } + grouping fate_sharing_links { + leaf name { + description "Router ID or LAN interface address"; + type jt:ipv4addr; + } + leaf to { + description "Point-to-point links"; + type jt:ipv4addr; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + leaf destination { + description "Destination prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf source { + description "Source prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf-list icmp-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list icmp-type { + ordered-by user; + description "ICMP message type"; + type string; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice ecmp-fast-reroute-choice { + leaf ecmp-fast-reroute { + description "Enable fast reroute for ECMP next hops"; + type empty; + } + leaf no-ecmp-fast-reroute { + description "Don't enable fast reroute for ECMP next hops"; + type empty; + } + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + leaf transit-lsp-statistics-from-route { + description "Enable LSP statistics collection from the route"; + type empty; + } + container chained-composite-next-hop { + description "Next-hop chaining mode"; + uses apply-advanced; + container ingress { + description "Ingress LSP nexthop settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + } + choice l2ckt-choice { + leaf l2ckt { + description "Create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + leaf no-l2ckt { + description "Don't create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + } + choice fec129-vpws-choice { + leaf fec129-vpws { + description "Create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + leaf no-fec129-vpws { + description "Don't create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + } + choice evpn-choice { + leaf evpn { + description "Create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + leaf no-evpn { + description "Don't create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + } + container l3vpn { + presence "enable l3vpn"; + description "Create composite-chained nexthops for ingress l3vpn LSPs"; + leaf extended-space { + description "Allocate in extended-space for scalability"; + type empty; + } + } + } + container transit { + description "Transit LSP nexthops settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + } + choice l3vpn-choice { + leaf l3vpn { + description "Create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + leaf no-l3vpn { + description "Don't create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + } + choice labeled-bgp-choice { + leaf labeled-bgp { + description "Create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + leaf no-labeled-bgp { + description "Don't create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + } + choice static-choice { + leaf static { + description "Create composite-chained nexthops for static LSPs"; + type empty; + } + leaf no-static { + description "Don't create composite-chained nexthops for static LSPs"; + type empty; + } + } + choice rsvp-choice { + leaf rsvp { + description "Create composite-chained nexthops for RSVP LSPs"; + type empty; + } + leaf no-rsvp { + description "Don't create composite-chained nexthops for RSVP LSPs"; + type empty; + } + } + choice rsvp-p2mp-choice { + leaf rsvp-p2mp { + description "Create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + leaf no-rsvp-p2mp { + description "Don't create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + } + choice ldp-choice { + leaf ldp { + description "Create composite-chained nexthops for LDP LSPs"; + type empty; + } + leaf no-ldp { + description "Don't create composite-chained nexthops for LDP LSPs"; + type empty; + } + } + choice ldp-p2mp-choice { + leaf ldp-p2mp { + description "Create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + leaf no-ldp-p2mp { + description "Don't create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + } + choice labeled-isis-choice { + leaf labeled-isis { + description "Create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + leaf no-labeled-isis { + description "Don't create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + } + } + } + } + grouping juniper-sampling-options { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable global sampling instance"; + type empty; + } + } + } + container traceoptions { + description "Traffic sampling trace options"; + uses sampling_traceoptions_type; + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_input_type; + } + container output { + description "Traffic sampling data disposition"; + status deprecated; + uses sampling_output_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_global_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family inet6"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_family_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling family mpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_global_mpls_output_type; + } + } + } + list instance { + key name; + ordered-by user; + description "Instance of sampling parameters"; + leaf name { + description "Name for sampling instance"; + type string; + } + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampling instance"; + type empty; + } + } + } + container input { + description "Traffic Sampling data acquisition"; + uses sampling_instance_input_type; + } + container family { + description "Address family of packets to sample"; + container inet { + description "Sample IPv4 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet_output_type; + } + } + container inet6 { + description "Sample IPv6 packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family inet6"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_inet6_output_type; + } + } + container mpls { + description "Sample mpls packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family mpls"; + status deprecated; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_mpls_output_type; + } + } + container vpls { + description "Sample vpls packets"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family vpls"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_vpls_output_type; + } + } + container bridge { + description "Sample bridge packets"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance family bridge"; + type empty; + } + } + } + container input { + description "Settings for sampling of input packets"; + uses sampling_family_input_type; + } + container output { + description "Traffic sampling data disposition"; + uses sampling_instance_bridge_output_type; + } + } + } + } + container jflow-service { + description "Jflow service configuration"; + uses apply-advanced; + container traceoptions { + description "Jflow service trace options"; + uses jflow_service_traceoptions; + } + } + container route-record { + description "Sampling route record configuration"; + uses apply-advanced; + container traceoptions { + description "Sampling route record trace options"; + uses route_record_traceoptions; + } + } + } + grouping jflow_service_traceoptions { + description "Traceoptions for jflow-service"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of jflow-service to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "rtsock" { + description "Trace rtsock code"; + } + enum "sm" { + description "Trace State machine code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping junos_hash_key { + description "Select data used in the hash key"; + uses apply-advanced; + container family { + description "Protocol family"; + container fcoe { + description "FCoE protocol family"; + uses apply-advanced; + container ethernet-interfaces { + description "FCoE hash-key configuration on ethernet interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container fabric-interfaces { + description "FCoE hash-key configuration on fabric interfaces"; + uses apply-advanced; + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + leaf oxid { + description "Originator Exchange ID"; + type enumeration { + enum "enable" { + description "Include Originator Exchange ID in the hash key"; + } + enum "disable" { + description "Do not include Originator Exchange ID in the hash key"; + } + } + } + } + container inet { + description "IPv4 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + } + } + container inet6 { + description "IPv6 protocol family"; + uses apply-advanced; + container layer-3 { + presence "enable layer-3"; + description "Include Layer 3 (IP) data in the hash key"; + uses apply-advanced; + leaf destination-address { + description "Include IP destination address in the hash key"; + type empty; + } + leaf incoming-interface-index { + description "Include incoming interface index in the hash key"; + type empty; + } + leaf next-header { + description "Include IP Next Header field in the hash key"; + type empty; + } + leaf source-address { + description "Include IP source address in the hash key"; + type empty; + } + leaf traffic-class { + description "Include Traffic Class field in the hash key"; + type empty; + } + } + container layer-4 { + presence "enable layer-4"; + description "Include Layer 4 (TCP or UDP) data in the hash key"; + uses apply-advanced; + leaf destination-port { + description "Include IP destination port in the hash key"; + type empty; + } + leaf source-port { + description "Include IP source port in the hash key"; + type empty; + } + } + } + container mpls { + description "MPLS protocol family"; + uses apply-advanced; + choice label { + case case_1 { + leaf label-1 { + description "Include the first MPLS label in the hash key"; + type empty; + } + } + case case_2 { + leaf all-labels { + description "Include all MPLS labels in hash key"; + type empty; + } + } + case case_3 { + leaf no-labels { + description "Exclude all MPLS labels from hash key"; + type empty; + } + } + case case_4 { + leaf bottom-label-1 { + description "Include the first MPLS label from bottom-of-stack in the hash key"; + type empty; + } + } + } + leaf label-2 { + description "Include the second MPLS label in the hash key"; + type empty; + } + leaf label-3 { + description "Include the third MPLS label in the hash key"; + type empty; + } + container payload { + description "Include payload data in the hash key"; + uses apply-advanced; + container ip { + presence "enable ip"; + description "Include IPv4 or IPv6 payload data in the hash key"; + uses apply-advanced; + choice layer-4-select { + case case_1 { + choice ip-payload { + case case_1 { + leaf layer-3-only { + description "Include only layer-3 IP information"; + type empty; + } + } + case case_2 { + leaf enable { + description "Include layer3/4 IP payload in the hash key"; + type empty; + } + } + case case_3 { + leaf disable { + description "Exclude layer3/4 IP payload in the hash key"; + type empty; + } + } + } + } + case case_2 { + container port-data { + presence "enable port-data"; + uses apply-advanced; + leaf source-msb { + description "Include the most significant byte of the source port"; + type empty; + } + leaf source-lsb { + description "Include the least significant byte of the source port"; + type empty; + } + leaf destination-msb { + description "Include the most significant byte of the destination port"; + type empty; + } + leaf destination-lsb { + description "Include the least significant byte of the destination port"; + type empty; + } + } + } + } + } + } + } + container multiservice { + description "Multiservice protocol family"; + uses apply-advanced; + leaf source-mac { + description "Include source MAC address in hash key"; + type empty; + } + leaf destination-mac { + description "Include destination MAC address in hash key"; + type empty; + } + } + } + } + grouping layer2_pm_family_output_type { + uses apply-advanced; + choice interface-or-next-hop-index { + case case_1 { + leaf interface { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_3 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses layer2_pm_output-routing-instance-type; + } + } + case case_4 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_5 { + } + } + leaf no-filter-check { + description "Do not check for filters on port-mirroring interface"; + type empty; + } + } + grouping layer2_pm_output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping ldp-sync-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable LDP synchronization"; + type empty; + } + } + } + leaf hold-time { + description "Time during which maximum metric is advertised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + grouping ldp_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "fec" { + description "Filter based on FEC associated to the traced object."; + } + enum "address" { + description "Filter based on packet source and destination addresses."; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping lsp-set-match-type { + uses apply-advanced; + leaf lsp-name { + description "LSP name that matches this string"; + type string; + } + leaf lsp-regex { + description "All LSPs that match this regular expression pattern"; + type string; + } + leaf p2mp-name { + description "P2MP names that match this string"; + type string; + } + leaf p2mp-regex { + description "P2MP names that match this regular expression pattern"; + type string; + } + choice router-type { + case case_1 { + leaf egress { + description "All LSPs for which this router is egress"; + type empty; + } + } + case case_2 { + leaf ingress { + description "All LSPs for which this router is ingress"; + type empty; + } + } + case case_3 { + leaf transit { + description "All LSPs for which this router is transit"; + type empty; + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping mpls_pm_family_output_type { + uses apply-advanced; + } + grouping mrp-trace-options { + description "Trace options for MMRP Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "pdu" { + description "Trace RAPS PDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "state-machine" { + description "Trace information of the state machine"; + } + enum "socket" { + description "Trace soccket activity"; + } + enum "error" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping mstp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping network_type { + leaf name { + description "Network prefix"; + type jt:ipprefix; + } + uses apply-advanced; + } + grouping next_hop_group_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_subgroup_intf_type { + leaf name { + description "Interface through which to send sampled traffic"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list next-hop { + key name; + ordered-by user; + description "Address of next hop through which to send sampled traffic"; + uses next_hop_type; + } + } + grouping next_hop_type { + description "Address of next hop through which to send sampled traffic"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + } + grouping override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allow processing of bootp requests"; + type empty; + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container delay-offer { + description "Filter options for dhcp-server"; + uses dhcpv4-filter-option; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORM PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet"; + type string { + length "1 .. 64"; + } + } + } + container include-option-82 { + description "Include option-82 in reply packets"; + uses apply-advanced; + leaf nak { + description "Include option-82 in NAK"; + type empty; + } + leaf forcerenew { + description "Include option-82 in FORCERENEW"; + type empty; + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv4 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv4-filter-option { + description "Generic DHCPv4 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between discover and offer"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-82 { + presence "enable option-82"; + description "Option 82"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-60 { + presence "enable option-60"; + description "Option 60"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-77 { + presence "enable option-77"; + description "Option 77"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf always-write-giaddr { + description "Overwrite existing 'giaddr' field, when present"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf layer2-unicast-replies { + description "Do not broadcast client responses"; + type empty; + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container proxy-mode { + presence "enable proxy-mode"; + description "Put the relay in proxy mode"; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip for relay interfaces"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping packet_accounting_output_type { + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list cflowd { + key name; + description "Cflowd collector where flow records are sent"; + uses cflowd_packet_accounting_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + uses packet_export_intf_type; + } + } + grouping cflowd_packet_accounting_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + } + grouping aggregation_type { + uses apply-advanced; + leaf autonomous-system { + description "Aggregate by autonomous system number"; + type empty; + } + leaf protocol-port { + description "Aggregate by protocol and port number"; + type empty; + } + leaf source-prefix { + description "Aggregate by source prefix"; + type empty; + } + leaf destination-prefix { + description "Aggregate by destination prefix"; + type empty; + } + container source-destination-prefix { + presence "enable source-destination-prefix"; + description "Aggregate by source and destination prefix"; + uses apply-advanced; + leaf caida-compliant { + description "Compatible with Caida record format for prefix aggregation (v8)"; + type empty; + } + } + } + grouping packet_export_intf_type { + leaf name { + description "Interfaces used to send monitored information"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf engine-id { + description "Identity (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf engine-type { + description "Type (number) of this accounting interface"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + container export-port { + description "Jflow export port configuration"; + presence "enable export-port"; + uses export_port_address_type; + } + } + grouping export_port_address_type { + uses apply-advanced; + leaf address { + description "Address to use for jflow export port"; + type jt:ipv4prefix; + } + leaf gateway { + description "Gateway address to reach jflow server"; + type jt:ipv4addr; + } + } + grouping periodic_oam { + uses apply-advanced; + container mpls-tp-mode { + presence "enable mpls-tp-mode"; + description "MPLS-TP Mode, Do not use IP addressing for OAM"; + uses apply-advanced; + container lsping-channel-type { + description "Supported Control-channel types for MPLS-TP mode...."; + uses apply-advanced; + choice action-choice { + case case_1 { + leaf ipv4 { + description "Use channel-type IPv4(0x0021), With IP-UDP encapsulation"; + type empty; + } + } + case case_2 { + leaf on-demand-cv { + description "Use channel-type On-Demand-CV(0x0025), Without IP-UDP encapsulation"; + type empty; + } + } + } + } + } + container bfd-port { + description "Egress knob to select MHOP-BFD port for MPLS BFD"; + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container failure-action { + description "Action to take when BFD session goes down"; + choice action-choice { + case case_1 { + leaf teardown { + description "Teardown label switched path and resignal"; + type empty; + } + } + case case_2 { + container make-before-break { + presence "enable make-before-break"; + description "Resignal the label switched path before teardown"; + uses apply-advanced; + leaf teardown-timeout { + description "Time to wait before teardown"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + } + } + } + } + leaf no-router-alert-option { + description "Do not set Router-Alert options in IP header for MPLS-BFD"; + type empty; + } + leaf use-ip-ttl-1 { + description "Set TTL value to 1 in IP header for MPLS-BFD"; + type empty; + } + } + container performance-monitoring { + description "Performance monitoring options"; + uses apply-advanced; + container traceoptions { + description "Trace options for PM"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace init commnad"; + } + enum "error" { + description "Trace error conditions"; + } + enum "event" { + description "Trace state machine events"; + } + enum "general" { + description "Trace general events"; + } + enum "packet" { + description "Trace various packets "; + } + enum "timer" { + description "Trace timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container querier { + description "Querier options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic class"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + container loss-delay { + description "Combined loss-delay measurement options"; + uses apply-advanced; + list traffic-class { + key name; + description "Traffic class specific options"; + leaf name { + description "Traffic class value"; + type enumeration { + enum "tc-0" { + description "Traffic class 0"; + } + enum "tc-1" { + description "Traffic class 1"; + } + enum "tc-2" { + description "Traffic class 2"; + } + enum "tc-3" { + description "Traffic class 3"; + } + enum "tc-4" { + description "Traffic class 4"; + } + enum "tc-5" { + description "Traffic class 5"; + } + enum "tc-6" { + description "Traffic class 6"; + } + enum "tc-7" { + description "Traffic class 7"; + } + enum "all" { + description "All Traffic classes"; + } + enum "none" { + description "No Traffic class"; + } + } + } + uses apply-advanced; + leaf query-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + leaf measurement-quantity { + description "Loss measurement quantity"; + default "packets"; + type enumeration { + enum "bytes" { + description "Byte loss measurement"; + } + enum "packets" { + description "Packet loss measurement"; + } + } + } + leaf padding-size { + description "Size of padding"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 1500"; + } + } + } + leaf average-sample-size { + description "Number of samples used in average calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 30"; + } + } + } + leaf loss-threshold { + description "Loss threshold value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf loss-threshold-window { + description "Number of samples for loss threshold calculation"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + leaf twcd-delay-threshold { + description "Two way channel delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf rtt-delay-threshold { + description "Round trip delay threshold value"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container responder { + description "Responder options"; + uses apply-advanced; + container loss { + description "Loss measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + container delay { + description "Delay measurement options"; + uses apply-advanced; + leaf min-query-interval { + description "Minimum query interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1000 .. 4294967295"; + } + } + } + } + } + } + leaf lsp-ping-interval { + description "Time interval between LSP ping messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf lsp-ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container traceoptions { + description "Trace options for MPLSOAM process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "pipe" { + description "Trace pipe activity"; + } + enum "rpc-packet-details" { + description "Trace RPC packet details"; + } + enum "database" { + description "Trace database activity"; + } + enum "network" { + description "Trace network activity"; + } + enum "traceroute" { + description "Trace traceroute activity"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + grouping pim_bootstrap_options_type { + uses apply-advanced; + leaf priority { + description "Eligibility to be the bootstrap router"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf-list import { + ordered-by user; + description "Bootstrap import policy"; + type jt:policy-algebra; + } + leaf-list export { + ordered-by user; + description "Bootstrap export policy"; + type jt:policy-algebra; + } + } + grouping pim_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping pim_rp_group_range_type { + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping pm-rspan-vlan { + description "RSPAN vlan for pm"; + leaf name { + description "VLAN name or VLAN id"; + type string { + } + } + uses apply-advanced; + leaf no-tag { + description "Removes extra RSPAN tag from mirrored packets"; + type empty; + } + } + grouping pm_family_input_type { + description "Input options for port mirroring"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + } + grouping programmable-rpd-type { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "client" { + description "Client events"; + } + enum "japi" { + description "JAPI related traces"; + } + enum "routing-interface" { + description "Routing interface traces"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container purge-timeout { + presence "enable purge-timeout"; + description "Purge timeout for all programmable-rpd clients in seconds"; + choice purge-parm { + case case_1 { + leaf timeout { + description "Timeout value, in seconds, for purging client programmed objects"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Programmable-rpd client options"; + leaf name { + description "Client ID"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + list interface-notification { + key name; + ordered-by user; + description "Interfaces for notification"; + leaf name { + description "Interface"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping reconfigure-trigger-type { + description "DHCP reconfigure trigger"; + uses apply-advanced; + leaf radius-disconnect { + description "Trigger DHCP reconfigure by radius initiated disconnect"; + type empty; + } + } + grouping reconfigure-type { + description "DHCP reconfigure processing"; + uses apply-advanced; + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_inet_type { + description "Routing table group"; + leaf ribgroup-name { + description "Name of the routing table group"; + type string; + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping rip_filter_obj { + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + grouping route_record_traceoptions { + description "Traceoptions for sampling route record"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of route-record to enable debuging output"; + leaf name { + type enumeration { + enum "parse" { + description "Trace parsing code"; + } + enum "all" { + description "Trace all area of jflow-service code"; + } + } + } + } + } + grouping rpd_rib_group_type { + description "Routing table group"; + leaf name { + description "Routing table group"; + type string; + } + uses apply-advanced; + leaf export-rib { + description "Export routing table"; + type string; + } + leaf-list import-rib { + ordered-by user; + description "Import routing table"; + type string; + } + leaf-list import-policy { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + grouping sampling_family_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet6_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_family_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_global_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_global_mpls_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + } + grouping cflowd_global_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + container family { + presence "enable family"; + description "Protocol family"; + status deprecated; + container inet { + description "Sampling parameters for IPv4"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + container mpls { + description "Sampling parameters for MPLS"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + } + } + grouping sampling_instance_bridge_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_bridge_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_bridge_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping packet_export_inline_instance { + uses apply-advanced; + leaf source-address { + description "Address to use for generating monitored packets"; + type jt:ipaddr; + } + leaf flow-export-rate { + description "Flow export rate of monitored packets in kpps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3200"; + } + } + } + } + grouping sampling_instance_inet6_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet6_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet6_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_inet_global_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_inet_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_inet_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_instance_inet_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_inet_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_instance_inet_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + } + } + } + grouping sampling_instance_input_type { + description "Configure input options for packet sampling"; + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16000000"; + } + } + } + leaf run-length { + description "Number of samples after initial trigger"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + leaf max-packets-per-second { + description "Threshold of samples per second before dropping"; + default "1000"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the sampled packet"; + default "0"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9192"; + } + } + } + } + grouping sampling_instance_mpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_mpls_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_mpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_instance_vpls_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_instance_vpls_sampling_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline_instance; + } + } + grouping cflowd_instance_vpls_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + } + grouping sampling_output_type { + description "Configure output options for packet sampling"; + uses apply-advanced; + leaf aggregate-export-interval { + description "Interval of exporting aggregate accounting information"; + default "90"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "90 .. 1800"; + } + } + } + leaf flow-inactive-timeout { + description "Interval of inactivity that marks a flow inactive"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1800"; + } + } + } + leaf flow-active-timeout { + description "Interval after which an active flow is exported"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + container file { + description "Configure parameters for dumping sampled packets"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable sampled packet dumps"; + type empty; + } + } + } + leaf filename { + description "Name of file to contain sampled packet dumps"; + type string { + length "1 .. 1024"; + } + } + leaf files { + description "Maximum number of sampled packet dump files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10000"; + } + } + } + leaf size { + description "Maximum sample dump file size"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the sampled dump"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the sampled dump"; + type empty; + } + } + choice stamp-choice { + leaf stamp { + description "Timestamp every packet in the dump"; + type empty; + } + leaf no-stamp { + description "Don't timestamp every packet in the dump"; + type empty; + } + } + } + container port-mirroring { + description "Configure sending sampled traffic out through an interface"; + presence "enable port-mirroring"; + uses inet_pm_family_output_type; + } + list flow-server { + key name; + description "Configure sending traffic aggregates in cflowd format"; + max-elements 8; + uses cflowd_sampling_type; + } + list interface { + key name; + description "Interfaces used to send monitored information"; + max-elements 1; + uses packet_export_intf_type; + } + container inline-jflow { + description "Inline processing of sampled packets"; + presence "enable inline-jflow"; + uses packet_export_inline; + } + list extension-service { + key name; + ordered-by user; + description "Define the customer specific sampling configuration"; + leaf name { + description "Customer prefixed sampling service name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping cflowd_sampling_type { + leaf name { + description "Name of host collecting cflowd packets"; + type jt:ipaddr; + } + uses apply-advanced; + leaf port { + description "UDP port number on host collecting cflowd packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "Numeric DSCP value in the range 0 to 63"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported jflow packets, applicable only for inline-jflow"; + type string { + length "1 .. 64"; + } + } + leaf routing-instance { + description "Name of routing instance on which flow collector is reachable"; + type string; + } + leaf autonomous-system-type { + description "Type of autonomous system number to export"; + default "origin"; + type enumeration { + enum "origin" { + description "Export origin-AS numbers"; + } + enum "peer" { + description "Export peer-AS numbers"; + } + } + } + container aggregation { + description "Aggregations to perform for exported flows (version 8 only)"; + uses aggregation_type; + } + choice local-dump-choice { + leaf local-dump { + description "Dump cflowd records to log file before exporting"; + type empty; + } + leaf no-local-dump { + description "Don't dump cflowd records to log file before exporting"; + type empty; + } + } + leaf source-address { + description "Source IPv4 address for cflowd packets"; + type jt:ipv4addr; + } + container version9 { + presence "enable version9"; + description "Export data in version 9 format"; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + container version-ipfix { + presence "enable version-ipfix"; + description "Export data in version ipfix format"; + status deprecated; + uses apply-advanced; + container template { + description "Template configuration"; + uses apply-advanced; + leaf template-name { + description "Template name"; + type string; + } + } + } + leaf version { + description "Format of exported cflowd aggregates"; + default "5"; + type enumeration { + enum "5" { + description "Export cflowd aggregates in version 5 format"; + } + enum "8" { + description "Export cflowd aggregates in version 8 format"; + } + enum "500" { + description "Export cflowd aggregates in ASN 500 format"; + } + } + } + } + grouping sampling_traceoptions_type { + description "Configure packet sampling traceoptions"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-bulk-leasequery-type { + description "Allow bulk leasequery"; + uses apply-advanced; + leaf max-connections { + description "Max TCP connections allowed at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Timeout for blocked connection"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf max-empty-replies { + description "Maximum number of empty replies for a connection"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf restricted-requestor { + description "Allow bulk leasequery only from restricted requestors"; + type empty; + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-leasequery-type { + description "Allow leasequery"; + uses apply-advanced; + leaf restricted-requestor { + description "Allow leasequery only from restricted requestors"; + type empty; + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping server-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + } + } + grouping smpl-analyzer-type { + leaf name { + description "Analyzer name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container input { + description "Ports and VLANs to monitor"; + uses smpl-analyzer-input-type; + } + container output { + description "Outgoing port or VLAN for mirrored packets"; + uses smpl-analyzer-output-type; + } + } + grouping smpl-analyzer-input-type { + uses apply-advanced; + leaf rate { + description "Ratio of packets to be sampled (1 out of N)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf maximum-packet-length { + description "Maximum length of the mirrored packet"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 9216"; + } + } + } + container ingress { + description "Ports and VLANs to monitor incoming traffic"; + uses smpl-analyzer-ingress-type; + } + container egress { + description "Ports and VLANs to monitor outgoing traffic"; + uses smpl-analyzer-egress-type; + } + } + grouping smpl-analyzer-egress-type { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Port to monitor outgoing traffic"; + uses analyzer-egress-interface-type; + } + list routing-instance { + key name; + description "Routing instances"; + uses analyzer-egress-routing-instance-type; + } + list vlan { + key name; + ordered-by user; + description "VLAN to monitor outgoing traffic"; + uses analyzer-egress-vlan-type; + } + } + grouping analyzer-egress-interface-type { + leaf name { + description "Logical interface name"; + type string; + } + uses apply-advanced; + } + grouping analyzer-egress-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN to monitor outgoing traffic"; + uses analyzer-egress-vlan-type; + } + } + grouping analyzer-egress-vlan-type { + leaf name { + description "VLAN name, VLAN id or VLAN range string"; + type string; + } + uses apply-advanced; + } + grouping smpl-analyzer-ingress-type { + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Port to monitor incoming traffic"; + uses analyzer-ingress-interface-type; + } + list routing-instance { + key name; + description "Routing instances"; + uses analyzer-ingress-routing-instance-type; + } + list vlan { + key name; + ordered-by user; + description "VLAN to monitor incoming traffic"; + uses analyzer-ingress-vlan-type; + } + } + grouping analyzer-ingress-interface-type { + leaf name { + description "Logical interface name"; + type string; + } + uses apply-advanced; + } + grouping analyzer-ingress-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + list vlan { + key name; + ordered-by user; + description "VLAN to monitor incoming traffic"; + uses analyzer-ingress-vlan-type; + } + } + grouping analyzer-ingress-vlan-type { + leaf name { + description "VLAN name, VLAN id or VLAN range string"; + type string; + } + uses apply-advanced; + } + grouping smpl-analyzer-output-type { + uses apply-advanced; + choice interface_or_vlan { + case case_1 { + leaf interface { + description "Outgoing port for mirrored packets"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + } + case case_3 { + leaf next-hop-group { + description "Next-hop-group through which to send port-mirror traffic"; + type string; + } + } + case case_4 { + list routing-instance { + key name; + description "Routing instances"; + max-elements 1; + uses output-routing-instance-type; + } + } + case case_5 { + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + case case_6 { + } + } + } + grouping output-routing-instance-type { + leaf name { + description "Routing instance name"; + type string { + } + } + uses apply-advanced; + leaf ip-address { + description "ERSPAN Destination IP Address"; + type jt:ipv4addr; + } + list vlan { + key name; + description "Outgoing VLAN for mirrored packets"; + max-elements 1; + uses pm-rspan-vlan; + } + } + grouping stp-interface { + leaf name { + type string; + } + uses apply-advanced; + leaf priority { + description "Interface priority (in increments of 16 - 0,16,..240)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 255"; + } + } + } + leaf cost { + description "Cost of the interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000000"; + } + } + } + leaf mode { + description "Interface mode (P2P or shared)"; + type enumeration { + enum "point-to-point" { + description "Interface mode is point-to-point"; + } + enum "shared" { + description "Interface mode is shared"; + } + } + } + leaf edge { + description "Port is an edge port"; + type empty; + } + leaf access-trunk { + description "Send/Receive untagged RSTP BPDUs on this interface"; + type empty; + } + container bpdu-timeout-action { + presence "enable bpdu-timeout-action"; + description "Define action on BPDU expiry (Loop Protect)"; + uses apply-advanced; + leaf block { + description "Block the interface"; + type empty; + } + leaf alarm { + description "Generate an alarm"; + type empty; + } + } + leaf no-root-port { + description "Do not allow the interface to become root (Root Protect)"; + type empty; + } + leaf disable { + description "Disable Spanning Tree on port"; + type empty; + } + } + grouping stp-trace-options { + description "Trace options for Spanning Tree Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "events" { + description "Trace events to the protocol state machine"; + } + enum "bpdu" { + description "Trace BPDU reception and transmission"; + } + enum "timers" { + description "Trace protocol timers"; + } + enum "port-information-state-machine" { + description "Trace port information state machine"; + } + enum "port-receive-state-machine" { + description "Trace port receive state machine"; + } + enum "port-role-select-state-machine" { + description "Trace port role selection state machine"; + } + enum "port-role-transit-state-machine" { + description "Trace port role transit state machine"; + } + enum "port-state-transit-state-machine" { + description "Trace port state transit state machine"; + } + enum "port-migration-state-machine" { + description "Trace port migration state machine"; + } + enum "port-transmit-state-machine" { + description "Trace port transmit state machine"; + } + enum "topology-change-state-machine" { + description "Trace topology change state machine"; + } + enum "bridge-detection-state-machine" { + description "Trace Bridge detection state machine"; + } + enum "state-machine-variables" { + description "Trace when state machine variables change"; + } + enum "ppmd" { + description "Trace state and events for ppmd process"; + } + enum "all-failures" { + description "Trace all failure conditions"; + } + enum "all" { + description "Trace all"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping subscription-type { + uses apply-advanced; + leaf link-subscription { + description "Link bandwidth percentage for RSVP reservation"; + default "100"; + type string; + } + leaf ct0 { + description "Subscription percentage for traffic class 0"; + default "100"; + type string; + } + leaf ct1 { + description "Subscription percentage for traffic class 1"; + default "100"; + type string; + } + leaf ct2 { + description "Subscription percentage for traffic class 2"; + default "100"; + type string; + } + leaf ct3 { + description "Subscription percentage for traffic class 3"; + default "100"; + type string; + } + } + grouping system-id-ip-map { + leaf name { + type jt:mac-unicast; + } + uses apply-advanced; + leaf ip-address { + description "Peer ID (IP Address)"; + type jt:ipv4prefix; + } + } + grouping te-class-object { + leaf traffic-class { + description "Traffic class"; + type enumeration { + enum "ct0" { + description "Traffic class 0"; + } + enum "ct1" { + description "Traffic class 1"; + } + enum "ct2" { + description "Traffic class 2"; + } + enum "ct3" { + description "Traffic class 3"; + } + } + } + leaf priority { + description "Preemption priority for this class"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping vlan-policy { + description "Virtual LAN"; + leaf name { + description "VLAN id"; + type string; + } + uses apply-advanced; + container policy { + description "Attach policy"; + uses apply-advanced; + leaf policy-name { + description "Router Advertisement Guard policy name"; + type string; + } + choice policy-type { + case case_1 { + leaf stateful { + description "Stateful router advertisement guard"; + type empty; + } + } + case case_2 { + leaf stateless { + description "Stateless router advertisement guard"; + type empty; + } + } + } + } + } + grouping vlan-types { + description "Virtual LAN"; + leaf name { + description "VLAN name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of VLANs"; + type string { + } + } + choice vlan-identifier-choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for VLAN"; + type string; + } + } + case case_2 { + leaf-list vlan-id-list { + description "Create VLAN for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + case case_3 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for VLANs"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface name for this VLAN"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf l3-interface { + description "L3 interface name for this vlans"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-ethernet-switching-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container switch-options { + description "VLANs switch-options configuration"; + uses juniper-protocols-vlan; + } + leaf domain-type { + description "Type of VLANs SVLAN/DVLAN"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of IRB routing-interface"; + type empty; + } + leaf service-id { + description "Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf domain-id { + description "Domain-id for auto derived Route Target"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this VLAN"; + type empty; + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + leaf mcae-mac-flush { + description "Enable IRB MAC flush in a/s mode for this VLAN on MCAE link up"; + type empty; + } + leaf private-vlan { + description "Type of secondary vlan for private vlan"; + type enumeration { + enum "isolated" { + description "Isolated vlan"; + } + enum "community" { + description "Community vlan"; + } + } + } + leaf isolated-vlan { + description "VLAN id or name"; + type string { + } + } + leaf-list community-vlans { + ordered-by user; + description "List of VLAN id or name"; + type string; + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + } + grouping juniper-ethernet-switching-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for ethernet switching forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for ethernet switching flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for ethernet switching flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "DHCP access security configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + container fip-security { + description "FCoE Initiation Protocol security configuration"; + presence "enable fip-security"; + uses fip-security-type; + } + } + grouping fip-security-type { + uses apply-advanced; + list interface { + key name; + description "Configure access port security for this interface"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice fcoe-trusted-choice { + leaf fcoe-trusted { + description "Make this interface trusted for FCoE"; + type empty; + } + leaf no-fcoe-trusted { + description "Don't make this interface trusted for FCoE"; + type empty; + } + } + } + leaf fc-map { + description "FCoE MAC address prefix"; + type string { + } + } + container examine-vn2vf { + presence "enable examine-vn2vf"; + description "Enable FIP snooping on this VLAN"; + uses apply-advanced; + leaf satellite { + description "FIP snooping enabled for extended port"; + type empty; + } + } + container examine-vn2vn { + presence "enable examine-vn2vn"; + description "Enable VN2VN FIP snooping on this VLAN"; + uses apply-advanced; + leaf beacon-period { + description "FCoE VN2VN beacon period"; + default "8000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 90000"; + } + } + } + } + } + grouping juniper-protocols-vlan { + description "VLANs switch-options configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-move-limit { + presence "enable mac-move-limit"; + description "Number of MAC movements allowed on this VLAN"; + uses apply-advanced; + leaf limit { + description "Number of MAC movements allowed on this VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf packet-action { + description "Action to be taken in case the MAC movement limit is exceeded"; + default "drop"; + type enumeration { + enum "none" { + description "Take no action"; + } + enum "drop" { + description "Drop the packet and do not generate an alarm"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap, or a system log entry."; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap, or a system log entry."; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap, or a system log entry."; + } + enum "vlan-member-shutdown" { + description "Disable the interface of this VLAN"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-routing-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-routing-options@2019-01-01.yang new file mode 100644 index 00000000..05885376 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-routing-options@2019-01-01.yang @@ -0,0 +1,6625 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-routing-options { + namespace "http://yang.juniper.net/junos-qfx/conf/routing-options"; + + prefix jc-routing-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos routing-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses routing-options-group; + } + augment /jc:configuration/jc:groups { + uses routing-options-group; + } + grouping routing-options-group { + container routing-options { + description "Protocol-independent routing option configuration"; + uses juniper-routing-options; + } + } + grouping juniper-routing-options { + uses apply-advanced; + leaf no-soft-core { + description "Disable soft assert to generate core and just log the event"; + type empty; + } + leaf med-igp-update-interval { + description "Delay (in minutes) in updating MED IGP for bgp groups with 'delay-med-update' "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + container bmp { + presence "enable bmp"; + description "BGP Monitoring Protocol (BMP) configuration"; + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + default "hmac-sha-1-96"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list station { + key name; + description "Define a BMP station"; + leaf name { + description "Station name"; + type string; + } + uses apply-advanced; + leaf authentication-key { + description "MD5 authentication key"; + type string { + length "1 .. 126"; + } + } + leaf authentication-algorithm { + description "Authentication algorithm name"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1-96" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + enum "aes-128-cmac-96" { + description "Cipher-based Message Authentication Code (AES128) (96 bits)"; + } + } + } + leaf authentication-key-chain { + description "Key chain name"; + type string { + length "1 .. 128"; + } + } + container hold-down { + presence "enable hold-down"; + leaf hold-down-time { + description "Prevent re-establishment for this time"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + leaf flaps { + description "Number of flaps before damping"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf period { + description "Time period for flaps"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 65535"; + } + } + } + } + leaf initiation-message { + description "User string sent with the initiation message"; + type string { + length "1 .. 255"; + } + } + leaf local-address { + description "Address of local end of BMP session"; + type jt:ipaddr; + } + leaf local-port { + description "Local port for listening"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf connection-mode { + description "Specify active or passive"; + type enumeration { + enum "active" { + description "Initiate the connection"; + } + enum "passive" { + description "Listen for the connection"; + } + } + } + leaf priority { + description "Relative dispatch priority"; + type enumeration { + enum "low" { + description "Lowest priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "high" { + description "Highest priority"; + } + } + } + leaf monitor { + description "Enable/Disable monitoring"; + type enumeration { + enum "enable" { + description "Enable monitoring of BGP peer(s)"; + } + enum "disable" { + description "Disable monitoring of BGP peer(s)"; + } + } + } + container route-monitoring { + description "Control route monitoring settings"; + uses apply-advanced; + leaf none { + description "Do not send route montoring messages"; + type empty; + } + container pre-policy { + presence "enable pre-policy"; + description "Send pre policy route montoring messages"; + leaf exclude-non-feasible { + description "Exclude looped routes, etc"; + type empty; + } + } + container post-policy { + presence "enable post-policy"; + description "Send post policy route montoring messages"; + leaf exclude-non-eligible { + description "Exclude unresolved routes, etc."; + type empty; + } + } + } + leaf station-address { + description "Address/name of monitoring station"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing-instance through which BMP station is reachable"; + type string; + } + leaf station-port { + description "Port of monitoring station"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf statistics-timeout { + description "Statistics message timer, 15-65535, or 0 for no messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Trace flag information"; + leaf name { + type enumeration { + enum "packets" { + description "Trace all messages"; + } + enum "up" { + description "Trace up messages"; + } + enum "down" { + description "Trace down messages"; + } + enum "statistics" { + description "Trace statistics messages"; + } + enum "route-monitoring" { + description "Trace route monitoring messages"; + } + enum "event" { + description "Trace major events, station establishment, errors, events"; + } + enum "error" { + description "Trace error conditions"; + } + enum "write" { + description "Trace writing of messages"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + } + leaf bgp-orf-cisco-mode { + description "Using BGP ORF capability code 130 and Prefix ORF type 128"; + type empty; + } + container ppm { + presence "enable ppm"; + description "Set periodic packet management properties"; + uses apply-advanced; + leaf delegate-processing { + description "Enable distribution of PPM sessions"; + status deprecated; + type empty; + } + leaf no-delegate-processing { + description "Disable PPM sessions distribution"; + type empty; + } + leaf inline-processing-enable { + description "Enable PPM session inline distribution"; + type empty; + } + leaf inline-ae-processing-enable { + description "Enable PPM session inline distribution on AE"; + type empty; + } + leaf redistribution-timer { + description "Time to wait after switchover before starting timers"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 120"; + } + } + } + } + leaf no-bfd-triggered-local-repair { + description "Disable bfd triggered local repair"; + type empty; + } + container source-routing { + description "Source-routing options"; + uses apply-advanced; + leaf ip { + description "Enable IP Source Routing"; + type empty; + } + leaf ipv6 { + description "Enable Type 0 RouteHeader processing"; + type empty; + } + } + container auto-bandwidth { + presence "enable auto-bandwidth"; + description "Auto bandwidth"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "Auto bandwidth template"; + leaf name { + description "Auto bandwidth template name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf adjust-interval { + description "Adjust interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 3600"; + } + } + } + leaf adjust-threshold { + description "Percentage threshhold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf statistic-collection-interval { + description "Collection interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 300"; + } + } + } + leaf auto-bandwidth-subscription { + description "Percentage threshhold for subscription"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 200"; + } + } + } + } + container traceoptions { + description "Trace options for sr stats"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace All"; + } + enum "timer" { + description "Trace traffic recv by periodic timer"; + } + enum "state" { + description "Trace state of sensor"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + list srlg { + key name; + ordered-by user; + description "SRLG configuration"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf srlg-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf srlg-cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + container admin-groups-extended-range { + description "Extended administrative groups range"; + uses apply-advanced; + leaf minimum { + description "Minimum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + leaf maximum { + description "Maximum value of the range for extended administrative groups"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + list admin-groups-extended { + key name; + ordered-by user; + description "Extended administrative groups"; + leaf name { + description "Group name (Maximum length 64)"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf group-value { + description "Group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "32 .. 4294967295"; + } + } + } + } + leaf enable-sensors { + description "Enable Sensor for MX/PTX/QFX/EX"; + type empty; + } + leaf lsp-telemetry { + description "Turn on Jvision LSP telemetry"; + type empty; + } + container source-packet-routing { + description "Source packet routing (SPRING)"; + uses apply-advanced; + list mapping-server-entry { + key name; + ordered-by user; + description "Mapping server entry"; + leaf name { + description "Mapping server entry name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list prefix-segment { + key name; + ordered-by user; + description "Prefix segment"; + max-elements 64; + leaf name { + description "Prefix segment prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf index { + description "Prefix segment index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + } + list prefix-segment-range { + key name; + ordered-by user; + description "Prefix segment range"; + max-elements 64; + leaf name { + description "Prefix segment range name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-prefix { + description "Start prefix"; + type jt:ipprefix; + } + leaf start-index { + description "Start index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 199999"; + } + } + } + leaf size { + description "Size of prefix segment range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + container traceoptions { + description "Global routing protocol trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + container trace-events { + presence "enable trace-events"; + description "Trace events configuration"; + uses apply-advanced; + list logging { + key name; + ordered-by user; + description "Logging trace events"; + leaf name { + description "Event system name"; + type string; + } + leaf disable { + description "Disable these trace events"; + type empty; + } + leaf memtrace { + description "Memtrace logging"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "regex-parse" { + description "Trace regular-expression parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "nsr-synchronization" { + description "Trace nonstop routing synchronization events"; + } + enum "condition-manager" { + description "Trace condition manager events"; + } + enum "graceful-restart" { + description "Trace Graceful Restart events"; + } + enum "session" { + description "Trace Session ID allocations/deallocations"; + } + enum "hfrr-fsm" { + description "Host FRR FSM events tracing"; + } + enum "hfrr-route" { + description "Host FRR route events tracing"; + } + enum "statistics-id-group" { + description "Trace Statistics ID Group operations"; + } + enum "route-record" { + description "Trace route-record server-side events"; + } + enum "jvision-lsp" { + description "Trace Jvision events and errors"; + } + enum "dyn-nh-template" { + description "Dynamic nexthops template events tracing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container options { + description "Miscellaneous options"; + uses apply-advanced; + leaf no-send { + description "Listen only; do not send protocol packets"; + status deprecated; + type empty; + } + leaf no-resolve { + description "Do not use DNS name resolution"; + status deprecated; + type empty; + } + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container graceful-restart { + presence "enable graceful-restart"; + description "Graceful or hitless routing restart options"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for which router is in graceful restart"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 10000"; + } + } + } + } + leaf warm-standby { + description "Enable warm-standby"; + type empty; + } + leaf nonstop-routing { + description "Enable nonstop routing"; + type empty; + } + container nonstop-routing-options { + presence "enable nonstop-routing-options"; + description "Nonstop routing options"; + uses apply-advanced; + leaf precision-timers-max-period { + description "Set Max period for precision timer support from kernel after switchover"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 1800"; + } + } + } + } + leaf nsr-phantom-holdtime { + description "Set NSR phantom route hold time"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + container interface-routes { + description "Define routing table groups for interface routes"; + uses apply-advanced; + container rib-group { + description "Routing table group"; + uses rib_group_type; + } + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + container export { + description "Control exportability of local routes"; + uses apply-advanced; + leaf point-to-point { + description "Make point-to-point routes exportable"; + type empty; + } + leaf lan { + description "Make LAN routes exportable"; + type empty; + } + } + } + } + leaf loopback-strict-disable { + description "Completely disable lo0 host prefix when in admin-down state"; + type empty; + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet6; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + } + } + container static { + description "Static routes"; + uses apply-advanced; + leaf rib-group { + description "Routing table group"; + type string; + } + container defaults { + description "Global route options"; + uses apply-advanced; + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + choice next_hop { + case case_1 { + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf reject { + description "Drop packets to destination; send ICMP unreachables"; + type empty; + } + } + case case_3 { + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + } + case case_4 { + leaf receive { + description "Install a receive route for the destination"; + type empty; + } + } + case case_5 { + leaf next-table { + description "Next hop to another table"; + type string { + } + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + list lsp-next-hop { + key name; + ordered-by user; + description "LSP next hop"; + uses lsp_nh_obj; + } + list static-lsp-next-hop { + key name; + ordered-by user; + description "Static LSP next hop"; + uses lsp_nh_obj; + } + list p2mp-lsp-next-hop { + key name; + ordered-by user; + description "Point-to-multipoint LSP next hop"; + max-elements 1; + uses lsp_nh_obj; + } + container p2mp-ldp-next-hop { + description "Point-to-multipoint LDP LSP next hop"; + uses p2mp_ldp_lsp_nh_obj; + } + leaf backup-pe-group { + description "Multicast source redundancy group"; + type string; + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + choice retain-choice { + leaf retain { + description "Always keep route in forwarding table"; + type empty; + } + leaf no-retain { + description "Don't always keep route in forwarding table"; + type empty; + } + } + choice install-choice { + leaf install { + description "Install route into forwarding table"; + type empty; + } + leaf no-install { + description "Don't install route into forwarding table"; + type empty; + } + } + choice readvertise-choice { + leaf readvertise { + description "Mark route as eligible to be readvertised"; + type empty; + } + leaf no-readvertise { + description "Don't mark route as eligible to be readvertised"; + type empty; + } + } + choice resolve-choice { + leaf resolve { + description "Allow resolution of indirectly connected next hops"; + type empty; + } + leaf no-resolve { + description "Don't allow resolution of indirectly connected next hops"; + type empty; + } + } + choice longest-match-choice { + leaf longest-match { + description "Always use longest prefix match to resolve next hops"; + type empty; + } + leaf no-longest-match { + description "Don't always use longest prefix match to resolve next hops"; + type empty; + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + container static-route { + description "Static route Status"; + leaf bfd-admin-down { + description "Static route State on BFD ADMIN DOWN"; + type enumeration { + enum "active" { + description "Static route will be inactive on bfd-admin-down"; + } + enum "passive" { + description "Static route will remain active on bfd-admin-down"; + } + } + } + } + list route-target-filter { + key name; + ordered-by user; + description "Route-target-filter route"; + leaf name { + type string { + length "1 .. 47"; + } + } + uses apply-advanced; + leaf-list neighbor { + ordered-by user; + description "BGP peers for filter"; + type jt:ipaddr; + } + leaf-list group { + ordered-by user; + description "BGP groups for filter"; + type string; + } + leaf local { + description "Locally originated filter"; + type empty; + } + } + } + list martians { + key "address choice-ident choice-value"; + ordered-by user; + description "Invalid routes"; + uses martian_type; + } + container aggregate { + description "Coalesced routes"; + uses rib_aggregate_type; + } + container generate { + description "Route of last resort"; + uses rib_aggregate_type; + } + choice maximum-paths-type { + case case_1 { + container maximum-routes { + description "Maximum number of routes"; + status deprecated; + leaf limit { + description "Maximum number of routes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + case case_2 { + container maximum-paths { + description "Maximum number of paths"; + leaf limit { + description "Maximum number of paths"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + } + } + container maximum-prefixes { + description "Maximum number of prefixes"; + leaf limit { + description "Maximum number of prefixes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + choice log_type { + case case_1 { + leaf threshold { + description "Percentage of limit at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + case case_2 { + leaf log-only { + description "Generate warning messages only"; + type empty; + } + } + } + leaf log-interval { + description "Minimum interval between log messages"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 86400"; + } + } + } + } + container multipath { + presence "enable multipath"; + description "Protocol-independent load balancing"; + uses apply-advanced; + container vpn-unequal-cost { + presence "enable vpn-unequal-cost"; + description "Include VPN routes with unequal IGP metrics"; + leaf equal-external-internal { + description "Include external and internal VPN routes"; + type empty; + } + } + leaf as-path-compare { + description "Compare AS path sequences in addition to AS path length"; + type empty; + } + } + container protect { + description "Protocol-independent protection"; + leaf core { + description "Protect against unreachability to service-edge router"; + type empty; + } + } + container label { + presence "enable label"; + description "Label processing"; + uses apply-advanced; + leaf-list allocation { + ordered-by user; + description "Label allocation policy"; + type jt:policy-algebra; + } + leaf-list substitution { + ordered-by user; + description "Label substitution policy"; + type jt:policy-algebra; + } + } + container access { + description "Access routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access route"; + leaf name { + description "IP address of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + leaf metric { + description "Metric value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf preference { + description "Preference value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tag2 { + description "Tag2 string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container access-internal { + description "Access-internal routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Access-internal route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list next-hop { + ordered-by user; + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + list qualified-next-hop { + key name; + ordered-by user; + description "Next hop with qualifiers"; + uses qualified_nh_obj; + } + } + } + container bgp-static { + description "Routes for BGP static advertisements"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "BGP-static route"; + leaf name { + description "IP address and optional prefix length of destination"; + type jt:ipprefix; + } + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + } + } + container flow { + description "Locally defined flow routing information"; + uses apply-advanced; + container validation { + description "Flow route validation options"; + presence "enable validation"; + uses flow-validation; + } + list route { + key name; + ordered-by user; + description "Flow route"; + uses flow-route-inet; + } + container interface-group { + description "Interface-group for applying flow-spec filter"; + uses flow-interface-group; + } + leaf firewall-install-disable { + description "Disable installing flowspec firewall filters in dfwd "; + type empty; + } + leaf term-order { + description "Term evaluation order for flow routes"; + type enumeration { + enum "legacy" { + description "Legacy term order (default)"; + } + enum "standard" { + description "RFC compliant term order"; + } + } + } + } + list rib-groups { + key name; + ordered-by user; + description "Group of routing tables"; + uses rpd_rib_group_type; + } + leaf route-record { + description "Enable route recording"; + type empty; + } + leaf router-id { + description "Router identifier"; + type jt:ipv4addr; + } + leaf route-distinguisher-id { + description "Identifier used in route distinguishers for routing instances"; + type jt:ipv4addr; + } + container autonomous-system { + description "Autonomous system number"; + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf loops { + description "Maximum number of times this AS can be in an AS path"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 10"; + } + } + } + leaf asdot-notation { + description "Use AS-Dot notation to display true 4 byte AS numbers"; + type empty; + } + container independent-domain { + presence "enable independent-domain"; + description "Independent autonomous-system domain from master instance"; + leaf no-attrset { + description "Do not tunnel ce bgp attributes across provider network"; + type empty; + } + } + } + container confederation { + description "Confederation autonomous system number"; + leaf confederation-as { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf-list members { + ordered-by user; + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string; + } + } + list interface { + key name; + ordered-by user; + description "Direct/Host route FRR protection"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf arp-prefix-limit { + description "Max ARP/Host FRR routes allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf supplementary-blackout-timer { + description "ARP plimit blackout timer = kernel ARP timeout + supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + choice protection-type { + case case_1 { + leaf link-protection { + description "Protect interface from link faults only"; + type empty; + } + } + } + } + container host-fast-reroute { + presence "enable host-fast-reroute"; + description "Host Fast Re-route global values. Applies to all host FRR profiles."; + uses apply-advanced; + leaf global-arp-prefix-limit { + description "Max ARP/Host FRR routes allowed per protected IFL"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf global-supplementary-blackout-timer { + description "ARP plimit global blackout timer = kernel ARP timeout + global-supplementary-blackout-timer minutes."; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container forwarding-table { + uses forwarding-table-type; + } + container resolution { + presence "enable resolution"; + description "Route next-hop resolution options"; + uses apply-advanced; + leaf-list tracefilter { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "event" { + description "Event processing"; + } + enum "flash" { + description "Flash processing"; + } + enum "kernel" { + description "Kernel communication"; + } + enum "indirect" { + description "Indirect next-hop addition, change, or deletion"; + } + enum "task" { + description "Task or job processing"; + } + enum "igp-frr" { + description "IGP triggered FRR events"; + } + enum "igp-frr-extensive" { + description "IGP triggered FRR Extensive events"; + } + enum "tunnel" { + description "Resolver dynamic tunnel events"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table resolution options"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list resolution-family { + ordered-by user; + description "Family of resultion tree"; + type string; + } + leaf-list resolution-ribs { + ordered-by user; + description "Routing tables to use for default routing table family resolution"; + type string; + } + leaf-list inet-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv4 family protocol-next-hop resolution"; + type string; + } + leaf-list inet6-resolution-ribs { + ordered-by user; + description "Routing tables to use for ipv6 family protocol-next-hop resolution"; + type string; + } + leaf-list iso-resolution-ribs { + ordered-by user; + description "Routing tables to use for iso family protocol-next-hop resolution"; + type string; + } + leaf-list import { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + leaf-list inet-import { + ordered-by user; + description "Import policy for IPV4 family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6-import { + ordered-by user; + description "Import policy for IPV6 family resolution tree"; + type jt:policy-algebra; + } + leaf-list iso-import { + ordered-by user; + description "Import policy for ISO family resolution tree"; + type jt:policy-algebra; + } + leaf-list inetcolor-import { + ordered-by user; + description "Import policy for INETCOLOR family resolution tree"; + type jt:policy-algebra; + } + leaf-list inet6color-import { + ordered-by user; + description "Import policy for INET6COLOR family resolution tree"; + type jt:policy-algebra; + } + } + } + container multicast { + description "Global multicast options"; + uses apply-advanced; + container traceoptions { + description "Global multicast trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf rpf { + status deprecated; + type string; + } + list scope { + key name; + ordered-by user; + description "Multicast address scope"; + leaf name { + description "Name to identify multicast address scope"; + type string; + } + uses apply-advanced; + leaf prefix { + description "Administratively scoped address"; + type jt:ipprefix; + } + leaf-list interface { + ordered-by user; + description "Interface on which to configure scoping"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list scope-policy { + ordered-by user; + description "Scoping policy"; + type jt:policy-algebra; + } + list flow-map { + key name; + ordered-by user; + description "Multicast flow map configuration"; + leaf name { + description "Name of the flow map"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matched flows"; + type jt:policy-algebra; + } + container bandwidth { + presence "enable bandwidth"; + description "Bandwidth properties for matched flows"; + leaf bandwidth-value { + description "Static or default bandwidth for the matched flows"; + units "bps"; + type string; + } + leaf adaptive { + description "Auto-sense bandwidth for matched flows"; + type empty; + } + } + leaf-list redundant-sources { + ordered-by user; + description "Redundant source addresses"; + type jt:ipaddr; + } + container forwarding-cache { + description "Forwarding cache properties for matched flows"; + uses apply-advanced; + container timeout { + description "Timeout properties for matched flows"; + choice timeout_choice { + case case_1 { + leaf timeout-value { + description "Timeout for forwarding cache entry"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + case case_2 { + container never { + presence "enable never"; + description "Forwarding cache entries never time out"; + uses apply-advanced; + leaf non-discard-entry-only { + description "Apply only to non-discard entries"; + type empty; + } + } + } + } + } + } + } + leaf-list resolve-filter { + ordered-by user; + description "Multicast resolve policy filter"; + status deprecated; + type jt:policy-algebra; + } + leaf-list ssm-groups { + ordered-by user; + description "Source-specific multicast group ranges"; + type jt:ipprefix; + } + leaf asm-override-ssm { + description "Allow ASM state for SSM group ranges"; + type empty; + } + leaf-list rpf-check-policy { + ordered-by user; + description "Disable RPF check for a source group pair"; + type jt:policy-algebra; + } + container pim-to-igmp-proxy { + description "PIM-to-IGMP proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container pim-to-mld-proxy { + description "PIM-to-MLD proxy"; + uses apply-advanced; + leaf-list upstream-interface { + ordered-by user; + description "Upstream interface list"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + max-elements 2; + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + leaf allow-maximum { + description "Allow maximum of global and family level threshold values for suppress and reuse"; + type empty; + } + list family { + key name; + ordered-by user; + description "Protocol family"; + leaf name { + description "Protocol family"; + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + container threshold { + presence "enable threshold"; + description "Multicast forwarding cache suppress threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-suppress { + description "MVPN RP tree entry suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf mvpn-rpt-reuse { + description "MVPN RP tree entry reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf log-warning { + description "Percentage at which to start generating warnings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf timeout { + description "Forwarding cache entry timeout in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + } + list interface { + key name; + ordered-by user; + description "Multicast interface options"; + uses multicast_interface_options_type; + } + list ssm-map { + key name; + ordered-by user; + description "SSM map definitions"; + leaf name { + description "SSM map name"; + type string; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy for matching group"; + type jt:policy-algebra; + } + leaf-list source { + ordered-by user; + description "One or more source addresses"; + type jt:ipaddr; + } + } + container stream-protection { + presence "enable stream-protection"; + description "Multicast only Fast Re-Route"; + uses apply-advanced; + leaf mofrr-primary-path-selection-by-routing { + description "Multicast only Fast Re-Route primary path by Routing"; + type empty; + } + leaf mofrr-disjoint-upstream-only { + description "Multicast only Fast Re-Route disjoint upstream only"; + type empty; + } + leaf mofrr-no-backup-join { + description "Multicast only Fast Re-Route no backup join"; + type empty; + } + leaf mofrr-asm-starg { + description "Multicast only Fast Re-Route asm (*,G)"; + type empty; + } + leaf-list policy { + ordered-by user; + description "MoFRR Policy"; + type jt:policy-algebra; + } + } + list backup-pe-group { + key name; + ordered-by user; + description "Backup PE group definitions"; + leaf name { + description "PE group name"; + type string; + } + uses apply-advanced; + leaf-list backups { + ordered-by user; + description "One or more IP addresses"; + type jt:ipaddr; + max-elements 8; + } + leaf local-address { + description "Address to be used as local-address for this group"; + type jt:ipaddr; + } + } + leaf omit-wildcard-address { + description "Omit wildcard source/group fields in SPMSI AD NLRI"; + type empty; + } + leaf local-address { + description "Local address for PIM and MVPN sessions"; + type jt:ipv4addr; + } + } + leaf-list instance-import { + ordered-by user; + description "Import policy for instance RIBs"; + type jt:policy-algebra; + } + leaf-list instance-export { + ordered-by user; + description "Export policy for instance RIBs"; + type jt:policy-algebra; + } + container auto-export { + presence "enable auto-export"; + description "Export routes between routing instances"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export"; + type empty; + } + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "export" { + description "Export processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container family { + container inet { + description "IPv4 parameters"; + uses export-af-obj; + } + container inet6 { + description "IPv6 parameters"; + uses export-af-obj; + } + container iso { + description "ISO parameters"; + uses export-af-obj; + } + } + } + container dynamic-tunnels { + description "Dynamic tunnel definitions"; + uses apply-advanced; + list tunnel-attributes { + key name; + ordered-by user; + description "Dynamic tunnel attributes definition"; + leaf name { + description "Dynamic Tunnel attribute name"; + type string { + } + } + uses apply-advanced; + leaf dynamic-tunnel-source-prefix { + description "Tunnel source address"; + type jt:ipaddr; + } + leaf dynamic-tunnel-type { + type enumeration { + enum "GRE" { + description "Tunnel type GRE"; + } + enum "V4oV6" { + description "Tunnel type is IPV4oIPV6"; + } + enum "UDP" { + description "Tunnel type UDP"; + } + enum "BGP-SIGNAL" { + description "Tunnel type BGP-SIGNAL"; + } + } + } + leaf dynamic-tunnel-mtu { + description "Dynamic Tunnel MTU value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "296 .. 9232"; + } + } + } + leaf dynamic-tunnel-anchor-pfe { + description "Dynamic Tunnel anchor PFE name of format pfe-x/y/z"; + type string { + } + } + leaf dynamic-tunnel-anti-spoof { + type enumeration { + enum "on" { + description "Enable antispoofing check. Default is enabled"; + } + enum "off" { + description "Disable antispoofing check"; + } + } + } + } + list forwarding-rib { + key name; + ordered-by user; + description "Forwarding routing table for dynamic-tunnel"; + leaf name { + description "Routing table name"; + type string; + } + uses apply-advanced; + leaf-list inet-import { + ordered-by user; + description "Import policy for V4 dynamic-tunnel"; + type jt:policy-algebra; + } + } + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "kernel" { + description "Trace kernel communication"; + } + enum "tunnel" { + description "Trace tunnel addition, change, or deletion"; + } + enum "task" { + description "Trace task or job processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf udp { + description "Enable dynamic tunnel udp mode"; + type enumeration { + enum "full-resolved-next-hop-based-tunnel" { + description "Enable full resolved nh base dynamic-tunnel"; + } + } + } + leaf gre { + description "Enable dynamic gre tunnel mode"; + type enumeration { + enum "next-hop-based-tunnel" { + description "Enable nh base dynamic-tunnel"; + } + } + } + list dynamic-tunnel { + key name; + ordered-by user; + uses dynamic_tunnel_type; + } + } + container logical-system-mux { + description "Logical system control daemon information"; + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "debug" { + description "Trace debug-level lrmuxd activities"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + } + container programmable-rpd { + description "RPD Server module management options"; + uses programmable-rpd-type; + } + container topologies { + description "Define routing topologies"; + uses apply-advanced; + list family { + key name; + ordered-by user; + description "Address family"; + leaf name { + type enumeration { + enum "inet" { + description "IPv4 family"; + } + enum "inet6" { + description "IPv6 family"; + } + } + } + uses apply-advanced; + list topology { + key name; + ordered-by user; + description "Topology information"; + leaf name { + description "Topology name"; + type string { + } + } + uses apply-advanced; + } + } + } + container backup-selection { + presence "enable backup-selection"; + description "Backup selection options"; + uses apply-advanced; + list destination { + key name; + description "IP/IPv6 prefix for which backup selection policy is configured"; + leaf name { + description "IP/IPv6 address (and optional prefix length)"; + type jt:ipprefix-mandatory; + } + uses apply-advanced; + list interface { + key name; + description "Primary nexthop interface for which backup selection policy is configured"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container admin-group { + description "Administrative group policies for backup-selection"; + uses apply-advanced; + leaf-list exclude { + description "Do not use interface if any admin group available"; + type string; + } + leaf-list include-all { + description "Use interface if admin groups available entirely"; + type string; + } + leaf-list include-any { + description "Use interface if any admin group is available"; + type string; + } + leaf-list preference { + ordered-by user; + description "Administrative groups in descending preference order"; + type string; + } + } + leaf srlg { + description "Evaluate Shared Risk Link Group(SRLG) characteristics for backup selection"; + default "loose"; + type enumeration { + enum "loose" { + description "Loose SRLG"; + } + enum "strict" { + description "Strict SRLG"; + } + } + } + leaf protection-type { + description "Type of protection to be considered"; + type enumeration { + enum "link" { + description "Protect the primary interface from link faults only"; + } + enum "node" { + description "Protect the primary interface from node faults only"; + } + enum "node-link" { + description "Protect the primary interface from either link or node faults; prefer node protection"; + } + } + } + leaf downstream-paths-only { + description "Choose only the downstream nodes for backup"; + type empty; + } + leaf bandwidth-greater-equal-primary { + description "Use backup nexthop only if bandwidth is >= bandwidth of primary nexthop"; + type empty; + } + container backup-neighbor { + description "Backup Neighbor ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of backup neighbors to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of backup neighbors in descending order preference"; + type jt:ipv4addr; + } + } + container node { + description "Node ID based policies for backup selection"; + uses apply-advanced; + leaf-list exclude { + description "List of nodes to be excluded"; + type jt:ipv4addr; + } + leaf-list preference { + ordered-by user; + description "List of nodes in the descending order of preference"; + type jt:ipv4addr; + } + } + container node-tag { + description "Node tag policies"; + uses apply-advanced; + leaf-list exclude { + description "The set of node tags to be excluded"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf-list preference { + ordered-by user; + description "The set of node tags in the descending order of preference"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf root-metric { + description "Root metric"; + type enumeration { + enum "lowest" { + description "Choose lowest root metric"; + } + enum "highest" { + description "Choose highest root metric"; + } + } + } + leaf dest-metric { + description "Destination metric"; + type enumeration { + enum "lowest" { + description "Choose lowest destination metric"; + } + enum "highest" { + description "Choose highest destination metric"; + } + } + } + leaf-list metric-order { + ordered-by user; + description "Metric evaluation order"; + type enumeration { + enum "root" { + } + enum "dest" { + } + } + max-elements 2; + } + leaf-list evaluation-order { + ordered-by user; + description "Interface policy criteria evaluation order"; + type enumeration { + enum "admin-group" { + description "Administrative Group/Link Color"; + } + enum "srlg" { + description "SRLG"; + } + enum "bandwidth" { + description "Bandwidth"; + } + enum "protection-type" { + description "Type of protection"; + } + enum "backup-neighbor" { + description "Backup Neighbor"; + } + enum "node" { + description "Node"; + } + enum "node-tag" { + description "Node tag"; + } + enum "metric" { + description "Metric related parameters"; + } + } + } + } + } + } + container fate-sharing { + description "Fate-sharing links or nodes database"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group of objects sharing common characteristics"; + leaf name { + description "Name of object groups sharing the same fate"; + type string { + } + } + uses apply-advanced; + leaf cost { + description "Cost value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf use-for-post-convergence-lfa { + description "Use this fate-sharing group as a constraint for post-convergence-lfa"; + type empty; + } + list from { + key name; + uses fate_sharing_links; + } + } + } + container validation { + description "Define Route validation"; + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "nsr-synchronization" { + description "Trace NSR synchronization events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf-list notification-rib { + ordered-by user; + description "Define routing tables that get notified upon validation state change"; + type string; + } + list group { + key name; + description "Define a group of sessions"; + leaf name { + description "Group name"; + type string; + } + uses apply-advanced; + leaf max-sessions { + description "Maximum connected session in this group"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 63"; + } + } + } + list session { + key name; + description "Configure a session"; + leaf name { + type jt:ipaddr; + } + uses apply-advanced; + container traceoptions { + description "Trace options for route validation"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "error" { + description "Trace errored packets"; + } + enum "packets" { + description "Trace all I/O packets"; + } + enum "keepalive" { + description "Trace keepalive packets"; + } + enum "update" { + description "Trace update packets"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + leaf refresh-time { + description "Interval between keepalive packet transmissions"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1800"; + } + } + } + leaf hold-time { + description "Time after which the session is declared down."; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 3600"; + } + } + } + leaf record-lifetime { + description "Lifetime of route validation records"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 604800"; + } + } + } + leaf preference { + description "Preference for session establishment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf port { + description "Portnumber to connect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf local-address { + type jt:ipaddr; + } + } + } + container static { + description "Define static route validation record"; + uses apply-advanced; + list record { + key name; + description "Static route validation record"; + leaf name { + type jt:ipprefix; + } + uses apply-advanced; + list maximum-length { + key name; + ordered-by user; + leaf name { + description "Maximum prefix-length for route validation record"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 128"; + } + } + } + uses apply-advanced; + list origin-autonomous-system { + key name; + ordered-by user; + leaf name { + description "Legitimate Origin Autonomous System"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf validation-state { + description "Validation state for route validation record"; + type enumeration { + enum "invalid" { + description "Invalid route validation state"; + } + enum "valid" { + description "Valid route validation state"; + } + } + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping dynamic_tunnel_type { + description "Dynamic tunnel definition"; + leaf name { + description "Tunnel name"; + type string { + } + } + uses apply-advanced; + leaf source-address { + description "Tunnel source address"; + type jt:ipaddr; + } + choice tunnel-type { + case case_1 { + list rsvp-te { + key name; + ordered-by user; + description "RSVP-TE point-to-point LSP"; + leaf name { + description "Configure multiple entries for RSVP tunnel"; + type string; + } + uses apply-advanced; + container label-switched-path-template { + description "Template for dynamic point-to-point LSP parameters"; + uses apply-advanced; + choice dynamic-template { + case case_1 { + leaf template-name { + description "Name of point-to-point LSP template"; + type string { + } + } + } + case case_2 { + leaf default-template { + description "Use default parameters"; + type empty; + } + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + } + case case_2 { + leaf gre { + description "Generic routing encapsulation type for IPv4"; + type empty; + } + } + case case_3 { + leaf udp { + description "UDP encapsulation type for IPv4"; + type empty; + } + } + case case_4 { + leaf bgp-signal { + description "BGP signals the encapsulation type for IPv4"; + type empty; + } + } + } + list destination-networks { + key name; + ordered-by user; + description "Create tunnels for routes in these destination networks"; + uses network_type; + } + } + grouping export-af-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable auto-export for address family"; + type empty; + } + } + } + container unicast { + description "Unicast routing information"; + presence "enable unicast"; + uses export-subaf-obj; + } + container multicast { + description "Multicast routing information"; + presence "enable multicast"; + uses export-subaf-obj; + } + container flow { + description "Flow routing information"; + presence "enable flow"; + uses export-subaf-obj; + } + } + grouping export-subaf-obj { + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable instance export"; + type empty; + } + } + } + leaf rib-group { + description "Auxiliary rib-group of additional RIBs to consider"; + type string; + } + } + grouping fate_sharing_links { + leaf name { + description "Router ID or LAN interface address"; + type jt:ipv4addr; + } + leaf to { + description "Point-to-point links"; + type jt:ipv4addr; + } + } + grouping flow-interface-group { + leaf group { + description "Interface group ID to match traffic"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf exclude { + description "Don't apply flow-spec filter to traffic on this group"; + type empty; + } + } + grouping flow-route-inet { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-inet6 { + leaf name { + type string; + } + uses apply-advanced; + leaf no-install { + description "Don't install firewall filter in forwarding"; + type empty; + } + container match { + description "Flow definition"; + uses flow-route-qualifier-inet6; + } + container then { + description "Actions to take for this flow"; + uses flow-route-op; + } + } + grouping flow-route-op { + uses apply-advanced; + leaf community { + description "Name of BGP community"; + type string; + } + choice flow_op_action { + case case_1 { + leaf accept { + description "Allow traffic through"; + type empty; + } + } + case case_2 { + leaf discard { + description "Discard all traffic for this flow"; + type empty; + } + } + case case_3 { + leaf rate-limit { + description "Rate in bits/sec to limit the flow traffic"; + type string; + } + } + } + leaf routing-instance { + description "Redirect to instance identified via Route Target community"; + type string { + } + } + leaf sample { + description "Sample traffic that matches this flow"; + type empty; + } + leaf mark { + description "Set DSCP value for traffic that matches this flow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + leaf next-term { + description "Continue the filter evaluation after matching this flow"; + type empty; + } + } + grouping flow-route-qualifier-inet { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + leaf destination { + description "Destination prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf source { + description "Source prefix for this traffic flow"; + type jt:ipv4prefix; + } + leaf-list icmp-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list icmp-type { + ordered-by user; + description "ICMP message type"; + type string; + } + } + grouping flow-route-qualifier-inet6 { + uses apply-advanced; + leaf-list protocol { + ordered-by user; + description "IP protocol value"; + type string; + } + leaf-list port { + ordered-by user; + type string; + } + leaf-list destination-port { + ordered-by user; + type string; + } + leaf-list source-port { + ordered-by user; + type string; + } + leaf-list tcp-flags { + ordered-by user; + description "TCP flags"; + type string; + } + leaf-list packet-length { + ordered-by user; + description "Packet length (0-65535)"; + type jt:policy-algebra; + } + leaf-list dscp { + ordered-by user; + description "Differentiated Services (DiffServ) code point (DSCP) (0-63)"; + type jt:policy-algebra; + } + leaf-list fragment { + ordered-by user; + type enumeration { + enum "dont-fragment" { + description "Don't Fragment flag is set"; + } + enum "not-a-fragment" { + description "Not a fragment"; + } + enum "is-fragment" { + description "Fragmented packet"; + } + enum "first-fragment" { + description "First fragment"; + } + enum "last-fragment" { + description "Last fragment"; + } + } + } + container destination { + description "Destination prefix for this traffic flow"; + presence "enable destination"; + uses flow-prefix-with-offset; + } + container source { + description "Source prefix for this traffic flow"; + presence "enable source"; + uses flow-prefix-with-offset; + } + leaf-list icmp6-type { + ordered-by user; + description "ICMP message type"; + type string; + } + leaf-list icmp6-code { + ordered-by user; + description "ICMP message code"; + type string; + } + leaf-list flow-label { + ordered-by user; + description "Flow-label (0-1048575)"; + type jt:policy-algebra; + } + } + grouping flow-prefix-with-offset { + leaf prefix { + type jt:ipv6prefix; + } + leaf prefix-offset { + description "Offset from where prefix match will start"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping flow-validation { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses flow-dep-traceoptions; + } + } + grouping flow-dep-traceoptions { + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "resolution" { + description "Trace flow to unicast route resolution"; + } + enum "flash" { + description "Trace flash processing"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + container filter { + presence "enable filter"; + description "Filter to apply to tracing"; + leaf match-on { + description "Argument on which to match"; + type enumeration { + enum "prefix" { + description "Filter based on prefix"; + } + enum "route-attribute" { + description "Filter based on route attributes"; + } + } + } + leaf-list policy { + ordered-by user; + description "Filter policy"; + type jt:policy-algebra; + } + } + } + } + grouping forwarding-table-type { + description "Forwarding table management options"; + uses apply-advanced; + leaf remnant-holdtime { + description "Time to hold inherited routes from FIB"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 10000"; + } + } + } + leaf krt-nexthop-ack-timeout { + description "Kernel nexthop ack timeout interval"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 400"; + } + } + } + container consistency-checking { + description "RIB/FIB consistency checking"; + status deprecated; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable consistency checking"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable consistency checking"; + type empty; + } + } + } + leaf period { + description "Periodicity of scan in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30 .. 4294967295"; + } + } + } + leaf threshold { + description "Mismatch threshold until complaint"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf-list export { + ordered-by user; + description "Export policy"; + type jt:policy-algebra; + } + leaf dynamic-list-next-hop { + description "Dynamic next-hop mode for EVPN"; + type empty; + } + choice ecmp-fast-reroute-choice { + leaf ecmp-fast-reroute { + description "Enable fast reroute for ECMP next hops"; + type empty; + } + leaf no-ecmp-fast-reroute { + description "Don't enable fast reroute for ECMP next hops"; + type empty; + } + } + choice indirect-next-hop-choice { + leaf indirect-next-hop { + description "Install indirect next hops in Packet Forwarding Engine"; + type empty; + } + leaf no-indirect-next-hop { + description "Don't install indirect next hops in Packet Forwarding Engine"; + type empty; + } + } + choice indirect-next-hop-change-acknowledgements-choice { + leaf indirect-next-hop-change-acknowledgements { + description "Request acknowledgements for Indirect next hop changes"; + type empty; + } + leaf no-indirect-next-hop-change-acknowledgements { + description "Don't request acknowledgements for Indirect next hop changes"; + type empty; + } + } + list rib { + key name; + ordered-by user; + status deprecated; + leaf name { + type string; + } + } + leaf unicast-reverse-path { + description "Unicast reverse path (RP) verification"; + type enumeration { + enum "active-paths" { + description "Consider active paths when performing RP verification"; + } + enum "feasible-paths" { + description "Consider all feasible paths for RP verification"; + } + } + } + container ip-tunnel-rpf-check { + presence "enable ip-tunnel-rpf-check"; + description "IP tunnel Reverse Path Forwarding Check"; + uses apply-advanced; + leaf mode { + default "strict"; + type enumeration { + enum "strict" { + description "Strict mode for rpf-check(Default)"; + } + enum "loose" { + description "Loose mode for rpf-check"; + } + } + } + leaf fail-filter { + description "Fail filter name for RPF check(family inet|inet6|any)"; + type string { + } + } + } + leaf transit-lsp-statistics-from-route { + description "Enable LSP statistics collection from the route"; + type empty; + } + container chained-composite-next-hop { + description "Next-hop chaining mode"; + uses apply-advanced; + container ingress { + description "Ingress LSP nexthop settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for ingress l2vpn LSPs"; + type empty; + } + } + choice l2ckt-choice { + leaf l2ckt { + description "Create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + leaf no-l2ckt { + description "Don't create composite-chained nexthops for ingress l2ckt LSPs"; + type empty; + } + } + choice fec129-vpws-choice { + leaf fec129-vpws { + description "Create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + leaf no-fec129-vpws { + description "Don't create composite-chained nexthops for ingress fec129-vpws LSPs"; + type empty; + } + } + choice evpn-choice { + leaf evpn { + description "Create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + leaf no-evpn { + description "Don't create composite-chained nexthops for ingress EVPN LSPs"; + type empty; + } + } + container l3vpn { + presence "enable l3vpn"; + description "Create composite-chained nexthops for ingress l3vpn LSPs"; + leaf extended-space { + description "Allocate in extended-space for scalability"; + type empty; + } + } + } + container transit { + description "Transit LSP nexthops settings"; + uses apply-advanced; + choice l2vpn-choice { + leaf l2vpn { + description "Create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + leaf no-l2vpn { + description "Don't create composite-chained nexthops for transit l2vpn LSPs"; + type empty; + } + } + choice l3vpn-choice { + leaf l3vpn { + description "Create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + leaf no-l3vpn { + description "Don't create composite-chained nexthops for transit l3vpn LSPs"; + type empty; + } + } + choice labeled-bgp-choice { + leaf labeled-bgp { + description "Create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + leaf no-labeled-bgp { + description "Don't create composite-chained nexthops for transit labeled BGP routes"; + type empty; + } + } + choice static-choice { + leaf static { + description "Create composite-chained nexthops for static LSPs"; + type empty; + } + leaf no-static { + description "Don't create composite-chained nexthops for static LSPs"; + type empty; + } + } + choice rsvp-choice { + leaf rsvp { + description "Create composite-chained nexthops for RSVP LSPs"; + type empty; + } + leaf no-rsvp { + description "Don't create composite-chained nexthops for RSVP LSPs"; + type empty; + } + } + choice rsvp-p2mp-choice { + leaf rsvp-p2mp { + description "Create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + leaf no-rsvp-p2mp { + description "Don't create composite-chained nexthops for RSVP p2mp LSPs"; + type empty; + } + } + choice ldp-choice { + leaf ldp { + description "Create composite-chained nexthops for LDP LSPs"; + type empty; + } + leaf no-ldp { + description "Don't create composite-chained nexthops for LDP LSPs"; + type empty; + } + } + choice ldp-p2mp-choice { + leaf ldp-p2mp { + description "Create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + leaf no-ldp-p2mp { + description "Don't create composite-chained nexthops for LDP P2MP LSPs"; + type empty; + } + } + choice labeled-isis-choice { + leaf labeled-isis { + description "Create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + leaf no-labeled-isis { + description "Don't create composite-chained nexthops for labeled ISIS routes"; + type empty; + } + } + } + } + } + grouping lsp_nh_obj { + leaf name { + description "LSP to use to reach destination"; + type string; + } + uses apply-advanced; + leaf preference { + description "Preference of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of LSP next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping martian_type { + description "Invalid routes"; + leaf address { + description "IP address or hostname"; + type jt:ipprefix; + } + leaf choice-ident { + type enumeration { + enum "exact" { + } + enum "longer" { + } + enum "orlonger" { + } + enum "upto" { + } + enum "through" { + } + enum "prefix-length-range" { + } + enum "allow" { + } + } + } + leaf choice-value { + type string; + } + leaf allow { + type empty; + } + } + grouping multicast_interface_options_type { + description "Multicast interface options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container maximum-bandwidth { + presence "enable maximum-bandwidth"; + description "Maximum multicast bandwidth for the interface"; + leaf bandwidth-limit { + description "Maximum multicast bandwidth on the interface"; + units "bps"; + type string; + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable Multicast"; + status deprecated; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable Multicast"; + status deprecated; + type empty; + } + } + } + container reverse-oif-mapping { + presence "enable reverse-oif-mapping"; + description "Enable reverse OIF mapping on the multicast interface"; + uses apply-advanced; + leaf no-qos-adjust { + description "Disable reverse OIF mapping QoS adjustment"; + type empty; + } + } + leaf subscriber-leave-timer { + description "Timeout in seconds to credit back the bandwidth on the subscriber interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30"; + } + } + } + leaf no-qos-adjust { + description "Disable QoS adjustment for this interface"; + type empty; + } + } + grouping network_type { + leaf name { + description "Network prefix"; + type jt:ipprefix; + } + uses apply-advanced; + } + grouping p2mp_ldp_lsp_nh_obj { + uses apply-advanced; + list root-address { + key name; + description "Configure the root address of P2MP LSP"; + leaf name { + description "Root address of the P2MP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + leaf lsp-id { + description "Configure the generic LSP identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + list group-address { + key name; + description "IPv4/Ipv6 group address for mLDP LSP"; + leaf name { + description "IPv4/Ipv6 group address"; + type jt:ipaddr; + } + uses apply-advanced; + list source-address { + key name; + description "IPv4/Ipv6 source address"; + leaf name { + description "IPv4/Ipv6 source address for mLDP LSP"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + } + grouping programmable-rpd-type { + uses apply-advanced; + container traceoptions { + description "Trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "client" { + description "Client events"; + } + enum "japi" { + description "JAPI related traces"; + } + enum "routing-interface" { + description "Routing interface traces"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container purge-timeout { + presence "enable purge-timeout"; + description "Purge timeout for all programmable-rpd clients in seconds"; + choice purge-parm { + case case_1 { + leaf timeout { + description "Timeout value, in seconds, for purging client programmed objects"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 604800"; + } + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Programmable-rpd client options"; + leaf name { + description "Client ID"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + list interface-notification { + key name; + ordered-by user; + description "Interfaces for notification"; + leaf name { + description "Interface"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + } + } + grouping qualified_nh_obj { + leaf name { + description "Next hop to destination"; + type union { + type jt:ipaddr-or-interface; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf preference { + description "Preference of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf metric { + description "Metric of qualified next hop"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf interface { + description "Interface of qualified next hop"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf mac-address { + description "Next-hop Mac Address"; + type jt:mac-unicast; + } + leaf tag { + description "Tag string"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container authentication { + description "Authentication options"; + uses apply-advanced; + leaf key-chain { + description "Key chain name"; + type string; + } + leaf algorithm { + description "Algorithm name"; + type enumeration { + enum "simple-password" { + description "Simple password"; + } + enum "keyed-md5" { + description "Keyed message Digest 5"; + } + enum "meticulous-keyed-md5" { + description "Meticulous keyed message Digest 5"; + } + enum "keyed-sha-1" { + description "Keyed secure hash algorithm (SHA1) "; + } + enum "meticulous-keyed-sha-1" { + description "Meticulous keyed secure hash algorithm (SHA1) "; + } + } + } + leaf loose-check { + description "Verify authentication only if authentication is negotiated"; + type empty; + } + } + leaf neighbor { + description "BFD neighbor address"; + type jt:ipaddr; + } + leaf local-address { + description "BFD local address (for multihop only)"; + type jt:ipaddr; + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + leaf minimum-receive-ttl { + description "Minimum receive TTL below which to drop"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 255"; + } + } + } + } + } + grouping rib_aggregate_type { + uses apply-advanced; + container defaults { + description "Global route options"; + uses apply-advanced; + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + list route { + key name; + ordered-by user; + description "Individual route options"; + leaf name { + description "Destination prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf-list policy { + ordered-by user; + description "Policy filter"; + type jt:policy-algebra; + } + container metric { + description "Metric value"; + presence "enable metric"; + uses rib_static_metric_type; + } + container metric2 { + description "Metric value 2"; + presence "enable metric2"; + uses rib_static_metric_type; + } + container metric3 { + description "Metric value 3"; + presence "enable metric3"; + uses rib_static_metric_type; + } + container metric4 { + description "Metric value 4"; + presence "enable metric4"; + uses rib_static_metric_type; + } + container tag { + description "Tag string"; + presence "enable tag"; + uses rib_static_metric_type; + } + container tag2 { + description "Tag string 2"; + presence "enable tag2"; + uses rib_static_metric_type; + } + container preference { + description "Preference value"; + presence "enable preference"; + uses rib_static_metric_type; + } + container preference2 { + description "Preference value 2"; + presence "enable preference2"; + uses rib_static_metric_type; + } + container color { + description "Color (preference) value"; + presence "enable color"; + uses rib_static_metric_type; + } + container color2 { + description "Color (preference) value 2"; + presence "enable color2"; + uses rib_static_metric_type; + } + leaf-list community { + ordered-by user; + description "BGP community identifier"; + type jt:community; + } + container as-path { + description "Autonomous system path"; + uses apply-advanced; + leaf path { + description "Autonomous system path"; + type string; + } + leaf origin { + type enumeration { + enum "igp" { + description "Path originated in the local IGP"; + } + enum "egp" { + description "Path originated in another AS"; + } + enum "incomplete" { + description "Path was learned by some other means"; + } + } + } + leaf atomic-aggregate { + description "Add ATOMIC_AGGREGATE path attribute to route"; + type empty; + } + container aggregator { + presence "enable aggregator"; + description "Add AGGREGATOR path attribute to route"; + } + leaf as-number { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + leaf address { + description "Address of BGP system that formed the route"; + type jt:ipv4addr; + } + } + leaf discard { + description "Drop packets to destination; send no ICMP unreachables"; + type empty; + } + leaf next-table { + description "Next hop to another table"; + type string; + } + choice brief_flag { + case case_1 { + leaf brief { + description "Include longest common sequences from contributing paths"; + type empty; + } + } + case case_2 { + leaf full { + description "Include all AS numbers from all contributing paths"; + type empty; + } + } + } + choice passive_flag { + case case_1 { + leaf active { + description "Remove inactive route from forwarding table"; + type empty; + } + } + case case_2 { + leaf passive { + description "Retain inactive route in forwarding table"; + type empty; + } + } + } + } + } + grouping rib_group_type { + uses apply-advanced; + leaf inet-old-style { + description "Name of the IPv4 routing table group"; + status deprecated; + type string; + } + leaf inet { + description "Name of the IPv4 routing table group"; + type string; + } + leaf inet3 { + description "Name of the IPv4 inet.3 routing table group"; + type string; + } + leaf inet6 { + description "Name of the IPv6 routing table group"; + type string; + } + leaf inet63 { + description "Name of the IPv6 inet6.3 routing table group"; + type string; + } + } + grouping rib_static_metric_type { + leaf metric-value { + description "Metric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf type { + description "Metric type"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + } + grouping rpd_rib_group_type { + description "Routing table group"; + leaf name { + description "Routing table group"; + type string; + } + uses apply-advanced; + leaf export-rib { + description "Export routing table"; + type string; + } + leaf-list import-rib { + ordered-by user; + description "Import routing table"; + type string; + } + leaf-list import-policy { + ordered-by user; + description "Import policy"; + type jt:policy-algebra; + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-security@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-security@2019-01-01.yang new file mode 100644 index 00000000..9175babb --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-security@2019-01-01.yang @@ -0,0 +1,8855 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-security { + namespace "http://yang.juniper.net/junos-qfx/conf/security"; + + prefix jc-security; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos security configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses security-group; + } + augment /jc:configuration/jc:groups { + uses security-group; + } + grouping security-group { + container security { + description "Security configuration"; + uses apply-advanced; + container alarms { + description "Configure security alarms"; + uses apply-advanced; + container audible { + presence "enable audible"; + description "Beep when new security alarms arrive"; + uses apply-advanced; + leaf continuous { + description "Keep beeping until all security alarms have been cleared"; + type empty; + } + } + container potential-violation { + description "Configure potential security violations"; + uses apply-advanced; + leaf authentication { + description "Raise alarm for specified number of authentication failures"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf cryptographic-self-test { + description "Raise alarm for cryptographic self test failures"; + type empty; + } + leaf key-generation-self-test { + description "Raise alarm for key generation self test failures"; + type empty; + } + leaf non-cryptographic-self-test { + description "Raise alarm for non-cryptographic self test failures"; + type empty; + } + container policy { + description "Raise alarm for flow policy violations"; + } + container replay-attacks { + presence "enable replay-attacks"; + description "No. of Replay attacks before which an alarm needs to be raised"; + uses apply-advanced; + leaf threshold { + description "Replay threshold value"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000000"; + } + } + } + } + leaf security-log-percent-full { + description "Raise alarm when security log exceeds this percent capacity"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 100"; + } + } + } + } + } + container log { + description "Configure auditable security logs"; + uses apply-advanced; + list exclude { + key name; + ordered-by user; + description "List of security log criteria to exclude from the audit log"; + status deprecated; + leaf name { + description "Exclude criteria name"; + type string; + } + uses apply-advanced; + leaf destination-address { + description "Destination address"; + type jt:ipaddr; + } + leaf destination-port { + description "Destination port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf event-id { + description "Event ID filter"; + type string; + } + leaf failure { + description "Event was a failure"; + type empty; + } + leaf interface-name { + description "Name of interface"; + type string; + } + leaf policy-name { + description "Policy name filter"; + type string; + } + leaf process { + description "Process that generated the event"; + type string; + } + leaf protocol { + description "Protocol filter"; + type string; + } + leaf source-address { + description "Source address"; + type jt:ipaddr; + } + leaf source-port { + description "Source port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf success { + description "Event was successful"; + type empty; + } + leaf username { + description "Username filter"; + type string; + } + } + leaf limit { + description "Limit number of security log entries to keep in memory"; + status deprecated; + default "10000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container cache { + presence "enable cache"; + description "Cache security log events in the audit log buffer"; + uses apply-advanced; + list exclude { + key name; + ordered-by user; + description "List of security log criteria to exclude from the audit log"; + leaf name { + description "Exclude criteria name"; + type string; + } + uses apply-advanced; + leaf destination-address { + description "Destination address"; + type jt:ipaddr; + } + leaf destination-port { + description "Destination port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf event-id { + description "Event ID filter"; + type string; + } + leaf failure { + description "Event was a failure"; + type empty; + } + leaf interface-name { + description "Name of interface"; + type string; + } + leaf policy-name { + description "Policy name filter"; + type string; + } + leaf process { + description "Process that generated the event"; + type string; + } + leaf protocol { + description "Protocol filter"; + type string; + } + leaf source-address { + description "Source address"; + type jt:ipaddr; + } + leaf source-port { + description "Source port"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf success { + description "Event was successful"; + type empty; + } + leaf username { + description "Username filter"; + type string; + } + } + leaf limit { + description "Limit number of security log entries to keep in memory"; + default "10000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container certificates { + description "X.509 certificate configuration"; + uses apply-advanced; + list local { + key name; + ordered-by user; + description "Local X.509 certificate configuration"; + uses certificate-object; + } + leaf path-length { + description "Maximum certificate path length"; + default "15"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf maximum-certificates { + description "Maximum number of certificates to cache"; + default "1024"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "64 .. 4294967295"; + } + } + } + leaf cache-size { + description "Maximum size of certificate cache"; + units "bytes"; + type string; + } + leaf cache-timeout-negative { + description "Time in seconds to cache negative responses"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 4294967295"; + } + } + } + leaf enrollment-retry { + description "Number of retry attempts for an enrollment request"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1080"; + } + } + } + list certification-authority { + key name; + ordered-by user; + description "CA X.509 certificate configuration"; + leaf name { + description "CA profile name"; + type string { + } + } + uses apply-advanced; + leaf ca-name { + description "CA name"; + type string; + } + leaf file { + description "File to read certificate from"; + type string; + } + leaf crl { + description "File to read crl from"; + type string; + } + leaf enrollment-url { + description "URL"; + type string; + } + leaf ldap-url { + description "URL"; + type string; + } + leaf encoding { + description "Encoding to use for certificate or CRL on disk"; + default "binary"; + type enumeration { + enum "binary" { + description "DER encoding"; + } + enum "pem" { + description "Privacy-enhanced-mail encoding, base64"; + } + } + } + } + } + container authentication-key-chains { + description "Authentication key chain configuration"; + uses security-authentication-key-chains; + } + container ssh-known-hosts { + description "SSH known host list"; + uses apply-advanced; + list host { + key name; + ordered-by user; + description "SSH known host entry"; + leaf name { + description "Host name"; + type string; + } + uses apply-advanced; + leaf rsa1-key { + description "Base64 encoded RSA key (protocol version 1)"; + type string; + } + leaf rsa-key { + description "Base64 encoded RSA key"; + type string; + } + leaf dsa-key { + description "Base64 encoded DSA key"; + type string; + } + leaf ecdsa-key { + description "Base64 encoded ECDSA key"; + status deprecated; + type string; + } + leaf ecdsa-sha2-nistp256-key { + description "Base64 encoded ECDSA-SHA2-NIST256 key"; + type string; + } + leaf ecdsa-sha2-nistp384-key { + description "Base64 encoded ECDSA-SHA2-NIST384 key"; + type string; + } + leaf ecdsa-sha2-nistp521-key { + description "Base64 encoded ECDSA-SHA2-NIST521 key"; + type string; + } + leaf ed25519-key { + description "Base64 encoded ED25519 key"; + type string; + } + } + } + container pki { + description "PKI service configuration"; + presence "enable pki"; + uses security-pki; + } + container group-vpn { + description "Group VPN configuration"; + uses security-group-vpn; + } + container traceoptions { + description "Trace options for IPSec key management"; + uses security-traceoptions; + } + container ipsec { + description "IPSec configuration"; + uses security-ipsec; + } + container ike { + description "IKE configuration"; + uses security-ike; + } + container idp { + description "IDP configuration"; + list idp-policy { + key name; + ordered-by user; + description "Configure IDP policy"; + uses idp-policy-type; + } + leaf active-policy { + description "Set active policy"; + status deprecated; + type string; + } + list custom-attack { + key name; + ordered-by user; + description "Configure custom attacks"; + uses custom-attack-type; + } + list custom-attack-group { + key name; + ordered-by user; + description "Configure custom attack groups"; + uses custom-attack-group-type; + } + list dynamic-attack-group { + key name; + ordered-by user; + description "Configure dynamic attack groups"; + uses dynamic-attack-group-type; + } + container traceoptions { + description "Trace options for idp services"; + uses idpd-traceoptions-type; + } + container security-package { + description "Security package options"; + uses apply-advanced; + leaf url { + description "URL of Security package download"; + type string; + } + leaf source-address { + description "Source address to be used for sending download request"; + type jt:ipv4addr; + } + container install { + presence "enable install"; + description "Configure install command"; + uses apply-advanced; + leaf ignore-version-check { + description "Skip version check when attack database gets installed"; + type empty; + } + } + container automatic { + presence "enable automatic"; + description "Scheduled download and update"; + uses apply-advanced; + leaf start-time { + description "Start time (YYYY-MM-DD.HH:MM:SS)"; + type jt:time; + } + leaf interval { + description "Interval"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "24 .. 336"; + } + } + } + leaf download-timeout { + description "Maximum time for download to complete"; + status deprecated; + default "1"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + choice enable-disable { + case case_1 { + leaf enable { + description "Enable"; + type empty; + } + } + } + } + } + container sensor-configuration { + description "IDP Sensor Configuration"; + container log { + description "IDP Log Configuration"; + uses apply-advanced; + leaf cache-size { + description "Log cache size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + container suppression { + presence "enable suppression"; + description "Log suppression"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable log suppression"; + type empty; + } + } + } + choice include-destination-address-choice { + leaf include-destination-address { + description "Include destination address while performing a log suppression"; + type empty; + } + leaf no-include-destination-address { + description "Don't include destination address while performing a log suppression"; + type empty; + } + } + leaf start-log { + description "Suppression start log"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-logs-operate { + description "Maximum logs can be operate on"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-time-report { + description "Time after suppressed logs will be reported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + } + container packet-log { + description "IDP Packetlog Configuration"; + uses apply-advanced; + leaf total-memory { + description "Total memory unit(%)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-sessions { + description "Max num of sessions in unit(%)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf threshold-logging-interval { + description "Interval of logs for max limit session/memory reached in minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf source-address { + description "Source IP address used to transport packetlog to a host"; + type jt:ipv4addr; + } + container host { + description "Destination host to send packetlog to"; + uses apply-advanced; + leaf ipaddr { + description "IP address"; + type jt:ipv4addr; + } + leaf port { + description "UDP port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container application-identification { + presence "enable application-identification"; + description "Application identification"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable application identification"; + type empty; + } + } + } + leaf max-tcp-session-packet-memory { + description "Max TCP session memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-udp-session-packet-memory { + description "Max UDP session memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-memory { + description "Max packet memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-memory-ratio { + description "Max packet memory ratio"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-reass-packet-memory-ratio { + description "Max reass packet memory ratio"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container flow { + description "Flow configuration"; + uses apply-advanced; + choice log-errors-choice { + leaf log-errors { + description "Flow log errors"; + type empty; + } + leaf no-log-errors { + description "Don't flow log errors"; + type empty; + } + } + choice reset-on-policy-choice { + leaf reset-on-policy { + description "Flow reset-on-policy"; + type empty; + } + leaf no-reset-on-policy { + description "Don't flow reset-on-policy"; + type empty; + } + } + choice allow-icmp-without-flow-choice { + leaf allow-icmp-without-flow { + description "Allow icmp without flow"; + type empty; + } + leaf no-allow-icmp-without-flow { + description "Don't allow icmp without flow"; + type empty; + } + } + leaf hash-table-size { + description "Flow hash table size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf reject-timeout { + description "Flow reject timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-timers-poll-ticks { + description "Maximum timers poll ticks"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf fifo-max-size { + description "Maximum fifo size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf udp-anticipated-timeout { + description "Maximum udp anticipated timeout"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf drop-on-limit { + description "Drop connections on exceeding resource limits"; + type empty; + } + leaf drop-on-failover { + description "Drop traffic on HA failover sessions"; + type empty; + } + leaf drop-if-no-policy-loaded { + description "Drop all traffic till IDP policy gets loaded"; + type empty; + } + leaf max-sessions-offset { + description "Maximum session offset limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf min-objcache-limit-lt { + description "Memory lower threshold limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf min-objcache-limit-ut { + description "Memory upper threshold limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-steering { + description "Session steering for session anticipation"; + type empty; + } + leaf idp-bypass-cpu-usg-overload { + description "Enable IDP bypass of sessions/packets on CPU usage overload"; + type empty; + } + leaf idp-bypass-cpu-threshold { + description "Threshold of CPU usage in percentage for IDP bypass"; + default "85"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf idp-bypass-cpu-tolerance { + description "Tolerance of CPU usage in percentage for IDP bypass"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container re-assembler { + description "Re-assembler configuration"; + uses apply-advanced; + choice drop-on-syn-in-window-choice { + leaf drop-on-syn-in-window { + description "Drop session when SYN is seen in the window"; + type empty; + } + leaf no-drop-on-syn-in-window { + description "Don't drop session when SYN is seen in the window"; + type empty; + } + } + choice ignore-memory-overflow-choice { + leaf ignore-memory-overflow { + description "Ignore memory overflow"; + type empty; + } + leaf no-ignore-memory-overflow { + description "Don't ignore memory overflow"; + type empty; + } + } + choice ignore-reassembly-memory-overflow-choice { + leaf ignore-reassembly-memory-overflow { + description "Ignore packet reassembly memory overflow"; + type empty; + } + leaf no-ignore-reassembly-memory-overflow { + description "Don't ignore packet reassembly memory overflow"; + type empty; + } + } + leaf ignore-reassembly-overflow { + description "Ignore global reassembly overflow"; + type empty; + } + leaf max-packet-mem { + description "Maximum packet memory"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-flow-mem { + description "Maximum flow memory"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf max-packet-mem-ratio { + description "Maximum packet memory ratio"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf action-on-reassembly-failure { + description "Select the action on reassembly failures"; + default "drop"; + type enumeration { + enum "ignore" { + description "No action is taken."; + } + enum "drop" { + description "Drop the packet."; + } + enum "drop-session" { + description "Drop the session."; + } + } + } + choice tcp-error-logging-choice { + leaf tcp-error-logging { + description "Enable logging on tcp errors"; + type empty; + } + leaf no-tcp-error-logging { + description "Don't enable logging on tcp errors"; + type empty; + } + } + leaf max-synacks-queued { + description "Maximum syn-acks queued with different SEQ numbers "; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + choice force-tcp-window-checks-choice { + leaf force-tcp-window-checks { + description "Force TCP window checks if uni-directional policy is configured"; + type empty; + } + leaf no-force-tcp-window-checks { + description "Don't force TCP window checks if uni-directional policy is configured"; + type empty; + } + } + } + container ips { + description "Ips configuration"; + uses apply-advanced; + choice process-override-choice { + leaf process-override { + description "Process override"; + type empty; + } + leaf no-process-override { + description "Don't process override"; + type empty; + } + } + choice detect-shellcode-choice { + leaf detect-shellcode { + description "Detect shellcode"; + type empty; + } + leaf no-detect-shellcode { + description "Don't detect shellcode"; + type empty; + } + } + choice process-ignore-s2c-choice { + leaf process-ignore-s2c { + description "Process ignore s2c"; + type empty; + } + leaf no-process-ignore-s2c { + description "Don't process ignore s2c"; + type empty; + } + } + choice ignore-regular-expression-choice { + leaf ignore-regular-expression { + description "Ignore regular expression"; + type empty; + } + leaf no-ignore-regular-expression { + description "Don't ignore regular expression"; + type empty; + } + } + leaf process-port { + description "Process port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf fifo-max-size { + description "Maximum fifo size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf log-supercede-min { + description "Minimum log supercede"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf content-decompression-max-memory-kb { + description "Maximum memory usage in kilo bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf content-decompression-max-ratio { + description "Maximum decompression ratio supported"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf session-pkt-depth { + description "Session pkt scanning depth"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container global { + description "Global configuration"; + uses apply-advanced; + choice enable-packet-pool-choice { + leaf enable-packet-pool { + description "Enable packet pool"; + type empty; + } + leaf no-enable-packet-pool { + description "Don't enable packet pool"; + type empty; + } + } + choice enable-all-qmodules-choice { + leaf enable-all-qmodules { + description "Enable all qmodules"; + type empty; + } + leaf no-enable-all-qmodules { + description "Don't enable all qmodules"; + type empty; + } + } + choice policy-lookup-cache-choice { + leaf policy-lookup-cache { + description "Policy lookup cache"; + type empty; + } + leaf no-policy-lookup-cache { + description "Don't policy lookup cache"; + type empty; + } + } + leaf memory-limit-percent { + description "Memory limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container detector { + description "Detector Configuration"; + uses apply-advanced; + list protocol-name { + key name; + ordered-by user; + description "Apropriate help string"; + uses proto-object; + } + } + container high-availability { + description "High availability configuration"; + uses apply-advanced; + leaf no-policy-cold-synchronization { + description "Disable policy cold synchronization"; + type empty; + } + } + container security-configuration { + description "IDP security configuration"; + uses apply-advanced; + leaf protection-mode { + description "Enable security protection mode"; + type enumeration { + enum "datacenter" { + description "Security protection mode for datacenter"; + } + enum "datacenter-full" { + description "Full security protection mode for datacenter"; + } + enum "perimeter" { + description "Security protection mode for perimeter"; + } + enum "perimeter-full" { + description "Full security protection mode for perimeter"; + } + } + } + } + } + } + container macsec { + description "MAC Security configuration"; + uses security-macsec; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping certificate-object { + leaf name { + description "Simple name to identify this certificate"; + type string; + } + uses apply-advanced; + leaf certificate { + description "Certificate and private key string"; + type string; + } + } + grouping custom-attack-group-type { + description "Define custom attack group"; + leaf name { + description "Custom attack group name"; + type string; + } + uses apply-advanced; + leaf attack-group-description { + description "Attack group description in xml format"; + status deprecated; + type string; + } + leaf-list group-members { + ordered-by user; + description "List of attacks/attack groups belonging to this group"; + type string; + } + } + grouping custom-attack-type { + description "Define custom attack"; + leaf name { + description "Custom attack name"; + type string { + } + } + uses apply-advanced; + leaf attack-description { + description "Attack description in xml format"; + status deprecated; + type string; + } + leaf recommended-action { + description "Recommended Action"; + type enumeration { + enum "none" { + description "No action"; + } + enum "ignore" { + description "No further inspection on the flow"; + } + enum "drop-packet" { + description "Drop the packet"; + } + enum "drop" { + description "Drop the packet and subsequent packets of the flow"; + } + enum "close-client" { + description "Reset the client side"; + } + enum "close-server" { + description "Reset the server side"; + } + enum "close" { + description "Reset both client and server"; + } + } + } + leaf severity { + description "Select the severity that matches the lethality of this attack on your network"; + type enumeration { + enum "info" { + description "Provide information of attack when it matches."; + } + enum "warning" { + description "Issue a warning when attack matches."; + } + enum "minor" { + description "The attack is a minor one."; + } + enum "major" { + description "The attack is a major one."; + } + enum "critical" { + description "The attack is a critical one."; + } + } + } + container time-binding { + description "Time binding params"; + leaf count { + description "Number of times this attack is to be triggered"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf scope { + description "Scope within which the count occurs"; + type enumeration { + enum "peer" { + description "If the attack is between a single source and single destination"; + } + enum "source" { + description "If the attack is from one source and multiple destination"; + } + enum "destination" { + description "If the attack is from multiple sources to one destination"; + } + } + } + } + container attack-type { + description "Type of attack"; + uses apply-advanced; + container signature { + description "Signature based attack"; + uses apply-advanced; + container protocol-binding { + description "Protocol binding over which attack will be detected"; + uses apply-advanced; + choice protocol { + case case_1 { + container tcp { + presence "enable tcp"; + description "Attack is for TCP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Multiple sets of (single port/port ranges) can be specified"; + uses port-range; + } + } + } + case case_2 { + container udp { + presence "enable udp"; + description "Attack is for UDP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Either single port or port ranges can be specified"; + uses port-range; + } + } + } + case case_3 { + container rpc { + presence "enable rpc"; + description "Attack is for RPC packets only"; + uses apply-advanced; + leaf program-number { + description "RPC Program Number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_4 { + leaf icmp { + description "Attack is for ICMP packets only"; + type empty; + } + } + case case_5 { + leaf icmpv6 { + description "Attack is for ICMPv6 packets only"; + type empty; + } + } + case case_6 { + container ip { + presence "enable ip"; + description "Attack is for all IP based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_7 { + container ipv6 { + presence "enable ipv6"; + description "Attack is for all IPv6 based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_8 { + leaf application { + description "Application name"; + type string; + } + } + case case_9 { + leaf nested-application { + description "Nested application name"; + status deprecated; + type string; + } + } + } + } + leaf context { + description "Context"; + type string; + } + leaf pattern { + description "Pattern is the signature of the attack you want to detect"; + type string { + length "0 .. 511"; + } + } + leaf pattern-pcre { + description "Attack signature pattern in PCRE format"; + type string { + length "0 .. 511"; + } + } + leaf regexp { + description "Regular expression used for matching repetition of patterns"; + type string { + length "0 .. 511"; + } + } + leaf negate { + description "Trigger the attack if condition is not met"; + type empty; + } + leaf direction { + description "Connection direction of the attack"; + type enumeration { + enum "client-to-server" { + description "Client to Server"; + } + enum "server-to-client" { + description "Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + container protocol { + description "Protocol header matches"; + uses apply-advanced; + container ipv4 { + description "IPv4 protocol parameters"; + uses apply-advanced; + container tos { + presence "enable tos"; + description "Type of Service"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container ihl { + presence "enable ihl"; + description "Header length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container total-length { + presence "enable total-length"; + description "Total Length of IP datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container identification { + presence "enable identification"; + description "Fragment Identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container ip-flags { + presence "enable ip-flags"; + description "IP Flag bits"; + choice rb-choice { + leaf rb { + description "Reserved bit"; + type empty; + } + leaf no-rb { + description "Don't reserved bit"; + type empty; + } + } + choice mf-choice { + leaf mf { + description "More Fragment bit"; + type empty; + } + leaf no-mf { + description "Don't more Fragment bit"; + type empty; + } + } + choice df-choice { + leaf df { + description "Don't Fragment bit"; + type empty; + } + leaf no-df { + description "Don't don't Fragment bit"; + type empty; + } + } + } + container ttl { + presence "enable ttl"; + description "Time to live"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container protocol { + presence "enable protocol"; + description "Transport layer protocol"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container ipv6 { + description "IPv6 protocol parameters"; + uses apply-advanced; + container traffic-class { + presence "enable traffic-class"; + description "Traffic class. Similar to TOS in IPv4"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container payload-length { + presence "enable payload-length"; + description "Length of the payload in the IPv6 datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container flow-label { + presence "enable flow-label"; + description "Flow label identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + container hop-limit { + presence "enable hop-limit"; + description "Hop limit"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container next-header { + presence "enable next-header"; + description "The header following the basic IPv6 header"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container extension-header { + description "IPv6 Extension headers"; + uses apply-advanced; + container routing-header { + presence "enable routing-header"; + description "IPv6 Routing extension header"; + uses apply-advanced; + container header-type { + description "Routing header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + container destination-option { + description "IPv6 Destination option extension header"; + uses apply-advanced; + container option-type { + description "Destination option header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container home-address { + description "IPv6 Home address of the mobile node"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + } + } + } + container tcp { + description "TCP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container ack-number { + presence "enable ack-number"; + description "Acknowledgement Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container header-length { + presence "enable header-length"; + description "Header Length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container reserved { + presence "enable reserved"; + description "Three reserved bits"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container window-size { + presence "enable window-size"; + description "Window Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container urgent-pointer { + presence "enable urgent-pointer"; + description "Urgent Pointer"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container tcp-flags { + presence "enable tcp-flags"; + description "TCP header flags"; + choice r1-choice { + leaf r1 { + description "Set Reserverd bit 1"; + type empty; + } + leaf no-r1 { + description "Don't set Reserverd bit 1"; + type empty; + } + } + choice r2-choice { + leaf r2 { + description "Set Reserved bit 2"; + type empty; + } + leaf no-r2 { + description "Don't set Reserved bit 2"; + type empty; + } + } + choice urg-choice { + leaf urg { + description "Set Urgent bit"; + type empty; + } + leaf no-urg { + description "Don't set Urgent bit"; + type empty; + } + } + choice ack-choice { + leaf ack { + description "Set Acknowledge bit"; + type empty; + } + leaf no-ack { + description "Don't set Acknowledge bit"; + type empty; + } + } + choice psh-choice { + leaf psh { + description "Set Push bit"; + type empty; + } + leaf no-psh { + description "Don't set Push bit"; + type empty; + } + } + choice rst-choice { + leaf rst { + description "Set Reset bit"; + type empty; + } + leaf no-rst { + description "Don't set Reset bit"; + type empty; + } + } + choice syn-choice { + leaf syn { + description "Set SYN bit"; + type empty; + } + leaf no-syn { + description "Don't set SYN bit"; + type empty; + } + } + choice fin-choice { + leaf fin { + description "Set FINish bit"; + type empty; + } + leaf no-fin { + description "Don't set FINish bit"; + type empty; + } + } + } + container option { + presence "enable option"; + description "Kind"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by TCP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + } + container window-scale { + presence "enable window-scale"; + description "Window scale"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container mss { + presence "enable mss"; + description "Maximum Segment Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container udp { + description "UDP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by UDP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmp { + description "ICMP protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by ICMP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmpv6 { + description "ICMPv6 protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IPv6 datagram subtracted by ICMPv6 header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + } + } + container anomaly { + description "Protocol anomaly"; + uses apply-advanced; + leaf service { + description "Service name"; + type string; + } + leaf test { + description "Protocol anomaly condition to be checked"; + type string; + } + leaf direction { + description "Direction"; + type enumeration { + enum "client-to-server" { + description "From Client to Server"; + } + enum "server-to-client" { + description "From Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + } + container chain { + description "Chain attack"; + uses apply-advanced; + container protocol-binding { + description "Protocol binding over which attack will be detected"; + uses apply-advanced; + choice protocol { + case case_1 { + container tcp { + presence "enable tcp"; + description "Attack is for TCP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Multiple sets of (single port/port ranges) can be specified"; + uses port-range; + } + } + } + case case_2 { + container udp { + presence "enable udp"; + description "Attack is for UDP packets only"; + uses apply-advanced; + list minimum-port { + key name; + ordered-by user; + description "Either single port or port ranges can be specified"; + uses port-range; + } + } + } + case case_3 { + container rpc { + presence "enable rpc"; + description "Attack is for RPC packets only"; + uses apply-advanced; + leaf program-number { + description "RPC Program Number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + case case_4 { + leaf icmp { + description "Attack is for ICMP packets only"; + type empty; + } + } + case case_5 { + leaf icmpv6 { + description "Attack is for ICMPv6 packets only"; + type empty; + } + } + case case_6 { + container ip { + presence "enable ip"; + description "Attack is for all IP based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_7 { + container ipv6 { + presence "enable ipv6"; + description "Attack is for all IPv6 based packets"; + uses apply-advanced; + leaf protocol-number { + description "Transport layer protocol number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 139"; + } + } + } + } + } + case case_8 { + leaf application { + description "Application name"; + type string; + } + } + case case_9 { + leaf nested-application { + description "Nested application name"; + status deprecated; + type string; + } + } + } + } + leaf scope { + description "Scope of the attack"; + type enumeration { + enum "session" { + description "Allow matches across transactions within the same session"; + } + enum "transaction" { + description "Allow matches in single transactions within the same session"; + } + } + } + leaf order { + description "Attacks should match in the order in which they are defined"; + type empty; + } + leaf reset { + description "Repeat match should generate a new alert"; + type empty; + } + leaf expression { + description "Boolean Expression"; + type string; + } + list member { + key name; + ordered-by user; + description "List of member attacks."; + uses chain-member-type; + } + } + } + } + grouping chain-member-type { + description "Chain member"; + leaf name { + description "Custom attack name"; + type string; + } + uses apply-advanced; + container attack-type { + presence "enable attack-type"; + description "Type of attack"; + uses apply-advanced; + container signature { + description "Signature based attack"; + uses apply-advanced; + leaf context { + description "Context"; + type string; + } + leaf pattern { + description "Pattern is the signature of the attack you want to detect"; + type string { + length "0 .. 511"; + } + } + leaf pattern-pcre { + description "Attack signature pattern in PCRE format"; + type string { + length "0 .. 511"; + } + } + leaf regexp { + description "Regular expression used for matching repetition of patterns"; + type string { + length "0 .. 511"; + } + } + leaf negate { + description "Trigger the attack if condition is not met"; + type empty; + } + leaf direction { + description "Connection direction of the attack"; + type enumeration { + enum "client-to-server" { + description "Client to Server"; + } + enum "server-to-client" { + description "Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + container protocol { + description "Protocol header matches"; + uses apply-advanced; + container ipv4 { + description "IPv4 protocol parameters"; + uses apply-advanced; + container tos { + presence "enable tos"; + description "Type of Service"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container ihl { + presence "enable ihl"; + description "Header length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container total-length { + presence "enable total-length"; + description "Total Length of IP datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container identification { + presence "enable identification"; + description "Fragment Identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container ip-flags { + presence "enable ip-flags"; + description "IP Flag bits"; + choice rb-choice { + leaf rb { + description "Reserved bit"; + type empty; + } + leaf no-rb { + description "Don't reserved bit"; + type empty; + } + } + choice mf-choice { + leaf mf { + description "More Fragment bit"; + type empty; + } + leaf no-mf { + description "Don't more Fragment bit"; + type empty; + } + } + choice df-choice { + leaf df { + description "Don't Fragment bit"; + type empty; + } + leaf no-df { + description "Don't don't Fragment bit"; + type empty; + } + } + } + container ttl { + presence "enable ttl"; + description "Time to live"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container protocol { + presence "enable protocol"; + description "Transport layer protocol"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address/Hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv4addr; + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container ipv6 { + description "IPv6 protocol parameters"; + uses apply-advanced; + container traffic-class { + presence "enable traffic-class"; + description "Traffic class. Similar to TOS in IPv4"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container payload-length { + presence "enable payload-length"; + description "Length of the payload in the IPv6 datagram"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container flow-label { + presence "enable flow-label"; + description "Flow label identification"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1048575"; + } + } + } + } + container hop-limit { + presence "enable hop-limit"; + description "Hop limit"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container next-header { + presence "enable next-header"; + description "The header following the basic IPv6 header"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container source { + presence "enable source"; + description "Source IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container destination { + presence "enable destination"; + description "Destination IP-address or hostname"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + container extension-header { + description "IPv6 Extension headers"; + uses apply-advanced; + container routing-header { + presence "enable routing-header"; + description "IPv6 Routing extension header"; + uses apply-advanced; + container header-type { + description "Routing header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + } + container destination-option { + description "IPv6 Destination option extension header"; + uses apply-advanced; + container option-type { + description "Destination option header type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container home-address { + description "IPv6 Home address of the mobile node"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type jt:ipv6addr; + } + } + } + } + } + container tcp { + description "TCP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container ack-number { + presence "enable ack-number"; + description "Acknowledgement Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + } + container header-length { + presence "enable header-length"; + description "Header Length in words"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + } + container reserved { + presence "enable reserved"; + description "Three reserved bits"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container window-size { + presence "enable window-size"; + description "Window Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container urgent-pointer { + presence "enable urgent-pointer"; + description "Urgent Pointer"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container tcp-flags { + presence "enable tcp-flags"; + description "TCP header flags"; + choice r1-choice { + leaf r1 { + description "Set Reserverd bit 1"; + type empty; + } + leaf no-r1 { + description "Don't set Reserverd bit 1"; + type empty; + } + } + choice r2-choice { + leaf r2 { + description "Set Reserved bit 2"; + type empty; + } + leaf no-r2 { + description "Don't set Reserved bit 2"; + type empty; + } + } + choice urg-choice { + leaf urg { + description "Set Urgent bit"; + type empty; + } + leaf no-urg { + description "Don't set Urgent bit"; + type empty; + } + } + choice ack-choice { + leaf ack { + description "Set Acknowledge bit"; + type empty; + } + leaf no-ack { + description "Don't set Acknowledge bit"; + type empty; + } + } + choice psh-choice { + leaf psh { + description "Set Push bit"; + type empty; + } + leaf no-psh { + description "Don't set Push bit"; + type empty; + } + } + choice rst-choice { + leaf rst { + description "Set Reset bit"; + type empty; + } + leaf no-rst { + description "Don't set Reset bit"; + type empty; + } + } + choice syn-choice { + leaf syn { + description "Set SYN bit"; + type empty; + } + leaf no-syn { + description "Don't set SYN bit"; + type empty; + } + } + choice fin-choice { + leaf fin { + description "Set FINish bit"; + type empty; + } + leaf no-fin { + description "Don't set FINish bit"; + type empty; + } + } + } + container option { + presence "enable option"; + description "Kind"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by TCP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 255"; + } + } + } + } + container window-scale { + presence "enable window-scale"; + description "Window scale"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container mss { + presence "enable mss"; + description "Maximum Segment Size"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container udp { + description "UDP protocol parameters"; + uses apply-advanced; + container source-port { + presence "enable source-port"; + description "Source port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container destination-port { + presence "enable destination-port"; + description "Destination port"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by UDP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmp { + description "ICMP protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence Number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IP datagram subtracted by ICMP header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + container icmpv6 { + description "ICMPv6 protocol parameters"; + uses apply-advanced; + container type { + presence "enable type"; + description "Type"; + uses apply-advanced; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container code { + presence "enable code"; + description "Code"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container identification { + presence "enable identification"; + description "Identifier in echo request/reply"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container sequence-number { + presence "enable sequence-number"; + description "Sequence number"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + container data-length { + presence "enable data-length"; + description "Size of IPv6 datagram subtracted by ICMPv6 header length"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when value in packet is exact match"; + } + enum "greater-than" { + description "Match when value in packet is greater"; + } + enum "less-than" { + description "Match when value in packet is less"; + } + enum "not-equal" { + description "Match when value in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + } + container checksum-validate { + presence "enable checksum-validate"; + description "Validate checksum field against calculated checksum"; + leaf match { + description "Match condition"; + type enumeration { + enum "equal" { + description "Match when checksum field in packet is exact match"; + } + enum "greater-than" { + description "Match when checksum field in packet is greater"; + } + enum "less-than" { + description "Match when checksum field in packet is less"; + } + enum "not-equal" { + description "Match when checksum field in packet is not exact match"; + } + } + } + leaf value { + description "Match value"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + } + } + } + container anomaly { + description "Protocol anomaly"; + uses apply-advanced; + leaf test { + description "Protocol anomaly condition to be checked"; + type string; + } + leaf direction { + description "Direction"; + type enumeration { + enum "client-to-server" { + description "From Client to Server"; + } + enum "server-to-client" { + description "From Server to Client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf shellcode { + description "Specify shellcode flag for this attack"; + type enumeration { + enum "intel" { + description "Detect shellcode for intel platforms"; + } + enum "sparc" { + description "Detect shellcode for sparc platforms"; + } + enum "all" { + description "Detect shellcode for both intel and sparc platforms"; + } + enum "no-shellcode" { + description "Do not detect shellcode"; + } + } + } + } + } + } + grouping dynamic-attack-group-type { + description "Define dynamic attack group"; + leaf name { + description "Name of the dynamic attack group"; + type string; + } + uses apply-advanced; + leaf attack-group-description { + description "Filter name/value in xml format"; + status deprecated; + type string; + } + container filters { + description "Configure filters"; + uses apply-advanced; + container direction { + presence "enable direction"; + description "Direction of attack"; + uses apply-advanced; + leaf expression { + description "Boolean AND/OR to be used for values"; + default "or"; + type enumeration { + enum "and" { + description "AND values together (recommended if 'exclude-*' values are set)"; + } + enum "or" { + description "OR values together"; + } + } + } + leaf-list values { + ordered-by user; + description "Values for direction field"; + type enumeration { + enum "client-to-server" { + description "Select attacks from client to server"; + } + enum "server-to-client" { + description "Select attacks from server to client"; + } + enum "any" { + description "Select attacks which are in any direction"; + } + enum "exclude-client-to-server" { + description "Filter out attacks from client to server"; + } + enum "exclude-server-to-client" { + description "Filter out attacks from server to client"; + } + enum "exclude-any" { + description "Filter out attacks which are in any direction"; + } + } + } + } + container severity { + presence "enable severity"; + description "Severity of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for severity field"; + type enumeration { + enum "info" { + description "Provide information of attack when it matches."; + } + enum "warning" { + description "Issue a warning when attack matches."; + } + enum "minor" { + description "The attack is a minor one."; + } + enum "major" { + description "The attack is a major one."; + } + enum "critical" { + description "The attack is a critical one."; + } + } + } + } + container type { + presence "enable type"; + description "Type of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for type field"; + type enumeration { + enum "signature" { + description "Signature based attacks"; + } + enum "anomaly" { + description "Protocol anomalies"; + } + } + } + } + choice recommended-choice { + leaf recommended { + description "Recommended flag"; + type empty; + } + leaf no-recommended { + description "Don't recommended flag"; + type empty; + } + } + container performance { + presence "enable performance"; + description "Performance of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for performance field"; + type enumeration { + enum "unknown" { + description "Performance level unknown"; + } + enum "fast" { + description "Fast performance"; + } + enum "normal" { + description "Normal performance"; + } + enum "slow" { + description "Slow performance"; + } + } + } + } + container category { + presence "enable category"; + description "Category of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for category field"; + type string; + } + } + container service { + presence "enable service"; + description "Service/Application of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for service field"; + type string; + } + } + container false-positives { + presence "enable false-positives"; + description "False positive field in attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for false-positives field"; + type enumeration { + enum "unknown" { + description "Unknown information"; + } + enum "rarely" { + description "Rare false positives occurrence"; + } + enum "occasionally" { + description "Ocassional false positives occurrence"; + } + enum "frequently" { + description "Frequent false positives occurrence"; + } + } + } + } + list vendor { + key name; + ordered-by user; + description "Vendor/Product the attack belongs to"; + uses vendor-object; + } + container file-type { + presence "enable file-type"; + description "File type the attack is valid for"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for file-type field"; + type string; + } + } + container vulnerability-type { + presence "enable vulnerability-type"; + description "Vulnariability type of attack"; + uses apply-advanced; + leaf-list values { + ordered-by user; + description "Values for vulnariability-type field"; + type string; + } + } + list cvss-score { + key name; + ordered-by user; + description "CVSS score of Attack "; + leaf name { + description "Match condition of CVSS score"; + type enumeration { + enum "greater-than" { + description "Match when cvss score is greater"; + } + enum "less-than" { + description "Match when cvss score is less"; + } + } + } + uses apply-advanced; + leaf value { + description "Match value"; + type decimal64 { + fraction-digits 2; + range "0 .. 10"; + } + } + } + list age-of-attack { + key name; + ordered-by user; + description "Age of an Attack "; + leaf name { + description "Match condition of Age of Attack"; + type enumeration { + enum "greater-than" { + description "Match when Age of Attack is greater"; + } + enum "less-than" { + description "Match when Age of Attack is less"; + } + } + } + uses apply-advanced; + leaf value { + description "Match value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + } + grouping idp-policy-type { + leaf name { + description "IDP policy name"; + type string; + } + container rulebase-ips { + description "IPS rulebase"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Configure IPS rule"; + leaf name { + description "Rule name"; + type string; + } + uses apply-advanced; + leaf description { + description "Rule description"; + type string; + } + container match { + description "Rule match criteria"; + uses apply-advanced; + leaf from-zone { + description "Match from zone"; + default "any"; + type string; + } + choice source { + case case_1 { + leaf-list source-address { + ordered-by user; + description "Match source address"; + type string; + } + } + case case_2 { + leaf-list source-except { + ordered-by user; + description "Don't match source address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf to-zone { + description "Match to zone"; + default "any"; + type string; + } + choice destination { + case case_1 { + leaf-list destination-address { + ordered-by user; + description "Match destination address"; + type string; + } + } + case case_2 { + leaf-list destination-except { + ordered-by user; + description "Don't match destination address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf application { + description "Specify application or application-set name to match"; + type string; + } + container attacks { + description "Match attack objects"; + uses apply-advanced; + leaf-list custom-attacks { + ordered-by user; + description "Custom attacks"; + type string; + } + leaf-list custom-attack-groups { + ordered-by user; + description "Custom attack groups"; + type string; + } + leaf-list dynamic-attack-groups { + ordered-by user; + description "Dynamic attack groups"; + type string; + } + leaf-list predefined-attacks { + ordered-by user; + description "Predefined attacks"; + type string; + } + leaf-list predefined-attack-groups { + ordered-by user; + description "Predefined attack groups"; + type string; + } + } + } + container then { + uses apply-advanced; + container action { + choice action { + case case_1 { + leaf no-action { + description "No action"; + type empty; + } + } + case case_2 { + leaf ignore-connection { + description "Ignore"; + type empty; + } + } + case case_3 { + container mark-diffserv { + description "Mark differentiated services codepoint (DSCP)"; + uses apply-advanced; + leaf codepoint { + description "Codepoint value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + } + } + case case_4 { + container class-of-service { + description "Classification of traffic based on class-of-service"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class for outgoing packets"; + type string { + } + } + leaf dscp-code-point { + description "Differentiated services code point value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + } + } + case case_5 { + leaf drop-packet { + description "Drop packet"; + type empty; + } + } + case case_6 { + leaf drop-connection { + description "Drop connection"; + type empty; + } + } + case case_7 { + leaf close-client { + description "Close client"; + type empty; + } + } + case case_8 { + leaf close-server { + description "Close server"; + type empty; + } + } + case case_9 { + leaf close-client-and-server { + description "Close client and server"; + type empty; + } + } + case case_10 { + leaf recommended { + description "Recommended"; + type empty; + } + } + } + } + container ip-action { + uses apply-advanced; + choice ip-action { + case case_1 { + leaf ip-notify { + description "Notify about future traffic"; + type empty; + } + } + case case_2 { + leaf ip-close { + description "Close future connections"; + type empty; + } + } + case case_3 { + leaf ip-block { + description "Block future connections"; + type empty; + } + } + } + leaf target { + type enumeration { + enum "service" { + description "Match source, destination, dst-port and protocol"; + } + enum "source-zone-address" { + description "Match source-zone and source-address"; + } + enum "source-address" { + description "Match source"; + } + enum "destination-address" { + description "Match destination"; + } + enum "zone-service" { + description "Match source-zone, destination, dst-port, protocol"; + } + enum "source-zone" { + description "Match source-zone"; + } + } + } + leaf log { + description "Log IP action taken"; + type empty; + } + leaf log-create { + description "Log IP action creation"; + type empty; + } + leaf timeout { + description "Number of seconds IP action should remain effective"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 64800"; + } + } + } + leaf refresh-timeout { + description "Refresh timeout when future connections match installed ip-action filter"; + type empty; + } + } + container notification { + presence "enable notification"; + description "Configure notification/logging options"; + uses apply-advanced; + container log-attacks { + presence "enable log-attacks"; + description "Enable attack logging"; + uses apply-advanced; + leaf alert { + description "Set alert flag in attack log"; + type empty; + } + } + container packet-log { + presence "enable packet-log"; + uses apply-advanced; + leaf pre-attack { + description "No of packets to capture before attack"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf post-attack { + description "No of packets to capture after attack"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf post-attack-timeout { + description "Timeout (seconds) after attack before stopping packet capture"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1800"; + } + } + } + } + } + leaf severity { + description "Set rule severity level"; + type enumeration { + enum "info" { + } + enum "warning" { + } + enum "minor" { + } + enum "major" { + } + enum "critical" { + } + } + } + } + leaf terminal { + description "Set/Unset terminal flag"; + type empty; + } + } + } + container rulebase-exempt { + description "Exempt rulebase"; + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Configure exempt rule"; + leaf name { + description "Rule name"; + type string; + } + uses apply-advanced; + leaf description { + description "Rule description"; + type string; + } + container match { + description "Rule match criteria"; + uses apply-advanced; + leaf from-zone { + description "Match from zone"; + default "any"; + type string; + } + choice source { + case case_1 { + leaf-list source-address { + ordered-by user; + description "Match source address"; + type string; + } + } + case case_2 { + leaf-list source-except { + ordered-by user; + description "Don't match source address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + leaf to-zone { + description "Match to zone"; + default "any"; + type string; + } + choice destination { + case case_1 { + leaf-list destination-address { + ordered-by user; + description "Match destination address"; + type string; + } + } + case case_2 { + leaf-list destination-except { + ordered-by user; + description "Don't match destination address"; + type string; + } + } + case case_3 { + } + case case_4 { + } + } + container attacks { + description "Match attack objects"; + uses apply-advanced; + leaf-list custom-attacks { + ordered-by user; + description "Custom attacks"; + type string; + } + leaf-list custom-attack-groups { + ordered-by user; + description "Custom attack groups"; + type string; + } + leaf-list dynamic-attack-groups { + ordered-by user; + description "Dynamic attack groups"; + type string; + } + leaf-list predefined-attacks { + ordered-by user; + description "Predefined attacks"; + type string; + } + leaf-list predefined-attack-groups { + ordered-by user; + description "Predefined attack groups"; + type string; + } + } + } + } + } + } + grouping idpd-traceoptions-type { + description "Trace options for idpd"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping port-range { + description "Port ranges"; + leaf name { + description "Single port/minimum port in the port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf maximum-port { + description "Maximum port in the port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + grouping proto-object { + leaf name { + type string; + } + uses apply-advanced; + list tunable-name { + key name; + ordered-by user; + description "Protocol tunable name"; + uses tunable-object; + } + } + grouping security-authentication-key-chains { + uses apply-advanced; + list key-chain { + key name; + description "Key chain configuration"; + leaf name { + description "Name of authentication key chain"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of this authentication-key-chain"; + type string { + length "1 .. 80"; + } + } + leaf tolerance { + description "Clock skew tolerance"; + default "3600"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list key { + key name; + description "Authentication element configuration"; + leaf name { + description "Authentication element identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 63"; + } + } + } + uses apply-advanced; + leaf secret { + description "Authentication key"; + type string { + length "1 .. 126"; + } + } + leaf key-name { + description "Key name in hexadecimal format used for macsec"; + type string { + length "2 .. 64"; + } + } + leaf start-time { + description "Start time for key transmission (YYYY-MM-DD.HH:MM)"; + type jt:time; + } + leaf algorithm { + description "Authentication algorithm"; + default "md5"; + type enumeration { + enum "md5" { + description "Message Digest 5"; + } + enum "hmac-sha-1" { + description "Hash-based Message Authentication Code (SHA1) (96 bits)"; + } + } + } + leaf options { + description "Protocol's transmission encoding format"; + default "basic"; + type enumeration { + enum "basic" { + description "Rudimentary encoding format"; + } + enum "isis-enhanced" { + description "RFC 5310 based encoding"; + } + } + } + } + } + } + grouping security-group-vpn { + uses apply-advanced; + container member { + description "Group VPN member configuration"; + uses gvpn-member; + } + } + grouping gvpn-member { + uses apply-advanced; + container ike { + description "Group VPN IKE configuration"; + uses gvpn-member-ike; + } + container ipsec { + description "Group VPN IPsec configuration"; + uses gvpn-member-ipsec-vpn; + } + } + grouping gvpn-member-ike { + uses apply-advanced; + container traceoptions { + description "Trace options for Group VPN Member"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + container gateway-filter { + description "Set gateway filter for trace"; + uses apply-advanced; + leaf local-address { + description "Use an IP address to identify the local gateway"; + type jt:ipv4addr; + } + leaf remote-address { + description "Use an IP address to identify the remote gateway"; + type jt:ipv4addr; + } + } + } + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses gvpn-member-ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses gvpn-member-ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_3 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + case case_4 { + leaf distinguished-name { + description "Use a distinguished name specified in local certificate"; + type empty; + } + } + } + } + leaf local-address { + description "Local IPv4 address for group member"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Name of routing instance that hosts local address"; + default "default"; + type string; + } + } + } + grouping gvpn-member-ike-policy { + leaf name { + description "Name of policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf mode { + description "Define the IKE mode for Phase 1"; + default "main"; + type enumeration { + enum "main" { + description "Main mode"; + } + enum "aggressive" { + description "Aggressive mode"; + } + } + } + leaf description { + description "Text description of IKE policy"; + type string { + length "1 .. 80"; + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + container certificate { + description "Certificate configuration"; + uses apply-advanced; + leaf local-certificate { + description "Local certificate identifier"; + type string { + } + } + container trusted-ca { + description "Specify the CA to use"; + status deprecated; + choice ca { + case case_1 { + leaf ca-index { + description "Index of the preferred CA to use"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_2 { + leaf use-all { + description "Use all configured CAs"; + type empty; + } + } + } + } + leaf peer-certificate-type { + description "Preferred type of certificate from peer"; + default "x509-signature"; + type enumeration { + enum "pkcs7" { + description "PKCS7 encoding"; + } + enum "x509-signature" { + description "X509 signature encoding"; + } + } + } + } + leaf proposal-set { + description "Types of default IKE proposal-set"; + type enumeration { + enum "basic" { + description "IKE proposal-set for basic"; + } + enum "compatible" { + description "IKE proposal-set for compatible"; + } + enum "standard" { + description "IKE proposal-set for standard"; + } + } + } + container pre-shared-key { + description "Define a preshared key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping gvpn-member-ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + enum "rsa-signatures" { + description "RSA signatures"; + } + enum "dsa-signatures" { + description "DSA signatures"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group 1"; + } + enum "group2" { + description "Diffie-Hellman Group 2"; + } + enum "group5" { + description "Diffie-Hellman Group 5"; + } + enum "group14" { + description "Diffie-Hellman Group 14"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "md5" { + description "MD5 authentication algorithm"; + } + enum "sha1" { + description "SHA1 authentication algorithm"; + } + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping gvpn-member-ipsec-vpn { + uses apply-advanced; + list vpn { + key name; + ordered-by user; + description "Define an IPSec VPN"; + uses ipsec-gvpn-member-template; + } + } + grouping ipsec-gvpn-member-template { + description "Configure a Group VPN"; + leaf name { + description "Name of the VPN"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-gateway { + description "Name of IKE gateway"; + type string { + length "1 .. 32"; + } + } + leaf group { + description "Enable Group VPN by defining group id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf match-direction { + description "Direction for which the rule match is applied"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + } + } + leaf tunnel-mtu { + description "Maximum transmit packet size"; + default "1500"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 9192"; + } + } + } + leaf df-bit { + description "Specifies how to handle the Don't Fragment bit"; + default "clear"; + type enumeration { + enum "clear" { + description "Clear DF bit of outer header"; + } + enum "set" { + description "Set DF bit of outer header"; + } + enum "copy" { + description "Copy DF bit from inner header"; + } + } + } + leaf forward-policy-mismatch { + description "Enables forwarding of policy mismatch packets"; + type empty; + } + container fail-open { + description "List of fail open rules"; + uses ipsec_gvpn_fail_open_rule_object; + } + } + grouping ipsec_gvpn_fail_open_rule_object { + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Define fail open rules upto 10"; + max-elements 10; + uses ipsec_gvpn_fail_open_rule_address_object; + } + } + grouping ipsec_gvpn_fail_open_rule_address_object { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container source-address { + description "Match IP source address"; + presence "enable source-address"; + uses ipsec_gvpn_addr_object; + } + container destination-address { + description "Match IP destination address"; + presence "enable destination-address"; + uses ipsec_gvpn_addr_object; + } + } + grouping ipsec_gvpn_addr_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix-only; + } + } + grouping security-ike { + uses apply-advanced; + container traceoptions { + description "Trace options for IPSec key management"; + uses security-traceoptions; + } + container respond-bad-spi { + presence "enable respond-bad-spi"; + description "Respond to IPSec packets with bad SPI values"; + leaf max-responses { + description "Maximum number of times to respond"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + list proposal { + key name; + ordered-by user; + description "Define an IKE proposal"; + uses ike-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IKE policy"; + uses ike-policy; + } + list gateway { + key name; + ordered-by user; + description "Define an IKE gateway"; + leaf name { + description "Label for the remote (peer) gateway"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ike-policy { + description "Name of the IKE policy"; + type string { + length "1 .. 32"; + } + } + choice remote-identifier { + case case_1 { + leaf-list address { + ordered-by user; + description "Addresses or hostnames of peer:1 primary, upto 4 backups"; + type string; + } + } + case case_2 { + container dynamic { + description "Site to site peer with dynamic IP address"; + uses apply-advanced; + choice remote-id-type { + case case_1 { + container distinguished-name { + presence "enable distinguished-name"; + description "Use a distinguished name: "; + uses apply-advanced; + leaf container { + description "Specify the container string"; + type string; + } + leaf wildcard { + description "Specify the wildcard string"; + type string; + } + } + } + case case_2 { + leaf hostname { + description "Use a fully-qualified domain name"; + type string; + } + } + case case_3 { + leaf inet { + description "Use an IPV4 address to identify the dynamic peer"; + type jt:ipv4addr; + } + } + case case_4 { + leaf inet6 { + description "Use an IPV6 address to identify the dynamic peer"; + type jt:ipv6addr; + } + } + case case_5 { + leaf user-at-hostname { + description "Use an e-mail address"; + type string; + } + } + } + leaf connections-limit { + description "Maximum number of users connected to gateway"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf ike-user-type { + description "Type of the IKE ID"; + type enumeration { + enum "group-ike-id" { + description "Email address or FQDN shared as IKED ID by multiple users"; + } + enum "shared-ike-id" { + description "Email address shared as IKED ID by multiple users"; + } + } + } + } + } + } + container dead-peer-detection { + presence "enable dead-peer-detection"; + description "Enable RFC-3706 DPD"; + uses apply-advanced; + leaf always-send { + description "Send DPD messages periodically, regardless of traffic"; + type empty; + } + leaf interval { + description "The interval at which to send DPD messages"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 60"; + } + } + } + leaf threshold { + description "Maximum number of DPD retransmissions"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5"; + } + } + } + } + leaf no-nat-traversal { + description "Disable IPSec NAT traversal"; + type empty; + } + leaf nat-keepalive { + description "Interval at which to send NAT keepalives"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + container local-identity { + description "Set the local IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The local IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + description "Use an IPv6 address"; + uses apply-advanced; + leaf identity-ipv6 { + description "The local IPv6 identity"; + type jt:ipv6addr; + } + } + } + case case_3 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The local hostname"; + type string; + } + } + } + case case_4 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The local user-FQDN"; + type string; + } + } + } + case case_5 { + leaf distinguished-name { + description "Use a distinguished name specified in local certificate"; + type empty; + } + } + } + } + container remote-identity { + description "Set the remote IKE identity"; + choice identity-type { + case case_1 { + container inet { + description "Use an IPv4 address"; + uses apply-advanced; + leaf identity-ipv4 { + description "The remote IPv4 identity"; + type jt:ipv4addr; + } + } + } + case case_2 { + container inet6 { + description "Use an IPv6 address"; + uses apply-advanced; + leaf identity-ipv6 { + description "The remote IPv6 identity"; + type jt:ipv6addr; + } + } + } + case case_3 { + container hostname { + description "Use a fully-qualified domain name"; + uses apply-advanced; + leaf identity-hostname { + description "The remote hostname"; + type string; + } + } + } + case case_4 { + container user-at-hostname { + description "Use an e-mail address"; + uses apply-advanced; + leaf identity-user { + description "The remote user-FQDN"; + type string; + } + } + } + case case_5 { + container distinguished-name { + presence "enable distinguished-name"; + description "Use a distinguished name: "; + uses apply-advanced; + leaf container { + description "Specify the container string"; + type string; + } + leaf wildcard { + description "Specify the wildcard string"; + type string; + } + } + } + } + } + leaf external-interface { + description "External interface for IKE negotiations"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container xauth { + description "Use extended authentication"; + leaf access-profile { + description "Access profile that contains authentication information"; + type string; + } + } + leaf general-ikeid { + description "Accept peer IKE-ID in general"; + type empty; + } + leaf version { + description "Negotiate using either IKE v1 or IKE v2 protocol"; + default "v1-only"; + type enumeration { + enum "v1-only" { + description "The connection must be initiated using IKE version 1"; + } + enum "v2-only" { + description "The connection must be initiated using IKE version 2"; + } + } + } + } + } + grouping ike-policy { + leaf name { + description "IKE peer address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf mode { + description "Define the IKE first phase mode"; + type enumeration { + enum "main" { + description "Main mode"; + } + enum "aggressive" { + description "Aggressive mode"; + } + } + } + leaf description { + description "Text description of IKE policy"; + type string { + length "1 .. 80"; + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + leaf local-certificate { + description "File to read certificate from"; + type string { + length "1 .. 255"; + } + } + leaf local-key-pair { + description "File to read key-pair from"; + type string { + length "1 .. 255"; + } + } + leaf encoding { + description "Encoding to use for certificate or CRL on disk"; + default "binary"; + type enumeration { + enum "binary" { + description "DER encoding"; + } + enum "pem" { + description "Privacy-enhanced-mail encoding, base64"; + } + } + } + leaf identity { + description "Define the remote certificate name"; + type string { + length "1 .. 32"; + } + } + container pre-shared-key { + description "Define a preshared key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + grouping ike-proposal { + leaf name { + description "Name of the IKE proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IKE proposal"; + type string { + length "1 .. 80"; + } + } + leaf authentication-method { + description "Define authentication method"; + type enumeration { + enum "pre-shared-keys" { + description "Preshared keys"; + } + enum "rsa-signatures" { + description "RSA signatures"; + } + enum "dsa-signatures" { + description "DSA signatures"; + } + enum "ecdsa-signatures-256" { + description "ECDSA signatures (254 bit modulus)"; + } + enum "ecdsa-signatures-384" { + description "ECDSA signatures (384 bit modulus)"; + } + } + } + leaf dh-group { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group1"; + } + enum "group2" { + description "Diffie-Hellman Group2"; + } + enum "group5" { + description "Diffie-Hellman Group5"; + } + enum "group14" { + description "Diffie-Hellman Group14"; + } + enum "group15" { + description "Diffie-Hellman Group15"; + } + enum "group16" { + description "Diffie-Hellman Group16"; + } + enum "group19" { + description "Diffie-Hellman Group19"; + } + enum "group20" { + description "Diffie-Hellman Group20"; + } + enum "group24" { + description "Diffie-Hellman Group24"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "md5" { + description "MD5 authentication algorithm"; + } + enum "sha1" { + description "SHA1 authentication algorithm"; + } + enum "sha-256" { + description "SHA 256-bit authentication algorithm"; + } + enum "sha-384" { + description "SHA 384-bit authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping security-ipsec { + uses apply-advanced; + list proposal { + key name; + ordered-by user; + description "Define an IPSec proposal"; + uses ipsec-proposal; + } + list policy { + key name; + ordered-by user; + description "Define an IPSec policy"; + uses ipsec-policy; + } + list security-association { + key name; + ordered-by user; + description "Define an IPSec security association"; + uses ipsec-sa; + } + container internal { + presence "enable internal"; + description "Define an IPSec SA for internal RE-RE communication"; + uses apply-advanced; + container security-association { + description "Define an IPSec security association"; + presence "enable security-association"; + uses ipsec-internal-sa; + } + } + container trusted-channel { + presence "enable trusted-channel"; + description "Define an IPSec SA for trusted-channel communication"; + uses apply-advanced; + container security-association { + description "Define an IPSec security association"; + presence "enable security-association"; + uses ipsec-trusted-channel-sa; + } + leaf-list port-exclusion-list { + ordered-by user; + description "Define port exlusion list"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + } + grouping ipsec-internal-sa { + uses apply-advanced; + leaf description { + description "Text description of internal security association"; + type string { + length "1 .. 80"; + } + } + container manual { + description "Define a manual security association"; + uses apply-advanced; + list direction { + key name; + ordered-by user; + description "Define the direction of the security association"; + leaf name { + type enumeration { + enum "inbound" { + description "Inbound security association"; + } + enum "outbound" { + description "Outbound security association"; + } + enum "bidirectional" { + description "Bidirectional security association"; + } + } + } + uses apply-advanced; + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + enum "bundle" { + description "Bundle (AH authentication plus ESP encryption)"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + leaf auxiliary-spi { + description "ESP security parameter index for IPSec SA bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha2-256" { + description "HMAC-SHA2-256 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + } + grouping ipsec-policy { + leaf name { + description "Name of the IPSec policy"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec policy"; + type string { + length "1 .. 80"; + } + } + container perfect-forward-secrecy { + description "Define perfect forward secrecy"; + uses apply-advanced; + leaf keys { + description "Define Diffie-Hellman group"; + type enumeration { + enum "group1" { + description "Diffie-Hellman Group1"; + } + enum "group2" { + description "Diffie-Hellman Group2"; + } + enum "group5" { + description "Diffie-Hellman Group5"; + } + enum "group14" { + description "Diffie-Hellman Group14"; + } + enum "group15" { + description "Diffie-Hellman Group15"; + } + enum "group16" { + description "Diffie-Hellman Group16"; + } + enum "group19" { + description "Diffie-Hellman Group19"; + } + enum "group20" { + description "Diffie-Hellman Group20"; + } + enum "group24" { + description "Diffie-Hellman Group24"; + } + } + } + } + leaf-list proposals { + ordered-by user; + description "Name of the proposal"; + type string { + length "1 .. 32"; + } + } + leaf proposal-set { + description "Types of default IPSEC proposal-set"; + type enumeration { + enum "basic" { + description "IPSEC basic proposal-set"; + } + enum "compatible" { + description "IPSEC compatible proposal-set"; + } + enum "standard" { + description "IPSEC standard proposal-set"; + } + } + } + } + grouping ipsec-proposal { + leaf name { + description "Name of the IPSec proposal"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of IPSec proposal"; + type string { + length "1 .. 80"; + } + } + leaf protocol { + description "Define an IPSec protocol for the proposal"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + enum "bundle" { + description "Bundle (AH authentication plus ESP encryption)"; + } + } + } + leaf authentication-algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + enum "hmac-sha-256-96" { + description "HMAC-SHA-256-96 authentication algorithm (non-RFC compliant)"; + } + enum "hmac-sha2-256" { + description "HMAC-SHA2-256 authentication algorithm"; + } + } + } + leaf encryption-algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + enum "aes-128-gcm" { + description "AES-GCM 128-bit encryption algorithm with 16 octet ICV"; + } + enum "aes-192-gcm" { + description "AES-GCM 192-bit encryption algorithm with 16 octet ICV"; + } + enum "aes-256-gcm" { + description "AES-GCM 256-bit encryption algorithm with 16 octet ICV"; + } + } + } + leaf lifetime-seconds { + description "Lifetime, in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "180 .. 86400"; + } + } + } + } + grouping ipsec-sa { + leaf name { + description "Name of IPSec security association"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf description { + description "Text description of security association"; + type string { + length "1 .. 80"; + } + } + leaf mode { + description "Define security association mode"; + default "tunnel"; + type enumeration { + enum "transport" { + description "Transport mode"; + } + enum "tunnel" { + description "Tunnel mode"; + } + } + } + choice sa_choice { + case case_1 { + container manual { + description "Define a manual security association"; + uses apply-advanced; + list direction { + key name; + ordered-by user; + description "Define the direction of the security association"; + leaf name { + type enumeration { + enum "inbound" { + description "Inbound security association"; + } + enum "outbound" { + description "Outbound security association"; + } + enum "bidirectional" { + description "Bidirectional security association"; + } + } + } + uses apply-advanced; + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + enum "bundle" { + description "Bundle (AH authentication plus ESP encryption)"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + leaf auxiliary-spi { + description "ESP security parameter index for IPSec SA bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha2-256" { + description "HMAC-SHA2-256 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + } + case case_2 { + container dynamic { + description "Define a dynamic security association"; + uses apply-advanced; + leaf replay-window-size { + description "Define replay protection window size"; + type enumeration { + enum "32" { + description "32-packet window size"; + } + enum "64" { + description "64-packet window size"; + } + } + } + leaf ipsec-policy { + description "Name of the IPSec policy"; + type string { + length "1 .. 32"; + } + } + } + } + } + } + grouping ipsec-trusted-channel-sa { + uses apply-advanced; + leaf description { + description "Text description of trusted channel security association"; + type string { + length "1 .. 80"; + } + } + container manual { + description "Define a manual security association"; + uses apply-advanced; + list direction { + key name; + ordered-by user; + description "Define the direction of the security association"; + leaf name { + type enumeration { + enum "inbound" { + description "Inbound security association"; + } + enum "outbound" { + description "Outbound security association"; + } + enum "bidirectional" { + description "Bidirectional security association"; + } + } + } + uses apply-advanced; + leaf protocol { + description "Define an IPSec protocol for the security association"; + type enumeration { + enum "ah" { + description "Authentication header"; + } + enum "esp" { + description "Encapsulated Security Payload header"; + } + enum "bundle" { + description "Bundle (AH authentication plus ESP encryption)"; + } + } + } + leaf spi { + description "Define security parameter index"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + leaf auxiliary-spi { + description "ESP security parameter index for IPSec SA bundle"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "256 .. 16639"; + } + } + } + container authentication { + description "Define authentication parameters"; + uses apply-advanced; + leaf algorithm { + description "Define authentication algorithm"; + type enumeration { + enum "hmac-md5-96" { + description "HMAC-MD5-96 authentication algorithm"; + } + enum "hmac-sha1-96" { + description "HMAC-SHA1-96 authentication algorithm"; + } + enum "hmac-sha2-256" { + description "HMAC-SHA2-256 authentication algorithm"; + } + enum "hmac-sha-256-128" { + description "HMAC-SHA-256-128 authentication algorithm"; + } + } + } + container key { + description "Define an authentication key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + container encryption { + description "Define encryption parameters"; + uses apply-advanced; + leaf algorithm { + description "Define encryption algorithm"; + type enumeration { + enum "des-cbc" { + description "DES-CBC encryption algorithm"; + } + enum "3des-cbc" { + description "3DES-CBC encryption algorithm"; + } + enum "aes-128-cbc" { + description "AES-CBC 128-bit encryption algorithm"; + } + enum "aes-192-cbc" { + description "AES-CBC 192-bit encryption algorithm"; + } + enum "aes-256-cbc" { + description "AES-CBC 256-bit encryption algorithm"; + } + } + } + container key { + description "Define an encryption key"; + choice key-choice { + case case_1 { + leaf ascii-text { + description "Format as text"; + type string { + length "1 .. 255"; + } + } + } + case case_2 { + leaf hexadecimal { + description "Format as hexadecimal"; + type string { + length "1 .. 255"; + } + } + } + } + } + } + } + } + } + grouping security-macsec { + uses apply-advanced; + container traceoptions { + description "Tracing options for debugging protocol operation"; + presence "enable traceoptions"; + uses macsec-trace-options; + } + list connectivity-association { + key name; + ordered-by user; + description "Configure connectivity association properties"; + leaf name { + description "Connectivity association name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf security-mode { + description "Connectivity association mode"; + type enumeration { + enum "dynamic" { + description "Dynamic connectivity and secure association mode (MKA and dot1x)"; + } + enum "static-sak" { + description "Static secure association key mode (no MKA)"; + } + enum "static-cak" { + description "Static connectivity association key mode (MKA and Pre-shared key)"; + } + } + } + list secure-channel { + key name; + ordered-by user; + description "Configure secure channel properties"; + leaf name { + description "Secure channel name"; + type string; + } + uses apply-advanced; + container id { + description "Secure channel identifier"; + uses apply-advanced; + leaf mac-address { + description "MAC addresses"; + type jt:mac-addr; + } + leaf port-id { + description "Port identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + } + leaf direction { + description "Secure channel direction"; + type enumeration { + enum "inbound" { + } + enum "outbound" { + } + } + } + leaf encryption { + description "Enable Encryption"; + type empty; + } + leaf offset { + description "Confidentiality offset"; + type enumeration { + enum "0" { + description "Confidentiality protected for all octets of MACSec PDU data"; + } + enum "30" { + description "Confidentiality not protected for initial 30 octets of MACSec PDU data"; + } + enum "50" { + description "Confidentiality not protected for initial 50 octets of MACSec PDU data"; + } + } + } + leaf include-sci { + description "Include secure channel identifier in MAC Security PDU"; + type empty; + } + list security-association { + key name; + ordered-by user; + description "Security association"; + leaf name { + description "Security association number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + leaf key { + description "Security association key in hexadecimal format of length 32"; + type string { + length 32; + } + } + } + } + container mka { + presence "enable mka"; + description "Configure MAC Security Key Agreement protocol properties"; + uses apply-advanced; + leaf transmit-interval { + description "Configure MKA periodic transmit interval"; + default "2000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2000 .. 10000"; + } + } + } + leaf bounded-delay { + description "Configure Bounded Hello Time"; + type empty; + } + leaf key-server-priority { + description "Configure MKA key server priority"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf must-secure { + description "Allow only secure dot1x traffic"; + type empty; + } + leaf should-secure { + description "Configure fail open mode for MKA protocol"; + type empty; + } + } + container replay-protect { + description "Configure replay protection"; + uses apply-advanced; + leaf replay-window-size { + description "Configure replay protection window size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + } + leaf no-encryption { + description "Disable encryption"; + type empty; + } + leaf offset { + description "Confidentiality offset"; + default "0"; + type enumeration { + enum "0" { + description "Confidentiality provided for all octets of data"; + } + enum "30" { + description "Confidentiality not provided for initial 30 octets of data"; + } + enum "50" { + description "Confidentiality not provided for initial 50 octets of data"; + } + } + } + leaf include-sci { + description "Include secure channel identifier in MAC Security PDU"; + type empty; + } + container pre-shared-key { + presence "enable pre-shared-key"; + description "Configure pre-shared connectivity association key"; + uses apply-advanced; + leaf ckn { + description "Connectivity association key name in hexadecimal format"; + type string { + length "2 .. 64"; + } + } + leaf cak { + description "Connectivity association key in hexadecimal format (max_length = 64)"; + type string { + length "1 .. 64"; + } + } + } + leaf pre-shared-key-chain { + description "Pre-shared key chain name for connectivity association"; + type string { + } + } + list exclude-protocol { + key name; + ordered-by user; + description "Configure protocols to exclude from MAC Security"; + leaf name { + type enumeration { + enum "cdp" { + description "Cisco Discovery Protocol"; + } + enum "lldp" { + description "Link Level Discovery Protocol"; + } + enum "lacp" { + description "Link Aggregation Control Protocol"; + } + } + } + } + } + list interfaces { + key name; + description "Interfaces on which macsec configuration is applied"; + leaf name { + type union { + type jt:interface-device; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf connectivity-association { + description "Connectivity association name"; + type string; + } + leaf aes-gcm-revert-flag { + description "Flag to fall back to previous AES_GCM_256 + cipher suite implementation"; + type empty; + } + container traceoptions { + description "Tracing options of MKA protocol"; + presence "enable traceoptions"; + uses mka-trace-options; + } + } + } + grouping macsec-trace-options { + description "Trace options for MACSec Protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "config" { + description "Trace configuration messages"; + } + enum "debug" { + description "Trace debug messages"; + } + enum "normal" { + description "Trace normal messages"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + grouping mka-trace-options { + description "Trace options for MKA protocol"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "mka-packets" { + description "Trace MKA input and output packets"; + } + enum "state" { + description "Trace MKA state information"; + } + enum "to-secy" { + description "Trace MKA to SecY state changes"; + } + enum "keys" { + description "Trace key creation/generation information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "all" { + description "Trace all"; + } + } + } + } + } + grouping security-pki { + uses apply-advanced; + list ca-profile { + key name; + ordered-by user; + description "Certificate authority profile configuration"; + leaf name { + description "Name of certificate authority profile"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf ca-identity { + description "Certificate authority identifier"; + type string; + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf proxy-profile { + description "Use specified proxy server"; + type string; + } + leaf routing-instance { + description "Use specified routing instance"; + type string; + } + container enrollment { + description "Enrollment parameters for certificate authority"; + uses apply-advanced; + leaf url { + description "Enrollment URL of certificate authority"; + type string; + } + leaf retry { + description "Number of enrollment retry attempts before aborting"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1080"; + } + } + } + leaf retry-interval { + description "Interval in seconds between the enrollment retries"; + default "600"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3600"; + } + } + } + } + container revocation-check { + description "Method for checking certificate revocations"; + uses apply-advanced; + choice revocation-check-options { + case case_1 { + leaf use-crl { + description "Use CRL for revocation check"; + type empty; + } + } + case case_2 { + leaf use-ocsp { + description "Use OCSP for revocation check"; + type empty; + } + } + case case_3 { + leaf disable { + description "Disable revocation check"; + type empty; + } + } + } + container ocsp { + presence "enable ocsp"; + description "Online Certificate Status Protocol (OCSP) configuration"; + uses apply-advanced; + list url { + key name; + ordered-by user; + leaf name { + description "HTTP URL for OCSP access location"; + type string { + length "1 .. 500"; + } + } + uses apply-advanced; + } + leaf nonce-payload { + description "Include nonce payload in OCSP requests"; + type enumeration { + enum "enable" { + description "Send nonce paylod in OCSP request"; + } + enum "disable" { + description "Do not send nonce payload in OCSP request"; + } + } + } + leaf disable-responder-revocation-check { + description "Disable OCSP responder certificate revocation check"; + type empty; + } + leaf accept-unknown-status { + description "Accept certificates with unknown status"; + type empty; + } + container connection-failure { + presence "enable connection-failure"; + description "Actions on failure to connect to OCSP Responder"; + uses apply-advanced; + choice connection-failure-options { + case case_1 { + leaf fallback-crl { + description "Use CRL for revocation check"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable OCSP check on connection failure"; + type empty; + } + } + } + } + } + container crl { + description "Certificate revocation list configuration"; + uses apply-advanced; + container disable { + leaf on-download-failure { + description "Check revocation status with existing CRL file if present, otherwise skip. This feature must be enabled for manual CRL download."; + type empty; + } + } + list url { + key name; + ordered-by user; + leaf name { + description "URL of CRL distribution point for certificate authority"; + type string { + length "1 .. 500"; + } + } + uses apply-advanced; + leaf password { + description "Password for authentication with the server"; + type jt:unreadable; + } + } + leaf refresh-interval { + description "CRL refresh interval"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8784"; + } + } + } + } + } + container administrator { + description "Administrator information"; + uses apply-advanced; + leaf email-address { + description "Administrator e-mail to which to send certificate requests"; + type string; + } + } + } + list trusted-ca-group { + key name; + ordered-by user; + description "Trusted Certificate Authority group configuration"; + leaf name { + description "Name of the trusted CA group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list ca-profiles { + ordered-by user; + description "Name of the CA profiles (maximum 20)"; + type string { + length "1 .. 63"; + } + max-elements 20; + } + } + container auto-re-enrollment { + description "Auto re-enroll of certificate"; + uses apply-advanced; + container cmpv2 { + presence "enable cmpv2"; + description "CMPv2 auto re-enrollment configuration"; + uses apply-advanced; + list certificate-id { + key name; + ordered-by user; + description "CMPv2 auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + } + } + container scep { + presence "enable scep"; + description "SCEP auto re-enrollment configuration"; + uses apply-advanced; + list certificate-id { + key name; + ordered-by user; + description "SCEP auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf challenge-password { + description "Password used by CA for enrollment and revocation"; + type jt:unreadable; + } + container scep-encryption-algorithm { + presence "enable scep-encryption-algorithm"; + description "SCEP encryption algorithm"; + uses apply-advanced; + choice scep-encryption-algorithm-options { + case case_1 { + leaf des { + description "Use DES as SCEP encryption algorithm"; + type empty; + } + } + case case_2 { + leaf des3 { + description "Use DES3 as SCEP encryption algorithm"; + type empty; + } + } + } + } + container scep-digest-algorithm { + presence "enable scep-digest-algorithm"; + description "SCEP digest algorithm"; + uses apply-advanced; + choice scep-digest-algorithm-options { + case case_1 { + leaf md5 { + description "Use MD5 as SCEP digest algorithm"; + type empty; + } + } + case case_2 { + leaf sha1 { + description "Use SHA1 as SCEP digest algorithm"; + type empty; + } + } + } + } + } + } + list certificate-id { + key name; + ordered-by user; + description "Auto re-enrollment configuration for certificate-id"; + leaf name { + description "Certificate identifier that needs auto re-enrollment"; + type string { + } + } + uses apply-advanced; + leaf ca-profile-name { + description "Name of certificate authority profile"; + type string { + } + } + leaf re-generate-keypair { + description "Generate new key-pair for auto-re-enrollment"; + type empty; + } + leaf re-enroll-trigger-time-percentage { + description "Re-enrollment trigger time before expiration as percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf challenge-password { + description "Password used by CA for enrollment and revocation"; + type jt:unreadable; + } + container scep-encryption-algorithm { + presence "enable scep-encryption-algorithm"; + description "SCEP encryption algorithm"; + uses apply-advanced; + choice scep-encryption-algorithm-options { + case case_1 { + leaf des { + description "Use DES as SCEP encryption algorithm"; + type empty; + } + } + case case_2 { + leaf des3 { + description "Use DES3 as SCEP encryption algorithm"; + type empty; + } + } + } + } + container scep-digest-algorithm { + presence "enable scep-digest-algorithm"; + description "SCEP digest algorithm"; + uses apply-advanced; + choice scep-digest-algorithm-options { + case case_1 { + leaf md5 { + description "Use MD5 as SCEP digest algorithm"; + type empty; + } + } + case case_2 { + leaf sha1 { + description "Use SHA1 as SCEP digest algorithm"; + type empty; + } + } + } + } + } + } + container traceoptions { + description "PKI trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "certificate-verification" { + description "PKI certificate verification tracing"; + } + enum "online-crl-check" { + description "PKI online crl tracing"; + } + enum "enrollment" { + description "PKI certificate enrollment tracing"; + } + enum "all" { + description "Trace with all flags enabled"; + } + } + } + } + } + } + grouping security-traceoptions { + description "Trace options for key management process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf rate-limit { + description "Limit the incoming rate of trace messages"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4294967295"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "routing-socket" { + description "Trace routing socket messages"; + } + enum "parse" { + description "Trace configuration processing"; + } + enum "config" { + description "Trace configuration download processing"; + } + enum "ike" { + description "Trace IKE module processing"; + } + enum "policy-manager" { + description "Trace policy manager processing"; + } + enum "general" { + description "Trace general events"; + } + enum "database" { + description "Trace security associations database events"; + } + enum "certificates" { + description "Trace certificate events"; + } + enum "snmp" { + description "Trace SNMP operations"; + } + enum "thread" { + description "Trace thread processing"; + } + enum "high-availability" { + description "Trace high-availability operations"; + } + enum "next-hop-tunnels" { + description "Trace next-hop-tunnels operations"; + } + enum "all" { + description "Trace everything"; + } + enum "ams" { + description "Trace AMS events"; + } + enum "lic" { + description "Trace License events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunable-object { + leaf name { + type string; + } + uses apply-advanced; + leaf tunable-value { + description "Protocol tunable value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + grouping vendor-object { + leaf name { + description "Values for vendor field"; + type string; + } + uses apply-advanced; + leaf product-name { + description "Values for product field"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-services@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-services@2019-01-01.yang new file mode 100644 index 00000000..eead61b2 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-services@2019-01-01.yang @@ -0,0 +1,5889 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-services { + namespace "http://yang.juniper.net/junos-qfx/conf/services"; + + prefix jc-services; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos services configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses services-group; + } + augment /jc:configuration/jc:groups { + uses services-group; + } + grouping services-group { + container services { + description "System services"; + uses apply-advanced; + container analytics { + presence "enable analytics"; + description "Traffic analytics configuration options"; + uses apply-advanced; + container traceoptions { + description "Traffic analytics trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace configuration events"; + } + enum "configuration" { + description "Log configuration events"; + } + enum "rtsock" { + description "Trace rtsock message events"; + } + enum "client-server" { + description "Trace client-server events"; + } + enum "interface" { + description "Trace interface update events"; + } + enum "xmlproxy" { + description "Trace xmlproxy events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list export-profiles { + key name; + ordered-by user; + description "Mapping of export-profiles to collectors"; + leaf name { + description "Export profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf stream-format { + description "Streaming data format"; + default "gpb"; + type enumeration { + enum "gpb" { + description "Google protocol buffer format"; + } + enum "json" { + description "Java script object notation format"; + } + enum "csv" { + description "Comma separated value"; + } + enum "tsv" { + description "Tab separated value"; + } + } + } + container interface { + presence "enable interface"; + description "Interface specific information"; + uses apply-advanced; + leaf information { + description "Enable streaming of interface information"; + type empty; + } + container statistics { + description "Type of statistics to stream"; + uses apply-advanced; + leaf traffic { + description "Enable streaming of interface traffic statistics"; + type empty; + } + leaf queue { + description "Enable streaming of interface queue statistics"; + type empty; + } + } + container status { + description "Type of statistics to stream"; + uses apply-advanced; + leaf link { + description "Enable streaming of interface link status"; + type empty; + } + leaf traffic { + description "Enable streaming of interface traffic status"; + type empty; + } + leaf queue { + description "Enable streaming of interface queue status"; + type empty; + } + } + } + container system { + presence "enable system"; + description "Interface specific information"; + uses apply-advanced; + leaf information { + description "Enable streaming of system information"; + type empty; + } + container status { + description "Type of statistics to stream"; + uses apply-advanced; + leaf traffic { + description "Enable streaming of system traffic status"; + type empty; + } + leaf queue { + description "Enable streaming of system queue status"; + type empty; + } + } + } + } + list resource-profiles { + key name; + ordered-by user; + description "Mapping of resource profiles to interfaces/queues/system"; + leaf name { + description "Export profile name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + choice queue-monitoring-choice { + leaf queue-monitoring { + description "Enable queue statistics monitoring"; + type empty; + } + leaf no-queue-monitoring { + description "Don't enable queue statistics monitoring"; + type empty; + } + } + choice traffic-monitoring-choice { + leaf traffic-monitoring { + description "Enable traffic statistics monitoring"; + type empty; + } + leaf no-traffic-monitoring { + description "Don't enable traffic statistics monitoring"; + type empty; + } + } + container depth-threshold { + description "Depth threshold configuration"; + leaf high { + description "High queue depth threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1250000000"; + } + } + } + leaf low { + description "Low queue depth threshold"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1250000000"; + } + } + } + } + container latency-threshold { + description "Latency threshold configuration"; + leaf high { + description "High latency threshold"; + units "nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100000000"; + } + } + } + leaf low { + description "Low latency threshold"; + units "nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100000000"; + } + } + } + } + } + container resource { + presence "enable resource"; + uses apply-advanced; + container system { + description "System configuration options"; + uses apply-advanced; + leaf resource-profile { + description "Resouce profile name"; + type string { + length "1 .. 64"; + } + } + container polling-interval { + description "Polling interval"; + uses apply-advanced; + leaf traffic-monitoring { + description "Traffic statistics polling interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + leaf queue-monitoring { + description "Queue statistics polling interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + } + container interfaces { + description "Interface configuration options"; + uses apply-advanced; + list interface { + key name; + uses interface_type; + } + } + } + container collector { + description "Remote streaming servers configuration options"; + uses apply-advanced; + container local { + description "Remote streaming servers configuration options"; + uses apply-advanced; + container file { + description "Log file information"; + leaf filename { + description "Name of file in which to write log information"; + type jt:filename; + } + leaf size { + description "Maximum log file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + } + list address { + key name; + description "IP address of remote server"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + list port { + key name; + description "Remote streaming server port number"; + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + list transport { + key name; + description "Transport protocol"; + leaf name { + type enumeration { + enum "tcp" { + description "Transmission control protocol"; + } + enum "udp" { + description "User datagram protocol"; + } + } + } + uses apply-advanced; + leaf export-profile { + description "Export profile name"; + type string { + length "1 .. 64"; + } + } + } + } + } + } + container traffic-statistics { + description "Traffic statistics configuration options"; + status deprecated; + uses apply-advanced; + container file { + description "Log file information"; + leaf filename { + description "Name of file in which to write log information"; + type jt:filename; + } + leaf size { + description "Maximum log file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + leaf interval { + description "Traffic statistics polling interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 300"; + } + } + } + } + container queue-statistics { + description "Microburst statistics configuration options"; + status deprecated; + uses apply-advanced; + container file { + description "Log file information"; + leaf filename { + description "Name of file in which to write log information"; + type jt:filename; + } + leaf size { + description "Maximum log file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + leaf interval { + description "Queue statistics polling interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + container interfaces { + description "Interface configuration options"; + status deprecated; + uses apply-advanced; + list interface { + key name; + uses interface_type; + } + } + container streaming-servers { + description "Remote streaming servers configuration options"; + status deprecated; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP address of remote server"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + list port { + key name; + description "Remote streaming server port number"; + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf stream-format { + description "Streaming data format"; + type enumeration { + enum "json" { + description "Javascript object notation"; + } + enum "csv" { + description "Comma separated value"; + } + enum "tsv" { + description "Tab separated value"; + } + } + } + list stream-type { + key name; + description "Type of statistics to stream"; + leaf name { + type enumeration { + enum "traffic-statistics" { + description "Enable streaming of traffic statistics"; + } + enum "queue-statistics" { + description "Enable streaming of queue statistics"; + } + } + } + uses apply-advanced; + } + } + } + } + list streaming-server { + key name; + ordered-by user; + description "Define Telemetry data servers"; + leaf name { + description "Telemetry App server Name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf remote-address { + description "Telemetry server IP address"; + type jt:ipv4addr; + } + leaf remote-port { + description "Telemetry server Port"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf transport { + description "Telemetry export transport protocol"; + type enumeration { + enum "udp" { + description "Use UDP transport protocol"; + } + enum "grpc" { + description "Use grpc transport"; + } + } + } + } + list export-profile { + key name; + ordered-by user; + description "Telemetry export profile name"; + leaf name { + description "Telemetry export profile name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf local-address { + description "Source address for exported packets"; + type jt:ipv4addr; + } + leaf local-port { + description "Source port for exported packets"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf dscp { + description "DSCP value for exported packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "0 .. 63"; + } + } + } + leaf forwarding-class { + description "Forwarding-class for exported packets, applicable only for PFE sensors"; + type string { + length "1 .. 64"; + } + } + leaf reporting-rate { + description "Telemetry interval in seconds, max 24 hours"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + leaf payload-size { + description "Telemetry payload size"; + default "5000"; + units "bytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1400 .. 9192"; + } + } + } + leaf format { + description "Telemetry export record format"; + type enumeration { + enum "gpb" { + description "Use gpb format"; + } + enum "gpb-sdm" { + description "Use gpb self-describing-message format"; + } + enum "gpb-gnmi" { + description "Use gnmi format for gpb messages"; + } + } + } + leaf transport { + description "Telemetry export transport protocol"; + type enumeration { + enum "udp" { + description "Use UDP transport protocol"; + } + } + } + } + list sensor { + key name; + ordered-by user; + description "Define Telemetry sensors"; + leaf name { + description "Name of the sensor"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + leaf-list server-name { + ordered-by user; + description "Define Telemetry server "; + type string { + length "1 .. 128"; + } + } + leaf export-name { + description "Define Telemetry export profiles"; + type string { + length "1 .. 128"; + } + } + leaf polling-interval { + description "Define sensor polling interval in nano secs (1 .. 4294967295)"; + status deprecated; + units "nanoseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf resource { + description "System resource identifier string"; + type string { + length "1 .. 255"; + } + } + leaf resource-filter { + description "Regexp for filtering resource instances (1 .. 1024)"; + type string { + length "1 .. 1024"; + } + } + leaf subscription-id { + description "Subscription ID (Used internally to group sensors)"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf suppress-zeros { + description "Supress zeros while data export"; + type empty; + } + leaf reporting-rate { + description "Telemetry interval in seconds, max 24 hours"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + leaf-list end-of-sync-identifiers { + ordered-by user; + description "Set of end-of-syncs for this sensor"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 64"; + } + } + } + leaf target-defined { + description "Allow target to decide periodic, on-change or mix"; + type empty; + } + leaf life-time { + description "Denotes sensor life-time"; + type enumeration { + enum "long-lived" { + description "A long-lived susbcription"; + } + enum "one-off" { + description "An one-off subscription"; + } + } + } + } + container agent { + description "Configure analytics agent"; + uses apply-advanced; + list service-agents { + key name; + ordered-by user; + description "Analytics service agent configuration"; + leaf name { + description "Analytics service agent name"; + type string; + } + uses apply-advanced; + container inputs { + description "List of input plugins"; + uses apply-advanced; + container analytics { + presence "enable analytics"; + description "Junos Telemetry plugin"; + uses apply-advanced; + container parameters { + presence "enable parameters"; + description "List of key:value parameters for plugin"; + uses apply-advanced; + container sample-frequency { + presence "enable sample-frequency"; + description "Interval for sensor data"; + uses apply-advanced; + leaf value { + description "Parameter value"; + type string; + } + } + container sensors { + presence "enable sensors"; + description "Space seprated list of sensor paths"; + uses apply-advanced; + leaf value { + description "Parameter value"; + type string { + length "1 .. 2048"; + } + } + } + container generate-tags { + presence "enable generate-tags"; + description "Enable generation of tags"; + uses apply-advanced; + leaf value { + description "Parameter value"; + default "false"; + type string; + } + } + } + } + } + list outputs { + key name; + ordered-by user; + description "List of output plugins"; + max-elements 1; + uses output-plugin; + } + } + container traceoptions { + presence "enable traceoptions"; + uses apply-advanced; + leaf flag { + description "Set log level for tracing"; + type enumeration { + enum "trace" { + description "Log level TRACE, will trace everything"; + } + enum "debug" { + description "Log level DEBUG, will trace debug messages"; + } + enum "info" { + description "Log level INFO"; + } + enum "error" { + description "Log level ERROR, will trace all error messages"; + } + } + } + leaf filename { + description "Configure filename for trace messages"; + default "ntf-agent.log"; + type string; + } + } + } + } + container jinsightd { + presence "enable jinsightd"; + description "Health Monitoring services"; + uses apply-advanced; + container traceoptions { + description "Jinsight trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all events"; + } + enum "rule-engine" { + description "Log configuration rule engine"; + } + enum "core" { + description "Trace core message events"; + } + enum "database" { + description "Trace database events"; + } + enum "timer" { + description "Trace timer events"; + } + } + } + } + } + } + container flow-tap { + description "Configure flow-tap parameters"; + uses apply-advanced; + container family { + description "Address family of packets to tap"; + uses apply-advanced; + leaf inet { + description "IPv4 family"; + type empty; + } + leaf inet6 { + description "IPv4 family"; + type empty; + } + leaf ccc { + description "CCC family"; + type empty; + } + } + leaf interface { + description "Service interface on which to configure flow-tap service"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf tunnel-interface { + description "Tunnel interface through which flow-tap would communicate with MD"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container radius-flow-tap { + description "Configure radius triggered flow-tap parameters"; + uses apply-advanced; + leaf forwarding-class { + description "Forwarding class assigned to intercepted packets"; + type string { + } + } + leaf source-ipv4-address { + description "IP Address to use as source address in IPv4 header appended to intercepted packets"; + type jt:ipv4addr; + } + leaf multicast-interception { + description "Enable Multicast Tapping"; + type empty; + } + container interfaces { + description "Tunnel Interfaces"; + uses apply-advanced; + list tunnel-interface { + key name; + uses tunnel_interface_type; + } + } + choice ri_or_ls { + case case_1 { + leaf routing-instance { + description "Routing instance to be used for radius flow tap"; + type string; + } + } + case case_2 { + list logical-system { + key name; + ordered-by user; + description "Logical system to be used for radius flow tap"; + max-elements 1; + leaf name { + description "Logical system name"; + type string; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance to be used for radius flow tap"; + type string; + } + } + } + } + list policy { + key name; + ordered-by user; + description "Policy"; + leaf name { + description "Policy Name"; + type string { + } + } + uses apply-advanced; + container inet { + description "Protocol family IPv4 drop policy terms"; + uses apply-advanced; + list drop-policy { + key name; + ordered-by user; + description "Define an IPv4 drop policy"; + uses drop-policy-term; + } + } + container inet6 { + description "Protocol family IPv6 drop policy terms"; + uses apply-advanced; + list drop-policy { + key name; + ordered-by user; + description "Define an IPv6 drop policy"; + uses drop-policy6-term; + } + } + } + container snmp { + description "SNMP options for radius flow tap"; + uses apply-advanced; + list notify-targets { + key name; + ordered-by user; + description "Target list for packet mirror SNMP notifications"; + leaf name { + description "Target IP address"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + container flow-monitoring { + presence "enable flow-monitoring"; + description "Configure flow monitoring"; + uses apply-advanced; + container version9 { + description "Version 9 configuration"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "One or more version 9 templates"; + max-elements 10; + uses version9-template; + } + } + container version-ipfix { + description "Version IP-Fix configuration"; + uses apply-advanced; + list template { + key name; + ordered-by user; + description "One or more version ip-fix templates"; + max-elements 10; + uses version-ipfix-template; + } + } + } + container jdaf { + description "Juniper distributed application framework (JDAF)"; + uses apply-advanced; + leaf-list routing-instances { + ordered-by user; + description "List of routing-instance name for JDAF clients"; + type string { + length "1 .. 128"; + } + } + } + container rpm { + presence "enable rpm"; + description "Real-time performance monitoring"; + uses apply-advanced; + container traceoptions { + description "RMOPD trace options"; + uses rmopd-traceoptions; + } + container bgp { + description "BGP options for real-time performance monitoring"; + uses apply-advanced; + leaf probe-type { + description "RPM-BGP probe request type"; + default "icmp-ping"; + type enumeration { + enum "icmp-ping" { + description "Send ICMP echo request to target address"; + } + enum "icmp-ping-timestamp" { + description "Send ICMP timestamp request to target address"; + } + enum "icmp6-ping" { + description "Send ICMP6 echo request to target address"; + } + enum "tcp-ping" { + description "Send TCP packets to target"; + } + enum "udp-ping" { + description "Send UDP packets to target"; + } + enum "udp-ping-timestamp" { + description "Send UDP packets with timestamp to target"; + } + } + } + leaf probe-count { + description "Total number of probes per test"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf probe-interval { + description "Delay between probes"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf test-interval { + description "Delay between tests"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + leaf destination-port { + description "TCP/UDP port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "7 .. 65535"; + } + } + } + leaf history-size { + description "Number of stored history entries"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf moving-average-size { + description "Number of samples used for moving average"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + leaf data-size { + description "Size of the data portion of the probes"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65400"; + } + } + } + leaf data-fill { + description "Define contents of the data portion of the probes"; + type string { + length "1 .. 2048"; + } + } + leaf ttl { + description "Time to Live (hop-limit) value for an RPM IPv4(IPv6) packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + list logical-system { + key name; + description "Logical systems"; + uses bgp-logical-system; + } + list routing-instances { + key name; + description "Routing instances"; + uses bgp-routing-instances; + } + } + list probe { + key name; + ordered-by user; + description "TCP/UDP/ICMP ping"; + leaf name { + description "Name of owner"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf delegate-probes { + description "Offload real-time performance monitoring probes to MS-MIC/MS-MPC card"; + type empty; + } + list test { + key name; + ordered-by user; + description "TCP/UDP/ICMP/ICMP6 ping test"; + leaf name { + description "Name of test"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container rpm-scale { + presence "enable rpm-scale"; + description "Configuring real-time performance monitoring scale tests"; + uses apply-advanced; + leaf tests-count { + description "Number of probe-tests generated using scale config"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + choice target-type { + case case_1 { + container target { + presence "enable target"; + description "Target address generation for scale test config"; + uses apply-advanced; + leaf address-base { + description "Base address of target host in a.b.c.d format"; + type jt:ipv4addr; + } + leaf step { + description "Steps to increment target address in a.b.c.d format"; + type jt:ipv4addr; + } + leaf count { + description "Target address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + case case_2 { + container target-inet6 { + presence "enable target-inet6"; + description "IPv6 target address generation for scale test config"; + uses apply-advanced; + leaf address-base { + description "Base address of target host in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf step { + description "Steps to increment target address in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf count { + description "Target address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + } + choice source-type { + case case_1 { + container source { + presence "enable source"; + description "Source address generation in scale tests"; + uses apply-advanced; + leaf address-base { + description "Base address of host in a.b.c.d format"; + type jt:ipv4addr; + } + leaf step { + description "Steps to increment src address in a.b.c.d format"; + type jt:ipv4addr; + } + leaf count { + description "Source-address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + case case_2 { + container source-inet6 { + presence "enable source-inet6"; + description "IPv6 source address generation in scale tests"; + uses apply-advanced; + leaf address-base { + description "Base address of host in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf step { + description "Steps to increment src address in a:b:c:d:e:f:g:h format"; + type jt:ipv6addr; + } + leaf count { + description "Source-address count"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + } + container destination { + presence "enable destination"; + description "Name of output interface for probes"; + uses apply-advanced; + leaf interface { + description "Base destination interface for scale test"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf subunit-cnt { + description "Subunit count for destination interface for scale test"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + } + } + leaf probe-type { + description "Probe request type"; + default "icmp-ping"; + type enumeration { + enum "http-get" { + description "Perform HTTP Get request at target URL"; + } + enum "http-metadata-get" { + description "Perform HTTP Get request of metadata at target URL"; + } + enum "icmp-ping" { + description "Send ICMP echo request to target address"; + } + enum "icmp-ping-timestamp" { + description "Send ICMP timestamp request to target address"; + } + enum "icmp6-ping" { + description "Send ICMP6 echo request to target address"; + } + enum "tcp-ping" { + description "Send TCP packets to target"; + } + enum "udp-ping" { + description "Send UDP packets to target"; + } + enum "udp-ping-timestamp" { + description "Send UDP packets with timestamp to target"; + } + } + } + container target { + presence "enable target"; + description "Target destination for probe"; + choice target-type { + case case_1 { + leaf address { + description "Address of target host"; + type jt:ipv4addr; + } + } + case case_2 { + leaf inet6-address { + description "Inet6 Address of target host"; + type jt:ipv6addr; + } + } + case case_3 { + leaf url { + description "Fully formed target URL"; + type string; + } + } + case case_4 { + leaf inet6-url { + description "Fully formed target IPV6 URL"; + type string; + } + } + } + } + container inet6-options { + presence "enable inet6-options"; + description "IPV6 related options"; + uses apply-advanced; + leaf source-address { + description "Inet6 Source Address of the probe"; + type jt:ipv6addr; + } + } + leaf probe-count { + description "Total number of probes per test"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf probe-interval { + description "Delay between probes"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf test-interval { + description "Delay between tests"; + default "1"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 86400"; + } + } + } + leaf destination-port { + description "TCP/UDP port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "7 .. 65535"; + } + } + } + leaf source-address { + description "Source address for probe"; + type jt:ipv4addr; + } + leaf routing-instance { + description "Routing instance used by probes"; + type string { + } + } + leaf history-size { + description "Number of stored history entries"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + leaf moving-average-size { + description "Number of samples used for moving average"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1024"; + } + } + } + leaf dscp-code-points { + description "Differentiated Services code point bits or alias"; + default "000000"; + type string { + } + } + leaf data-size { + description "Size of the data portion of the probes"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65400"; + } + } + } + leaf data-fill { + description "Define contents of the data portion of the probes"; + type string { + length "1 .. 2048"; + } + } + leaf ttl { + description "Time to Live (hop-limit) value for an RPM IPv4(IPv6) packet"; + default "64"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 254"; + } + } + } + container thresholds { + presence "enable thresholds"; + description "Probe and test threshold values. Set 0 to disable respective threshold"; + uses apply-advanced; + leaf successive-loss { + description "Successive probe loss count indicating probe failure"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf total-loss { + description "Total probe loss count indicating test failure"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 15"; + } + } + } + leaf rtt { + description "Maximum round trip time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-rtt { + description "Maximum jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-rtt { + description "Maximum standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf egress-time { + description "Maximum source to destination time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf ingress-time { + description "Maximum destination to source time per probe"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-ingress { + description "Maximum destination to source jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf jitter-egress { + description "Maximum source to destination jitter per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-ingress { + description "Maximum destination to source standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + leaf std-dev-egress { + description "Maximum source to destination standard deviation per test"; + default "0"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60000000"; + } + } + } + } + leaf-list traps { + ordered-by user; + description "Trap to send if threshold is met or exceeded"; + type enumeration { + enum "probe-failure" { + description "Successive probe loss threshold reached"; + } + enum "test-failure" { + description "Total probe loss threshold reached"; + } + enum "test-completion" { + description "Test completed"; + } + enum "rtt-exceeded" { + description "Exceeded maximum round trip time threshold"; + } + enum "std-dev-exceeded" { + description "Exceeded round trip time standard deviation threshold"; + } + enum "jitter-exceeded" { + description "Exceeded jitter in round trip time threshold"; + } + enum "ingress-time-exceeded" { + description "Exceeded maximum ingress time threshold"; + } + enum "ingress-std-dev-exceeded" { + description "Exceeded ingress time standard deviation threshold"; + } + enum "ingress-jitter-exceeded" { + description "Exceeded jitter in ingress time threshold"; + } + enum "egress-time-exceeded" { + description "Exceeded maximum egress time threshold"; + } + enum "egress-std-dev-exceeded" { + description "Exceeded egress time standard deviation threshold"; + } + enum "egress-jitter-exceeded" { + description "Exceeded jitter in egress time threshold"; + } + } + } + leaf destination-interface { + description "Name of output interface for probes"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf one-way-hardware-timestamp { + description "Enable hardware timestamps for one-way measurements"; + type empty; + } + leaf next-hop { + description "Next-hop to which probe should be sent"; + type jt:ipv4addr; + } + } + } + container probe-server { + description "ICMP/TCP/UDP probe server"; + uses apply-advanced; + container tcp { + description "TCP probe server"; + uses apply-advanced; + leaf port { + description "Port number 7 through 65535"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container udp { + description "UDP probe server"; + uses apply-advanced; + leaf port { + description "Port number 7 through 65535"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + leaf probe-limit { + description "Maximum number of concurrent probes allowed"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500"; + } + } + } + } + container app-engine { + description "App-engine"; + uses apply-advanced; + container security { + presence "enable security"; + description "Enable app-engine security"; + } + container monitor-cpu { + description "Monitor node CPU usage"; + uses monitor-threshold; + } + container monitor-memory { + description "Monitor node memory usage"; + uses monitor-threshold; + } + container monitor-storage { + description "Monitor storage usage"; + uses monitor-threshold; + } + leaf default-compute-node-package { + description "Default JunosV App Engine package for appliance"; + type string; + } + list compute-cluster { + key name; + ordered-by user; + description "Configure compute cluster"; + leaf name { + description "Compute cluster name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + container local-management { + description "Management address connected to compute cluster"; + uses apply-advanced; + list routing-instance { + key routing-instance-name; + ordered-by user; + description "Packets are restriction to specified routing instance"; + max-elements 1; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + container monitor-cpu { + description "Monitor node CPU usage"; + uses monitor-threshold; + } + container monitor-memory { + description "Monitor node memory usage"; + uses monitor-threshold; + } + container monitor-storage { + description "Monitor storage usage"; + uses monitor-threshold; + } + list compute-node { + key name; + ordered-by user; + description "Compute node name"; + max-elements 1; + leaf name { + description "Compute node name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + container monitor-cpu { + description "Monitor node CPU usage"; + uses monitor-threshold; + } + container monitor-memory { + description "Monitor node memory usage"; + uses monitor-threshold; + } + container monitor-storage { + description "Monitor storage usage"; + uses monitor-threshold; + } + choice compute-node-identifier { + case case_1 { + leaf mac-address { + description "MAC address of the network boot interface"; + type jt:mac-addr; + } + } + case case_2 { + } + case case_3 { + leaf hypervisor { + description "Compute node is hypervisor"; + type empty; + } + } + } + leaf package { + description "JunosV App Engine package"; + type string; + } + container routing-options { + description "Route configuration for compute node"; + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string { + length "1 .. 10"; + } + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + } + } + container interfaces { + description "Network interfaces configuration"; + uses apply-advanced; + list ethernet { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + description "Interface name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf management { + description "Use this as management interface"; + type empty; + } + container family { + description "Protocol family"; + uses family; + } + leaf enable-passthrough { + description "Enable passthrough on this interface"; + type empty; + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + container ether-options { + uses apply-advanced; + choice agg-intf { + case case_1 { + leaf ieee-802-3ad { + description "Aggregated interface name"; + type string { + length "1 .. 15"; + } + } + } + } + } + } + list bridge { + key name; + ordered-by user; + description "Bridge configuration"; + leaf name { + description "Bridge name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf management { + description "Use this as management bridge"; + type empty; + } + container family { + description "Protocol family"; + uses family; + } + leaf-list interface { + ordered-by user; + description "Bridge interface list"; + type string { + length "1 .. 15"; + } + max-elements 4; + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + } + list aggregate { + key name; + ordered-by user; + description "Aggregate interface configuration"; + leaf name { + description "Aggregated interface name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf management { + description "Use this as management aggregate"; + type empty; + } + container family { + description "Protocol family"; + uses family; + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + container aggregated-ether-options { + presence "enable aggregated-ether-options"; + description "Link aggregation parameters"; + uses apply-advanced; + leaf hash-policy { + default "layer-3-and-4"; + type enumeration { + enum "layer-2" { + description "Uses mac address of both source and destination for hashing"; + } + enum "layer-3-and-4" { + description "Uses port number and IP address of both source and destination for hashing"; + } + enum "layer-2-and-3" { + description "Uses mac and IP address of both source and destination for hashing"; + } + } + } + leaf miimon { + description "Link monitoring interval in milli-second"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + list syslog { + key name; + ordered-by user; + description "System logging facility"; + leaf name { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "privileged" { + description "Privileged authorization events"; + } + enum "cron" { + description "Cron daemon"; + } + enum "daemon" { + description "Various system processes"; + } + enum "kernel" { + description "Kernel"; + } + enum "syslog" { + description "Syslog messages"; + } + enum "user" { + description "User processes"; + } + enum "uucp" { + description "UUCP system"; + } + enum "local0" { + description "Local 0 messages"; + } + enum "local1" { + description "Local 1 messages"; + } + enum "local2" { + description "Local 2 messages"; + } + enum "local3" { + description "Local 3 messages"; + } + enum "local4" { + description "Local 4 messages"; + } + enum "local5" { + description "Local 5 messages"; + } + enum "local6" { + description "Local 6 messages"; + } + enum "local7" { + description "Local 7 messages"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf debug { + description "Debug messages"; + type empty; + } + } + } + } + } + } + container virtual-machines { + description "Virtual-machine management"; + uses apply-advanced; + list instance { + key name; + ordered-by user; + description "Virtual-machine instance"; + leaf name { + description "Virtual-machine instance identifier"; + type string { + length "1 .. 39"; + } + } + uses apply-advanced; + leaf cpu { + description "Units of CPUs (default 1 cpu)"; + default "1"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf memory { + description "Memory for the virtual-machine (default 1 gigabytes)"; + default "1"; + units "gigabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 32"; + } + } + } + leaf management-interface { + description "Virtual-machine management interface name"; + type string { + length "1 .. 31"; + } + } + leaf package { + description "Virtual-machine package"; + type string { + length "1 .. 120"; + } + } + container local-management { + description "Management address connected to virtual machine"; + uses apply-advanced; + list routing-instance { + key routing-instance-name; + ordered-by user; + description "Packets are restriction to specified routing instance"; + max-elements 1; + leaf routing-instance-name { + description "Name of routing instance"; + type string { + } + } + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + container family { + description "Protocol family"; + container inet { + description "IPv4 parameters"; + uses apply-advanced; + leaf address { + description "Interface address"; + type jt:ipv4addr; + } + } + } + } + list compute-cluster { + key name; + ordered-by user; + description "Compute cluster on which the virtual-machine runs"; + max-elements 1; + leaf name { + description "Compute cluster name"; + type string { + length "1 .. 15"; + } + } + uses apply-advanced; + leaf compute-node { + description "Compute node on which the virtual-machine runs"; + type string { + length "1 .. 15"; + } + } + } + list interface { + key name; + ordered-by user; + description "Virtual-machine interface configuration"; + leaf name { + description "Virtual-machine interface name"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + leaf hw-model { + description "Interface hardware model"; + default "e1000g"; + type enumeration { + enum "e1000g" { + description "Gigabit Ethernet e1000g driver"; + } + enum "virtio" { + description "Para-virtualizing the interface"; + } + } + } + leaf host-interface { + description "Passthrough host interface for virtual-machine"; + type string { + length "1 .. 15"; + } + } + leaf bridge { + description "Bridge that the interface connected to"; + type string { + length "1 .. 15"; + } + } + leaf mtu { + description "Maximum transmit packet size"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "256 .. 9192"; + } + } + } + container family { + description "Interface address family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf primary { + description "Primary address on the interface"; + type empty; + } + } + } + } + } + container routing-options { + description "Route configuration for virutal machine"; + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + list rib { + key name; + ordered-by user; + description "Routing table options"; + leaf name { + description "Routing table name"; + type string { + length "1 .. 10"; + } + } + uses apply-advanced; + container static { + description "Static routes"; + uses apply-advanced; + list route { + key name; + ordered-by user; + description "Static route"; + leaf name { + description "Destination IP address or prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf next-hop { + description "Next hop to destination"; + type jt:ipv4addr; + } + } + } + } + } + list secondary-disk { + key name; + ordered-by user; + description "Virtual-machine disk"; + leaf name { + description "Virtual-machine disk name"; + type enumeration { + enum "hdb" { + description "Disk name is hdb"; + } + enum "hdc" { + description "Disk name is hdc"; + } + enum "hdd" { + description "Disk name is hdd"; + } + } + } + leaf size { + description "Virtual-machine secondary disk size"; + units "gigabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 160"; + } + } + } + } + } + } + } + container captive-portal { + description "Captive Portal options"; + uses juniper-services-captive-portal; + } + container application-identification { + presence "enable application-identification"; + description "Application identification configuration"; + uses apply-advanced; + leaf enable-heuristics { + description "Enable heuristic application identification"; + status deprecated; + type empty; + } + container enable-performance-mode { + presence "enable enable-performance-mode"; + description "Enable performance mode knobs for best DPI performance"; + uses apply-advanced; + leaf max-packet-threshold { + description "Max packet inspection threshold including both c2s ans s2c direction packets. Default value is 2 if not configured"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf imap-cache-timeout { + description "IMAP cache entry timeout in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf imap-cache-size { + description "IMAP cache size, it will be effective only after next appid sigpack install"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 512000"; + } + } + } + container download { + uses apply-advanced; + leaf url { + description "URL for application package download"; + type string { + } + } + leaf ignore-server-validation { + description "Disable server authentication for Applicaton Signature download"; + type empty; + } + container automatic { + description "Scheduled download and update"; + uses apply-advanced; + leaf start-time { + description "Start time(MM-DD.hh:mm)"; + type string { + } + } + leaf interval { + description "Attempt to download new application package"; + default "24"; + units "hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "6 .. 720"; + } + } + } + } + } + container statistics { + description "Configure application statistics information"; + leaf interval { + description "Application statistics collection interval"; + default "1"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + } + container nested-application-settings { + presence "enable nested-application-settings"; + description "Nested application settings"; + status deprecated; + uses apply-advanced; + leaf no-nested-application { + description "Disable nested application identification"; + type empty; + } + leaf no-application-system-cache { + description "Not to save nested AI match in application system cache"; + type empty; + } + } + leaf no-application-identification { + description "Disable all application identification methods"; + status deprecated; + type empty; + } + leaf no-application-system-cache { + description "Disable storing AI result in application system cache"; + type empty; + } + leaf max-sessions { + description "Max sessions that can run AI at the same time"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 500000"; + } + } + } + leaf application-system-cache-timeout { + description "Application system cache entry lifetime"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000000"; + } + } + } + container application-system-cache { + presence "enable application-system-cache"; + description "Enable or Disable application system cache"; + uses apply-advanced; + leaf security-services { + description "Enable ASC for security services (appfw, appqos, idp, skyatp..)"; + type empty; + } + leaf no-miscellaneous-services { + description "Disable ASC for miscellaneous services APBR,..."; + type empty; + } + } + leaf max-transactions { + description "Number of transaction finals to terminate application classification"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 25"; + } + } + } + leaf max-checked-bytes { + description "Inspect the maximal number of bytes"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + list application { + key name; + description "Configure application definition"; + leaf name { + description "A unique application identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf index { + description "Custom index (32768..65534). Application index"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf disable { + description "Disable this application definition in AI"; + status deprecated; + type empty; + } + leaf cacheable { + description "Cacheable"; + type empty; + } + leaf description { + description "Text description of application"; + type string { + } + } + leaf priority { + description "Application matching priority"; + default "high"; + type enumeration { + enum "high" { + description "Highest priority over all other signatures"; + } + enum "low" { + description "Lowest priority over all other signatures"; + } + } + } + leaf order { + description "The order value, lower the value higher the priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 50000"; + } + } + } + leaf maximum-transactions { + description "Maximum number of transactions matched by AI"; + status deprecated; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + container icmp-mapping { + description "Match ICMP message"; + uses apply-advanced; + leaf type { + description "Numeric type value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 254"; + } + } + } + leaf code { + description "Numeric code value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 254"; + } + } + } + } + container ip-protocol-mapping { + description "Match IP protocol"; + uses apply-advanced; + leaf protocol { + description "Numeric protocol value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 254"; + } + } + } + } + list address-mapping { + key name; + ordered-by user; + description "Match IP address"; + leaf name { + description "Address name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container filter { + description "Match IP/port"; + uses apply-advanced; + leaf ip { + description "IP address and prefix-length"; + type jt:ipprefix; + } + container port-range { + description "Port ranges"; + uses apply-advanced; + leaf-list tcp { + ordered-by user; + description "TCP port range"; + type string; + max-elements 20; + } + leaf-list udp { + ordered-by user; + description "UDP port range"; + type string; + max-elements 20; + } + } + } + } + list over { + key name; + description "Set of L4/L7 application that carries given application"; + max-elements 8; + leaf name { + description "A unique application and protocol identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list signature { + key name; + description "Application signature for pattern matching"; + leaf name { + description "A unique application signature identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list port-range { + ordered-by user; + description "Port range"; + type string; + max-elements 64; + } + list member { + key name; + description "Application signature member"; + leaf name { + description "Application signature member identifier in range m01 - m15"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf context { + description "Context to be matched on"; + type string; + } + leaf pattern { + description "DFA pattern matched on context"; + type string { + } + } + leaf direction { + description "Connection direction of the packets to apply pattern matching"; + type enumeration { + enum "client-to-server" { + description "Client to server"; + } + enum "server-to-client" { + description "Server to client"; + } + enum "any" { + description "Any direction"; + } + } + } + } + } + } + } + list nested-application { + key name; + description "Configure nested application definition"; + status deprecated; + leaf name { + description "A unique application identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf type { + description "Well-known application such as FACEBOOK and KAZZA"; + type string { + length "1 .. 63"; + } + } + leaf index { + description "Custom index (32768..65534). Application index"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65534"; + } + } + } + leaf protocol { + description "Name of layer 7 application that carries nested application"; + type string { + length "1 .. 63"; + } + } + list signature { + key name; + description "Nested application signature for pattern matching"; + leaf name { + description "A unique nested application signature identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list member { + key name; + description "Pattern matched on client-to-server packets"; + leaf name { + description "A unique nested application signature member identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf context { + description "Context to be matched on"; + type enumeration { + enum "http-url-parsed" { + description "The decoded, normalized URL in an HTTP request"; + } + enum "http-url-parsed-param-parsed" { + description "The decoded, normalized URL in an HTTP request along with the decoded CGI parameters, if any"; + } + enum "http-header-host" { + description "Host: header in an HTTP request"; + } + enum "http-header-location" { + description "Location: header in an HTTP transaction"; + } + enum "http-header-content-type" { + description "Content-Type: header in an HTTP transaction"; + } + enum "http-get-url-parsed-param-parsed" { + description "The decoded, normalized GET URL in an HTTP request along with the decoded CGI parameters, if any"; + } + enum "http-post-url-parsed-param-parsed" { + description "The decoded, normalized POST URL in an HTTP request along with the decoded CGI parameters, if any"; + } + enum "http-header-cookie" { + description "Cookie: header in an HTTP transaction"; + } + enum "http-header-user-agent" { + description "User-agent: header in an HTTP transaction"; + } + enum "http-post-variable-parsed" { + description "The decoded POST url or form data variables"; + } + enum "ssl-server-name" { + description "Server name in TLS server name extension or SSL server certificate"; + } + enum "stream" { + description "TCP stream data"; + } + } + } + leaf pattern { + description "Pattern matched on context"; + type string; + } + leaf direction { + description "Connection direction of the packets to apply pattern matching"; + type enumeration { + enum "client-to-server" { + description "Client to server"; + } + enum "server-to-client" { + description "Server to client"; + } + enum "any" { + description "Any direction"; + } + } + } + leaf check-bytes { + description "Maximum number of bytes to check for stream context "; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 5000"; + } + } + } + } + leaf chain-order { + description "The order of members is used to match the pattern"; + type empty; + } + leaf maximum-transactions { + description "Maximum number of transactions matched by AI"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf order { + description "Application matching priority"; + status deprecated; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + container insert-before { + description "Insert before another signature"; + uses apply-advanced; + leaf insert-before-name { + description "An application name"; + type string; + } + } + } + } + list application-group { + key name; + description "Define application group"; + leaf name { + description "A unique application group identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list application-groups { + key name; + description "Configure child application group(s)"; + leaf name { + description "Name of the child application group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + list applications { + key name; + description "Configure applications that belong to this application group"; + leaf name { + description "Configure application name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + leaf disable { + description "Disable this application group definition in AI"; + status deprecated; + type empty; + } + } + container traceoptions { + description "Trace options for application identification"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Events and other information to include in trace output"; + leaf name { + description "Flag name to include in trace output"; + type enumeration { + enum "all" { + description "All events"; + } + } + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + } + } + container ssl { + description "Configuration for Secure Socket Layer support service"; + uses apply-advanced; + container traceoptions { + description "Trace options for Secure Socket Layer support service"; + uses ssl-traceoptions; + } + container termination { + description "Configuration for Secure Socket Layer termination support service"; + uses ssl-termination-config; + } + container initiation { + description "Configuration for Secure Socket Layer initiation support service"; + uses ssl-initiation-config; + } + container proxy { + description "Configuration for Secure Socket Layer proxy support service"; + uses ssl-proxy-config; + } + } + container nat { + description "Configure Network Address Translation"; + uses nat-object; + } + container pcp { + description "Configure Port Control Protocol"; + uses apply-advanced; + list server { + key name; + ordered-by user; + description "Define a PCP server"; + uses pcp-server-object; + } + list rule { + key name; + ordered-by user; + description "Define a PCP rule"; + uses pcp-rule-object; + } + list rule-set { + key name; + ordered-by user; + description "Defines a set of PCP rules"; + max-elements 16960; + leaf name { + description "Name of the rule set"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list rule { + key name; + ordered-by user; + description "Rule to be included in this rule set"; + max-elements 16960; + leaf name { + description "Rule name"; + type string { + } + } + uses apply-advanced; + } + } + } + container service-interface-pools { + description "Configure service interface pools"; + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define service interface pool"; + uses service_interface_pool_object; + } + } + container hosted-services { + description "Configuration for services performed in the remote server"; + uses apply-advanced; + list client-profile { + key name; + ordered-by user; + description "Configure client profile"; + leaf name { + description "Client profile name"; + type string { + length "3 .. 32"; + } + } + uses apply-advanced; + leaf transport-type { + description "Transport type"; + type enumeration { + enum "GRE" { + description "GRE"; + } + enum "UDP" { + description "UDP"; + } + enum "TCP" { + description "TCP"; + } + } + } + leaf client-address { + description "Client address"; + type jt:ipv4addr; + } + leaf hosted-service-identifier { + description "Identifier for the service performed on the remote server"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 63"; + } + } + } + } + list server-profile { + key name; + ordered-by user; + description "Configure server profile"; + leaf name { + description "Server profile name"; + type string { + length "3 .. 32"; + } + } + uses apply-advanced; + leaf transport-type { + description "Transport type"; + type enumeration { + enum "GRE" { + description "GRE"; + } + enum "UDP" { + description "UDP"; + } + enum "TCP" { + description "TCP"; + } + } + } + leaf server-address { + description "Server address"; + type jt:ipv4addr; + } + leaf client-address { + description "Client address"; + type jt:ipv4addr; + } + leaf hosted-service-identifier { + description "Identifier for the service performed in the remote server"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 63"; + } + } + } + } + } + container jflow-log { + presence "enable jflow-log"; + description "Configure jflow-logging parameters for services"; + uses apply-advanced; + list collector { + key name; + ordered-by user; + description "Collector attributes"; + leaf name { + description "Profile name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf destination-address { + description "IPv4 Address or hostname of the collector"; + type string { + } + } + leaf destination-port { + description "Destination port of the collector"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf source-ip { + description "Source IPv4 Address from which logging is to be done"; + type jt:ipv4addr; + } + } + list collector-group { + key name; + ordered-by user; + leaf name { + description "Name of collector-group"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf-list collector { + ordered-by user; + description "List of Collector profiles"; + type string { + length "1 .. 63"; + } + max-elements 8; + } + } + list template-profile { + key name; + ordered-by user; + leaf name { + description "Specify name of the template"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf collector { + description "Specify a collector name"; + type string { + length "1 .. 63"; + } + } + leaf-list collector-group { + ordered-by user; + description "Specify a collector-group name"; + type string { + length "1 .. 63"; + } + max-elements 1; + } + leaf template-type { + description "Allow jflow-log for applications"; + type enumeration { + enum "nat" { + description "Enable jflow-logs for NAT events"; + } + } + } + leaf version { + description "Version of jflow-logging"; + type enumeration { + enum "v9" { + description "Version 9"; + } + enum "ipfix" { + description "Ipfix"; + } + } + } + container refresh-rate { + presence "enable refresh-rate"; + uses apply-advanced; + leaf packets { + description "Specify number of packets after which templates are sent to collector"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48000"; + } + } + } + leaf seconds { + description "Specify number of seconds after which templates are sent to collector"; + default "1800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 1800"; + } + } + } + } + } + } + container service-device-pools { + description "Configure service device pools"; + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "Define service device pool"; + uses service_device_pool_object; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping bgp-logical-system { + description "Logical systems configuration for rpm"; + leaf name { + description "Logical system name"; + type string { + } + } + uses apply-advanced; + list routing-instances { + key name; + description "Routing instances"; + uses bgp-routing-instances; + } + } + grouping bgp-routing-instances { + description "Routing-instance configuration for rpm"; + leaf name { + description "Routing instance name"; + type string; + } + uses apply-advanced; + } + grouping drop-policy-term { + description "One or more drop terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + container source-address { + description "Source IP Address"; + presence "enable source-address"; + uses li_policy_addr_simple_object; + } + container destination-address { + description "Destination IP Address"; + presence "enable destination-address"; + uses li_policy_addr_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match source port"; + uses match_li_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match destination port"; + uses match_li_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_li_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_li_simple_dscp_value; + } + } + } + } + } + grouping drop-policy6-term { + description "One or more drop terms"; + leaf name { + description "Term name"; + type string { + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses apply-advanced; + container source-address { + description "Source IPv6 Address or Prefix"; + presence "enable source-address"; + uses li_policy_addr6_simple_object; + } + container destination-address { + description "Destination IPv6 Address or Prefix"; + presence "enable destination-address"; + uses li_policy_addr6_simple_object; + } + choice source-port_choice { + case case_1 { + container source-port { + description "Match source port"; + uses match_li_simple_port_value; + } + } + } + choice destination-port_choice { + case case_1 { + container destination-port { + description "Match destination port"; + uses match_li_simple_port_value; + } + } + } + choice protocol_choice { + case case_1 { + container protocol { + description "Match IP protocol type"; + uses match_li_simple_protocol_value; + } + } + } + choice dscp_choice { + case case_1 { + container dscp { + description "Match Differentiated Services (DiffServ) code point"; + uses match_li_simple_dscp_value; + } + } + } + } + } + grouping family { + container inet { + description "IPv4 parameters"; + uses apply-advanced; + choice if-addr { + case case_1 { + leaf dhcp { + description "Enable DHCP on ethernet interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + } + } + } + } + grouping interface_type { + description "Physical interface"; + leaf name { + type string; + } + uses apply-advanced; + choice queue-statistics-choice { + leaf queue-statistics { + description "Enable queue statistics collection"; + status deprecated; + type empty; + } + leaf no-queue-statistics { + description "Don't enable queue statistics collection"; + status deprecated; + type empty; + } + } + choice traffic-statistics-choice { + leaf traffic-statistics { + description "Enable traffic statistics collection"; + status deprecated; + type empty; + } + leaf no-traffic-statistics { + description "Don't enable traffic statistics collection"; + status deprecated; + type empty; + } + } + leaf resource-profile { + description "Resouce profile name"; + type string { + length "1 .. 64"; + } + } + } + grouping juniper-services-captive-portal { + uses apply-advanced; + leaf authentication-profile-name { + description "Access profile name to use for authentication"; + type string { + length "1 .. 63"; + } + } + container traceoptions { + description "Trace options for CAPTIVE PORTAL"; + status deprecated; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "dot1x-debug" { + description "Trace dot1x events"; + } + enum "parse" { + description "Trace configuration parsing"; + } + enum "esw-if" { + description "Trace ESW Interactions"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "task" { + description "Trace task processing"; + } + enum "timer" { + description "Trace task timer processing"; + } + enum "all" { + description "Trace everything"; + } + enum "dot1x-ipc" { + description "Trace dot1x IPC interactions"; + } + enum "dot1x-event" { + description "Trace dot1x events"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + list interface { + key name; + description "Captive Portal interface specific options"; + leaf name { + type string; + } + uses apply-advanced; + leaf supplicant { + description "Set supplicant mode for this interface"; + type enumeration { + enum "single" { + description "Allow multiple clients; authenticate first client only"; + } + enum "single-secure" { + description "Allow and authenticate only a single client"; + } + enum "multiple" { + description "Allow multiple clients; authenticate each individually"; + } + } + } + leaf retries { + description "Number of retries after which port is placed into wait state"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf quiet-period { + description "Time to wait after an authentication failure"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + leaf server-timeout { + description "Authentication server timeout interval"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf session-expiry { + description "Session Expiry Timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf user-keepalive { + description "Session keepalive after mac-flush"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "7 .. 65535"; + } + } + } + } + leaf secure-authentication { + description "Set secure authentication using encrypted HTTPS or insecure authentication using plain-text HTTP"; + default "http"; + type enumeration { + enum "http" { + description "Insecure plain-text HTTP will be used for Captive Portal authentication, username and password can be sniffed"; + } + enum "https" { + description "Encrypted HTTPS will be used for Captive Portal authentication"; + } + } + } + container custom-options { + presence "enable custom-options"; + description "Captive Portal html user interface customization options"; + uses apply-advanced; + leaf header-logo { + description "Path to logo image file"; + type string { + length "1 .. 255"; + } + } + leaf header-bgcolor { + description "Background color of the html header in hex html format"; + type string { + length 7; + } + } + leaf header-text-color { + description "Text color of the html header in hex html format"; + type string { + length 7; + } + } + leaf header-message { + description "Message to be displayed in the html header"; + type string { + length "1 .. 2047"; + } + } + leaf banner-message { + description "Terms and Conditions of usage message"; + type string { + length "1 .. 2047"; + } + } + leaf form-header-message { + description "Message to be displayed in the login form header"; + type string { + length "1 .. 255"; + } + } + leaf form-header-bgcolor { + description "Background color of the login form header in hex html format"; + type string { + length 7; + } + } + leaf form-header-text-color { + description "Text color of the login form header in hex html format"; + type string { + length 7; + } + } + leaf form-submit-label { + description "Label to be displayed for the login form submit button"; + type string { + length "1 .. 255"; + } + } + leaf form-reset-label { + description "Label to be displayed for the login form reset button"; + type string { + length "1 .. 255"; + } + } + leaf footer-message { + description "Message to be displayed in the html footer"; + type string { + length "1 .. 2047"; + } + } + leaf footer-bgcolor { + description "Background color of the html footer in hex html format"; + type string { + length 7; + } + } + leaf footer-text-color { + description "Text color of the footer in hex html format"; + type string { + length 7; + } + } + leaf post-authentication-url { + description "Post authentication redirection URL"; + type string { + length "1 .. 255"; + } + } + } + } + grouping li_policy_addr6_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv6prefix; + } + } + grouping li_policy_addr_simple_object { + uses apply-advanced; + leaf address { + description "Prefix to match"; + type jt:ipv4prefix; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping match_li_simple_dscp_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_li_simple_port_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping match_li_simple_protocol_value { + uses apply-advanced; + leaf value_keyword { + type string; + } + } + grouping monitor-threshold { + leaf normal { + description "Usage under normal conditions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + leaf threshold { + description "Threshold upon which alarm is raised"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 100"; + } + } + } + } + grouping nat-object { + description "Configure Network Address Translation"; + uses apply-advanced; + list ipv6-multicast-interfaces { + key name; + ordered-by user; + description "Enable IPv6 multicast filter for IPv6 NAT"; + leaf name { + description "Interface name"; + type string; + } + uses apply-advanced; + leaf disable { + description "Disable IPv6 multicast filter for IPv6 NAT"; + type empty; + } + } + list port-forwarding { + key name; + ordered-by user; + description "Define a port-forwarding pool"; + uses pf_mapping; + } + } + grouping output-plugin { + leaf name { + description "Plugin name"; + type string; + } + uses apply-advanced; + list parameters { + key name; + ordered-by user; + description "List of key:value parameters for plugin"; + uses parameter-pair; + } + } + grouping parameter-pair { + leaf name { + description "Parameter key"; + type string; + } + uses apply-advanced; + leaf value { + description "Parameter value"; + type string; + } + } + grouping pcp-rule-object { + leaf name { + description "Rule name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf match-direction { + description "Define direction for which the rule match is applied"; + type enumeration { + enum "input" { + description "Match on input to interface"; + } + enum "output" { + description "Match on output from interface"; + } + } + } + list term { + key name; + ordered-by user; + description "Define a PCP term"; + leaf name { + description "Term name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + container from { + description "Define match criteria"; + uses sfw_match_object; + } + container then { + description "Action to take if the 'from' condition is matched"; + uses apply-advanced; + leaf pcp-server { + description "Define PCP server"; + type string { + length "1 .. 63"; + } + } + } + } + } + grouping pcp-server-object { + leaf name { + description "Name of PCP server"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf ipv4-address { + description "Configure IPv4 address for this PCP server"; + type jt:ipv4addr; + } + leaf ipv6-address { + description "Configure IPv6 address for this PCP server"; + type jt:ipv6addr; + } + leaf softwire-concentrator { + description "Softwire ds-lite concentrator"; + type string { + length "1 .. 63"; + } + } + leaf mapping-lifetime-minimum { + description "Configure the minimum lifetime for any mapping"; + default "120"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "120 .. 3600"; + } + } + } + leaf mapping-lifetime-maximum { + description "Configure the maximum lifetime for any mapping"; + default "86400"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "120 .. 4294667"; + } + } + } + leaf short-lifetime-error { + description "Configure duration of a short-lifetime error"; + default "30"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "15 .. 300"; + } + } + } + leaf long-lifetime-error { + description "Configure duration of a long-lifetime error"; + default "1800"; + units "second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "900 .. 18000"; + } + } + } + leaf max-mappings-per-client { + description "Configure maximum mappings permitted per client"; + default "32"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 128"; + } + } + } + container pcp-options { + description "Configure PCP options supported by this server"; + leaf third-party { + description "Enable Third Party option"; + type empty; + } + leaf prefer-failure { + description "Enable Prefer Failure option"; + type empty; + } + } + container nat-options { + description "NAT options of this PCP server"; + uses apply-advanced; + list pool { + key name; + ordered-by user; + description "NAT pool name"; + uses nat_pool_list_object; + } + } + } + grouping nat_pool_list_object { + description "One or more nat pools"; + leaf name { + type string { + length "1 .. 63"; + } + } + } + grouping pf_mapping { + leaf name { + description "Port Forwarding name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list destined-port { + key "port translated-port"; + ordered-by user; + description "Port forwarding mappings"; + max-elements 32; + leaf port { + description "Destination port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf translated-port { + description "Translated port"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + grouping rmopd-traceoptions { + description "Trace options for remote-monitoring"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "ipc" { + description "Trace ipc messages"; + } + enum "ppm" { + description "Trace ppm"; + } + enum "statistics" { + description "Trace statistics"; + } + enum "error" { + description "Trace events related to catestrophic errors in daemon"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping service_device_pool_object { + leaf name { + description "Service device pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Service device name"; + leaf name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping service_interface_pool_object { + leaf name { + description "Service interface pool name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Service interface name"; + leaf name { + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + } + grouping sfw_match_object { + uses apply-advanced; + list source-address { + key name; + ordered-by user; + description "Match IP source address"; + uses sfw_addr_object; + } + list destination-address { + key name; + ordered-by user; + description "Match IP destination address"; + uses sfw_addr_object; + } + container destination-port { + presence "enable destination-port"; + uses apply-advanced; + choice port_choice { + case case_1 { + container range { + description "Range of ports"; + leaf low { + description "Lower limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf high { + description "Upper limit of port range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + } + } + } + } + list source-address-range { + key "low high"; + ordered-by user; + description "Match IP source address range"; + leaf low { + description "Lower limit of address range"; + type jt:ipaddr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipaddr; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + list source-prefix-list { + key name; + ordered-by user; + description "One or more named lists of source prefixes to match"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + leaf except { + description "Name of prefix list not to match against"; + type empty; + } + } + list destination-address-range { + key "low high"; + ordered-by user; + description "Match IP destination address range"; + leaf low { + description "Lower limit of address range"; + type jt:ipaddr; + } + leaf high { + description "Upper limit of address range"; + type jt:ipaddr; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + list destination-prefix-list { + key name; + ordered-by user; + description "One or more named lists of destination prefixes to match"; + leaf name { + description "Name of prefix list to match against"; + type string; + } + leaf except { + description "Name of prefix list not to match against"; + type empty; + } + } + leaf-list applications { + ordered-by user; + description "Match one or more applications"; + type string; + } + list application-sets { + key name; + ordered-by user; + description "Match one or more application sets"; + leaf name { + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + } + } + grouping sfw_addr_object { + leaf name { + description "Match IP address"; + type string; + } + leaf except { + description "Match address not in this prefix"; + type empty; + } + } + grouping ssl-initiation-config { + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "SSL client profile"; + leaf name { + description "Profile identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf enable-flow-tracing { + description "Enable flow tracing for the profile"; + type empty; + } + leaf protocol-version { + description "Protocol SSL version accepted"; + default "all"; + type enumeration { + enum "all" { + description "TLS version 1 or TLS version 1.1 or TLS version 1.2"; + } + enum "ssl3" { + description "SSL version 3"; + } + enum "tls1" { + description "TLS version 1"; + } + enum "tls11" { + description "TLS version 1.1"; + } + enum "tls12" { + description "TLS version 1.2"; + } + } + } + leaf preferred-ciphers { + description "Select preferred ciphers"; + default "medium"; + type enumeration { + enum "strong" { + description "Use ciphers with key strength of 168-bits or greater"; + } + enum "medium" { + description "Use ciphers with key strength of 128-bits or greater"; + } + enum "weak" { + description "Use ciphers with key strength of 40-bits or greater"; + } + enum "custom" { + description "Configure custom cipher suite and order of preference"; + } + } + } + leaf-list custom-ciphers { + ordered-by user; + description "Custom cipher list"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-des-cbc-sha" { + description "RSA, des cbc, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "rsa-export-with-rc4-40-md5" { + description "RSA-export, 40 bit rc4, md5 hash"; + } + enum "rsa-export-with-des40-cbc-sha" { + description "RSA-export, 40 bit des/cbc, sha hash"; + } + enum "rsa-export1024-with-des-cbc-sha" { + description "RSA 1024 bit export, des/cbc, sha hash"; + } + enum "rsa-export1024-with-rc4-56-md5" { + description "RSA 1024 bit export, 56 bit rc4, md5 hash"; + } + enum "rsa-export1024-with-rc4-56-sha" { + description "RSA 1024 bit export, 56 bit rc4, sha hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 3des ede/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + } + max-elements 64; + } + leaf enable-session-cache { + description "Enable SSL session cache"; + type empty; + } + leaf-list trusted-ca { + ordered-by user; + description "List of trusted certificate authority profiles"; + type string; + max-elements 1024; + } + leaf client-certificate { + description "Local certificate identifier"; + type string { + } + } + container actions { + description "Traffic related actions"; + uses apply-advanced; + leaf ignore-server-auth-failure { + description "Ignore server authentication failure"; + type empty; + } + container crl { + description "Certificate Revocation actions."; + leaf disable { + description "Disable CRL validation."; + type empty; + } + leaf if-not-present { + description "Action if CRL information is not present."; + default "allow"; + type enumeration { + enum "allow" { + description "Allow session if CRL information is not present."; + } + enum "drop" { + description "Drop session if CRL information is not present."; + } + } + } + leaf ignore-hold-instruction-code { + description "Ignore 'Hold Instruction Code' present in the CRL entry."; + type empty; + } + } + leaf unsupported-cipher-on-hw { + description "Unsupported cipher processing on hardware mode"; + default "drop"; + type enumeration { + enum "drop" { + description "Drop session if cipher isn't supported on hardware mode"; + } + enum "software-inspection" { + description "Allow session in software mode"; + } + } + } + } + } + } + grouping ssl-proxy-config { + uses apply-advanced; + container global-config { + description "Global proxy configuration"; + uses apply-advanced; + leaf session-cache-timeout { + description "Session cache timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 3600"; + } + } + } + leaf disable-cert-cache { + description "Disable proxy mode certificate cache"; + type empty; + } + leaf certificate-cache-timeout { + description "Certificate cache timeout"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 3600"; + } + } + } + leaf invalidate-cache-on-crl-update { + description "Invalidate certificate cache on crl update"; + type empty; + } + } + list profile { + key name; + ordered-by user; + description "SSL Proxy profile"; + leaf name { + description "Profile identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf enable-flow-tracing { + description "Enable flow tracing for the profile"; + type empty; + } + leaf protocol-version { + description "Protocol SSL version accepted"; + default "all"; + type enumeration { + enum "all" { + description "TLS version 1 or TLS version 1.1 or TLS version 1.2"; + } + enum "ssl3" { + description "SSL version 3"; + } + enum "tls1" { + description "TLS version 1"; + } + enum "tls11" { + description "TLS version 1.1"; + } + enum "tls12" { + description "TLS version 1.2"; + } + } + } + leaf preferred-ciphers { + description "Select preferred ciphers"; + default "medium"; + type enumeration { + enum "strong" { + description "Use ciphers with key strength of 168-bits or greater"; + } + enum "medium" { + description "Use ciphers with key strength of 128-bits or greater"; + } + enum "weak" { + description "Use ciphers with key strength of 40-bits or greater"; + } + enum "custom" { + description "Configure custom cipher suite and order of preference"; + } + } + } + leaf-list custom-ciphers { + ordered-by user; + description "Custom cipher list"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-des-cbc-sha" { + description "RSA, des cbc, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "rsa-export-with-rc4-40-md5" { + description "RSA-export, 40 bit rc4, md5 hash"; + } + enum "rsa-export-with-des40-cbc-sha" { + description "RSA-export, 40 bit des/cbc, sha hash"; + } + enum "rsa-export1024-with-des-cbc-sha" { + description "RSA 1024 bit export, des/cbc, sha hash"; + } + enum "rsa-export1024-with-rc4-56-md5" { + description "RSA 1024 bit export, 56 bit rc4, md5 hash"; + } + enum "rsa-export1024-with-rc4-56-sha" { + description "RSA 1024 bit export, 56 bit rc4, sha hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 3des ede/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + } + max-elements 64; + } + leaf enable-session-cache { + description "Enable SSL session cache"; + type empty; + } + leaf-list trusted-ca { + ordered-by user; + description "List of trusted certificate authority profiles"; + type string; + max-elements 1024; + } + choice certificate { + case case_1 { + leaf root-ca { + description "Root certificate for interdicting server certificates in proxy mode"; + type string { + } + } + } + case case_2 { + leaf-list server-certificate { + ordered-by user; + description "Local certificate identifier"; + type string; + max-elements 1024; + } + } + } + leaf-list whitelist { + ordered-by user; + description "Addresses exempted from SSL Proxy "; + type string; + } + leaf-list whitelist-url-categories { + ordered-by user; + type string; + } + container actions { + description "Logging and traffic related actions"; + uses apply-advanced; + leaf ignore-server-auth-failure { + description "Ignore server authentication failure"; + type empty; + } + container log { + presence "enable log"; + description "Logging actions"; + leaf all { + description "Log all events"; + type empty; + } + leaf sessions-dropped { + description "Log only ssl session drop events"; + type empty; + } + leaf sessions-allowed { + description "Log ssl session allow events after an error"; + type empty; + } + leaf sessions-ignored { + description "Log session ignore events "; + type empty; + } + leaf sessions-whitelisted { + description "Log ssl session whitelist events "; + type empty; + } + leaf errors { + description "Log all error events "; + type empty; + } + leaf warning { + description "Log all warning events "; + type empty; + } + leaf info { + description "Log all information events "; + type empty; + } + } + container crl { + description "Certificate Revocation actions."; + leaf disable { + description "Disable CRL validation."; + type empty; + } + leaf if-not-present { + description "Action if CRL information is not present."; + default "allow"; + type enumeration { + enum "allow" { + description "Allow session if CRL information is not present."; + } + enum "drop" { + description "Drop session if CRL information is not present."; + } + } + } + leaf ignore-hold-instruction-code { + description "Ignore 'Hold Instruction Code' present in the CRL entry."; + type empty; + } + } + leaf renegotiation { + description "Renegotiation options"; + default "allow-secure"; + type enumeration { + enum "allow" { + description "Allow secure as well as non secure renegotiation"; + } + enum "allow-secure" { + description "Allow secure negotiation only (RFC 5746)"; + } + enum "drop" { + description "Drop session on renegotiation request"; + } + } + } + leaf disable-session-resumption { + description "Disable session resumption"; + type empty; + } + leaf unsupported-cipher-on-hw { + description "Unsupported cipher processing on hardware mode"; + default "drop"; + type enumeration { + enum "drop" { + description "Drop session if cipher isn't supported on hardware mode"; + } + enum "software-inspection" { + description "Allow session in software mode"; + } + } + } + } + } + } + grouping ssl-termination-config { + uses apply-advanced; + list profile { + key name; + ordered-by user; + description "SSL server profile"; + leaf name { + description "Profile identifier"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf enable-flow-tracing { + description "Enable flow tracing for the profile"; + type empty; + } + leaf protocol-version { + description "Protocol SSL version accepted"; + default "all"; + type enumeration { + enum "all" { + description "TLS version 1 or TLS version 1.1 or TLS version 1.2"; + } + enum "ssl3" { + description "SSL version 3"; + } + enum "tls1" { + description "TLS version 1"; + } + enum "tls11" { + description "TLS version 1.1"; + } + enum "tls12" { + description "TLS version 1.2"; + } + } + } + leaf preferred-ciphers { + description "Select preferred ciphers"; + default "medium"; + type enumeration { + enum "strong" { + description "Use ciphers with key strength of 168-bits or greater"; + } + enum "medium" { + description "Use ciphers with key strength of 128-bits or greater"; + } + enum "weak" { + description "Use ciphers with key strength of 40-bits or greater"; + } + enum "custom" { + description "Configure custom cipher suite and order of preference"; + } + } + } + leaf-list custom-ciphers { + ordered-by user; + description "Custom cipher list"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-des-cbc-sha" { + description "RSA, des cbc, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "rsa-export-with-rc4-40-md5" { + description "RSA-export, 40 bit rc4, md5 hash"; + } + enum "rsa-export-with-des40-cbc-sha" { + description "RSA-export, 40 bit des/cbc, sha hash"; + } + enum "rsa-export1024-with-des-cbc-sha" { + description "RSA 1024 bit export, des/cbc, sha hash"; + } + enum "rsa-export1024-with-rc4-56-md5" { + description "RSA 1024 bit export, 56 bit rc4, md5 hash"; + } + enum "rsa-export1024-with-rc4-56-sha" { + description "RSA 1024 bit export, 56 bit rc4, sha hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 3des ede/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + } + max-elements 64; + } + leaf enable-session-cache { + description "Enable SSL session cache"; + type empty; + } + leaf-list trusted-ca { + ordered-by user; + description "List of trusted certificate authority profiles"; + type string; + max-elements 1024; + } + leaf server-certificate { + description "Local certificate identifier"; + type string { + } + } + } + } + grouping ssl-traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "brief"; + type enumeration { + enum "brief" { + description "Brief debugging output"; + } + enum "detail" { + description "Detailed debugging output"; + } + enum "extensive" { + description "Extensive debugging output"; + } + enum "verbose" { + description "Verbose debugging output"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "cli-configuration" { + description "Trace CLI configuration events"; + } + enum "termination" { + description "Trace termination service events"; + } + enum "initiation" { + description "Trace initiation service events"; + } + enum "proxy" { + description "Trace proxy service events"; + } + enum "selected-profile" { + description "Trace events for profiles with enable-flow-tracing set"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping tunnel_interface_type { + description "One or more tunnel interfaces on which to configure flow-tap service"; + leaf name { + description "Tunnel Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + } + grouping version-ipfix-template { + description "One or more version-ipfix templates for flow monitoring"; + leaf name { + description "Name of template"; + type string; + } + uses apply-advanced; + leaf flow-active-timeout { + description "Interval after which active flow is exported"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf flow-inactive-timeout { + description "Period of inactivity that marks a flow inactive"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf template-id { + description "Template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf option-template-id { + description "Options template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf observation-domain-id { + description "Observation Domain Id"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container nexthop-learning { + presence "enable nexthop-learning"; + description "Nexthop learning parameter. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable nexthop learning"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable nexthop learning"; + type empty; + } + } + } + } + container template-refresh-rate { + presence "enable template-refresh-rate"; + description "Template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + container option-refresh-rate { + presence "enable option-refresh-rate"; + description "Option template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + choice template-types { + case case_1 { + container ipv4-template { + presence "enable ipv4-template"; + description "IPv4 template configuration"; + } + } + case case_2 { + container ipv6-template { + presence "enable ipv6-template"; + description "IPv6 template configuration"; + } + } + case case_3 { + } + case case_4 { + } + case case_5 { + } + case case_6 { + } + } + container flow-key { + description "Flow key for the template. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + leaf flow-direction { + description "Include flow direction"; + type empty; + } + leaf vlan-id { + description "Include vlan ID"; + type empty; + } + leaf output-interface { + description "Include output interface"; + type empty; + } + } + } + grouping version9-template { + description "One or more version 9 templates for flow monitoring"; + leaf name { + description "Name of template"; + type string; + } + uses apply-advanced; + leaf flow-active-timeout { + description "Interval after which active flow is exported"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf flow-inactive-timeout { + description "Period of inactivity that marks a flow inactive"; + default "60"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + leaf template-id { + description "Template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf option-template-id { + description "Options template id"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf source-id { + description "Source Id"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + container nexthop-learning { + description "Nexthop learning parameter. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable nexthop learning"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable nexthop learning"; + type empty; + } + } + } + } + container template-refresh-rate { + presence "enable template-refresh-rate"; + description "Template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + container option-refresh-rate { + presence "enable option-refresh-rate"; + description "Option template refresh rate"; + uses apply-advanced; + leaf packets { + description "In number of packets"; + default "4800"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 480000"; + } + } + } + leaf seconds { + description "In number of seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 600"; + } + } + } + } + choice template-types { + case case_1 { + container mpls-ipv4-template { + presence "enable mpls-ipv4-template"; + description "MPLS-IPv4 template configuration"; + uses apply-advanced; + leaf-list label-position { + ordered-by user; + description "One or more MPLS label positions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 8"; + } + } + max-elements 3; + } + } + } + case case_2 { + container mpls-template { + presence "enable mpls-template"; + description "MPLS template configuration"; + uses apply-advanced; + leaf-list label-position { + ordered-by user; + description "One or more MPLS label positions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 8"; + } + } + max-elements 3; + } + } + } + case case_3 { + container ipv6-template { + presence "enable ipv6-template"; + description "IPv6 template configuration"; + uses apply-advanced; + container nexthop-options { + presence "enable nexthop-options"; + description "Additional information retrieved from nexthop"; + uses apply-advanced; + choice nexthop-types { + case case_1 { + container mpls { + presence "enable mpls"; + description "MPLS information retrieved from nexthop"; + uses apply-advanced; + leaf-list label-position { + ordered-by user; + description "One or more MPLS label positions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + max-elements 3; + } + } + } + } + } + } + } + case case_4 { + container peer-as-billing-template { + presence "enable peer-as-billing-template"; + description "Peer AS billing template configuration"; + } + } + case case_5 { + container ipv4-template { + presence "enable ipv4-template"; + description "IPv4 template configuration"; + uses apply-advanced; + container nexthop-options { + presence "enable nexthop-options"; + description "Additional information retrieved from nexthop"; + uses apply-advanced; + choice nexthop-types { + case case_1 { + container mpls { + presence "enable mpls"; + description "MPLS information retrieved from nexthop"; + uses apply-advanced; + leaf-list label-position { + ordered-by user; + description "One or more MPLS label positions"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 3"; + } + } + max-elements 3; + } + } + } + } + } + } + } + case case_6 { + } + case case_7 { + } + } + container flow-key { + description "Flow key for the template. Valid ONLY for INLINE-JFLOW"; + uses apply-advanced; + leaf flow-direction { + description "Include flow direction"; + type empty; + } + leaf vlan-id { + description "Include vlan ID"; + type empty; + } + leaf output-interface { + description "Include output interface"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-session-limit-group@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-session-limit-group@2019-01-01.yang new file mode 100644 index 00000000..6c091725 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-session-limit-group@2019-01-01.yang @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-session-limit-group { + namespace "http://yang.juniper.net/junos-qfx/conf/session-limit-group"; + + prefix jc-session-limit-group; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos session-limit-group configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses session-limit-group-group; + } + augment /jc:configuration/jc:groups { + uses session-limit-group-group; + } + grouping session-limit-group-group { + list session-limit-group { + key name; + ordered-by user; + leaf name { + description "Name of the group"; + type string { + length "1 .. 63"; + } + } + leaf maximum-sessions { + description "Maximum number of sessions per tunnel-group"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-snmp@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-snmp@2019-01-01.yang new file mode 100644 index 00000000..8ab2dc61 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-snmp@2019-01-01.yang @@ -0,0 +1,2097 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-snmp { + namespace "http://yang.juniper.net/junos-qfx/conf/snmp"; + + prefix jc-snmp; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos snmp configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses snmp-group; + } + augment /jc:configuration/jc:groups { + uses snmp-group; + } + grouping snmp-group { + container snmp { + description "Simple Network Management Protocol configuration"; + uses apply-advanced; + leaf system-name { + description "System name override"; + type string; + } + leaf description { + description "System description"; + type string; + } + leaf location { + description "Physical location of system"; + type string; + } + leaf contact { + description "Contact information for administrator"; + type string; + } + leaf-list interface { + ordered-by user; + description "Restrict SNMP requests to interfaces"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + container filter-interfaces { + presence "enable filter-interfaces"; + description "List of interfaces that needs to be filtered"; + uses apply-advanced; + list interfaces { + key name; + ordered-by user; + description "Filter specified interfaces"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf all-internal-interfaces { + description "Filter all internal interfaces"; + type empty; + } + } + leaf if-count-with-filter-interfaces { + description "Filter interfaces config for ifNumber and ipv6Interfaces"; + type empty; + } + leaf filter-duplicates { + description "Filter requests with duplicate source address/port and request ID"; + type empty; + } + container nonvolatile { + description "Configure the handling of nonvolatile SNMP Set requests"; + uses apply-advanced; + leaf commit-delay { + description "Delay between affirmative SNMP Set reply and start of commit"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container v3 { + description "SNMPv3 configuration information"; + uses apply-advanced; + container usm { + description "User-based security model (USM) information"; + uses apply-advanced; + container local-engine { + description "Local engine user configuration"; + uses apply-advanced; + list user { + key name; + ordered-by user; + description "SNMPv3 USM user information"; + uses v3-user-config; + } + } + list remote-engine { + key name; + ordered-by user; + description "Remote engine user configuration"; + leaf name { + description "Remote engine id (Hex format)"; + type string { + } + } + uses apply-advanced; + list user { + key name; + ordered-by user; + description "SNMPv3 USM user information"; + uses v3-user-config; + } + } + } + container vacm { + description "View-based access control model (VACM) information"; + uses apply-advanced; + container security-to-group { + description "Assigns security names to group"; + uses apply-advanced; + list security-model { + key name; + ordered-by user; + description "Security model context for group assignment"; + leaf name { + description "SNMPv3 security-to-group model name"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + } + } + uses apply-advanced; + list security-name { + key name; + ordered-by user; + description "Security name to assign to group"; + leaf name { + description "Security name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf group { + description "Group to which to assign security name"; + type string { + length "1 .. 32"; + } + } + } + } + } + container access { + description "Specify SNMP access limits"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Group access configuration"; + leaf name { + description "SNMPv3 VACM group name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container default-context-prefix { + description "Default context-prefix access configuration"; + uses apply-advanced; + list security-model { + key name; + ordered-by user; + description "Security model access configuration"; + uses security-model-access; + } + } + list context-prefix { + key name; + ordered-by user; + description "Context-prefix access configuration"; + leaf name { + description "SNMPv3 VACM context prefix"; + type string { + } + } + uses apply-advanced; + list security-model { + key name; + ordered-by user; + description "Security model access configuration"; + uses security-model-access; + } + } + } + } + } + list target-address { + key name; + ordered-by user; + description "Identifies notification targets as well as allowed management stations"; + leaf name { + description "SNMP target address name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf address { + description "SNMP target address"; + type jt:ipaddr; + } + leaf port { + description "SNMP target port number"; + default "162"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf timeout { + description "Acknowledgment timeout for confirmed SNMP notifications"; + default "15"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry-count { + description "Maximum retry count for confirmed SNMP notifications"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf tag-list { + description "SNMP tag list used to select target addresses"; + type string { + length "0 .. 255"; + } + } + leaf address-mask { + description "Mask range of addresses for community string access control."; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing instance for trap destination"; + type string { + } + } + leaf logical-system { + description "Logical-system name for trap destination"; + type string { + } + } + leaf target-parameters { + description "SNMPv3 target parameter name in the target parameters table"; + type string { + length "1 .. 32"; + } + } + } + list target-parameters { + key name; + ordered-by user; + description "Parameters and filter name used when sending notifications"; + leaf name { + description "SNMPv3 target parameters name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + container parameters { + description "Parameters used when sending notifications"; + uses apply-advanced; + leaf message-processing-model { + description "The message processing model to be used when generating SNMP notifications"; + type enumeration { + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + enum "v3" { + description "SNMPv3 model"; + } + } + } + leaf security-model { + description "Security-model used when generating SNMP notifications"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + } + } + leaf security-level { + description "Security-level used when generating SNMP notifications"; + type enumeration { + enum "none" { + description "None (noAuthNoPriv)"; + } + enum "authentication" { + description "Authentication (authNoPriv)"; + } + enum "privacy" { + description "Privacy and authentication (authPriv)"; + } + } + } + leaf security-name { + description "Security name used when generating SNMP notifications"; + type string { + length "1 .. 32"; + } + } + } + container notify-filter { + description "Notify filter to apply to notifications"; + leaf filter { + description "Filter name to apply to notifications"; + type string { + length "1 .. 32"; + } + } + } + } + list notify { + key name; + ordered-by user; + description "Used to select management targets for notifications as well as the type of notifications"; + leaf name { + description "Notify name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf type { + description "Notification type"; + default "trap"; + type enumeration { + enum "trap" { + description "SNMP trap"; + } + enum "inform" { + description "Inform request"; + } + } + } + leaf tag { + description "Notifications will be sent to all targets configured with this tag"; + type string { + length "0 .. 255"; + } + } + } + list notify-filter { + key name; + ordered-by user; + description "Filters to apply to SNMP notifications"; + leaf name { + description "SNMP profile name in the notify filter table"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + list oid { + key name; + ordered-by user; + description "OID include/exclude list"; + leaf name { + description "OID to include/exclude from notify filter"; + type string { + } + } + choice filter-action { + case case_1 { + leaf include { + description "Include this OID in the notify filter"; + type empty; + } + } + case case_2 { + leaf exclude { + description "Exclude this OID from the notify filter"; + type empty; + } + } + } + } + } + list snmp-community { + key name; + ordered-by user; + description "SNMP community and view-based access control model configuration"; + leaf name { + description "Unique index value in this community table entry"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + leaf community-name { + description "SNMPv1/v2c community name (default is same as community-index)"; + type jt:unreadable; + } + leaf security-name { + description "Security name used when performing access control"; + type string { + length "1 .. 32"; + } + } + leaf context { + description "Context used when performing access control"; + type string { + length "0 .. 32"; + } + } + leaf tag { + description "Tag identifier for set of targets allowed to use this community string"; + type string { + length "0 .. 255"; + } + } + } + } + list proxy { + key name; + ordered-by user; + description "SNMP proxy configuration"; + leaf name { + description "Unique proxy name"; + type string; + } + uses apply-advanced; + leaf device-name { + description "Satellite/Proxied Device name or IP address"; + type string; + } + choice version { + case case_1 { + container version-v1 { + description "For v1 proxy configuration define snmp-community"; + uses comm-object; + } + } + case case_2 { + container version-v2c { + description "For v2c proxy configuration define snmp-community"; + uses comm-object; + } + } + case case_3 { + container version-v3 { + description "For v3 proxy configuration define security-name"; + uses sec-object; + } + } + } + list routing-instance { + key name; + ordered-by user; + description "Associate routing-instance name for proxy forwarding"; + leaf name { + description "Routing-instance name for proxy forwarding"; + type string { + } + } + uses apply-advanced; + } + list logical-system { + key name; + ordered-by user; + description "Associate logical-system name for proxy forwarding"; + leaf name { + description "Associate logical-system name for proxy forwarding"; + type string { + } + } + uses apply-advanced; + list routing-instance { + key name; + ordered-by user; + description "Associate routing-instance name for proxy forwarding"; + leaf name { + description "Routing-instance name for proxy forwarding"; + type string { + } + } + uses apply-advanced; + } + } + } + container subagent { + description "SNMP subagent configuration"; + uses apply-advanced; + container tcp { + presence "enable tcp"; + description "Allow SNMP subagent tcp connection"; + uses apply-advanced; + container routing-instance { + description "Specify routing-instance name for tcp connection"; + uses apply-advanced; + leaf default { + description "Allow connections over default routing-instance"; + type empty; + } + } + } + } + container engine-id { + description "SNMPv3 engine ID"; + uses apply-advanced; + choice engine-id-choice { + case case_1 { + leaf use-mac-address { + description "Uses management interface MAC Address for the engine ID"; + type empty; + } + } + case case_2 { + leaf use-default-ip-address { + description "Use default IP address for the engine ID"; + type empty; + } + } + case case_3 { + leaf local { + description "Local engine ID"; + type string { + } + } + } + } + } + container access { + description "SNMPv3 access information"; + status deprecated; + uses apply-advanced; + list user { + key name; + ordered-by user; + description "SNMPv3 USM user information"; + leaf name { + description "SNMPv3 USM username"; + type string { + } + } + uses apply-advanced; + leaf authentication-type { + description "SNMPv3 USM authentication type"; + type enumeration { + enum "none" { + description "No authentication"; + } + enum "md5" { + description "MD5 hash algorithm"; + } + enum "sha" { + description "SHA hash algorithm"; + } + } + } + leaf authentication-password { + description "SNMPv3 USM authentication password"; + type jt:unreadable; + } + leaf privacy-type { + description "SNMPv3 USM privacy type"; + type enumeration { + enum "none" { + description "No privacy"; + } + enum "des" { + description "DES algorithm"; + } + } + } + leaf privacy-password { + description "SNMPv3 USM privacy password"; + type jt:unreadable; + } + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + list group { + key name; + ordered-by user; + description "SNMPv3 USM group information"; + leaf name { + description "SNMPv3 USM group name"; + type string { + } + } + uses apply-advanced; + leaf-list user { + ordered-by user; + description "SNMPv3 USM username"; + type string; + } + leaf model { + description "SNMPv3 security model"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + } + } + } + list context { + key name; + ordered-by user; + description "SNMPv3 context information"; + leaf name { + description "SNMPv3 context name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "SNMPv3 context description"; + type string; + } + list group { + key name; + ordered-by user; + description "Access group"; + leaf name { + description "SNMPv3 USM group name"; + type string { + } + } + uses apply-advanced; + leaf model { + description "SNMPv3 security model"; + type enumeration { + enum "usm" { + description "User-based security model"; + } + } + } + leaf security-level { + description "SNMPv3 security level"; + type enumeration { + enum "none" { + description "None: NoAuthNoPriv"; + } + enum "authentication" { + description "Authentication: AuthNoPriv"; + } + enum "privacy" { + description "Privacy: AuthPriv"; + } + } + } + leaf read-view { + description "Read view name"; + type string { + } + } + leaf write-view { + description "Write view name"; + type string { + } + } + } + } + } + list view { + key name; + ordered-by user; + description "Define MIB views"; + leaf name { + description "MIB view name"; + type string { + } + } + uses apply-advanced; + list oid { + key name; + ordered-by user; + description "OID include/exclude list"; + leaf name { + description "OID to include or exclude from view"; + type string { + } + } + choice view-action { + case case_1 { + leaf include { + description "Include this OID in the view"; + type empty; + } + } + case case_2 { + leaf exclude { + description "Exclude this OID from the view"; + type empty; + } + } + } + } + } + list client-list { + key name; + ordered-by user; + description "Client list"; + leaf name { + description "The name for the client list"; + type string { + } + } + uses apply-advanced; + list client-address-list { + key name; + ordered-by user; + description "Client address list"; + uses client-address-object; + } + } + list community { + key name; + ordered-by user; + description "Configure a community string"; + leaf name { + description "Community name"; + type string; + } + uses apply-advanced; + leaf view { + description "View name"; + type string; + } + leaf authorization { + description "Authorization type"; + type enumeration { + enum "read-only" { + description "Allow read-only access"; + } + enum "read-write" { + description "Allow read and write access"; + } + } + } + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + list routing-instances { + key name; + ordered-by user; + description "Use logical-system/routing-instance for v1/v2c clients"; + status deprecated; + leaf name { + description "Routing instance of v1/v2c clients"; + type string { + } + } + uses apply-advanced; + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + } + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for v1/v2c clients"; + leaf name { + description "Routing instance of v1/v2c clients"; + type string { + } + } + uses apply-advanced; + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + } + list logical-system { + key name; + ordered-by user; + description "Use logical-system name for v1/v2c clients"; + leaf name { + description "Use logical-system name for v1/v2c clients"; + type string { + } + } + uses apply-advanced; + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for v1/v2c clients"; + leaf name { + description "Routing instance of v1/v2c clients"; + type string { + } + } + uses apply-advanced; + choice clients_choice { + case case_1 { + leaf client-list-name { + description "The name of client list or prefix list"; + type string { + } + } + } + case case_2 { + list clients { + key name; + ordered-by user; + description "List of source address prefix ranges to accept"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + } + } + } + } + container trap-options { + presence "enable trap-options"; + description "SNMP trap options"; + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + leaf enterprise-oid { + description "Add snmpTrapEnterprise oid in varbind of all traps"; + type empty; + } + leaf context-oid { + description "Add context oid in varbind of all traps at the end"; + type empty; + } + list routing-instances { + key name; + ordered-by user; + description "Use routing-instance name for source-address"; + status deprecated; + leaf name { + description "Routing instance of trap destination"; + type string { + } + } + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + } + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for source-address"; + leaf name { + description "Routing instance of trap destination"; + type string { + } + } + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + } + list logical-system { + key name; + ordered-by user; + description "Use logical-system name for source-address"; + leaf name { + description "Use logical-system name for source-address"; + type string { + } + } + uses apply-advanced; + list routing-instance { + key name; + ordered-by user; + description "Use routing-instance name for source-address"; + leaf name { + description "Routing instance of trap destination"; + type string { + } + } + uses apply-advanced; + container source-address { + description "IPv4/IPv6 source address for trap PDUs"; + uses apply-advanced; + choice address-choice { + case case_1 { + leaf lo0 { + description "Use lowest address on loopback interface"; + type empty; + } + } + case case_2 { + leaf address { + description "Use specified address"; + type jt:ipaddr; + } + } + } + } + } + } + leaf agent-address { + description "Agent address for v1 trap PDUs"; + type enumeration { + enum "outgoing-interface" { + description "Use address on outgoing interface"; + } + } + } + } + list trap-group { + key name; + ordered-by user; + description "Configure traps and notifications"; + leaf name { + description "Trap group name"; + type string; + } + uses apply-advanced; + leaf version { + description "SNMP version"; + type enumeration { + enum "all" { + description "Send SNMPv1 and SNMPv2 traps"; + } + enum "v1" { + description "Send SNMPv1 traps"; + } + enum "v2" { + description "Send SNMPv2 traps"; + } + } + } + leaf destination-port { + description "SNMP trap receiver port number"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + container categories { + description "Trap categories"; + uses apply-advanced; + leaf authentication { + description "Authentication failures"; + type empty; + } + leaf chassis { + description "Chassis or environment notifications"; + type empty; + } + leaf link { + description "Link up-down transitions"; + type empty; + } + leaf remote-operations { + description "Remote operations"; + type empty; + } + leaf routing { + description "Routing protocol notifications"; + type empty; + } + leaf startup { + description "System warm and cold starts"; + type empty; + } + leaf ggsn { + description "GGSN notifications"; + type empty; + } + leaf rmon-alarm { + description "RMON rising and falling alarms"; + type empty; + } + leaf vrrp-events { + description "VRRP notifications"; + type empty; + } + leaf configuration { + description "Configuration notifications"; + type empty; + } + leaf services { + description "Services notifications"; + type empty; + } + leaf dot3oam-events { + description "802.3ah notifications"; + type empty; + } + container sonet-alarms { + presence "enable sonet-alarms"; + description "SONET alarm trap subcategories"; + uses apply-advanced; + leaf loss-of-light { + description "Loss of light alarm notification"; + type empty; + } + leaf pll-lock { + description "PLL lock alarm notification"; + type empty; + } + leaf loss-of-frame { + description "Loss of frame alarm notification"; + type empty; + } + leaf loss-of-signal { + description "Loss of signal alarm notification"; + type empty; + } + leaf severely-errored-frame { + description "Severely errored frame alarm notification"; + type empty; + } + leaf line-ais { + description "Line AIS alarm notification"; + type empty; + } + leaf path-ais { + description "Path AIS alarm notification"; + type empty; + } + leaf loss-of-pointer { + description "Loss of pointer alarm notification"; + type empty; + } + leaf ber-defect { + description "Sonet bit error rate alarm defect notification"; + type empty; + } + leaf ber-fault { + description "Sonet bit error rate alarm fault notification"; + type empty; + } + leaf line-remote-defect-indication { + description "Line Remote Defect Indication alarm notification"; + type empty; + } + leaf path-remote-defect-indication { + description "Path Remote Defect Indication alarm notification"; + type empty; + } + leaf remote-error-indication { + description "Remote Error Indication alarm notification"; + type empty; + } + leaf unequipped { + description "Unequipped alarm notification"; + type empty; + } + leaf path-mismatch { + description "Path mismatch alarm notification"; + type empty; + } + leaf loss-of-cell { + description "Loss of Cell delineation alarm notification"; + type empty; + } + leaf vt-ais { + description "VT AIS alarm notification"; + type empty; + } + leaf vt-loss-of-pointer { + description "VT Loss Of Pointer alarm notification"; + type empty; + } + leaf vt-remote-defect-indication { + description "VT Remote Defect Indication alarm notification"; + type empty; + } + leaf vt-unequipped { + description "VT Unequipped alarm notification"; + type empty; + } + leaf vt-label-mismatch { + description "VT label mismatch error notification"; + type empty; + } + leaf vt-loss-of-cell { + description "VT Loss of Cell delineation notification"; + type empty; + } + } + container otn-alarms { + presence "enable otn-alarms"; + description "OTN alarm trap subcategories"; + uses apply-advanced; + leaf oc-los { + description "Loss of signal alarm notification"; + type empty; + } + leaf oc-lof { + description "Loss of frame alarm notification"; + type empty; + } + leaf oc-lom { + description "Loss of multiframe alarm notification"; + type empty; + } + leaf wavelength-lock { + description "Wavelength lock alarm notification"; + type empty; + } + leaf otu-ais { + description "OTU Alarm indication signal alarm notification"; + type empty; + } + leaf otu-bdi { + description "OTU Backward defect indication alarm notification"; + type empty; + } + leaf otu-ttim { + description "OTU Trace identification mismatch alarm notification"; + type empty; + } + leaf otu-iae { + description "OTU Incoming alignment error alarm notification"; + type empty; + } + leaf otu-sd { + description "OTU Signal degrade alarm notification"; + type empty; + } + leaf otu-sf { + description "OTU Signal fail alarm notification"; + type empty; + } + leaf otu-fec-exe { + description "OTU Fec excessive errors alarm notification"; + type empty; + } + leaf otu-fec-deg { + description "OTU Fec degraded errors alarm notification"; + type empty; + } + leaf otu-bbe-threshold { + description "OTU Background block error threshold alarm notification"; + type empty; + } + leaf otu-es-threshold { + description "OTU Errored Second threshold alarm notification"; + type empty; + } + leaf otu-ses-threshold { + description "OTU Severely Errored Second threshold alarm notification"; + type empty; + } + leaf otu-uas-threshold { + description "OTU Unavailable Second threshold alarm notification"; + type empty; + } + leaf odu-ais { + description "ODU Alarm indication signal alarm notification"; + type empty; + } + leaf odu-oci { + description "ODU Open connection indicator alarm notification"; + type empty; + } + leaf odu-lck { + description "ODU Locked alarm notification"; + type empty; + } + leaf odu-bdi { + description "ODU Backward defect indication alarm notification"; + type empty; + } + leaf odu-ttim { + description "ODU Trace identification mismatch alarm notification"; + type empty; + } + leaf odu-sd { + description "ODU Signal degrade alarm notification"; + type empty; + } + leaf odu-sf { + description "ODU Signal fail alarm notification"; + type empty; + } + leaf odu-rx-aps-change { + description "ODU Receive APS change notification"; + type empty; + } + leaf odu-bbe-threshold { + description "ODU Background block error threshold alarm notification"; + type empty; + } + leaf odu-es-threshold { + description "ODU Errored Second threshold alarm notification"; + type empty; + } + leaf odu-ses-threshold { + description "ODU Severely Errored Second threshold alarm notification"; + type empty; + } + leaf odu-uas-threshold { + description "ODU Unavailable Second threshold alarm notification"; + type empty; + } + leaf opu-ptm { + description "ODU Payload Type Mismatch alarm notification"; + type empty; + } + } + } + list targets { + key name; + ordered-by user; + description "Targets for trap messages"; + leaf name { + description "IP address"; + type jt:hostname; + } + } + leaf routing-instance { + description "Routing instance for trap destination"; + type string { + } + } + leaf logical-system { + description "Logical-system name for trap destination"; + type string { + } + } + } + container routing-instance-access { + presence "enable routing-instance-access"; + description "SNMP routing-instance options"; + uses apply-advanced; + list access-list { + key name; + description "Allow/Deny SNMP access to routing-instances"; + leaf name { + description "Routing-instance in format , * or *"; + type string { + } + } + leaf restrict { + description "Deny access"; + type empty; + } + } + } + leaf logical-system-trap-filter { + description "Allow only logical-system specific traps"; + type empty; + } + container traceoptions { + description "Trace options for SNMP"; + uses apply-advanced; + container memory-trace { + presence "enable memory-trace"; + description "Memory tracing information"; + uses apply-advanced; + leaf size { + description "Memory size reserved for tracing "; + default "5120"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1250 .. 12500"; + } + } + } + } + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "protocol-timeouts" { + description "Trace SNMP request timeouts"; + } + enum "pdu" { + description "Dump SNMP request/response packets"; + } + enum "varbind-error" { + description "Trace varbind errors"; + } + enum "routing-socket" { + description "Trace routing socket calls"; + } + enum "interface-stats" { + description "Trace interface statistics (logical and physical)"; + } + enum "subagent" { + description "Trace master-agent interations with sub-agents"; + } + enum "general" { + description "Trace general events"; + } + enum "nonvolatile-sets" { + description "Nonvolatile SNMP set request handling"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + container rmon { + presence "enable rmon"; + description "Remote Monitoring configuration"; + uses apply-advanced; + list history { + key name; + ordered-by user; + description "RMON history entries"; + leaf name { + description "RMON history identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf interface { + description "Enable RMON on this interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "Requested buckets for the interface"; + default "50"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf interval { + description "Interval between samples"; + default "1800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf owner { + description "Owner name of the entry"; + type string { + } + } + } + list alarm { + key name; + ordered-by user; + description "RMON alarm entries"; + leaf name { + description "RMON alarm identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "General description of alarm (stored in alarmOwner)"; + type string { + } + } + leaf interval { + description "Interval between samples"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf falling-threshold-interval { + description "Interval between samples during falling-threshold test"; + default "2147483647"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf variable { + description "OID of MIB variable to be monitored"; + type string { + } + } + leaf sample-type { + description "Method of sampling the selected variable"; + type enumeration { + enum "absolute-value" { + description "Absolute sample value is used"; + } + enum "delta-value" { + description "Difference between sampled values is used"; + } + } + } + leaf request-type { + description "Type of SNMP request to issue for alarm"; + default "get-request"; + type enumeration { + enum "get-request" { + description "Get request"; + } + enum "get-next-request" { + description "Get-next request"; + } + enum "walk-request" { + description "Walk request"; + } + } + } + leaf startup-alarm { + description "The alarm that may be sent upon entry startup"; + default "rising-or-falling-alarm"; + type enumeration { + enum "rising-alarm" { + description "Rising alarm may be sent at startup"; + } + enum "falling-alarm" { + description "Falling alarm may be sent at startup"; + } + enum "rising-or-falling-alarm" { + description "Rising or falling alarm may be sent at startup"; + } + } + } + leaf rising-threshold { + description "The rising threshold"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf falling-threshold { + description "The falling threshold"; + default "2147483647"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rising-event-index { + description "Event triggered after rising threshold is crossed"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf falling-event-index { + description "Event triggered after falling threshold is crossed"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 65535"; + } + } + } + leaf syslog-subtag { + description "Tag to be added to syslog messages"; + type string { + } + } + } + list event { + key name; + ordered-by user; + description "RMON event entries"; + leaf name { + description "RMON event identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + uses apply-advanced; + leaf description { + description "General description of event"; + type string { + } + } + leaf type { + description "The type of notification for this event"; + default "log-and-trap"; + type enumeration { + enum "none" { + description "No notifications"; + } + enum "log" { + description "Add entry to logTable"; + } + enum "snmptrap" { + description "Send SNMP trap"; + } + enum "log-and-trap" { + description "Send SNMP trap and make log entry"; + } + } + } + leaf community { + description "The community (trap group) for outgoing traps"; + type string { + } + } + } + } + container health-monitor { + presence "enable health-monitor"; + description "Health monitoring configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf rising-threshold { + description "Rising threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf falling-threshold { + description "Falling threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + container idp { + presence "enable idp"; + description "IDP health monitor configuration"; + uses apply-advanced; + leaf interval { + description "Interval between samples"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 2147483647"; + } + } + } + leaf rising-threshold { + description "Rising threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf falling-threshold { + description "Falling threshold applied to all monitored objects"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + } + } + container arp { + presence "enable arp"; + description "JVision ARP settings"; + uses apply-advanced; + leaf host-name-resolution { + description "Enable host name resolution"; + type empty; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping client-address-object { + description "Client address"; + leaf name { + description "Address or prefix"; + type jt:ipprefix; + } + uses apply-advanced; + leaf restrict { + description "Deny access"; + type empty; + } + } + grouping comm-object { + description "Specify snmp-community name"; + uses apply-advanced; + leaf snmp-community { + description "Specify community name"; + type string { + length "1 .. 32"; + } + } + leaf no-default-comm-to-v3-config { + description "No default snmp-community and v3 configuration"; + type empty; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping sec-object { + description "Specify security-name"; + uses apply-advanced; + leaf security-name { + description "Specify v3 security-name"; + type string { + length "1 .. 32"; + } + } + leaf context { + description "Specify context name associated to this security-name"; + type string; + } + } + grouping security-model-access { + description "Security access configuration"; + leaf name { + description "SNMPv3 VACM security model"; + type enumeration { + enum "any" { + description "Any security model"; + } + enum "usm" { + description "User-based security model"; + } + enum "v1" { + description "SNMPv1 model"; + } + enum "v2c" { + description "SNMPv2c model"; + } + } + } + uses apply-advanced; + list security-level { + key name; + ordered-by user; + description "Security level access configuration"; + leaf name { + description "SNMPv3 VACM security level"; + type enumeration { + enum "none" { + description "None (noAuthNoPriv)"; + } + enum "authentication" { + description "Authentication (authNoPriv)"; + } + enum "privacy" { + description "Privacy and authentication (authPriv)"; + } + } + } + uses apply-advanced; + leaf context-match { + description "Type of match to perform on context-prefix"; + default "exact"; + type enumeration { + enum "exact" { + description "Exact match of prefix and context name"; + } + enum "prefix" { + description "Only match the context prefix"; + } + } + } + leaf read-view { + description "View used for read access"; + type string { + } + } + leaf write-view { + description "View used for write access"; + type string { + } + } + leaf notify-view { + description "View used to notifications"; + type string { + } + } + } + } + grouping v3-user-config { + description "SNMPv3 user configuration"; + leaf name { + description "User name"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + choice authentication { + case case_1 { + container authentication-md5 { + description "Configure MD5 authentication"; + uses auth-object; + } + } + case case_2 { + container authentication-sha { + description "Configure SHA authentication"; + uses auth-object; + } + } + case case_3 { + leaf authentication-none { + description "Set no authentication for the user"; + type empty; + } + } + } + choice privacy { + case case_1 { + container privacy-des { + description "Configure DES privacy"; + uses priv-object; + } + } + case case_2 { + container privacy-3des { + description "Configure Triple DES privacy"; + uses priv-object; + } + } + case case_3 { + container privacy-aes128 { + description "Configure AES128 privacy"; + uses priv-object; + } + } + case case_4 { + leaf privacy-none { + description "Set no privacy for the user"; + type empty; + } + } + } + } + grouping auth-object { + description "Authentication parameters"; + uses apply-advanced; + leaf authentication-password { + description "User's authentication password"; + type string { + length "8 .. 1024"; + } + } + leaf authentication-key { + description "Encrypted key used for user authentication"; + type jt:unreadable; + } + } + grouping priv-object { + description "Privacy parameters"; + uses apply-advanced; + leaf privacy-password { + description "User's privacy password"; + type string { + length "8 .. 1024"; + } + } + leaf privacy-key { + description "Encrypted key used for user privacy"; + type jt:unreadable; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-switch-options@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-switch-options@2019-01-01.yang new file mode 100644 index 00000000..ae64931f --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-switch-options@2019-01-01.yang @@ -0,0 +1,598 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-switch-options { + namespace "http://yang.juniper.net/junos-qfx/conf/switch-options"; + + prefix jc-switch-options; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos switch-options configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses switch-options-group; + } + augment /jc:configuration/jc:groups { + uses switch-options-group; + } + grouping switch-options-group { + container switch-options { + description "Options for default routing-instance of type virtual-switch"; + uses juniper-def-rtb-switch-options; + } + } + grouping juniper-def-rtb-switch-options { + description "Bridge option configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum MAC+IP bindings learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-notification { + presence "enable mac-notification"; + description "MAC notification options"; + uses apply-advanced; + leaf notification-interval { + description "Interval for sending MAC notifications"; + default "30"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf no-normalization { + description "Disable vlan id normalization for interfaces"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container mib { + presence "enable mib"; + description "Snmp mib options"; + uses apply-advanced; + container dot1q-mib { + presence "enable dot1q-mib"; + description "Dot1q MIB configuration options"; + uses apply-advanced; + leaf port-list { + description "Port list for staticegressports and staticuntaggedports MIB"; + type enumeration { + enum "bit-map" { + description "Port list is represented in bit-map format"; + } + enum "string" { + description "Port list is represented in string format"; + } + } + } + } + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + leaf service-id { + description "Service ID required if multi-chassis AE is part of a bridge-domain"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf ovsdb-managed { + description "All vxlan bridge domains in routing instance are remote managed"; + type empty; + } + container vtep-source-interface { + description "Source layer-3 IFL for VXLAN"; + leaf interface-name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + choice family { + case case_1 { + container inet { + presence "enable inet"; + description "IPv4 source"; + uses apply-advanced; + } + } + case case_2 { + container inet6 { + presence "enable inet6"; + description "IPv6 source"; + uses apply-advanced; + } + } + } + } + container voip { + description "Voice-over-IP configuration"; + uses apply-advanced; + list interface { + key name; + ordered-by user; + description "Enable voice over IP on this port"; + leaf name { + type string; + } + uses apply-advanced; + leaf vlan { + description "VLAN for voice over IP"; + type string { + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + } + } + container unknown-unicast-forwarding { + description "Set interface for forwarding of unknown unicast packets"; + uses apply-advanced; + list vlan { + key name; + description "VLAN for the unknown unicast packets"; + leaf name { + description "VLAN name or VLAN Tag (1..4095)"; + type string { + } + } + uses apply-advanced; + leaf interface { + description "Interface to send unknown unicast packets for the VLAN"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + list authentication-whitelist { + key name; + ordered-by user; + description "MAC authentication-whitelist configuration needed to bypass Authentication"; + leaf name { + description "MAC addresses to bypass authentication"; + type jt:mac-addr-prefix; + } + uses apply-advanced; + leaf vlan-assignment { + description "VLAN name or 802.1q tag for the MAC address"; + type string { + } + } + leaf interface { + description "Interface on which authentication is bypassed"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + choice vstp-flooding-option { + } + choice arp-trap-option { + } + choice mstp-flooding-option { + } + choice stp-flooding-option { + } + container route-distinguisher { + description "Route distinguisher for this instance"; + leaf rd-type { + description "Number in (16 bit:32 bit) or (32 bit 'L':16 bit) or (IP address:16 bit) format"; + type string { + } + } + } + leaf-list vrf-import { + ordered-by user; + description "Import policy for VRF instance RIBs"; + type jt:policy-algebra; + } + leaf-list vrf-export { + ordered-by user; + description "Export policy for VRF instance RIBs"; + type jt:policy-algebra; + } + container vrf-target { + description "VRF target community configuration"; + uses apply-advanced; + leaf community { + description "Target community to use in import and export"; + type string { + } + } + leaf import { + description "Target community to use when filtering on import"; + type string { + } + } + leaf export { + description "Target community to use when marking routes on export"; + type string { + } + } + container auto { + description "Auto derive import and export target community from BGP AS & L2"; + presence "enable auto"; + uses juniper-def-rtb-auto-import-as; + } + } + container vtep-remote-interface { + description "Remote VTEP interface"; + uses apply-advanced; + list remote-ip { + key name; + ordered-by user; + description "Remote VTEP IP address"; + leaf name { + description "IP address"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + container default { + description "To all remote vtep interface"; + uses apply-advanced; + leaf dynamic-profile { + description "Define associate dynamic profile"; + type string; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface for configuring bridge-options"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf persistent-learning { + description "Enable persistent MAC learning on this interface"; + type empty; + } + leaf no-mac-notification { + description "Disable mac notification on this interface"; + type empty; + } + } + leaf-list remote-vtep-list { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + max-elements 1024; + } + leaf interface-shutdown-action { + description "Interface shutdown mode for Storm-Control/Mac-Limit/Mac-Move-limit scenario"; + type enumeration { + enum "soft-shutdown" { + description "Soft-shutdown restricts data-packets while control-packets are still received"; + } + enum "hard-shutdown" { + description "Hard-shutdown restricts all packets, port will not be operational"; + } + } + } + leaf-list remote-vtep-v6-list { + description "Configurate static IPv6 remote VXLAN tunnel endpoints"; + type jt:ipv6addr; + max-elements 1024; + } + container redundant-trunk-group { + description "Redundant trunk group"; + uses apply-advanced; + list group { + key name; + ordered-by user; + description "Name of Redundant trunk group"; + leaf name { + description "RTG name"; + type string { + length "1 .. 63"; + } + } + uses apply-advanced; + leaf preempt-cutover-timer { + description "Hold timer for primary interface before preempting secondary interface"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 600"; + } + } + } + leaf description { + description "Text description of the RTG"; + type string { + length "1 .. 127"; + } + } + list interface { + key name; + description "Interfaces that are part of this redundant trunk group"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf primary { + description "Set Primary Redundant Trunk Group interface"; + type empty; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-def-rtb-auto-import-as { + uses apply-advanced; + list import-as { + key name; + description "AS to auto import for a list of VNI ids"; + leaf name { + description " Autonomous system number in plain number or 'higher 16bits'.'Lower 16 bits' (asdot notation) format"; + type string { + } + } + uses apply-advanced; + leaf-list vni-list { + description "List of VNI identifiers or all"; + type string; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-system@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-system@2019-01-01.yang new file mode 100644 index 00000000..18f950e2 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-system@2019-01-01.yang @@ -0,0 +1,97594 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-system { + namespace "http://yang.juniper.net/junos-qfx/conf/system"; + + prefix jc-system; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos system configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses system-group; + } + augment /jc:configuration/jc:groups { + uses system-group; + } + grouping system-group { + container system { + description "System parameters"; + uses juniper-system; + } + } + grouping juniper-system { + uses apply-advanced; + container commit { + description "Configuration commit management"; + uses apply-advanced; + container server { + description "Commit server (batch commit)"; + uses apply-advanced; + leaf maximum-aggregate-pool { + description "Maximum number of transactions to aggregate"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf maximum-entries { + description "Maximum number of transactions allowed in queue"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf commit-interval { + description "Number of seconds between commits"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry-attempts { + description "Retry attempts for commit failure due to db lock error"; + default "5"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry-interval { + description "Retry interval in seconds for commit failure"; + default "20"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf days-to-keep-error-logs { + description "Number of day to keep error log entries"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 366"; + } + } + } + leaf redirect-completion-status { + description "Redirect Async commit status to server configured here"; + type string; + } + list commit-schedule-profile { + key name; + ordered-by user; + description "Scheduling profile for asynchronous low priority commits"; + leaf name { + description "Schedule name for low priority commits"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + leaf start-time { + description "Time when the schedule starts processing low priority jobs (hh:mm)"; + type string { + } + } + leaf end-time { + description "Time when the schedule stops processing low priority jobs (hh:mm)"; + type string { + } + } + leaf interruptible { + description "Allow the low priority jobs to be interrupted during the schedule"; + type empty; + } + leaf load-average { + description "Max load average of system at which schedule starts (last 1 min)"; + type jt:unsigned-float; + } + } + container traceoptions { + description "Trace options for commit server"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "commit-server" { + description "Trace commit server"; + } + enum "batch" { + description "Trace file batching"; + } + enum "configuration" { + description "Reading of configuration"; + } + } + } + } + } + } + container notification { + presence "enable notification"; + description "Notify applications upon commit complete"; + } + leaf fast-synchronize { + description "Parallelized commit synchronizing multiple routing-engines"; + type empty; + } + leaf synchronize { + description "Synchronize commit on both Routing Engines by default"; + type empty; + } + leaf peers-synchronize { + description "Synchronize commit on remote peers by default"; + type empty; + } + leaf delta-export { + description "Export only delta configuration during commit"; + type empty; + } + list peers { + key name; + ordered-by user; + description "Commit peers-synchronize details"; + max-elements 3; + uses peers-type; + } + container commit-synchronize-server { + description "Commit synchronize server configuration"; + uses apply-advanced; + container traceoptions { + description "Traceoptions for commit synchronize server"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf microsecond-stamp { + description "Timestamp with microsecond granularity"; + type empty; + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "ephemeral-commit" { + description "Trace ephemeral database commit synchronize requests"; + } + enum "operational-command" { + description "Trace operational command requests"; + } + enum "debug" { + description "Trace debug level information"; + } + enum "all" { + description "Trace all information"; + } + } + } + } + } + } + leaf persist-groups-inheritance { + description "Build configuration groups inheritance path"; + type empty; + } + } + container configuration-database { + description "Configuration database parameters"; + uses apply-advanced; + container ephemeral { + presence "enable ephemeral"; + description "Configure ephemeral database"; + uses apply-advanced; + list instance { + key name; + ordered-by user; + description "Configure ephemeral instances"; + max-elements 8; + leaf name { + description "Name of ephemeral instance"; + type string { + length "1 .. 32"; + } + } + uses apply-advanced; + } + leaf ignore-ephemeral-default { + description "Ignore ephemeral default database"; + type empty; + } + leaf allow-commit-synchronize-with-gres { + description "Allow ephemeral commit synchronize with GRES"; + type empty; + } + } + container virtual-memory-mapping { + description "Virtual memory mapping configuration"; + uses apply-advanced; + list process { + key name; + ordered-by user; + description "Per process configuration"; + leaf name { + description "Name of the process"; + type string; + } + uses apply-advanced; + leaf fixed-size { + description "Fixed memory mapped size in kilobytes"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + leaf page-pooling-size { + description "Page pooling memory mapped size in kilobytes"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + leaf page-leak-debug { + description "Page leak detection"; + type empty; + } + } + container process-set { + description "Set of processes using page pool"; + uses apply-advanced; + container subscriber-management { + presence "enable subscriber-management"; + description "Subscriber management processes will use page pooling"; + uses apply-advanced; + leaf fixed-size { + description "Fixed memory mapped size"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + leaf page-pooling-size { + description "Page pooling memory mapped size"; + units "kilobytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "512 .. 696320"; + } + } + } + } + } + } + leaf extend-size { + description "Extend configuration database upto 1.5G"; + type empty; + } + container resize { + presence "enable resize"; + description "Resize configuration database"; + uses apply-advanced; + leaf database-size-on-disk { + description "Minimum configuration database size on disk"; + default "450"; + units "Megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + leaf database-size-diff { + description "Difference between database size and actual usage"; + default "100"; + units "Megabytes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + leaf max-db-size { + description "Max database size"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container login { + description "Names, login classes, and passwords for users"; + uses apply-advanced; + container retry-options { + description "Configure password retry options"; + uses apply-advanced; + leaf tries-before-disconnect { + description "Number of times user is allowed to try password"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 10"; + } + } + } + leaf backoff-threshold { + description "Number of password failures before delay is introduced"; + default "2"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3"; + } + } + } + leaf backoff-factor { + description "Delay factor after 'backoff-threshold' password failures"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 10"; + } + } + } + leaf minimum-time { + description "Minimum total connection time if all attempts fail"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 60"; + } + } + } + leaf maximum-time { + description "Maximum time the connection will remain for user to enter username and password"; + default "120"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "20 .. 300"; + } + } + } + leaf lockout-period { + description "Amount of time user account is locked after 'tries-before-disconnect' failures"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 43200"; + } + } + } + } + leaf idle-timeout { + description "Maximum idle time before logout"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + list class { + key name; + description "Login class"; + uses login-class-object; + } + list user { + key name; + description "Username"; + uses login-user-object; + } + container password { + description "Password configuration"; + uses apply-advanced; + leaf minimum-length { + description "Minimum password length for all users"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "6 .. 20"; + } + } + } + leaf maximum-length { + description "Maximum password length for all users"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "20 .. 128"; + } + } + } + leaf change-type { + description "Password change type"; + type enumeration { + enum "character-sets" { + description "Count number of character type"; + } + enum "set-transitions" { + description "Count changes in character type"; + } + } + } + leaf minimum-changes { + description "Minimum number of changes in password"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf minimum-numerics { + description "Minimum number of numeric class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf minimum-upper-cases { + description "Minimum number of upper-case class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf minimum-lower-cases { + description "Minimum number of lower-case class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf minimum-punctuations { + description "Minimum number of punctuation class characters in password"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 128"; + } + } + } + leaf format { + description "Encryption method to use for password"; + type enumeration { + enum "sha1" { + description "Secure Hash Algorithm 1"; + } + enum "sha256" { + description "Secure Hash Algorithm 256 ($5$)"; + } + enum "sha512" { + description "Secure Hash Algorithm 512 ($6$)"; + } + enum "md5" { + description "Message Digest 5"; + } + enum "des" { + description "Digital Encryption Standard"; + } + } + } + } + container deny-sources { + description "Sources from which logins are denied"; + uses apply-advanced; + leaf-list address { + ordered-by user; + description "IPv4/IPv6 addresses, prefix length optional, or hostnames"; + type jt:ipprefix-optional; + } + } + leaf announcement { + description "System announcement message (displayed after login)"; + type string { + length "1 .. 2048"; + } + } + leaf message { + description "System login message"; + type string { + length "1 .. 2048"; + } + } + } + container root-authentication { + description "Authentication information for the root login"; + uses authentication-object; + } + container autoinstallation { + presence "enable autoinstallation"; + description "Autoinstallation configuration"; + uses apply-advanced; + list interfaces { + key name; + ordered-by user; + description "Interfaces to perform autoinstallation"; + leaf name { + description "Name of interface"; + type union { + type jt:interface-wildcard; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf bootp { + description "Enable BOOTP/DHCP during autoinstallation"; + type empty; + } + leaf rarp { + description "Enable RARP during autoinstallation"; + type empty; + } + leaf slarp { + description "Enable SLARP during autoinstallation"; + type empty; + } + } + list configuration-servers { + key name; + ordered-by user; + description "Servers to retrieve configuration files from"; + leaf name { + description "URL of configuration server"; + type string; + } + leaf password { + description "Password for authentication with the configuration server"; + type jt:unreadable; + } + } + } + leaf host-name { + description "Hostname for this router"; + type string { + length "1 .. 255"; + } + } + leaf auto-snapshot { + description "Enable auto-snapshot when boots from alternate slice"; + type empty; + } + leaf domain-name { + description "Domain name for this router"; + type string { + } + } + leaf-list domain-search { + ordered-by user; + description "List of domain names to search"; + type string; + } + leaf no-hidden-commands { + description "Deny hidden commands for all users except root"; + type empty; + } + container backup-router { + description "IPv4 router to use while booting"; + leaf address { + description "Address of router to use while booting"; + type jt:ipv4addr; + } + leaf-list destination { + ordered-by user; + description "Destination network reachable through the router"; + type jt:ipv4prefix; + } + } + container inet6-backup-router { + description "IPv6 router to use while booting"; + leaf address { + description "Address of router to use while booting"; + type jt:ipv6addr; + } + leaf-list destination { + ordered-by user; + description "Destination network reachable through the router"; + type jt:ipv6prefix; + } + } + leaf time-zone { + description "Time zone name or POSIX-compliant time zone string"; + default "UTC"; + units "/ or "; + type string { + } + } + leaf use-imported-time-zones { + description "Use locally generated time-zone database"; + type empty; + } + leaf regex-additive-logic { + description "Set regex-additive-logic"; + type empty; + } + leaf switchover-on-routing-crash { + description "On failure, switch mastership to other Routing Engine"; + type empty; + } + leaf default-address-selection { + description "Use system address for locally originated traffic"; + type empty; + } + leaf ndcpp-compliant { + description "Enable NDcPP compliance"; + type empty; + } + leaf nd-maxmcast-solicit { + description "Set Maximum multicast solicit"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd-maxucast-retry { + description "Set Maximum unicast retry count"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd-retransmit-timer { + description "Set retransmit timer"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf nd-system-cache-limit { + description "Set max system cache size for IPv6 nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "200 .. 2000000"; + } + } + } + leaf arp-system-cache-limit { + description "Set max system cache size for ARP nexthops"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "200 .. 2000000"; + } + } + } + leaf no-neighbor-learn { + description "Disable neighbor address learning"; + type empty; + } + leaf no-multicast-echo { + description "Disable ICMP echo on multicast addresses"; + type empty; + } + leaf no-redirects { + description "Disable ICMP redirects"; + type empty; + } + leaf no-redirects-ipv6 { + description "Disable IPV6 ICMP redirects"; + type empty; + } + leaf nd-override-preferred-src { + description "Do not use preferred source address for unnumbered interface as the source of NA/NS"; + type empty; + } + leaf no-ping-record-route { + description "Do not insert IP address in ping replies"; + type empty; + } + leaf no-ping-time-stamp { + description "Do not insert time stamp in ping replies"; + type empty; + } + leaf dump-device { + description "Device to record memory snapshots on operating system failure"; + type string; + } + container arp { + description "ARP settings"; + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 240"; + } + } + } + container interfaces { + description "Logical interface on which to specify ARP aging timer"; + uses apply-advanced; + list arp-interface { + key name; + uses arp-interface-type; + } + } + leaf passive-learning { + description "ARP passive learning"; + type empty; + } + leaf purging { + description "ARP purging when link goes down"; + type empty; + } + leaf gratuitous-arp-on-ifup { + description "Gratuitous ARP announcement on interface up"; + type empty; + } + leaf gratuitous-arp-delay { + description "Delay gratuitous ARP request"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf non-subscriber-no-reply { + description "Do not reply to ARP requests from non-subscribers"; + type empty; + } + } + leaf-list personality-file-list-of-directories { + ordered-by user; + description "List of Optional directories for personality-tarball of device"; + type string; + } + leaf saved-core-files { + description "Number of saved core files per executable"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + choice saved-core-context-choice { + leaf saved-core-context { + description "Save context information for core files"; + type empty; + } + leaf no-saved-core-context { + description "Don't save context information for core files"; + type empty; + } + } + container kernel-replication { + presence "enable kernel-replication"; + description "Kernel replication"; + uses apply-advanced; + } + leaf mirror-flash-on-disk { + description "Mirror contents of the flash drive onto hard drive"; + type empty; + } + container icmp-rate-limit { + description "Rate-limiting parameters for ICMP messages"; + status deprecated; + leaf packet-rate { + description "ICMP rate-limiting packets earned per second"; + default "1000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "ICMP rate-limiting maximum bucket size"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf tcp-ack-rst-syn { + description "Send ACKs for in-window RSTs and SYN packets on TCP connections"; + status deprecated; + type empty; + } + leaf management-instance { + description "Enable Management VRF Instance"; + type empty; + } + container demux-options { + description "Tunable options for demux link local address generation"; + uses apply-advanced; + leaf use-underlying-interface-mac { + description "Use underlying interface MAC for link local address"; + type empty; + } + } + container internet-options { + description "Tunable options for Internet operation"; + uses apply-advanced; + container icmpv4-rate-limit { + description "Rate-limiting parameters for ICMPv4 messages"; + leaf packet-rate { + description "ICMP rate-limiting packets earned per second"; + default "1000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "ICMP rate-limiting maximum bucket size"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container icmpv6-rate-limit { + description "Rate-limiting parameters for ICMPv6 messages"; + leaf packet-rate { + description "ICMPv6 rate-limiting packets earned per second"; + default "1000"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf bucket-size { + description "ICMPv6 rate-limiting maximum bucket size"; + default "5"; + units "seconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + choice path-mtu-discovery-choice { + leaf path-mtu-discovery { + description "Enable Path MTU discovery on TCP connections"; + type empty; + } + leaf no-path-mtu-discovery { + description "Don't enable Path MTU discovery on TCP connections"; + type empty; + } + } + choice gre-path-mtu-discovery-choice { + leaf gre-path-mtu-discovery { + description "Enable path MTU discovery for GRE tunnels"; + type empty; + } + leaf no-gre-path-mtu-discovery { + description "Don't enable path MTU discovery for GRE tunnels"; + type empty; + } + } + choice ipip-path-mtu-discovery-choice { + leaf ipip-path-mtu-discovery { + description "Enable path MTU discovery for IP-IP tunnels"; + type empty; + } + leaf no-ipip-path-mtu-discovery { + description "Don't enable path MTU discovery for IP-IP tunnels"; + type empty; + } + } + container source-port { + description "Source port selection parameters"; + uses apply-advanced; + leaf upper-limit { + description "Specify upper limit of source port selection range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5000 .. 65535"; + } + } + } + } + choice source-quench-choice { + leaf source-quench { + description "React to incoming ICMP Source Quench messages"; + type empty; + } + leaf no-source-quench { + description "Don't react to incoming ICMP Source Quench messages"; + type empty; + } + } + leaf tcp-drop-synfin-set { + description "Drop TCP packets that have both SYN and FIN flags"; + type empty; + } + leaf no-tcp-rfc1323 { + description "Disable RFC 1323 TCP extensions"; + type empty; + } + leaf no-tcp-rfc1323-paws { + description "Disable RFC 1323 Protection Against Wrapped Sequence Number extension"; + type empty; + } + choice ipv6-reject-zero-hop-limit-choice { + leaf ipv6-reject-zero-hop-limit { + description "Enable dropping IPv6 packets with zero hop-limit"; + type empty; + } + leaf no-ipv6-reject-zero-hop-limit { + description "Don't enable dropping IPv6 packets with zero hop-limit"; + type empty; + } + } + leaf ipv6-duplicate-addr-detection-transmits { + description "IPv6 Duplicate address detection transmits"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 20"; + } + } + } + choice ipv6-path-mtu-discovery-choice { + leaf ipv6-path-mtu-discovery { + description "Enable IPv6 Path MTU discovery"; + type empty; + } + leaf no-ipv6-path-mtu-discovery { + description "Don't enable IPv6 Path MTU discovery"; + type empty; + } + } + leaf ipv6-path-mtu-discovery-timeout { + description "IPv6 Path MTU Discovery timeout"; + default "10"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 71582788"; + } + } + } + leaf no-tcp-reset { + description "Do not send RST TCP packet for packets sent to non-listening ports"; + type enumeration { + enum "drop-tcp-with-syn-only" { + description "Drop only those TCP Packets with SYN bit"; + } + enum "drop-all-tcp" { + description "Drop all TCP Packets"; + } + } + } + } + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + container location { + description "Location of the system, in various forms"; + uses location-type; + } + container ports { + description "Craft interface RS-232 ports"; + uses apply-advanced; + container console { + description "Console port"; + uses tty_port_object; + } + container auxiliary { + description "Auxiliary port"; + uses tty_port_object; + } + } + container diag-port-authentication { + description "Authentication for the diagnostic port"; + uses apply-advanced; + leaf plain-text-password-value { + description "Plain text password"; + type string; + } + leaf encrypted-password { + description "Encrypted password string"; + type string { + length "1 .. 128"; + } + } + } + container pic-console-authentication { + description "Authentication for the console port on PICs"; + uses apply-advanced; + leaf plain-text-password-value { + description "Plain text password"; + type string; + } + leaf encrypted-password { + description "Encrypted password string"; + type string { + length "1 .. 128"; + } + } + } + list name-server { + key name; + ordered-by user; + description "DNS name servers"; + uses nameserver-object; + } + list radius-server { + key name; + ordered-by user; + description "RADIUS server configuration"; + uses radius-server-object; + } + container dynamic-profile-options { + description "Dynamic profile options"; + uses dynamic-profile-option-object; + } + list tacplus-server { + key name; + ordered-by user; + description "TACACS+ server configuration"; + uses tacplus-server-object; + } + container radius-options { + description "RADIUS options"; + uses apply-advanced; + leaf password-protocol { + description "Specify password protocol used in RADIUS packets"; + type enumeration { + enum "mschap-v2" { + description "MSCHAP version 2"; + } + } + } + leaf enhanced-accounting { + description "Include authentication method, remote port and user-privileges in 'login' accounting"; + type empty; + } + container attributes { + description "Configure RADIUS attributes"; + uses apply-advanced; + leaf nas-ip-address { + description "Value of NAS-IP-Address in outgoing RADIUS packets"; + type jt:ipaddr; + } + } + } + container tacplus-options { + description "TACACS+ options"; + uses apply-advanced; + leaf service-name { + description "TACACS+ service name"; + type string; + } + leaf authorization-time-interval { + description "TACACS+ authorization refresh time interval"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 1440"; + } + } + } + choice strict-authorization-choice { + leaf strict-authorization { + description "Deny login if authorization request fails"; + type empty; + } + leaf no-strict-authorization { + description "Don't deny login if authorization request fails"; + type empty; + } + } + choice cmd-attribute { + case case_1 { + leaf no-cmd-attribute-value { + description "In start/stop requests, set 'cmd' attribute value to empty string"; + type empty; + } + } + case case_2 { + leaf exclude-cmd-attribute { + description "In start/stop requests, do not include 'cmd' attribute"; + type empty; + } + } + } + leaf enhanced-accounting { + description "Include authentication method, remote port and user-privileges in 'login' accounting"; + type empty; + } + leaf timestamp-and-timezone { + description "In start/stop accounting packets, include 'start-time', 'stop-time' and 'timezone' attributes"; + type empty; + } + } + container accounting { + description "System accounting configuration"; + uses apply-advanced; + leaf-list events { + description "Events to be logged"; + type enumeration { + enum "login" { + description "Login session"; + } + enum "change-log" { + description "Configuration changes"; + } + enum "interactive-commands" { + description "Commands"; + } + } + } + leaf enhanced-avs-max { + description "No. of AV pairs each of which can store a max of 250 Bytes"; + default "7"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "7 .. 15"; + } + } + } + container traceoptions { + description "Trace options for system accounting"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "events" { + description "Trace accounting events and their processing"; + } + enum "config" { + description "Trace configuration processing"; + } + enum "radius" { + description "Trace RADIUS processing"; + } + enum "tacplus" { + description "Trace TACPLUS processing"; + } + } + } + } + } + container destination { + description "Destination for system accounting records"; + uses apply-advanced; + container radius { + presence "enable radius"; + description "Configure RADIUS accounting"; + uses apply-advanced; + list server { + key name; + ordered-by user; + description "RADIUS accounting server configuration"; + uses radius-server-object; + } + } + container tacplus { + presence "enable tacplus"; + description "Send TACACS+ accounting records"; + uses apply-advanced; + list server { + key name; + ordered-by user; + description "TACACS+ server configuration"; + uses tacplus-server-object; + } + } + } + } + leaf allow-v4mapped-packets { + description "Allow processing for packets with V4 mapped address"; + type empty; + } + leaf allow-6pe-traceroute { + description "Allow IPv4-mapped v6 address in tag icmp6 TTL expired packet"; + type empty; + } + leaf allow-6vpe-traceroute-src-select { + description "Select best src addr for icmp6 ttl expiry error in case 6vpe"; + type empty; + } + leaf donot-disable-ip6op-ondad { + description "Do not disable IP operation on interface, if DAD fails on EUI-64 link local address "; + type empty; + } + container scripts { + description "Scripting mechanisms"; + uses scripts_type; + } + list static-host-mapping { + key name; + ordered-by user; + description "Static hostname database mapping"; + leaf name { + description "Fully qualified name of system"; + type string { + } + } + uses apply-advanced; + leaf-list inet { + ordered-by user; + description "IP address"; + type jt:ipv4addr; + } + leaf-list inet6 { + ordered-by user; + description "IPv6 address"; + type jt:ipv6addr; + } + leaf sysid { + description "ISO/IS-IS system identifier"; + type jt:sysid; + } + leaf-list alias { + ordered-by user; + description "Hostname alias"; + type string; + } + } + container services { + presence "enable services"; + description "System services"; + uses apply-advanced; + container finger { + presence "enable finger"; + description "Allow finger requests from remote systems"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container ftp { + presence "enable ftp"; + description "Allow FTP file transfers"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + } + container ssh { + presence "enable ssh"; + description "Allow ssh access"; + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + leaf root-login { + description "Configure root access via ssh"; + type enumeration { + enum "allow" { + description "Allow root access via ssh"; + } + enum "deny" { + description "Do not allow root access via ssh"; + } + enum "deny-password" { + description "Allow for non-password-based authentication methods only"; + } + } + } + leaf no-passwords { + description "Disables ssh password based authentication"; + type empty; + } + leaf no-public-keys { + description "Disables ssh public key based authentication"; + type empty; + } + choice tcp_forwarding_choices { + case case_1 { + leaf tcp-forwarding { + description "Allow forwarding TCP connections via SSH"; + type empty; + } + } + case case_2 { + leaf no-tcp-forwarding { + description "Do not allow forwarding TCP connections via SSH"; + type empty; + } + } + } + leaf-list protocol-version { + ordered-by user; + description "Specify ssh protocol versions supported"; + type enumeration { + enum "v1" { + description "Version 1 ssh protocol"; + } + enum "v2" { + description "Version 2 ssh protocol"; + } + } + } + leaf max-sessions-per-connection { + description "Maximum number of sessions per single SSH connection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + leaf max-pre-authentication-packets { + description "Maximum number of pre-authentication SSH packets per single SSH connection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "20 .. 2147483647"; + } + } + } + leaf-list ciphers { + ordered-by user; + description "Specify the ciphers allowed for protocol version 2"; + type enumeration { + enum "3des-cbc" { + description "Triple DES in CBC mode"; + } + enum "aes128-cbc" { + description "128-bit AES with Cipher Block Chaining"; + } + enum "aes192-cbc" { + description "192-bit AES with Cipher Block Chaining"; + } + enum "aes256-cbc" { + description "256-bit AES with Cipher Block Chaining"; + } + enum "aes128-ctr" { + description "128-bit AES with Counter Mode"; + } + enum "aes192-ctr" { + description "192-bit AES with Counter Mode"; + } + enum "aes256-ctr" { + description "256-bit AES with Counter Mode"; + } + enum "aes128-gcm@openssh.com" { + description "128-bit AES with Galois/Counter Mode"; + } + enum "aes256-gcm@openssh.com" { + description "256-bit AES with Galois/Counter Mode"; + } + enum "chacha20-poly1305@openssh.com" { + description "ChaCha20 stream cipher and Poly1305 MAC"; + } + enum "arcfour128" { + description "128-bit RC4 with Cipher Block Chaining "; + } + enum "arcfour256" { + description "256-bit RC4 with Cipher Block Chaining "; + } + enum "arcfour" { + description "128-bit RC4 with Cipher Block Chaining "; + } + enum "blowfish-cbc" { + description "128-bit Blowfish with Cipher Block Chaining "; + } + enum "cast128-cbc" { + description "128-bit CAST with Cipher Block Chaining "; + } + } + } + leaf-list macs { + ordered-by user; + description "Message Authentication Code algorithms allowed (SSHv2)"; + type enumeration { + enum "hmac-md5" { + description "Hash-based MAC using Message-Digest 5 (MD5)"; + } + enum "hmac-md5-etm@openssh.com" { + description "Hash-based Encrypt-then-MAC using Message-Digest 5 (MD5)"; + } + enum "hmac-sha1" { + description "Hash-based MAC using Secure Hash Algorithm (SHA1)"; + } + enum "hmac-sha1-etm@openssh.com" { + description "Hash-based Encrypt-then-MAC using Secure Hash Algorithm (SHA1)"; + } + enum "umac-64@openssh.com" { + description "UMAC-64 algorithm specified in RFC4418"; + } + enum "umac-128@openssh.com" { + description "UMAC-128 algorithm specified in RFC4418"; + } + enum "umac-64-etm@openssh.com" { + description "Encrypt-then-MAC using UMAC-64 algorithm specified in RFC4418"; + } + enum "umac-128-etm@openssh.com" { + description "Encrypt-then-MAC using UMAC-128 algorithm specified in RFC4418"; + } + enum "hmac-sha2-256" { + description "Hash-based MAC using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-256-etm@openssh.com" { + description "Hash-based Encrypt-then-Mac using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-256-96" { + description "96-bits of Hash-based MAC using SHA2"; + } + enum "hmac-sha2-512" { + description "Hash-based MAC using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-512-etm@openssh.com" { + description "Hash-based Encrypt-then-Mac using Secure Hash Algorithm (SHA2)"; + } + enum "hmac-sha2-512-96" { + description "96-bits of Hash-based MAC using SHA2"; + } + enum "hmac-ripemd160" { + description "Hash-based MAC using RIPEMD"; + } + enum "hmac-ripemd160-etm@openssh.com" { + description "Hash-based Encrypt-then-MAC using RIPEMD"; + } + enum "hmac-sha1-96" { + description "96-bits of Hash-based MAC using SHA1"; + } + enum "hmac-sha1-96-etm@openssh.com" { + description "96-bits of Hash-based Encrypt-then-MAC using SHA1"; + } + enum "hmac-md5-96" { + description "96-bits of Hash-based MAC using MD5"; + } + enum "hmac-md5-96-etm@openssh.com" { + description "96-bits of Hash-based Encrypt-then-MAC using MD5"; + } + } + } + leaf-list key-exchange { + ordered-by user; + description "Specify ssh key-exchange for Diffie-Hellman keys"; + type enumeration { + enum "curve25519-sha256" { + description "The EC Diffie-Hellman on Curve25519 with SHA2-256 hash"; + } + enum "ecdh-sha2-nistp256" { + description "The EC Diffie-Hellman on nistp256 with SHA2-256"; + } + enum "ecdh-sha2-nistp384" { + description "The EC Diffie-Hellman on nistp384 with SHA2-384"; + } + enum "ecdh-sha2-nistp521" { + description "The EC Diffie-Hellman on nistp521 with SHA2-512"; + } + enum "group-exchange-sha2" { + description "The RFC 4419 group exchange with SHA2-256 hash"; + } + enum "group-exchange-sha1" { + description "The RFC 4419 group exchange with SHA1 hash"; + } + enum "dh-group14-sha1" { + description "The RFC 4253 mandated group14 with SHA1 hash"; + } + enum "dh-group1-sha1" { + description "The RFC 4253 mandated group1 with SHA1 hash"; + } + } + } + leaf client-alive-count-max { + description "Threshold of missing client-alive responses that triggers a disconnect"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255"; + } + } + } + leaf client-alive-interval { + description "Frequency of client-alive requests"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 65535"; + } + } + } + container hostkey-algorithm { + presence "enable hostkey-algorithm"; + description "Specify permissible SSH host-key algorithms"; + uses apply-advanced; + choice ssh-dss-choice { + case case_1 { + leaf no-ssh-dss { + description "Disallow generation of 1024-bit DSA host-key"; + type empty; + } + } + case case_2 { + container ssh-dss { + presence "enable ssh-dss"; + description "Allow generation of 1024-bit DSA host-key"; + uses apply-advanced; + choice allow-deny { + case case_1 { + leaf allow { + description "Allow generation of 1024-bit DSA host-key"; + status deprecated; + type empty; + } + } + case case_2 { + leaf deny { + description "Disallow generation of 1024-bit DSA host-key"; + status deprecated; + type empty; + } + } + } + } + } + } + choice ssh-rsa-choice { + case case_1 { + leaf no-ssh-rsa { + description "Disallow generation of RSA host-key"; + type empty; + } + } + case case_2 { + container ssh-rsa { + presence "enable ssh-rsa"; + description "Allow generation of RSA host-key"; + uses apply-advanced; + choice allow-deny { + case case_1 { + leaf allow { + description "Allow generation of RSA host-key"; + status deprecated; + type empty; + } + } + case case_2 { + leaf deny { + description "Disallow generation of RSA host-key"; + status deprecated; + type empty; + } + } + } + } + } + } + choice ssh-ecdsa-choice { + case case_1 { + leaf no-ssh-ecdsa { + description "Disallow generation of ECDSA host-key"; + type empty; + } + } + case case_2 { + container ssh-ecdsa { + presence "enable ssh-ecdsa"; + description "Allow generation of ECDSA host-key"; + uses apply-advanced; + choice allow-deny { + case case_1 { + leaf allow { + description "Allow generation of ECDSA host-key"; + status deprecated; + type empty; + } + } + case case_2 { + leaf deny { + description "Disallow generation of ECDSA host-key"; + status deprecated; + type empty; + } + } + } + } + } + } + choice ssh-ed25519-choice { + case case_1 { + leaf no-ssh-ed25519 { + description "Disallow generation of ED25519 host-key"; + type empty; + } + } + case case_2 { + leaf ssh-ed25519 { + description "Allow generation of ED25519 host-key"; + type empty; + } + } + } + } + leaf fingerprint-hash { + description "Configure hash algorithm used when displaying key fingerprints"; + type enumeration { + enum "sha2-256" { + description "Enable use of SHA2-256"; + } + enum "md5" { + description "Enable use of MD5"; + } + } + } + leaf authorized-keys-command { + description "Specifies a command string to be used to look up the user's public keys"; + type string { + length "1 .. 1024"; + } + } + leaf authorized-keys-command-user { + description "Specifies the user under whose account the authorized-keys-command is run"; + type string { + length "1 .. 256"; + } + } + container rekey { + description "Limits before session keys are renegotiated"; + uses apply-advanced; + leaf data-limit { + description "Data limit before renegotiating session keys"; + units "bytes"; + type string; + } + leaf time-limit { + description "Time limit before renegotiating session keys"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + } + leaf port { + description "Port number to accept incoming connections"; + default "22"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf log-key-changes { + description "Log changes to authorized keys to syslog"; + type empty; + } + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container telnet { + presence "enable telnet"; + description "Allow telnet login"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + } + container xnm-clear-text { + presence "enable xnm-clear-text"; + description "Allow clear text-based JUNOScript connections"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container xnm-ssl { + presence "enable xnm-ssl"; + description "Allow SSL-based JUNOScript connections"; + uses apply-advanced; + leaf local-certificate { + description "Name of local X.509 certificate to use"; + type string; + } + choice ssl-renegotiation-choice { + leaf ssl-renegotiation { + description "Allow SSL renegotiation"; + type empty; + } + leaf no-ssl-renegotiation { + description "Don't allow SSL renegotiation"; + type empty; + } + } + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + container extension-service { + description "Enable JUNOS extension services"; + uses apply-advanced; + container request-response { + description "Allow request-response API execution"; + uses apply-advanced; + container grpc { + description "Grpc server configuration"; + uses apply-advanced; + choice request-response-type { + case case_1 { + container ssl { + description "SSL based API connection settings"; + uses apply-advanced; + leaf address { + description "Address to listen for incoming connections"; + default "::"; + type jt:ipaddr; + } + leaf port { + description "Port number to accept incoming connections"; + default "32767"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf-list local-certificate { + ordered-by user; + description "Name of local X.509 certificate to use"; + type string; + } + container mutual-authentication { + description "Enable TLS mutual authentication"; + uses apply-advanced; + leaf certificate-authority { + description "Certificate authority profile"; + type string { + } + } + leaf client-certificate-request { + description "Specify requirements for client certificate"; + default "require-certificate-and-verify"; + type enumeration { + enum "no-certificate" { + description "Client certificate is not requested"; + } + enum "request-certificate" { + description "Request certificate from client, do not verify"; + } + enum "request-certificate-and-verify" { + description "Request certificate from client, verify if provided"; + } + enum "require-certificate" { + description "Client certificate is mandatory, do not verify"; + } + enum "require-certificate-and-verify" { + description "Client certificate is mandatory, certificate is verified"; + } + } + } + } + } + } + } + leaf max-connections { + description "Maximum number of connections"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + } + } + container notification { + presence "enable notification"; + description "Enable Notification Services"; + uses apply-advanced; + leaf port { + description "Port number to accept incoming connections"; + default "1883"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf max-connections { + description "Maximum number of connections"; + default "20"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 20"; + } + } + } + leaf broker-socket-send-buffer-size { + description "Socket send buffer size for the broker to publish the messages"; + default "65536"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container allow-clients { + description "Client IPs from which notifications are allowed"; + uses apply-advanced; + leaf-list address { + ordered-by user; + description "IPv4/IPv6 addresses, prefix length optional, or hostnames"; + type jt:ipprefix-optional; + } + } + } + container traceoptions { + description "Trace options for JSD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "timer" { + description "Trace internal timer events"; + } + enum "timeouts" { + description "Trace timeouts "; + } + enum "routing-socket" { + description "Trace routing socket calls"; + } + enum "general" { + description "Trace general events"; + } + enum "config" { + description "Trace config events"; + } + enum "grpc" { + description "Trace grpc related events"; + } + enum "notification" { + description "Trace notification events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container netconf { + description "Allow NETCONF connections"; + uses apply-advanced; + container ssh { + presence "enable ssh"; + description "Allow NETCONF over SSH"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf port { + description "Service port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 65535"; + } + } + } + } + leaf rfc-compliant { + description "Make the NETCONF sessions compliant to RFC 4741"; + type empty; + } + leaf yang-compliant { + description "Make the NETCONF sessions compliant to yang schemas"; + type empty; + } + container yang-modules { + description "Tweak settings for YANG modules served on this device"; + uses apply-advanced; + leaf device-specific { + description "Serve YANG modules specific to this device"; + type empty; + } + leaf emit-extensions { + description "Enable serving of Junos YANG extension modules"; + type empty; + } + } + container traceoptions { + description "NETCONF trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Log the entire communication"; + } + enum "incoming" { + description "Log all incoming data"; + } + enum "outgoing" { + description "Log all outgoing data"; + } + enum "debug" { + description "Log debug level information"; + } + } + } + } + leaf on-demand { + description "Enable on-demand tracing"; + type empty; + } + } + } + container tftp-server { + presence "enable tftp-server"; + description "Enable TFTP file transfers"; + uses apply-advanced; + leaf connection-limit { + description "Maximum number of allowed connections"; + default "75"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + leaf rate-limit { + description "Maximum number of connections per minute"; + default "150"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 250"; + } + } + } + } + leaf dtcp-only { + description "Allow subscriber DTCP based lawful intercept only"; + type empty; + } + container dns { + presence "enable dns"; + description "Enable Name server"; + uses apply-advanced; + leaf max-cache-ttl { + description "Max TTL for cached responses"; + default "604800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + leaf max-ncache-ttl { + description "Max TTL for cached negative responses"; + default "10800"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 604800"; + } + } + } + container traceoptions { + description "DNS server trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + leaf debug-level { + description "Debug level"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 99"; + } + } + } + list category { + key name; + description "Logging category"; + leaf name { + type enumeration { + enum "default" { + description "Categories where no specific configuration"; + } + enum "general" { + description "General infomation"; + } + enum "database" { + description "Messages relating to the databases"; + } + enum "security" { + description "Approval and denial of requests"; + } + enum "config" { + description "Configuraion file parsing and processing"; + } + enum "resolver" { + description "DNS resolution"; + } + enum "xfer-in" { + description "Zone transfers the server is receiving"; + } + enum "xfer-out" { + description "Zone transfers the server is sending"; + } + enum "notify" { + description "The NOTIFY protocol"; + } + enum "client" { + description "Processing of client requests"; + } + enum "unmatched" { + description "Messages named was unable to determine the class"; + } + enum "network" { + description "Network options"; + } + enum "update" { + description "Dynamic updates"; + } + enum "update-security" { + description "Approval and denial of update requests"; + } + enum "queries" { + description "DNS query"; + } + enum "dispatch" { + description "Dispatching of incoming packets to the server"; + } + enum "dnssec" { + description "DNSSEC and TSIG protocol processing"; + } + enum "lame-servers" { + description "Lame servers"; + } + enum "delegation-only" { + description "Delegation only"; + } + enum "edns-disabled" { + description "Log query using plain DNS"; + } + } + } + } + } + list forwarders { + key name; + ordered-by user; + description "Server IPs to DNS query will be forwarded"; + leaf name { + description "IP address"; + type jt:ipaddr; + } + uses apply-advanced; + } + container dnssec { + presence "enable dnssec"; + description "Configure DNSSEC"; + uses apply-advanced; + leaf disable { + description "Disable DNSSEC"; + type empty; + } + container trusted-keys { + presence "enable trusted-keys"; + description "Trusted keys"; + uses apply-advanced; + list key { + key name; + ordered-by user; + description "Trusted key"; + leaf name { + description "Trusted key"; + type string; + } + uses apply-advanced; + } + } + list dlv { + key "domain trusted-anchor"; + ordered-by user; + description "Configure DLV (DNS Lookaside Validation)"; + leaf domain { + description "Name of the domain"; + type string; + } + leaf trusted-anchor { + description "Trusted DLV anchor"; + type string; + } + } + list secure-domains { + key name; + ordered-by user; + description "Domains for which only signed responses are accepted"; + leaf name { + description "Domain name"; + type string; + } + uses apply-advanced; + } + } + } + container service-deployment { + description "Configuration for Service Deployment (SDXD) management application"; + uses apply-advanced; + leaf local-certificate { + description "Name of local X.509 certificate to use"; + type string { + length "1 .. 1024"; + } + } + leaf source-address { + description "Local IPv4 address to be used as source address for traffic to SDX"; + type jt:ipv4addr; + } + list servers { + key name; + ordered-by user; + description "Service deployment system configuration"; + max-elements 3; + leaf name { + description "IPv4 address of SDX server"; + type jt:ipv4addr; + } + uses apply-advanced; + leaf port { + description "TCP port of SDX server"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf user { + description "Username used by SDX when logging into the router"; + type string; + } + container security-options { + description "Specify mechanism to secure the connection"; + uses apply-advanced; + choice protocol { + case case_1 { + leaf tls { + description "Use TLS for transport layer security"; + type empty; + } + } + case case_2 { + leaf ssl3 { + description "Use SSLv3 for transport layer security"; + type empty; + } + } + } + } + } + container traceoptions { + description "Service deployment daemon trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing options"; + leaf name { + type enumeration { + enum "beep" { + description "Trace BEEP protocol events"; + } + enum "profile" { + description "Trace BEEP profile events"; + } + enum "application" { + description "Trace application events"; + } + enum "io" { + description "Trace I/O activities"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container outbound-ssh { + description "Initiate outbound SSH connection"; + uses apply-advanced; + container traceoptions { + description "Outbound SSH trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "connectivity" { + description "Trace TCP connection handling"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list client { + key name; + ordered-by user; + description "Define a device initiated SSH connection"; + leaf name { + description "Client application identifier"; + type string; + } + uses apply-advanced; + leaf disable-ssh-security-settings { + description "Disable ssh security parameter defined under [system services ssh]"; + status deprecated; + type empty; + } + leaf device-id { + description "Unique ID used by client to identify this device"; + type string; + } + leaf secret { + description "Shared secret between client and this device"; + type jt:unreadable; + } + container keep-alive { + presence "enable keep-alive"; + uses apply-advanced; + leaf retry { + description "Maximum number of connection attempts"; + default "3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf timeout { + description "Timeout value for conection attempts"; + default "15"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf reconnect-strategy { + description "Strategy used to reconnect to a server"; + default "in-order"; + type enumeration { + enum "sticky" { + description "Attempt to reconnect to the server last connected to"; + } + enum "in-order" { + description "Attempt to reconnect to the first server configured"; + } + } + } + leaf services { + description "The subsystem(s) that can be invoked"; + type enumeration { + enum "netconf" { + description "Enable invoking NETCONF sub-system"; + } + } + } + list servers { + key name; + ordered-by user; + description "Client application servers"; + leaf name { + description "Client address to connect to"; + type string; + } + uses apply-advanced; + leaf port { + description "Client port to connect to"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf retry { + description "Maximum number of connection attempts"; + default "3"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf timeout { + description "Timeout value for conection attempts"; + default "15"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + container rest { + description "Allow RPC execution over HTTP(S) connection"; + uses apply-advanced; + container http { + presence "enable http"; + description "Unencrypted HTTP connection settings"; + uses apply-advanced; + leaf port { + description "Port number to accept HTTP connections"; + default "3000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf-list addresses { + ordered-by user; + description "List of addresses to listen for incoming connections"; + type jt:ipv4addr; + } + } + container https { + description "Encrypted HTTPS connections"; + uses apply-advanced; + leaf port { + description "Port number to accept HTTPS connections"; + default "3443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1024 .. 65535"; + } + } + } + leaf-list addresses { + ordered-by user; + description "List of addresses to listen for incoming connections"; + type jt:ipv4addr; + } + leaf server-certificate { + description "Local certificate identifier"; + type string { + } + } + leaf-list cipher-list { + ordered-by user; + description "List of allowed cipher suites in order of preference"; + type enumeration { + enum "rsa-with-rc4-128-md5" { + description "RSA, 128bit rc4, md5 hash"; + } + enum "rsa-with-rc4-128-sha" { + description "RSA, 128bit rc4, sha hash"; + } + enum "rsa-with-3des-ede-cbc-sha" { + description "RSA, 3des ede/cbc, sha hash"; + } + enum "dhe-rsa-with-3des-ede-cbc-sha" { + description "DHE/rsa, 3es/ede cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha" { + description "RSA, 128 bit aes/cbc, sha hash"; + } + enum "dhe-rsa-with-aes-128-cbc-sha" { + description "DHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-256-cbc-sha" { + description "RSA, 256 bit aes/cbc, sha hash"; + } + enum "dhe-rsa-with-aes-256-cbc-sha" { + description "DHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-rc4-128-sha" { + description "ECDHE/rsa, 128 bit rc4, sha hash"; + } + enum "ecdhe-rsa-with-3des-ede-cbc-sha" { + description "ECDHE/rsa, 128bit 3des ede/cbc sha hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha" { + description "ECDHE/rsa, 128 bit aes/cbc, sha hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha" { + description "ECDHE/rsa, 256 bit aes/cbc, sha hash"; + } + enum "rsa-with-aes-128-cbc-sha256" { + description "RSA, 128 bit aes/cbc, sha256 hash "; + } + enum "rsa-with-aes-256-cbc-sha256" { + description "RSA, 256 bit aes/cbc, sha256 hash"; + } + enum "dhe-rsa-with-aes-128-cbc-sha256" { + description "DHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + enum "dhe-rsa-with-aes-256-cbc-sha256" { + description "DHE/rsa, 256 bit aes/cbc, sha256 hash"; + } + enum "rsa-with-aes-128-gcm-sha256" { + description "RSA, 128 bit aes/gcm, sha256 hash"; + } + enum "rsa-with-aes-256-gcm-sha384" { + description "RSA, 256 bit aes/gcm, sha384 hash"; + } + enum "dhe-rsa-with-aes-128-gcm-sha256" { + description "DHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "dhe-rsa-with-aes-256-gcm-sha384" { + description "DHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-128-cbc-sha256" { + description "ECDHE/rsa, 128 bit aes/cbc, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-cbc-sha384" { + description "ECDHE/rsa, 256 bit aes/cbc, sha384 hash"; + } + enum "ecdhe-rsa-with-aes-128-gcm-sha256" { + description "ECDHE/rsa, 128 bit aes/gcm, sha256 hash"; + } + enum "ecdhe-rsa-with-aes-256-gcm-sha384" { + description "ECDHE/rsa, 256 bit aes/gcm, sha384 hash"; + } + } + } + container mutual-authentication { + description "Enable TLS mutual authentication"; + uses apply-advanced; + leaf certificate-authority { + description "Certificate authority profile"; + type string { + } + } + } + } + container control { + description "Control of the rest-api process"; + uses apply-advanced; + leaf-list allowed-sources { + ordered-by user; + description "List of allowed source IP addresses"; + type jt:ipv4addr; + } + leaf connection-limit { + description "Maximum number of simultaneous connections"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32; + } + } + } + container traceoptions { + description "Trace options for rest-api service"; + uses apply-advanced; + leaf flag { + description "Area to enable tracing"; + type enumeration { + enum "lighttpd" { + description "Enable tracing for lighttpd"; + } + enum "juise" { + description "Enable tracing for JUISE"; + } + enum "all" { + description "Enable all traces"; + } + } + } + } + leaf enable-explorer { + description "Enable REST API explorer tool"; + type empty; + } + } + container subscriber-management-helper { + description "Subscriber management helper configuration"; + uses smihelperd-type; + } + container dhcp-local-server { + description "Dynamic Host Configuration Protocol server configuration"; + uses jdhcp-local-server-type; + } + container database-replication { + description "Database replication configuration"; + uses bdbrepd-type; + } + container web-management { + description "Web management configuration"; + uses apply-advanced; + container traceoptions { + description "Web management trace options"; + uses httpd_traceoptions_type; + } + leaf management-url { + description "URL path for web management access"; + type string; + } + container http { + presence "enable http"; + description "Unencrypted HTTP connection settings"; + uses apply-advanced; + leaf port { + description "TCP port for incoming HTTP connections"; + default "80"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf-list interface { + ordered-by user; + description "Interfaces that accept HTTP access"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container https { + presence "enable https"; + description "Encrypted HTTPS connections"; + uses apply-advanced; + leaf port { + description "TCP port for incoming HTTPS connections"; + default "443"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + choice certificate-choice { + case case_1 { + leaf local-certificate { + description "X.509 certificate to use (from configuration)"; + type string; + } + } + case case_2 { + leaf pki-local-certificate { + description "X.509 certificate to use (from PKI local store)"; + type string { + } + } + } + case case_3 { + leaf system-generated-certificate { + description "X.509 certificate generated automatically by system"; + type empty; + } + } + } + leaf-list interface { + ordered-by user; + description "Interfaces that accept HTTPS access"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container control { + description "Control of the web management process"; + uses apply-advanced; + leaf max-threads { + description "Maximum simultaneous threads to handle requests"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16"; + } + } + } + } + container session { + description "Session parameters"; + uses apply-advanced; + leaf idle-timeout { + description "Default timeout of web-management sessions"; + default "1440"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1440"; + } + } + } + leaf session-limit { + description "Maximum number of web-management sessions to allow"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1024"; + } + } + } + } + } + container static-subscribers { + description "Static Subscriber Client configuration"; + uses jsscd-static-subscribers-type; + } + container subscriber-management { + description "Subscriber management configuration"; + uses smid-type; + } + container resource-monitor { + description "Resource monitor configuration"; + uses resource-monitor-type; + } + container cloud-analytics { + description "Cloud-analytics configuration options"; + uses apply-advanced; + container traceoptions { + description "Tracing cloud analytics"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing flag parameters"; + leaf name { + type enumeration { + enum "core" { + description "Trace core events"; + } + enum "finite-state-machine" { + description "Trace finite state machine events"; + } + enum "linecard-client" { + description "Trace line-card client events"; + } + enum "dfw-client" { + description "Trace DFW client events"; + } + enum "netconf-client" { + description "Trace NETCONF client events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "ui" { + description "Trace UI events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + list instance { + key name; + ordered-by user; + description "Device instance configuration"; + max-elements 1; + leaf name { + description "Instance name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + container network-agent { + description "Network agent configuration"; + uses apply-advanced; + container credentials { + description "Network agent name or XMMP username"; + uses apply-advanced; + leaf service-name { + description "Network agent name or XMPP username"; + type string { + length "1 .. 128"; + } + } + } + leaf mode { + description "Network agent mode"; + type enumeration { + enum "local" { + description "Network agent is hosted on the Device"; + } + } + } + leaf transport-mode { + description "Network agent transport mode"; + type enumeration { + enum "grpc" { + description "GRPC transport mode"; + } + enum "jti" { + description "Juniper telemetry transport mode"; + } + enum "http" { + description "Default transport mode"; + } + } + } + } + container discovery-server { + description "Discovery server configuration"; + uses apply-advanced; + container address { + presence "enable address"; + description "Discovery server connectivity information"; + uses apply-advanced; + container server-ip { + description "Server IP address"; + uses apply-advanced; + leaf addr { + description "IP address"; + type jt:ipaddr; + } + } + leaf server-host-name { + description "Server host name"; + type string { + length "1 .. 128"; + } + } + } + } + list streaming-policy { + key name; + description "Streaming policy configuration"; + max-elements 16; + leaf name { + description "Streaming policy name"; + type string { + length "1 .. 128"; + } + } + uses apply-advanced; + container frequency-range { + description "Streaming policy frequency range"; + uses apply-advanced; + container minimum { + uses apply-advanced; + leaf minimum-value { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf minimum-unit { + default "sec"; + type enumeration { + enum "sec" { + description "Seconds"; + } + enum "ms" { + description "Milli-Seconds"; + } + } + } + } + container maximum { + uses apply-advanced; + leaf maximum-value { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf maximum-unit { + default "sec"; + type enumeration { + enum "sec" { + description "Seconds"; + } + enum "ms" { + description "Milli Seconds"; + } + } + } + } + } + } + } + leaf mirror { + description "Enable analytics mirror flag"; + type empty; + } + } + container dhcp { + description "Configure DHCP server"; + uses apply-advanced; + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf default-lease-time { + description "Default lease time advertised to clients"; + units "seconds"; + type string; + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + length "1 .. 254"; + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-search { + key name; + ordered-by user; + description "Domain search list used to resolve hostnames"; + leaf name { + description "DNS search suffix"; + type string; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "NetBIOS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "DHCP server identifier advertised to clients"; + type jt:ipv4addr; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_9 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + } + } + } + case case_10 { + leaf byte-stream { + description "Stream of unsigned 8-bit values within quotes"; + type string; + } + } + } + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "Names of SIP servers"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list address { + key name; + ordered-by user; + description "IP addresses of SIP servers"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + container traceoptions { + description "DHCP server trace options"; + uses dhcp-traceoptions-type; + } + list pool { + key name; + ordered-by user; + description "DHCP address pool"; + leaf name { + description "Logical subnet address/netmask"; + type jt:ipprefix; + } + uses apply-advanced; + container address-range { + presence "enable address-range"; + description "Range of addresses to choose from"; + leaf low { + description "Lowest address in the range"; + type jt:ipv4addr; + } + leaf high { + description "Highest address in the range"; + type jt:ipv4addr; + } + } + list exclude-address { + key name; + ordered-by user; + description "Address to exclude from pool"; + leaf name { + description "IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf maximum-lease-time { + description "Maximum lease time advertised to clients"; + units "seconds"; + type string; + } + leaf default-lease-time { + description "Default lease time advertised to clients"; + units "seconds"; + type string; + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + length "1 .. 254"; + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-search { + key name; + ordered-by user; + description "Domain search list used to resolve hostnames"; + leaf name { + description "DNS search suffix"; + type string; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "NetBIOS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "DHCP server identifier advertised to clients"; + type jt:ipv4addr; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_9 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + } + } + } + case case_10 { + leaf byte-stream { + description "Stream of unsigned 8-bit values within quotes"; + type string; + } + } + } + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "Names of SIP servers"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list address { + key name; + ordered-by user; + description "IP addresses of SIP servers"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP Settings to pool"; + type string; + } + } + list static-binding { + key name; + ordered-by user; + description "DHCP client's hardware address"; + leaf name { + description "Ethernet hardware address belonging to host"; + type jt:mac-addr; + } + uses apply-advanced; + list fixed-address { + key name; + ordered-by user; + description "Possible IP addresses to assign to host"; + leaf name { + description "IPv4 address"; + type jt:ipaddr; + } + uses apply-advanced; + } + leaf host-name { + description "Hostname for this client"; + type string { + } + } + container client-identifier { + description "Client identifier option"; + choice client-identifier-choice { + case case_1 { + leaf ascii { + description "Client identifier as an ASCII string"; + type string; + } + } + case case_2 { + leaf hexadecimal { + description "Client identifier as a hexadecimal string"; + type string { + } + } + } + } + } + leaf domain-name { + description "Domain name advertised to clients"; + type string { + length "1 .. 254"; + } + } + list name-server { + key name; + ordered-by user; + description "Domain name servers available to the client"; + leaf name { + description "DNS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list domain-search { + key name; + ordered-by user; + description "Domain search list used to resolve hostnames"; + leaf name { + description "DNS search suffix"; + type string; + } + uses apply-advanced; + } + list wins-server { + key name; + ordered-by user; + description "NetBIOS name servers"; + leaf name { + description "WINS server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + list router { + key name; + ordered-by user; + description "Routers advertised to clients"; + leaf name { + description "Router's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + leaf boot-file { + description "Boot filename advertised to clients"; + type string; + } + leaf boot-server { + description "Boot server advertised to clients"; + type string { + } + } + leaf next-server { + description "Next server that clients need to contact"; + type jt:ipv4addr; + } + leaf server-identifier { + description "DHCP server identifier advertised to clients"; + type jt:ipv4addr; + } + list option { + key name; + ordered-by user; + description "DHCP option"; + leaf name { + description "DHCP option identifier code"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice option-type-choice { + case case_1 { + leaf flag { + description "Boolean flag value"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf byte { + description "Unsigned 8-bit value"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf short { + description "Signed 16-bit numeric value"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf unsigned-short { + description "Unsigned 16-bit numeric value"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf integer { + description "Signed 32-bit numeric value"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf unsigned-integer { + description "Unsigned 32-bit numeric value"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf string { + description "Character string value"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf ip-address { + description "IP address value"; + type jt:ipv4addr; + } + } + case case_9 { + container array { + presence "enable array"; + description "Array of values"; + uses apply-advanced; + choice option-type-array-choice { + case case_1 { + leaf-list flag { + ordered-by user; + description "Array of boolean flag values"; + type enumeration { + enum "true" { + description "True value"; + } + enum "false" { + description "False value"; + } + enum "on" { + description "On value"; + } + enum "off" { + description "Off value"; + } + } + } + } + case case_2 { + leaf-list byte { + ordered-by user; + description "Array of unsigned 8-bit values"; + type union { + type uint8; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_3 { + leaf-list short { + ordered-by user; + description "Array of signed 16-bit numeric values"; + type union { + type int16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_4 { + leaf-list unsigned-short { + ordered-by user; + description "Array of 16-bit numeric values"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_5 { + leaf-list integer { + ordered-by user; + description "Array of signed 32-bit numeric values"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_6 { + leaf-list unsigned-integer { + ordered-by user; + description "Array of unsigned 32-bit numeric values"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + case case_7 { + leaf-list string { + ordered-by user; + description "Array of character string values"; + type string { + length "1 .. 254"; + } + } + } + case case_8 { + leaf-list ip-address { + ordered-by user; + description "Array of IP address values"; + type jt:ipv4addr; + } + } + } + } + } + case case_10 { + leaf byte-stream { + description "Stream of unsigned 8-bit values within quotes"; + type string; + } + } + } + } + container sip-server { + description "SIP servers to clients"; + uses apply-advanced; + list name { + key name; + ordered-by user; + description "Names of SIP servers"; + leaf name { + description "SIP server name"; + type string; + } + uses apply-advanced; + } + list address { + key name; + ordered-by user; + description "IP addresses of SIP servers"; + leaf name { + description "SIP server's IPv4 address"; + type jt:ipv4addr; + } + uses apply-advanced; + } + } + } + leaf propagate-settings { + description "Interface name for propagating TCP/IP Settings to pool"; + type string; + } + } + } + container syslog { + description "System logging facility"; + uses apply-advanced; + container archive { + description "Archive file information"; + presence "enable archive"; + uses archive-object; + } + list user { + key name; + ordered-by user; + description "Notify a user of the event"; + leaf name { + description "Name of user to notify"; + type string { + } + } + uses apply-advanced; + list contents { + key name; + uses syslog-object; + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf allow-duplicates { + description "Do not suppress the repeated message"; + type empty; + } + leaf-list match-strings { + ordered-by user; + description "Matching string(s) for lines to be logged"; + type string; + max-elements 50; + } + } + list host { + key name; + ordered-by user; + description "Host to be notified"; + leaf name { + description "Name of host to notify"; + type string; + } + uses apply-advanced; + list contents { + key name; + uses syslog-object; + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf allow-duplicates { + description "Do not suppress the repeated message"; + type empty; + } + leaf port { + description "Port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf facility-override { + description "Alternate facility for logging to remote host"; + type enumeration { + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf log-prefix { + description "Prefix for all logging to this host"; + type string { + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf explicit-priority { + description "Include priority and facility in messages"; + type empty; + } + leaf exclude-hostname { + description "Exclude hostname field in messages"; + type empty; + } + leaf-list match-strings { + ordered-by user; + description "Matching string(s) for lines to be logged"; + type string; + max-elements 50; + } + container structured-data { + presence "enable structured-data"; + description "Log system message in structured format"; + uses apply-advanced; + choice format { + case case_1 { + leaf brief { + description "Omit English-language text from end of logged message"; + type empty; + } + } + } + } + } + leaf allow-duplicates { + description "Do not suppress the repeated message for all targets"; + type empty; + } + list file { + key name; + ordered-by user; + description "File in which to log data"; + leaf name { + description "Name of file in which to log data"; + type string { + length "1 .. 1024"; + } + } + uses apply-advanced; + list contents { + key name; + uses syslog-object; + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + leaf allow-duplicates { + description "Do not suppress the repeated message"; + type empty; + } + container archive { + description "Archive file information"; + presence "enable archive"; + uses archive-object; + } + leaf explicit-priority { + description "Include priority and facility in messages"; + type empty; + } + leaf-list match-strings { + ordered-by user; + description "Matching string(s) for lines to be logged"; + type string; + max-elements 50; + } + container structured-data { + presence "enable structured-data"; + description "Log system message in structured format"; + uses apply-advanced; + choice format { + case case_1 { + leaf brief { + description "Omit English-language text from end of logged message"; + type empty; + } + } + } + } + } + list console { + key name; + description "Console logging"; + leaf name { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "ntp" { + description "NTP process"; + } + enum "security" { + description "Security related"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "dfc" { + description "Dynamic flow capture"; + } + enum "external" { + description "Local external applications"; + } + enum "firewall" { + description "Firewall filtering system"; + } + enum "pfe" { + description "Packet Forwarding Engine"; + } + enum "conflict-log" { + description "Configuration conflict log"; + } + enum "change-log" { + description "Configuration change log"; + } + enum "interactive-commands" { + description "Commands executed by the UI"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + container time-format { + presence "enable time-format"; + description "Additional information to include in system log timestamp"; + leaf year { + description "Include year in timestamp"; + type empty; + } + leaf millisecond { + description "Include milliseconds in timestamp"; + type empty; + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf log-rotate-frequency { + description "Rotate log frequency"; + default "15"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 59"; + } + } + } + container server { + presence "enable server"; + description "Enable syslog server"; + uses apply-advanced; + list routing-instances { + key name; + ordered-by user; + description "Enable/disable syslog server in routing-instances"; + leaf name { + description "Routing instance name"; + type string; + } + uses apply-advanced; + container disable { + presence "enable disable"; + description "Disable syslog server in this routing instance"; + } + } + } + } + container tracing { + description "System wide option for remote tracing"; + container destination-override { + description "Override tracing destination"; + container syslog { + description "Send trace messages to remote syslog server"; + leaf host { + description "IPv4 address of remote syslog server"; + type jt:ipv4addr; + } + } + } + } + choice compress-configuration-files-choice { + leaf compress-configuration-files { + description "Compress the router configuration files"; + type empty; + } + leaf no-compress-configuration-files { + description "Don't compress the router configuration files"; + type empty; + } + } + leaf max-configurations-on-flash { + description "Number of configuration files stored on flash"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 49"; + } + } + } + leaf max-configuration-rollbacks { + description "Number of rollback configuration files"; + default "49"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 49"; + } + } + } + container archival { + description "System archival management"; + uses apply-advanced; + container configuration { + description "Automatic configuration uploads to host(s)"; + uses apply-advanced; + choice transfer-method { + case case_1 { + leaf transfer-interval { + description "Frequency at which file transfer happens"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "15 .. 2880"; + } + } + } + } + case case_2 { + leaf transfer-on-commit { + description "Transfer after each commit"; + type empty; + } + } + } + list archive-sites { + key name; + ordered-by user; + description "List of archive destinations"; + leaf name { + description "URLs to receive configuration files"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + } + } + } + container extensions { + presence "enable extensions"; + description "Configuration for extensions to JUNOS"; + uses apply-advanced; + list providers { + key name; + ordered-by user; + leaf name { + type string { + } + } + uses apply-advanced; + list license-type { + key name; + ordered-by user; + leaf name { + description "Type of the license"; + type string { + } + } + leaf-list deployment-scope { + ordered-by user; + type string; + } + } + } + container extension-service { + presence "enable extension-service"; + description "Enable JUNOS extension service"; + uses apply-advanced; + container application { + presence "enable application"; + description "JUNOS extension service application"; + uses apply-advanced; + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + list file { + key name; + description "Configuration for each extension-service application"; + uses jet_scripts_file_type; + } + container traceoptions { + description "Trace options for extension-service applications"; + uses script_traceoptions; + } + leaf max-datasize { + description "Maximum data segment size for apps execution"; + units "bytes"; + type string; + } + } + } + container resource-limits { + description "Process resource limits"; + uses apply-advanced; + list process { + key name; + ordered-by user; + leaf name { + description "Process name"; + type string; + } + uses apply-advanced; + container resources { + description "Resource limits"; + presence "enable resources"; + uses resources-type; + } + } + list package { + key name; + ordered-by user; + leaf name { + description "Package name"; + type string; + } + uses apply-advanced; + container resources { + description "Resource limits"; + presence "enable resources"; + uses resources-type; + } + } + } + } + container license { + description "License information for the router"; + uses license-object; + } + container proxy { + description "Proxy information for the router"; + uses proxy-object; + } + container fips { + description "FIPS configuration"; + uses apply-advanced; + container chassis { + description "FIPS chassis boundary configuration"; + uses apply-advanced; + leaf level { + description "FIPS chassis level configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 2"; + } + } + } + } + leaf level { + description "FIPS 140 level"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 2"; + } + } + } + container self-test { + description "Configure FIPS self-test execution"; + uses apply-advanced; + leaf after-key-generation { + description "FIPS self-test after cryptographic key generation"; + status deprecated; + type enumeration { + enum "enable" { + description "Enable FIPS self-test after cryptographic key generation"; + status deprecated; + } + enum "disable" { + description "Disable FIPS self-test after cryptographic key generation"; + status deprecated; + } + } + } + container periodic { + description "Configure periodic FIPS self-test"; + uses apply-advanced; + leaf start-time { + description "Time when the periodic FIPS self-tests are to be executed (hh:mm)"; + type string { + } + } + leaf day-of-month { + description "Day of the month when FIPS self-tests are to be executed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 31"; + } + } + } + leaf month { + description "The month when FIPS self-tests are to be executed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 12"; + } + } + } + leaf day-of-week { + description "Day of the week when the FIPS self-tests are to be executed (where 1 - Monday, 7 - Sunday)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 7"; + } + } + } + } + } + } + container rng { + description "Configure system CSPRNG"; + uses apply-advanced; + choice algorithm { + case case_1 { + leaf yarrow { + description "Yarrow"; + type empty; + } + } + case case_2 { + leaf hmac-drbg { + description "HMAC DRBG, NIST SP800-90A"; + type empty; + } + } + } + } + container export-format { + description "Setting the properties related to exporting the data"; + uses apply-advanced; + container json { + description "Set the type of JSON format"; + uses apply-advanced; + choice json-type { + case case_1 { + leaf verbose { + description "All the objects will be emitted as JSON arrays"; + status deprecated; + type empty; + } + } + case case_2 { + leaf ietf { + description "JSON format will be emitted as per ietf draft"; + type empty; + } + } + } + } + container state-data { + description "Setting the properties with respect to state data"; + uses apply-advanced; + container json { + description "Set the type of JSON format for state data rendering"; + uses apply-advanced; + choice json-type { + case case_1 { + leaf compact { + description "Display JSON in compact format"; + type empty; + } + } + } + } + } + } + container health-monitor { + presence "enable health-monitor"; + description "Kernel health monitoring system"; + uses apply-advanced; + container ifstate-clients { + presence "enable ifstate-clients"; + description "Configure health monitor for ifstate clients on ifstate consumption"; + uses apply-advanced; + container peer-stuck { + presence "enable peer-stuck"; + description "PFE/RE/Smart PIC peers ifstate consumption"; + uses apply-advanced; + leaf threshold-level { + description "Threshold level to categorize peers as stuck"; + default "medium"; + type enumeration { + enum "low" { + description "Low - 180s"; + } + enum "medium" { + description "Medium - 360s"; + } + enum "high" { + description "High - 540s"; + } + } + } + leaf action { + description "Set an action on stuck peers"; + default "alarm"; + type enumeration { + enum "alarm" { + description "An alarm will be raised"; + } + enum "alarm-with-cores" { + description "Live cores(stuck peer and vmcore) along with Alarm"; + } + enum "restart" { + description "The stuck peers will be restarted"; + } + } + } + } + container non-peer-stuck { + presence "enable non-peer-stuck"; + description "Non-peer clients(daemons) on ifstate consumption"; + uses apply-advanced; + leaf threshold-level { + description "Threshold level to categorize non-peer ifstate clients as stuck"; + default "medium"; + type enumeration { + enum "low" { + description "Low - 180s"; + } + enum "medium" { + description "Medium - 360s(Default)"; + } + enum "high" { + description "High - 540s"; + } + } + } + leaf action { + description "Set an action on stuck non-peer ifstate clients"; + default "alarm"; + type enumeration { + enum "alarm" { + description "An alarm will be raised"; + } + enum "alarm-with-cores" { + description "Live cores(stuck client and vmcore) along with Alarm"; + } + enum "restart" { + description "The stuck non-peer ifstate clients will be restarted"; + } + } + } + } + container all-clients-stuck { + presence "enable all-clients-stuck"; + description "All ifstate clients on ifstate consumption"; + uses apply-advanced; + leaf threshold-level { + description "Threshold level to categorize all ifsate clients as stuck"; + default "medium"; + type enumeration { + enum "low" { + description "Low - 180s"; + } + enum "medium" { + description "Medium - 360s(Default)"; + } + enum "high" { + description "High - 540s"; + } + } + } + leaf action { + description "Set an action on all stuck ifstate clients"; + default "alarm"; + type enumeration { + enum "alarm" { + description "An alarm will be raised"; + } + enum "alarm-with-cores" { + description "Live cores(stuck ifstate client and vmcore) along with Alarm"; + } + enum "restart" { + description "The stuck non-peer ifstate clients will be restarted"; + } + } + } + } + } + } + container packet-forwarding-options { + description "Packet Forwarding engine options"; + uses apply-advanced; + } + container auto-configuration { + presence "enable auto-configuration"; + uses apply-advanced; + container traceoptions { + description "Autoconfiguration trace options"; + uses autoconf_traceoptions_type; + } + } + container processes { + description "Process control"; + uses apply-advanced; + container routing { + description "Routing process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable routing process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of routing process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + choice mode { + case case_1 { + leaf force-32-bit { + description "Always use 32-bit mode"; + type empty; + } + } + case case_2 { + leaf force-64-bit { + description "Always use 64-bit mode"; + type empty; + } + } + case case_3 { + leaf auto-64-bit { + description "Use 64-bit mode if RE memory is sufficient"; + type empty; + } + } + } + } + container chassis-control { + description "Chassis control process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable chassis control process"; + type empty; + } + } + } + } + container service-pics { + description "Service PICs process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable service PICs process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of service PICs process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container ntp { + description "Network time process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable network time process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of network time process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container watchdog { + description "Watchdog timer"; + choice enable-disable { + case case_1 { + leaf enable { + description "Enable watchdog timer"; + type empty; + } + } + case case_2 { + leaf disable { + description "Disable watchdog timer"; + type empty; + } + } + } + leaf timeout { + description "Watchdog timer value"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + } + container process-monitor { + description "Process health monitor process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Process health monitor process"; + type empty; + } + } + } + container traceoptions { + description "Process health monitor trace options"; + uses pmond-traceoptions-type; + } + } + container resource-cleanup { + description "Resource cleanup process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Resource cleanup process"; + type empty; + } + } + } + container traceoptions { + description "Resource cleanup process trace options"; + uses res-cleanupd-traceoptions-type; + } + } + container routing-socket-proxy { + description "Routing socket proxy process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable routing socket proxy process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of routing socket proxy process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container web-management { + description "Web management process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable web management process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of web management process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container named-service { + presence "enable named-service"; + description "DNS server process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable dns server process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of dns server process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + } + container cfm { + description "Ethernet OAM connectivity fault management process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable CFM process"; + type empty; + } + } + } + } + container general-authentication-service { + description "General authentication service process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable general-authentication service process"; + type empty; + } + } + } + container traceoptions { + description "General authentication service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + container filter { + presence "enable filter"; + description "Filter to control trace messages"; + uses apply-advanced; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration events"; + } + enum "framework" { + description "Trace authentication framework events"; + } + enum "radius" { + description "Trace radius authentication events"; + } + enum "local-authentication" { + description "Trace local authentication events"; + } + enum "ldap" { + description "Trace ldap authentication events"; + } + enum "address-assignment" { + description "Trace address-assignment events"; + } + enum "jsrc" { + description "Trace jsrc events"; + } + enum "gx-plus" { + description "Trace gx-plus events"; + } + enum "session-db" { + description "Trace session DB events"; + } + enum "profile-db" { + description "Trace profile DB events"; + } + enum "lib-stats" { + description "Trace lib stats events"; + } + enum "user-access" { + description "Trace subscriber events"; + } + enum "nasreq" { + description "Trace nasreq events"; + } + enum "ocs-backup" { + description "Trace nasreq events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container dhcp-service { + description "Dynamic Host Configuration Protocol general configuration"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable dhcp service process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of dhcp service process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + container persistent-storage { + description "DHCP persistent storage configuration parameters"; + uses apply-advanced; + leaf file-name { + description "File name"; + type string { + length "1 .. 64"; + } + } + leaf backup-interval { + description "Number of hours after which backup file will be created"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 48"; + } + } + } + } + container traceoptions { + description "Trace options for DHCP"; + uses jdhcp-traceoptions-level-type; + } + container interface-traceoptions { + description "Interface trace options for DHCP"; + uses jdhcp-interface-traceoptions-level-type; + } + container dhcp-snooping-file { + description "DHCP snooping persistence file, write-interval and timeout"; + uses apply-advanced; + leaf location { + description "Location of DHCP snooping entries file"; + type jt:filename; + } + leaf write-interval { + description "Time interval for writing DHCP snooping entries"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container dhcpv6-snooping-file { + description "DHCPv6 snooping persistence file and write-interval timeout"; + uses apply-advanced; + leaf location { + description "Location of DHCPv6 snooping entries file"; + type jt:filename; + } + leaf write-interval { + description "Time interval in seconds for writing DHCPv6 snooping entries"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 86400"; + } + } + } + } + container ltv-syslog-interval { + description "Lease time violation syslog interval"; + uses apply-advanced; + leaf syslog-interval { + description "Syslog interval in secs"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + leaf accept-max-tcp-connections { + description "Max TCP connections served globally at a time"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf request-max-tcp-connections { + description "Max TCP connections requested globally at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + container diameter-service { + description "Diameter process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable diameter process"; + type empty; + } + } + } + container traceoptions { + description "Diameter service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Aread to enabe debugging output"; + leaf name { + type enumeration { + enum "framework" { + description "Trace Diameter framework"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "memory-management" { + description "Trace memory management events"; + } + enum "daemon" { + description "Trace daemon level events"; + } + enum "application" { + description "Trace Diameter application interface"; + } + enum "node" { + description "Trace Diameter node events"; + } + enum "diameter-instance" { + description "Trace Diameter instance events"; + } + enum "dne" { + description "Trace Diameter DNE events"; + } + enum "peer" { + description "Trace Diameter peer events"; + } + enum "messages" { + description "Trace Diameter messages"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + } + container sbc-configuration-process { + description "SBC configuration process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SBC configuration process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of SBC configuration process"; + type enumeration { + enum "other-routing-engine" { + description "On failure, switch mastership to other Routing Engine"; + } + enum "alternate-media" { + description "On failure, reboot off alternate media"; + } + } + } + container traceoptions { + description "SBC configuration process trace options"; + uses sbc_traceoptions; + } + } + container sdk-service { + description "SDK Service Daemon"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SDK Service Daemon"; + type empty; + } + } + } + container traceoptions { + description "SDK Service Daemon trace options"; + uses ssd-traceoptions-type; + } + } + container aaad { + description "AAAD process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable AAAD process"; + type empty; + } + } + } + container traceoptions { + description "AAA trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "send" { + description "Trace transmitted packets"; + } + enum "send-detail" { + description "Trace transmitted packets in detail"; + } + enum "receive" { + description "Trace received packets"; + } + enum "receive-detail" { + description "Trace received packets in detail"; + } + enum "timeout" { + description "Trace timeout events"; + } + enum "state" { + description "Trace DIAMTER peer state changes"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + list peer { + key name; + ordered-by user; + description "Trace packet sent to or received from the peer[s]"; + leaf name { + description "Trace packet sent to or received from the peer"; + type string { + length "1 .. 31"; + } + } + uses apply-advanced; + } + } + } + container app-engine-virtual-machine-management-service { + description "App-engine Virtual Machine Management"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SDK Virtual Machine Management Daemon"; + type empty; + } + } + } + container traceoptions { + description "App-engine virtual machine management trace options"; + uses sdk-vmmd-traceoptions-type; + } + } + container app-engine-management-service { + description "App-engine Management Daemon"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SDK Management Daemon"; + type empty; + } + } + } + container traceoptions { + description "App-engine management daemon trace options"; + uses sdk-mgmtd-traceoptions-type; + } + } + container datapath-trace-service { + description "Datapath Trace process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Datapath Trace process"; + type empty; + } + } + } + container traceoptions { + description "DATAPATH Trace process trace options"; + uses datapath-traced-traceoptions-type; + } + } + container send { + description "Secure Neighbor Discovery Protocol process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable SEND process"; + type empty; + } + } + } + } + container static-subscribers { + description "Static subscribers process"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable static-subscribers process"; + type empty; + } + } + } + } + container extensible-subscriber-services { + description "Extensible Subscriber Services Manager Daemon"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable Extensible Subscriber Services Manager Daemon"; + type empty; + } + } + } + } + list daemon-process { + key name; + ordered-by user; + uses daemon-process; + } + container video-monitoring { + description "Video Monitoring Process"; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable video monitoring process"; + type empty; + } + } + } + container traceoptions { + description "Trace options for VMOND"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + } + } + } + container ddos-protection { + description "Configure DDOS process"; + uses apply-advanced; + container traceoptions { + description "DDOS trace options"; + uses ddos-traceoptions-type; + } + container global { + description "DDOS global configurations"; + uses apply-advanced; + leaf disable-routing-engine { + description "Disable Routing Engine policing for all protocols"; + type empty; + } + leaf disable-fpc { + description "Disable FPC policing for all protocols"; + type empty; + } + leaf disable-logging { + description "Disable event logging for all protocols"; + type empty; + } + leaf flow-detection { + description "Enable flow detection for all protocols"; + type empty; + } + leaf violation-report-rate { + description "Set the rate of reporting protocol violations for all FPC's"; + units "reports per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + leaf flow-report-rate { + description "Set the rate of reporting flows for all FPC's"; + units "reports per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + leaf flow-detection-mode { + description "Default flow detection mode for all packet types"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + leaf flow-level-control { + description "Default control action for all flow aggregation levels"; + type enumeration { + enum "drop" { + description "Drop all traffic of the flows"; + } + enum "keep" { + description "Keep all traffic of the flows"; + } + enum "police" { + description "Police flows to within the bandwidth"; + } + } + } + } + container protocols { + description "DDOS protocol parameters"; + uses apply-advanced; + container ipv4-unclassified { + description "Configure unclassified host-bound IPv4 traffic"; + status deprecated; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all unclassified host-bound IPv4 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ipv6-unclassified { + description "Configure unclassified host-bound IPv6 traffic"; + status deprecated; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all unclassified host-bound IPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container resolve { + description "Configure resolve traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all resolve traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container other { + description "Configure all other unclassified resolve packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container ucast-v4 { + description "Configure ipv4 unicast resolve packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mcast-v4 { + description "Configure ipv4 multicast resolve packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container ucast-v6 { + description "Configure ipv6 unicast resolve packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mcast-v6 { + description "Configure ipv6 multicast resolve packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container filter-action { + description "Configure filter action traffic (none-dhcp)"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all filter action traffic (none-dhcp)"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container other { + description "Configure non v4/v6 firewall action packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container filter-v4 { + description "Configure v4 filter action packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container filter-v6 { + description "Configure v6 filter action packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container dynamic-vlan { + description "Configure dynamic vlan exceptions"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all dynamic vlan exceptions"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ppp { + description "Configure PPP control traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PPP control traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container unclassified { + description "Configure unclassified PPP control traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container lcp { + description "Configure Link Control Protocol"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container authentication { + description "Configure Authentication Protocol"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container ipcp { + description "Configure IP Control Protocol"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container ipv6cp { + description "Configure IPv6 Control Protocol"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mplscp { + description "Configure MPLS Control Protocol"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container isis { + description "Configure ISIS Protocol"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container echo-req { + description "Configure LCP Echo Request"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container echo-rep { + description "Configure LCP Echo Reply"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mlppp-lcp { + description "Configure MLPPP LCP"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pppoe { + description "Configure PPPoE control traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PPPoE control traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container padi { + description "Configure PPPoE PADI"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container pado { + description "Configure PPPoE PADO"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container padr { + description "Configure PPPoE PADR"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container pads { + description "Configure PPPoE PADS"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container padt { + description "Configure PPPoE PADT"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container padm { + description "Configure PPPoE PADM"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container padn { + description "Configure PPPoE PADN"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container dhcpv4 { + description "Configure DHCPv4 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all DHCPv4 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified DHCPv4 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container discover { + description "Configure DHCPv4 DHCPDISCOVER"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container offer { + description "Configure DHCPv4 DHCPOFFER"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container request { + description "Configure DHCPv4 DHCPREQUEST"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container decline { + description "Configure DHCPv4 DHCPDECLINE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container ack { + description "Configure DHCPv4 DHCPACK"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container nak { + description "Configure DHCPv4 DHCPNAK"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container release { + description "Configure DHCPv4 DHCPRELEASE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container inform { + description "Configure DHCPv4 DHCPINFORM"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container renew { + description "Configure DHCPv4 DHCPRENEW"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container force-renew { + description "Configure DHCPv4 DHCPFORCERENEW"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container lease-query { + description "Configure DHCPv4 DHCPLEASEQUERY"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container lease-unassigned { + description "Configure DHCPv4 DHCPLEASEUNASSIGNED"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container lease-unknown { + description "Configure DHCPv4 DHCPLEASEUNKOWN"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container lease-active { + description "Configure DHCPv4 DHCPLEASEACTIVE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container bootp { + description "Configure DHCPv4 DHCPBOOTP"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container no-message-type { + description "Configure DHCPv4 traffic with missing message type"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container bad-packets { + description "Configure DHCPv4 traffic with bad format"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + } + container dhcpv6 { + description "Configure DHCPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all DHCPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified DHCPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container solicit { + description "Configure DHCPv6 SOLICIT"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container advertise { + description "Configure DHCPv6 ADVERTISE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container request { + description "Configure DHCPv6 REQUEST"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container confirm { + description "Configure DHCPv6 CONFIRM"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container renew { + description "Configure DHCPv6 RENEW"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container rebind { + description "Configure DHCPv6 REBIND"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container reply { + description "Configure DHCPv6 REPLY"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container release { + description "Configure DHCPv6 RELEASE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container decline { + description "Configure DHCPv6 DECLINE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container reconfigure { + description "Configure DHCPv6 RECONFIGURE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container information-request { + description "Configure DHCPv6 INFORMATION-REQUEST"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container relay-forward { + description "Configure DHCPv6 RELAY-FORW"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container relay-reply { + description "Configure DHCPv6 RELAY-REPL"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container leasequery { + description "Configure DHCPv6 LEASEQUERY"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container leasequery-reply { + description "Configure DHCPv6 LEASEQUERY-REPLY"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container leasequery-done { + description "Configure DHCPv6 LEASEQUERY-DONE"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container leasequery-data { + description "Configure DHCPv6 LEASEQUERY-DATA"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + } + container virtual-chassis { + description "Configure virtual chassis traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all virtual chassis traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container unclassified { + description "Configure unclassified virtual chassis traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container control-high { + description "Configure high priority control traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container control-low { + description "Configure low priority control traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container vc-packets { + description "Configure all exception packets on vc link"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container vc-ttl-errors { + description "Configure ttl errors"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container icmp { + description "Configure ICMP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ICMP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container igmp { + description "Configure IGMP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all IGMP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ospf { + description "Configure OSPF traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all OSPF traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container rsvp { + description "Configure RSVP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all RSVP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pim { + description "Configure PIM traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PIM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container rip { + description "Configure RIP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all RIP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ptp { + description "Configure PTP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PTP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container bfd { + description "Configure BFD traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all BFD traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified Unclassified BFD traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container multihop-bfd { + description "Configure Multihop BFD traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container lmp { + description "Configure LMP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all LMP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ldp { + description "Configure LDP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all LDP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified Unclassified LDP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container ldp-hello { + description "Configure LDP Hello traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container msdp { + description "Configure MSDP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all MSDP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container bgp { + description "Configure BGP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all BGP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container vrrp { + description "Configure VRRP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all VRRP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container telnet { + description "Configure telnet traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all telnet traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ftp { + description "Configure FTP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all FTP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ssh { + description "Configure SSH traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all SSH traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container snmp { + description "Configure SNMP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all SNMP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ancp { + description "Configure ANCP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ANCP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container igmpv6 { + description "Configure IGMPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all IGMPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified Unclassified IGMPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mld { + description "Configure MLD traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container egpv6 { + description "Configure EGPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all EGPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container rsvpv6 { + description "Configure RSVPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all RSVPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container igmpv4v6 { + description "Configure IGMPv4-v6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all IGMPv4-v6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ripv6 { + description "Configure RIPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all RIPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container bfdv6 { + description "Configure BFDv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all BFDv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container lmpv6 { + description "Configure LMPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all LMPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ldpv6 { + description "Configure LDPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all LDPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container msdpv6 { + description "Configure MSDPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all MSDPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container bgpv6 { + description "Configure BGPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all BGPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container vrrpv6 { + description "Configure VRRPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all VRRPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container telnetv6 { + description "Configure telnet-v6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all telnet-v6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ftpv6 { + description "Configure FTPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all FTPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container sshv6 { + description "Configure SSHv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all SSHv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container snmpv6 { + description "Configure SNMPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all SNMPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ancpv6 { + description "Configure ANCPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ANCPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ospfv3v6 { + description "Configure OSPFv3v6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all OSPFv3v6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container lacp { + description "Configure LACP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all LACP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container stp { + description "Configure STP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all STP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container esmc { + description "Configure ESMC traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ESMC traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container oam-lfm { + description "Configure OAM-LFM traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all OAM-LFM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container eoam { + description "Configure EOAM traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all EOAM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified Unclassified EOAM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container oam-cfm { + description "Configure OAM-CFM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container lldp { + description "Configure LLDP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all LLDP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container mvrp { + description "Configure MVRP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all MVRP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pmvrp { + description "Configure PMVRP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PMVRP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container arp { + description "Configure ARP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ARP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified Unclassifiedi ARP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container arp-snoop { + description "Configure ARP snoop traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pvstp { + description "Configure PVSTP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PVSTP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container isis { + description "Configure ISIS traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ISIS traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pos { + description "Configure POS traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all POS traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container mlp { + description "Configure MLP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all MLP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container unclassified { + description "Configure unclassified MLP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container lookup { + description "Configure MLP lookup request"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container add { + description "Configure MLP add request"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container delete { + description "Configure MLP delete request"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container macpin-exception { + description "Configure MAC-pinning exceptions"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container jfm { + description "Configure JFM traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all JFM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container atm { + description "Configure ATM traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ATM traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pfe-alive { + description "Configure pfe alive traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all pfe alive traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ttl { + description "Configure ttl traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ttl traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ip-options { + description "Configure ip options traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ip options traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container unclassified { + description "Configure Unclassified options traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container router-alert { + description "Configure Router alert options traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container non-v4v6 { + description "Configure Non IPv4/v6 options traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container redirect { + description "Configure packets to trigger ICMP redirect"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all packets to trigger ICMP redirect"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container multicast-copy { + description "Configure host copy due to multicast routing"; + status deprecated; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all host copy due to multicast routing"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container exceptions { + description "Configure exception traffic sent to host"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all exception traffic sent to host"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container unclassified { + description "Configure all unclassified discards"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mtu-exceeded { + description "Configure packets exceeded MTU"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mcast-rpf-err { + description "Configure packets failed the multicast RPF check"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container mac-host { + description "Configure L2-MAC configured 'send-to-host'"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all L2-MAC configured 'send-to-host'"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container tunnel-fragment { + description "Configure tunnel fragment"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all tunnel fragment"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container mcast-snoop { + description "Configure snooped multicast control traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all snooped multicast control traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container igmp { + description "Configure snooped igmp traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container pim { + description "Configure snooped pim traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mld { + description "Configure snooped mld traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container services { + description "Configure services"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all services"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container packet { + description "Configure Service packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container bsdt { + description "Configure Test packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container demux-autosense { + description "Configure demux autosense traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all demux autosense traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container reject { + description "Configure packets via 'reject' action"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all packets via 'reject' action"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container firewall-host { + description "Configure packets via firewall 'send-to-host' action"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all packets via firewall 'send-to-host' action"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container tcp-flags { + description "Configure packets with tcp flags"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all packets with tcp flags"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container unclassified { + description "Configure TCP packets with other tcp flags"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container initial { + description "Configure First packets of TCP sessions (SYN & !ACK)"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container established { + description "Configure Non-first packets of TCP sessions (ACK | RST)"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container dtcp { + description "Configure dtcp traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all dtcp traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container radius { + description "Configure Radius traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Radius traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container server { + description "Configure Radius server traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container accounting { + description "Configure Radius accounting traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container authorization { + description "Configure Radius authorization traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ntp { + description "Configure NTP traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all NTP traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container tacacs { + description "Configure TACACS traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all TACACS traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container dns { + description "Configure DNS traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all DNS traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container diameter { + description "Configure Diameter/Gx+ traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Diameter/Gx+ traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ip-fragments { + description "Configure IP-Fragments"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all IP-Fragments"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container first-fragment { + description "Configure First IP fragment"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container trail-fragment { + description "Configure Trailing IP fragment"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container l2tp { + description "Configure l2tp traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all l2tp traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container gre { + description "Configure GRE traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all GRE traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container hbc { + description "Configure Host GRE traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container punt { + description "Configure PFE GRE traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container hag { + description "Configure PFE GRE HAG Hello traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pimv6 { + description "Configure PIMv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PIMv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container icmpv6 { + description "Configure ICMPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ICMPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ndpv6 { + description "Configure NDPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all NDPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container router-solicitation { + description "Configure NDPv6 router-solicitation"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container router-advertisement { + description "Configure NDPv6 router-advertisement"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container neighbor-solicitation { + description "Configure NDPv6 neighbor-solicitation"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container neighbor-advertisement { + description "Configure NDPv6 neighbor-advertisement"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container redirect { + description "Configure NDPv6 redirect"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container invalid-hop-limit { + description "Configure NDPv6 with invalid hop limit"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container sample { + description "Configure sampled traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all sampled traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container syslog { + description "Configure Syslog sample traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container host { + description "Configure Host sample traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container pfe { + description "Configure PFE sample traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container tap { + description "Configure Tap sample traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container sflow { + description "Configure Sflow sample traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container re-services { + description "Configure RE Services IPv4 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all RE Services IPv4 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container captive-portal { + description "Configure Captive Portal IPv4 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container re-services-v6 { + description "Configure RE Services IPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all RE Services IPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container captive-portal { + description "Configure Captive Portal IPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container fab-probe { + description "Configure fab out probe packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all fab out probe packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container unclassified { + description "Configure unclassified host-bound traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all unclassified host-bound traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container other { + description "Configure all other unclassified packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container resolve-v4 { + description "Configure unclassified v4 resolve packets"; + status deprecated; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container resolve-v6 { + description "Configure unclassified v6 resolve packets"; + status deprecated; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container control-v4 { + description "Configure unclassified v4 control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container control-v6 { + description "Configure unclassified v6 control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container host-route-v4 { + description "Configure unclassified v4 hostbound packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container host-route-v6 { + description "Configure unclassified v6 hostbound packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container filter-v4 { + description "Configure unclassified v4 filter action packets"; + status deprecated; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container filter-v6 { + description "Configure unclassified v6 filter action packets"; + status deprecated; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + } + container control-layer2 { + description "Configure unclassified layer2 control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container fw-host { + description "Configure Unclassified send to host fw traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container mcast-copy { + description "Configure Unclassified host copy due to multicast routing"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container rejectv6 { + description "Configure packets via 'rejectv6' action"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all packets via 'rejectv6' action"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container l2pt { + description "Configure Layer 2 protocol tunneling"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Layer 2 protocol tunneling"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container tunnel-ka { + description "Configure tunnel keepalive packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all tunnel keepalive packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container inline-ka { + description "Configure inline keepalive packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all inline keepalive packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container inline-svcs { + description "Configure inline services"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all inline services"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container frame-relay { + description "Configure frame relay control packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all frame relay control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + status deprecated; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + status deprecated; + } + enum "on" { + description "Always detect flows for this packet type"; + status deprecated; + } + enum "off" { + description "Disable flow detection"; + status deprecated; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + status deprecated; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + status deprecated; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + status deprecated; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + status deprecated; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container frf15 { + description "Configure Multilink frame relay FRF.15 ctrl packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container frf16 { + description "Configure Multilink frame relay FRF.16 ctrl packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container amtv4 { + description "Configure AMT v4 control packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all AMT v4 control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container amtv6 { + description "Configure AMT v6 control packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all AMT v6 control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container syslog { + description "Configure syslog traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all syslog traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pim-ctrl { + description "Configure PIM control packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PIM control packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ospf-hello { + description "Configure OSPF hello packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all OSPF hello packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pim-data { + description "Configure PIM data"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PIM data"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container fip-snooping { + description "Configure FIP snooping"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all FIP snooping"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container unknown-l2mc { + description "Configure Unknown layer 2 multicast"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Unknown layer 2 multicast"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container nonucast-switch { + description "Configure Non unicast switched"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Non unicast switched"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ipmcast-miss { + description "Configure IP multicast miss"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all IP multicast miss"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container urpf-fail { + description "Configure Unicast reverse path forwarding failure"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Unicast reverse path forwarding failure"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container l3nhop { + description "Configure Layer 3 next hop to CPU"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Layer 3 next hop to CPU"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container martian-address { + description "Configure Martian address"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Martian address"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container l3mc-sgv-hit-icl { + description "Configure Layer 3 multicast (*,G) hit ICL"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Layer 3 multicast (*,G) hit ICL"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container l3dest-miss { + description "Configure Layer 3 destination miss"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Layer 3 destination miss"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ipmc-reserved { + description "Configure IP multicast reserved"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all IP multicast reserved"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container garp-reply { + description "Configure Gratuitous ARP reply"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Gratuitous ARP reply"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container l3mtu-fail { + description "Configure Layer 3 mtu failure"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Layer 3 mtu failure"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container sample-dest { + description "Configure Sample at egress"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Sample at egress"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container sample-source { + description "Configure Sample at ingress"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Sample at ingress"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container vcipc-udp { + description "Configure VC UDP packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all VC UDP packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container vxlan { + description "Configure VXLAN L2/L3 packets"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all VXLAN L2/L3 packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container bfd { + description "Configure VXLAN BFD packets"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container dhcpv4v6 { + description "Configure DHCPv4/v6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all DHCPv4/v6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container localnh { + description "Configure Local nh hit ssh telnet ftp etc"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Local nh hit ssh telnet ftp etc"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container proto-802-1x { + description "Configure 802.1X traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all 802.1X traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container all-fiber-channel-enode { + description "Configure ALL_FC_ENODE traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all ALL_FC_ENODE traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container tcc { + description "Configure TCC traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all TCC traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container unclassified { + description "Configure unclassified Unclassified TCC traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container ethernet-tcc { + description "Configure Ethernet TCC traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + container iso-tcc { + description "Configure ISO TCC traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf bypass-aggregate { + description "Bypass aggregate policer"; + type empty; + } + leaf priority { + description "Priority"; + type enumeration { + enum "high" { + description "High priority"; + } + enum "medium" { + description "Medium priority"; + } + enum "low" { + description "Low priority"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container pkt-inject { + description "Configure Packet Inject traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all Packet Inject traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + container ptpv6 { + description "Configure PTPv6 traffic"; + uses apply-advanced; + container aggregate { + description "Configure aggregate for all PTPv6 traffic"; + uses apply-advanced; + leaf bandwidth { + description "Policer bandwidth"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf burst { + description "Policer burst size"; + units "packets"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100000"; + } + } + } + leaf recover-time { + description "Time for protocol to return to normal"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf disable-routing-engine { + description "Turn off policing on routing engine"; + type empty; + } + leaf disable-fpc { + description "Turn off policing on all fpc's"; + type empty; + } + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + container violation { + description "DDOS response to policer violation"; + status deprecated; + uses apply-advanced; + leaf disable-logging { + description "Disable event logging for protocol violation"; + type empty; + } + } + leaf flow-detection-mode { + description "Flow detection mode for the packet type"; + type enumeration { + enum "automatic" { + description "Detect flows only when the policer is violated"; + } + enum "on" { + description "Always detect flows for this packet type"; + } + enum "off" { + description "Disable flow detection"; + } + } + } + container flow-level-bandwidth { + description "Bandwidth for flows at various levels"; + uses apply-advanced; + leaf subscriber { + description "Bandwidth for subscriber flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10000"; + } + } + } + leaf logical-interface { + description "Bandwidth for logical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30000"; + } + } + } + leaf physical-interface { + description "Bandwidth for physical interface flows"; + units "packets per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 50000"; + } + } + } + } + container flow-level-detection { + description "Specify detection mode at various levels"; + uses apply-advanced; + leaf subscriber { + description "Specify detection mode at subscriber level"; + type enumeration { + enum "automatic" { + description "Detect flows at subscriber level if needed"; + } + enum "on" { + description "Always detect flows at subscriber level"; + } + enum "off" { + description "Do not detect flows at subscriber level"; + } + } + } + leaf logical-interface { + description "Specify detection mode at logical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at logical-interface level if needed"; + } + enum "on" { + description "Always detect flows at logical-interface level"; + } + enum "off" { + description "Do not detect flows at logical-interface level"; + } + } + } + leaf physical-interface { + description "Specify detection mode at physical-interface level"; + type enumeration { + enum "automatic" { + description "Detect flows at physical-interface level if needed"; + } + enum "on" { + description "Always detect flows at physical-interface level"; + } + enum "off" { + description "Do not detect flows at physical-interface level"; + } + } + } + } + container flow-level-control { + description "Specify how discovered flows are controlled"; + uses apply-advanced; + leaf subscriber { + description "Specify how subscriber flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf logical-interface { + description "Specify how logical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + leaf physical-interface { + description "Specify how physical-interface flows are controlled"; + type enumeration { + enum "drop" { + description "Drop all traffic of flows of this level"; + } + enum "keep" { + description "Keep all traffic of flows of this level"; + } + enum "police" { + description "Police flows to within the bandwidth of this level"; + } + } + } + } + leaf no-flow-logging { + description "Disable logging of violating flows"; + type empty; + } + leaf timeout-active-flows { + description "Allow timeout active violating flows"; + type empty; + } + leaf flow-detect-time { + description "Time to determine a flow is bad"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf flow-recover-time { + description "Time to return to normal after last violation"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 3600"; + } + } + } + leaf flow-timeout-time { + description "Time to timeout the flow since found"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 7200"; + } + } + } + list fpc { + key name; + ordered-by user; + description "Flexible PIC Concentrator parameters"; + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + uses apply-advanced; + leaf disable-fpc { + description "Turn off policing on this slot"; + type empty; + } + leaf bandwidth-scale { + description "Bandwidth scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf burst-scale { + description "Burst scale from 1% to 100%"; + units "percent"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + leaf hostbound-queue { + description "Hostbound queue number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + } + } + container ntp { + presence "enable ntp"; + description "Network Time Protocol services"; + uses apply-advanced; + leaf boot-server { + description "Server to query during boot sequence"; + type jt:ipaddr; + } + container interval-range { + description "Set the minpoll and maxpoll interval range"; + leaf value { + description "The poll interval range"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 3"; + } + } + } + } + list authentication-key { + key name; + ordered-by user; + description "Authentication key information"; + leaf name { + description "Authentication key number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf type { + description "Authentication key type"; + type enumeration { + enum "md5" { + description "MD5 authentication key"; + } + enum "des" { + description "DES authentication key"; + } + enum "sha1" { + description "Secure Hash Algorithm 1"; + } + enum "sha256" { + description "Secure Hash Algorithm 2-256"; + } + } + } + leaf value { + description "Authentication key value"; + type jt:unreadable; + } + } + list peer { + key name; + ordered-by user; + description "Peer parameters"; + leaf name { + description "Name or address of peer"; + type jt:ipaddr; + } + leaf key { + description "Authentication key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf version { + description "NTP version to use"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf prefer { + description "Prefer this peer_serv"; + type empty; + } + } + list server { + key name; + ordered-by user; + description "Server parameters"; + leaf name { + description "Name or address of server"; + type jt:hostname; + } + leaf key { + description "Authentication key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf version { + description "NTP version to use"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf prefer { + description "Prefer this peer_serv"; + type empty; + } + leaf routing-instance { + description "Routing instance through which server is reachable"; + type string { + } + } + } + list broadcast { + key name; + ordered-by user; + description "Broadcast parameters"; + leaf name { + description "Broadcast or multicast address to use"; + type jt:ipaddr; + } + leaf routing-instance-name { + description "Routing intance name in which interface has address in broadcast subnet"; + type string { + } + } + leaf key { + description "Authentication key"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf version { + description "NTP version to use"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4"; + } + } + } + leaf ttl { + description "TTL value to transmit"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf broadcast-client { + description "Listen to broadcast NTP"; + type empty; + } + container multicast-client { + presence "enable multicast-client"; + description "Listen to multicast NTP"; + leaf address { + description "Multicast address to listen to"; + type jt:ipaddr; + } + } + leaf-list trusted-key { + ordered-by user; + description "List of trusted authentication keys"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + container threshold { + description "Set the maximum threshold(sec) allowed for NTP adjustment"; + leaf value { + description "The maximum value(sec) allowed for NTP adjustment"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "1 .. 600"; + } + } + } + leaf action { + description "Select actions for NTP abnormal adjustment"; + type enumeration { + enum "accept" { + description "Enable log mode for abnormal NTP adjustment"; + } + enum "reject" { + description "Enable reject mode for abnormal NTP adjustment"; + } + } + } + } + list source-address { + key name; + ordered-by user; + description "Source-Address parameters"; + leaf name { + description "Use specified address as source address"; + type jt:ipaddr; + } + leaf-list routing-instance { + ordered-by user; + description "Routing intance name in which source address is defined"; + type string; + } + } + } + container master-password { + description "Master password for $8$ password-encryption"; + uses apply-advanced; + leaf iteration-count { + description "Define PBKDF2 iteration count"; + default "100"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "10 .. 10000"; + } + } + } + leaf pseudorandom-function { + description "Define PBKDF2 PRF"; + default "hmac-sha2-256"; + type enumeration { + enum "hmac-sha2-256" { + description "HMAC-SHA2-256 authentication algorithm"; + } + enum "hmac-sha1" { + description "HMAC-SHA1 authentication algorithm"; + } + enum "hmac-sha2-512" { + description "HMAC-SHA2-512 authentication algorithm"; + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping archive-object { + leaf size { + description "Size of files to be archived"; + units "bytes"; + type string; + } + leaf files { + description "Number of files to be archived"; + type string; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + choice binary-data-choice { + leaf binary-data { + description "Mark file as if it contains binary data"; + type empty; + } + leaf no-binary-data { + description "Don't mark file as if it contains binary data"; + type empty; + } + } + leaf transfer-interval { + description "Frequency at which to transfer files to archive sites"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "5 .. 2880"; + } + } + } + leaf start-time { + description "Start time for file transmission (yyyy-mm-dd.hh:mm)"; + type jt:time; + } + list archive-sites { + key name; + ordered-by user; + leaf name { + description "Primary and failover URLs to receive archive files"; + type string; + } + leaf password { + description "Password for login into the archive site"; + type jt:unreadable; + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + } + } + grouping arp-interface-type { + description "Logical interface on which to configure ARP aging timer"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf aging-timer { + description "Change the ARP aging time value"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 600000"; + } + } + } + } + grouping authentication-object { + description "Authentication method"; + uses apply-advanced; + leaf plain-text-password-value { + description "Plain text password"; + type string; + } + leaf encrypted-password { + description "Encrypted password string"; + type string { + length "1 .. 128"; + } + } + leaf no-public-keys { + description "Disables ssh public key based authentication"; + type empty; + } + list ssh-rsa { + key name; + ordered-by user; + description "Secure shell (ssh) RSA public key string"; + leaf name { + description "Secure shell (ssh) RSA public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + list ssh-dsa { + key name; + ordered-by user; + description "Secure shell (ssh) DSA public key string"; + leaf name { + description "Secure shell (ssh) DSA public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + list ssh-ecdsa { + key name; + ordered-by user; + description "Secure shell (ssh) ECDSA public key string"; + leaf name { + description "Secure shell (ssh) ECDSA public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + list ssh-ed25519 { + key name; + ordered-by user; + description "Secure shell (ssh) ED25519 public key string"; + leaf name { + description "Secure shell (ssh) EC25519 public key string"; + type string { + } + } + leaf from { + description "Pattern-list of allowed hosts"; + type string { + } + } + } + } + grouping autoconf_traceoptions_type { + description "Trace options for autoconfiguration"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of autoconfiguration to enable debugging output"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration"; + } + enum "interfaces" { + description "Trace interface database"; + } + enum "io" { + description "Trace interface database"; + } + enum "rtsock" { + description "Trace routing socket"; + } + enum "ui" { + description "Trace user interface"; + } + enum "auth" { + description "Trace VLAN authentication"; + } + enum "all" { + description "Trace all areas"; + } + } + } + } + } + grouping bdbrepd-type { + description "Database replication configuration"; + uses apply-advanced; + container traceoptions { + description "Database replication trace options"; + uses bdbrepd-traceoptions-type; + } + } + grouping bdbrepd-traceoptions-type { + description "Trace options for Database replication"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Database replication operations to include in debugging trace"; + leaf name { + type enumeration { + enum "database" { + description "Database operations"; + } + enum "mirror" { + description "Mirror operations"; + } + enum "replication" { + description "Database replication operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "server" { + description "Server operations"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping daemon-process { + leaf name { + type string; + } + choice enable-disable { + case case_1 { + leaf disable { + description "Disable process"; + type empty; + } + } + } + leaf failover { + description "How to handle failure of parameter"; + type enumeration { + enum "other-routing-engine" { + description "On failing, switch mastership to other routing engine"; + } + enum "alternate-media" { + description "On failing, reboot off alternate media"; + } + } + } + leaf command { + description "Path to binary for process"; + type string { + length "1 .. 1024"; + } + } + } + grouping datapath-traced-traceoptions-type { + description "Trace options for DATAPATH-TRACED"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of DATAPATH Trace process to enable debugging output"; + leaf name { + type enumeration { + enum "datapath-traced-infrastructure" { + description "Trace datapath-traced infrastructure code"; + } + enum "datapath-traced-server" { + description "Trace datapath-traced server functionality code"; + } + enum "client-management" { + description "Trace datapath-traced client management code"; + } + enum "all" { + description "Trace all areas of datapath-traced code"; + } + } + } + } + } + grouping ddos-traceoptions-type { + description "Trace options for DDOS process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of DDOS process to enable debugging output"; + leaf name { + type enumeration { + enum "config" { + description "Trace configuration code"; + } + enum "events" { + description "Trace event code"; + } + enum "gres" { + description "Trace GRES code"; + } + enum "init" { + description "Trace initialization code"; + } + enum "memory" { + description "Trace memory management code"; + } + enum "protocol" { + description "Trace DDOS protocol processing code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "signal" { + description "Trace signal handling code"; + } + enum "state" { + description "Trace state handling code"; + } + enum "timer" { + description "Trace timer code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "ipc" { + description "Trace ipc messages"; + } + enum "socket" { + description "Trace socket messages"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping dhcp-traceoptions-type { + description "Trace options for DHCP server"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of DHCP server process to enable debugging output"; + leaf name { + type enumeration { + enum "binding" { + description "Trace bindings code"; + } + enum "config" { + description "Trace configuration code"; + } + enum "conflict" { + description "Trace conflict detection code"; + } + enum "event" { + description "Trace event code"; + } + enum "ifdb" { + description "Trace interface database code"; + } + enum "io" { + description "Trace I/O code"; + } + enum "lease" { + description "Trace lease code"; + } + enum "main" { + description "Trace main loop code"; + } + enum "misc" { + description "Trace miscellaneous code"; + } + enum "option" { + description "Trace option code"; + } + enum "packet" { + description "Trace packet code"; + } + enum "pool" { + description "Trace pool code"; + } + enum "protocol" { + description "Trace protocol code"; + } + enum "relay" { + description "Trace relay code"; + } + enum "rtsock" { + description "Trace routing socket code"; + } + enum "scope" { + description "Trace scope code"; + } + enum "signal" { + description "Trace signal code"; + } + enum "trace" { + description "Trace tracing code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + enum "client" { + description "Trace DHCP client code"; + } + } + } + } + } + grouping dynamic-profile-option-object { + uses apply-advanced; + leaf versioning { + description "Enable dynamic profile versioning"; + type empty; + } + } + grouping httpd_traceoptions_type { + description "Trace options for Web management process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of HTTPD process to enable debugging output"; + leaf name { + type enumeration { + enum "configuration" { + description "Trace configuration"; + } + enum "mgd" { + description "Trace MGD requests"; + } + enum "webauth" { + description "Trace webauth requests"; + } + enum "dynamic-vpn" { + description "Trace dynamic vpn requests"; + } + enum "init" { + description "Trace daemon init process"; + } + enum "all" { + description "Trace all areas"; + } + } + } + } + } + grouping jdhcp-interface-traceoptions-level-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-local-server-type { + uses apply-advanced; + container traceoptions { + description "DHCP local server trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container interface-traceoptions { + description "DHCP local server interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-local-server-type; + } + list pool-match-order { + key name; + ordered-by user; + description "Define order of attribute matching for pool selection"; + leaf name { + description "Match type"; + type enumeration { + enum "external-authority" { + description "External authority handles address selection"; + } + enum "ip-address-first" { + description "IP address used first to select a pool"; + } + enum "option-82" { + description "Option 82 used in matching of pool"; + } + enum "option-82-strict" { + description "Option 82 used in strict matching of pool"; + } + } + } + uses apply-advanced; + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container reconfigure { + description "DHCP reconfigure processing"; + presence "enable reconfigure"; + uses reconfigure-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP local server group"; + uses dhcp-local-server-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-local-server-dual-stack-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and giaddr for passive clients"; + default "8"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 31"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCP leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-bulk-leasequery { + description "Allow DHCP bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-local-server-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf on-demand-address-allocation { + description "Allocate addresses on demand"; + type empty; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container reconfigure { + description "DHCP reconfigure processing"; + presence "enable reconfigure"; + uses reconfigure-type; + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject discover and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcpv6-local-server-type { + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 local server group"; + uses dhcpv6-local-server-group; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + choice requested-ip-check { + case case_1 { + leaf requested-ip-network-match { + description "Subnet to match server's address for active and link-address for passive clients"; + default "16"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 127"; + } + } + } + } + case case_2 { + leaf requested-ip-interface-match { + description "Use incoming-interface's subnet to check"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container server-duid-type { + description "Define the DUID type to be used as the Server ID. Type supported is DUID-LL"; + uses duid-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + container allow-leasequery { + description "Allow DHCPv6 leasequery"; + presence "enable allow-leasequery"; + uses server-leasequery-type; + } + container allow-bulk-leasequery { + description "Allow DHCPv6 bulk leasequery"; + presence "enable allow-bulk-leasequery"; + uses server-bulk-leasequery-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-local-server-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container reconfigure { + description "DHCPv6 reconfigure processing"; + presence "enable reconfigure"; + uses dhcpv6-reconfigure-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses dhcpv6-override-local-server-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses dhcpv6-override-local-server-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + choice violation-action-choice { + case case_1 { + leaf strict { + description "Reject solicit and renew"; + type empty; + } + } + case case_2 { + leaf override-lease { + description "Override assigned lease time with threshold"; + type empty; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container reauthenticate { + description "DHCP client reauthenticate processing"; + leaf lease-renewal { + description "Reauthenticate on each renew, rebind, DISCOVER or SOLICIT"; + type empty; + } + leaf remote-id-mismatch { + description "Reauthenticate on remote-id mismatch for renew, rebind and re-negotiation"; + type empty; + } + } + } + grouping dhcpv6-override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf rapid-commit { + description "Enable rapid commit processing"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container process-inform { + presence "enable process-inform"; + description "Process INFORMATION request PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet6"; + type string { + length "1 .. 64"; + } + } + } + container delay-advertise { + description "Filter options for dhcp-server"; + presence "enable delay-advertise"; + uses dhcpv6-filter-option; + } + leaf delegated-pool { + description "Delegated pool name for inet6"; + type string { + length "1 .. 64"; + } + } + leaf multi-address-embedded-option-response { + description "If the client requests multiple addresses place the options in each address"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf top-level-status-code { + description "A top level status code option rather than encapsulated in IA for NoAddrsAvail in Advertise PDUs"; + type empty; + } + leaf always-add-option-dns-server { + description "Add option-23, DNS recursive name server in Advertise and Reply"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv6 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-filter-option { + description "Generic DHCPv6 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between solicit and advertise"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-18 { + presence "enable option-18"; + description "Option 18"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-37 { + presence "enable option-37"; + description "Option 37"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-15 { + presence "enable option-15"; + description "Option 15"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-16 { + presence "enable option-16"; + description "Option 16"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping dhcpv6-reconfigure-type { + description "DHCPv6 reconfigure processing"; + uses apply-advanced; + leaf strict { + description "Only allow packets containing Reconfigure Accept Option"; + type empty; + } + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping duid-type { + uses apply-advanced; + leaf duid_ll { + description "Link Layer Address based DUID "; + type empty; + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-interface-traceoptions-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-traceoptions-level-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jdhcp-traceoptions-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jet_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + leaf arguments { + description "Command line arguments to JET application"; + type string; + } + leaf daemonize { + description "Runs application as daemon"; + type empty; + } + leaf respawn-on-normal-exit { + description "Respawn application on normal exit"; + type empty; + } + leaf username { + description "User under whose privileges extension service will execute"; + type string { + } + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + } + grouping jsscd-static-subscribers-type { + uses apply-advanced; + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list group { + key name; + ordered-by user; + description "Static Subscriber Client group configuration"; + uses jsscd-group-type; + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + leaf baseline-stats { + description "Baseline the statistics for static subscribers"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container subscriber-ip-address { + description "Assigned IP address to report externally"; + uses apply-advanced; + leaf address { + description "IPv4 address"; + type jt:ipv4addr; + } + } + container subscriber-ipv6-address { + description "Assigned IPv6 address to report externally"; + uses apply-advanced; + leaf address { + description "IPv6 Address or Prefix"; + type jt:ipv6prefix; + } + } + } + } + grouping jsscd-access-profile-type { + description "Access profile for static subscribers"; + uses apply-advanced; + leaf access-profile-name { + description "Profile name"; + type string; + } + } + grouping jsscd-authentication-type { + description "Static Subscriber Client authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type jt:unreadable; + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf interface { + description "Include interface name"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + } + } + grouping jsscd-dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile-name { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + grouping jsscd-group-type { + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container service-profile { + description "Dynamic profile to use for default service activation"; + uses jsscd-service-profile-type; + } + container access-profile { + description "Access profile reference"; + uses jsscd-access-profile-type; + } + container dynamic-profile { + description "Dynamic profile reference"; + uses jsscd-dynamic-profile-type; + } + container authentication { + description "Static Subscriber Client authentication"; + uses jsscd-authentication-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf upto { + description "Interface up to"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + } + leaf auto-login { + description "Auto login the operator logged-out static subscribers"; + type empty; + } + } + grouping jsscd-service-profile-type { + description "Service profile for static subscribers"; + uses apply-advanced; + leaf service-profile-name { + description "Service profile name"; + type string { + length "1 .. 80"; + } + } + } + grouping license-object { + description "License configuration for this router"; + uses apply-advanced; + container autoupdate { + presence "enable autoupdate"; + description "Autoupdate license keys from license servers"; + uses apply-advanced; + list url { + key name; + ordered-by user; + description "URL of a license server"; + max-elements 10; + leaf name { + description "URL of a license server for license keys"; + type string; + } + leaf password { + description "Password of URL for a license server"; + type jt:unreadable; + } + } + } + container renew { + presence "enable renew"; + description "License renew lead time and checking interval"; + leaf before-expiration { + description "License renew lead time before expiration in days"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 60"; + } + } + } + leaf interval { + description "License checking interval in hours"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 336"; + } + } + } + } + container traceoptions { + description "Trace options for licenses"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "events" { + description "Trace licensing events and their processing"; + } + enum "config" { + description "Trace license configuration processing"; + } + } + } + } + } + container keys { + presence "enable keys"; + description "License keys"; + uses apply-advanced; + list key { + key name; + ordered-by user; + description "License key"; + leaf name { + description "License key"; + type string; + } + uses apply-advanced; + } + } + } + grouping location-type { + uses apply-advanced; + leaf country-code { + description "Two-letter country code"; + type string; + } + leaf postal-code { + description "Zip code or postal code"; + type string; + } + leaf npa-nxx { + description "First six digits of phone number (area code plus exchange)"; + type string; + } + leaf latitude { + description "Latitude in degree format"; + type string; + } + leaf longitude { + description "Longitude in degree format"; + type string; + } + leaf altitude { + description "Feet above (or below) sea level"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf lata { + description "Local access transport area"; + type string; + } + leaf vcoord { + description "Bellcore vertical coordinate"; + type string; + } + leaf hcoord { + description "Bellcore horizontal coordinate"; + type string; + } + leaf building { + description "Building name"; + type string; + } + leaf floor { + description "Floor of the building"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rack { + description "Rack number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + list lcc { + key name; + description "Line-card chassis location"; + leaf name { + description "LCC number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + leaf floor { + description "Floor of the building"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf rack { + description "Rack number"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + grouping login-class-object { + leaf name { + description "Login class name"; + type string { + } + } + uses apply-advanced; + leaf-list allowed-days { + ordered-by user; + description "Day(s) of week when access is allowed."; + type enumeration { + enum "sunday" { + description "Sunday"; + } + enum "monday" { + description "Monday"; + } + enum "tuesday" { + description "Tuesday"; + } + enum "wednesday" { + description "Wednesday"; + } + enum "thursday" { + description "Thursday"; + } + enum "friday" { + description "Friday"; + } + enum "saturday" { + description "Saturday"; + } + } + } + leaf access-start { + description "Start time for remote access (hh:mm)"; + type jt:time-of-day; + } + leaf access-end { + description "End time for remote access (hh:mm)"; + type jt:time-of-day; + } + leaf idle-timeout { + description "Maximum idle time before logout"; + units "minutes"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf logical-system { + description "Logical system associated with login"; + type string; + } + leaf login-alarms { + description "Display system alarms when logging in"; + type empty; + } + leaf login-script { + description "Execute this login-script when logging in"; + type string; + } + leaf login-tip { + description "Display tip when logging in"; + type empty; + } + leaf-list permissions { + ordered-by user; + type string; + } + leaf allow-commands { + description "Regular expression for commands to allow explicitly"; + type jt:regular-expression; + } + leaf deny-commands { + description "Regular expression for commands to deny explicitly"; + type jt:regular-expression; + } + leaf allow-configuration { + description "Regular expression for configure to allow explicitly"; + type jt:regular-expression; + } + leaf deny-configuration { + description "Regular expression for configure to deny explicitly"; + type jt:regular-expression; + } + leaf-list allow-commands-regexps { + ordered-by user; + description "Object path regular expressions to allow commands"; + type string; + } + leaf-list deny-commands-regexps { + ordered-by user; + description "Object path regular expressions to deny commands"; + type string; + } + leaf-list allow-configuration-regexps { + ordered-by user; + description "Object path regular expressions to allow"; + type string; + } + leaf-list deny-configuration-regexps { + ordered-by user; + description "Object path regular expressions to deny"; + type string; + } + leaf configuration-breadcrumbs { + description "Enable breadcrumbs during display of configuration"; + type empty; + } + list confirm-commands { + key name; + ordered-by user; + description "List of commands to be confirmed explicitly"; + leaf name { + description "Regular expression for confirm commands"; + type jt:regular-expression; + } + uses apply-advanced; + leaf message { + description "Message to be displayed during confirmation"; + type string; + } + } + choice hidden-commands { + case case_1 { + leaf allow-hidden-commands { + description "Allow all hidden commands to be executed"; + type empty; + } + } + case case_2 { + container no-hidden-commands { + description "Deny all hidden commands with exemptions"; + uses apply-advanced; + list except { + key name; + ordered-by user; + description "Specify the list of hidden command to be exempted"; + leaf name { + description "Exempted hidden command(s)"; + type string; + } + uses apply-advanced; + } + } + } + } + container cli { + uses apply-advanced; + leaf prompt { + description "Cli prompt name for this class"; + type string { + length "1 .. 255"; + } + } + } + leaf security-role { + description "Common Criteria security role"; + type enumeration { + enum "audit-administrator" { + description "Audit administrator"; + } + enum "crypto-administrator" { + description "Cryptographic administrator"; + } + enum "ids-administrator" { + description "IDS administrator"; + } + enum "security-administrator" { + description "Security administrator"; + } + } + } + leaf satellite { + description "Login access to satellite devices"; + type enumeration { + enum "all" { + description "All satellite devices"; + } + } + } + } + grouping login-user-object { + leaf name { + description "User name (login)"; + type string { + } + } + uses apply-advanced; + leaf full-name { + description "Full name"; + type string { + } + } + container cli { + uses apply-advanced; + leaf prompt { + description "Cli prompt name for this user"; + type string { + length "1 .. 255"; + } + } + } + leaf uid { + description "User identifier (uid)"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "100 .. 64000"; + } + } + } + leaf class { + description "Login class"; + type string { + } + } + container authentication { + description "Authentication method"; + uses authentication-object; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping nameserver-object { + leaf name { + description "DNS name server address"; + type jt:ipaddr; + } + leaf routing-instance { + description "Routing instance through which server is reachable"; + type string { + } + } + } + grouping override-local-server-type { + description "DHCP override processing"; + uses apply-advanced; + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allow processing of bootp requests"; + type empty; + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container delay-offer { + description "Filter options for dhcp-server"; + uses dhcpv4-filter-option; + } + container process-inform { + presence "enable process-inform"; + description "Process INFORM PDUs"; + uses apply-advanced; + leaf pool { + description "Pool name for family inet"; + type string { + length "1 .. 64"; + } + } + } + container include-option-82 { + description "Include option-82 in reply packets"; + uses apply-advanced; + leaf nak { + description "Include option-82 in NAK"; + type empty; + } + leaf forcerenew { + description "Include option-82 in FORCERENEW"; + type empty; + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf protocol-attributes { + description "DHCPv4 attributes to use as defined under access protocol-attributes"; + type string { + length "1 .. 64"; + } + } + leaf dual-stack { + description "Dual stack group to use"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv4-filter-option { + description "Generic DHCPv4 filter processing"; + uses apply-advanced; + leaf delay-time { + description "Time delay between discover and offer"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 30"; + } + } + } + container based-on { + description "Option number"; + uses apply-advanced; + container option-82 { + presence "enable option-82"; + description "Option 82"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-60 { + presence "enable option-60"; + description "Option 60"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + container option-77 { + presence "enable option-77"; + description "Option 77"; + uses apply-advanced; + container equals { + description "Generic option equals"; + uses server-v6-option-ascii-hex; + } + container not-equals { + description "Generic option not equals"; + uses server-v6-option-ascii-hex; + } + container starts-with { + description "Generic option starts-with"; + uses server-v6-option-ascii-hex; + } + } + } + } + grouping peers-type { + description "Commit peers-synchronize type"; + leaf name { + description "Remote peer hostname or ip-address"; + type string { + length "1 .. 255"; + } + } + uses apply-advanced; + leaf user { + description "User name"; + type string; + } + leaf authentication { + description "Authentication string"; + type jt:unreadable; + } + } + grouping pmond-traceoptions-type { + description "Trace options for process health monitor"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of process health monitor to enable debugging output"; + leaf name { + type enumeration { + enum "events" { + description "Trace event conde"; + } + enum "heartbeat" { + description "Trace heartbeat code"; + } + enum "process-tracking" { + description "Trace process tracking code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping proxy-object { + description "License download proxy server."; + uses apply-advanced; + leaf server { + description "URL or IP address of the proxy server host"; + type string { + length "1 .. 256"; + } + } + leaf port { + description "Proxy server port"; + default "3128"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "0 .. 65535"; + } + } + } + leaf username { + description "Username as configured in the proxy server"; + type string { + length "1 .. 256"; + } + } + leaf password { + description "Password as configured in the proxy server"; + type jt:unreadable; + } + } + grouping radius-server-object { + leaf name { + description "RADIUS server address"; + type jt:hostname; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf port { + description "RADIUS server authentication port number"; + default "1812"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf preauthentication-port { + description "RADIUS server preauthentication port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf accounting-port { + description "RADIUS server accounting port number"; + default "1813"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf dynamic-request-port { + description "RADIUS client dynamic request port number"; + default "3799"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "1 .. 65535"; + } + } + } + leaf secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf preauthentication-secret { + description "Shared secret with the RADIUS server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf retry { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf accounting-timeout { + description "Accounting request timeout period"; + default "0"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 1000"; + } + } + } + leaf accounting-retry { + description "Accounting retry attempts"; + default "0"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 100"; + } + } + } + leaf max-outstanding-requests { + description "Maximum requests in flight to server"; + default "1000"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 2000"; + } + } + } + leaf source-address { + description "Use specified address as source address"; + type jt:ipaddr; + } + } + grouping reconfigure-trigger-type { + description "DHCP reconfigure trigger"; + uses apply-advanced; + leaf radius-disconnect { + description "Trigger DHCP reconfigure by radius initiated disconnect"; + type empty; + } + } + grouping reconfigure-type { + description "DHCP reconfigure processing"; + uses apply-advanced; + leaf clear-on-abort { + description "Delete client on reconfiguration abort"; + type empty; + } + leaf attempts { + description "Number of reconfigure attempts before aborting"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Initial timeout value for retry"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf token { + description "Reconfigure token"; + type string { + length "1 .. 244"; + } + } + container trigger { + description "DHCP reconfigure trigger"; + uses reconfigure-trigger-type; + } + leaf support-option-pd-exclude { + description "Request prefix exclude option in reconfigure message"; + type empty; + } + } + grouping res-cleanupd-traceoptions-type { + description "Trace options for resource cleanup process"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of resource cleanup process to enable debugging output"; + leaf name { + type enumeration { + enum "events" { + description "Trace event code"; + } + enum "gencfg" { + description "Trace GENCFG blob cleanup code"; + } + enum "module" { + description "Trace module code"; + } + enum "sysvsem" { + description "Trace SYSV semaphore cleanup code"; + } + enum "sysvshm" { + description "Trace SYSV shared memory cleanup code"; + } + enum "tracking" { + description "Trace process tracking code"; + } + enum "ui" { + description "Trace user interface code"; + } + enum "all" { + description "Trace all areas of code"; + } + } + } + } + } + grouping resource-monitor-type { + description "Resource monitor configuration"; + uses apply-advanced; + list resource-category { + key name; + ordered-by user; + description "Resource category"; + leaf name { + type enumeration { + enum "jtree" { + description "Category jtree"; + } + } + } + uses apply-advanced; + list resource-type { + key name; + ordered-by user; + description "Resource type"; + leaf name { + type enumeration { + enum "free-pages" { + description "Type free-pages"; + } + enum "free-dwords" { + description "Type free-dwords"; + } + enum "contiguous-pages" { + description " Type contiguous-pages"; + } + } + } + uses apply-advanced; + leaf low-watermark { + description "Low watermark limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf high-watermark { + description "High watermark limit percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + } + } + container traceoptions { + description "Resource monitor trace options"; + uses resource-monitor-traceoptions-type; + } + leaf no-throttle { + description "Disable throttling of subscribers and services based on resource utilization"; + type empty; + } + leaf no-load-throttle { + description "Disable throttling of subscribers and services based on PFE load"; + type empty; + } + leaf no-logging { + description "Disable logging of warning or error messages resource levels exceeded"; + type empty; + } + leaf high-threshold { + description "High threshold percentage for resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf high-cos-queue-threshold { + description "High threshold percentage for cos queue utilization per scheduler"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 90"; + } + } + } + leaf free-heap-memory-watermark { + description "Watermark percentage for ukern heap resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf free-nh-memory-watermark { + description "Watermark percentage for NH resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + leaf free-fw-memory-watermark { + description "Watermark percentage for Filter / Firewall resource utilization"; + units "percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 99"; + } + } + } + container subscribers-limit { + description "Limit number of subscribers allowed to login"; + uses apply-advanced; + list client-type { + key name; + ordered-by user; + description "Subscriber client type"; + leaf name { + type enumeration { + enum "pppoe" { + description "PPPoE client type"; + } + enum "dhcp" { + description "DHCP client type"; + } + enum "l2tp" { + description "L2TP client type"; + } + enum "any" { + description "Any client type"; + } + } + } + uses apply-advanced; + container chassis { + description "Max subscriers allowed in chassis"; + uses apply-advanced; + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + } + list fpc { + key name; + description "Limiting subscriber on fpc"; + uses rsmon_fpc_type; + } + } + } + } + grouping resource-monitor-traceoptions-type { + description "Trace options for Resource monitor "; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Resource monitor operations to include in debugging trace"; + leaf name { + type enumeration { + enum "all" { + description "All operations"; + } + } + } + } + } + grouping resources-type { + uses apply-advanced; + container cpu { + uses apply-advanced; + leaf priority { + description "Highest priority (nice level) process can run at"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf time { + description "Maximum amount of CPU time that can be accumulated"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container memory { + uses apply-advanced; + leaf data-size { + description "Maximum size of the data segment"; + units "mbytes"; + type string; + } + leaf locked-in { + description "Maximum bytes that can be locked into memory"; + units "mbytes"; + type string; + } + leaf resident-set-size { + description "Maximum amount of private physical memory at any given moment"; + units "mbytes"; + type string; + } + leaf socket-buffers { + description "Maximum amount of physical memory that may be dedicated to socket buffers"; + units "mbytes"; + type string; + } + leaf stack-size { + description "Maximum size of the stack segment"; + units "mbytes"; + type string; + } + } + container file { + uses apply-advanced; + leaf size { + description "Maximum size of a file that can be created"; + units "mbytes"; + type string; + } + leaf open { + description "Maximum number of simultaneous open files"; + type union { + type uint64; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf core-size { + description "Maximum size of a core file that can be created"; + units "mbytes"; + type string; + } + } + } + grouping rsmon_fpc_type { + leaf name { + description "FPC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 512"; + } + } + } + uses apply-advanced; + list pic { + key name; + description "Limiting subscriber on fpc"; + uses rsmon_pic_type; + } + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256000"; + } + } + } + } + grouping rsmon_pic_type { + leaf name { + description "PIC slot number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 3"; + } + } + } + uses apply-advanced; + list port { + key name; + description "Limiting subscriber on port"; + uses rsmon_port_type; + } + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256000"; + } + } + } + } + grouping rsmon_port_type { + leaf name { + description "Port number"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 23"; + } + } + } + uses apply-advanced; + leaf limit { + description "Number of subscribers allowed"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 256000"; + } + } + } + } + grouping sbc_traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + container flag { + presence "enable flag"; + description "Tracing parameters"; + uses apply-advanced; + leaf configuration { + description "Trace configuration events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf ipc { + description "Trace IPC events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf device-monitor { + description "Trace device monitor events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf ui { + description "Trace ui events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf common { + description "Trace common events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf memory-pool { + description "Trace memory-pool events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf packet-capture { + description "Trace packet capture events"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + leaf all { + description "Minimal trace level for all components"; + default "error"; + type enumeration { + enum "trace" { + description "Trace functions entering and exiting"; + } + enum "debug" { + description "Trace code flow, branching, positive style guide check"; + } + enum "info" { + description "Summary logs for normal operations"; + } + enum "warning" { + description "Failure-recovery or Failure of an external entity"; + } + enum "error" { + description "Failure with short-term affect"; + } + } + } + } + } + grouping script_traceoptions { + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + list flag { + key name; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "all" { + description "Trace all operations"; + } + enum "events" { + description "Trace important events"; + } + enum "input" { + description "Trace script input data"; + } + enum "offline" { + description "Generate data for offline development"; + } + enum "output" { + description "Trace script output data"; + } + enum "rpc" { + description "Trace script RPCs"; + } + enum "xslt" { + description "Trace the XSLT library"; + } + } + } + } + } + grouping scripts_type { + uses apply-advanced; + container commit { + description "Commit-time scripting mechanism"; + uses apply-advanced; + leaf allow-transients { + description "Allow loading of transient configuration changes"; + type empty; + } + container traceoptions { + description "Trace options for commit scripts"; + uses script_traceoptions; + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + leaf direct-access { + description "Access the configuration directly from database"; + type empty; + } + container dampen { + presence "enable dampen"; + description "Dampen execution of commit scripts"; + uses apply-advanced; + container dampen-options { + description "Dampen options for commit scripts"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + list file { + key name; + ordered-by user; + description "Commit script file"; + uses commit_scripts_file_type; + } + } + container op { + description "Operations scripting"; + uses apply-advanced; + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container traceoptions { + description "Trace options for operation scripts"; + uses script_traceoptions; + } + list file { + key name; + description "Configuration for each operation script"; + uses op_scripts_file_type; + } + leaf no-allow-url { + description "Do not allow the remote execution of op scripts"; + type empty; + } + leaf allow-url-for-python { + description "Allow the remote execution of Python op scripts"; + type empty; + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + container dampen { + presence "enable dampen"; + description "Dampen execution of op scripts"; + uses apply-advanced; + container dampen-options { + description "Dampen options for op scripts"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + } + container snmp { + description "Snmp scripts"; + uses apply-advanced; + leaf refresh { + description "Refresh all snmp scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all snmp scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + list file { + key name; + description "Configuration for each snmp script"; + uses snmp_scripts_file_type; + } + container traceoptions { + description "Trace options for snmp scripts"; + uses script_traceoptions; + } + leaf max-datasize { + description "Maximum data segment size for scripts execution"; + units "bytes"; + type string; + } + } + container translation { + description "Translation scripts"; + uses apply-advanced; + leaf max-datasize { + description "Maximum data segment size for translation scripts execution"; + units "bytes"; + type string; + } + } + leaf load-scripts-from-flash { + description "Load scripts from flash"; + type empty; + } + leaf language { + description "Allow/Disallow Python scripts on-box"; + type enumeration { + enum "python" { + description "Allow Python scripts on-box"; + } + } + } + leaf synchronize { + description "Push all scripts to other RE on commit synchronize"; + type empty; + } + } + grouping commit_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf optional { + description "Allow commit to succeed if the script is missing"; + type empty; + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + } + grouping op_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf command { + description "Command alias for the script file"; + type string { + length "1 .. 254"; + } + } + container dampen { + presence "enable dampen"; + description "Dampen execution of the script"; + uses apply-advanced; + container dampen-options { + description "Dampen options for the script"; + uses apply-advanced; + leaf cpu-factor { + description "CPU factor at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf line-interval { + description "Line interval at which to pause"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf time-interval { + description "Time to pause"; + units "microseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + } + } + leaf description { + description "Description of the script"; + type string { + length "1 .. 254"; + } + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf allow-commands { + description "Regular expression for commands to allow explicitly"; + type jt:regular-expression; + } + leaf refresh { + description "Refresh all operation scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all operation scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + list arguments { + key name; + description "Command line argument to the script"; + leaf name { + description "Name of the argument"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + leaf description { + description "Description of the argument"; + type string { + length "1 .. 254"; + } + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + } + grouping sdk-mgmtd-traceoptions-type { + description "Trace options for App-engine management daemon"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of daemon to enable debugging output"; + leaf name { + type enumeration { + enum "service-infrastructure" { + description "Trace service infrastructure code"; + } + enum "routing-instance" { + description "Trace routing instance functionality code"; + } + enum "config-handling" { + description "Trace configuration command handling functionality code"; + } + enum "command-handling" { + description "Trace operational command handling functionality code"; + } + enum "cli-show-commands" { + description "Trace show commands for JDAF message statistics"; + } + enum "all" { + description "Trace all areas of App-engine management"; + } + } + } + } + } + grouping sdk-vmmd-traceoptions-type { + description "App-engine virtual machine management service trace options"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "init" { + description "Trace initialization events"; + } + enum "configuration" { + description "Trace configuration events"; + } + enum "ccif" { + description "Trace compute node interface events"; + } + enum "pxe" { + description "Trace PXE related events"; + } + enum "platform" { + description "Trace platform related events"; + } + enum "heartbeat" { + description "Trace compute node heart beat related events"; + } + enum "routing-instances" { + description "Trace routing instances related events"; + } + enum "snmp" { + description "Trace SNMP events"; + } + enum "miscellaneous" { + description "Trace miscellaneous events"; + } + enum "all" { + description "Trace everything"; + } + } + } + } + } + grouping server-bulk-leasequery-type { + description "Allow bulk leasequery"; + uses apply-advanced; + leaf max-connections { + description "Max TCP connections allowed at a time"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Timeout for blocked connection"; + default "120"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + leaf max-empty-replies { + description "Maximum number of empty replies for a connection"; + default "5"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf restricted-requestor { + description "Allow bulk leasequery only from restricted requestors"; + type empty; + } + } + grouping server-leasequery-type { + description "Allow leasequery"; + uses apply-advanced; + leaf restricted-requestor { + description "Allow leasequery only from restricted requestors"; + type empty; + } + } + grouping server-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + } + } + grouping smid-type { + description "Subscriber management configuration"; + uses apply-advanced; + container traceoptions { + description "Subscriber management trace options"; + uses smid-traceoptions-type; + } + container maintain-subscriber { + description "Options to maintain subscriber"; + uses smid-maintain-subscriber-type; + } + leaf gres-route-flush-delay { + description "Delay flushing routes after RE switchover"; + type empty; + } + container enforce-strict-scale-limit-license { + presence "enable enforce-strict-scale-limit-license"; + description "Options to enforce strict scale limit license"; + } + container overrides { + description "Subscriber management configuration"; + uses apply-advanced; + leaf no-unsolicited-ra { + description "Disable all unsolicited router advertisement packets"; + type empty; + } + container interfaces { + presence "enable interfaces"; + uses apply-advanced; + container family { + presence "enable family"; + uses apply-advanced; + container inet6 { + presence "enable inet6"; + uses apply-advanced; + leaf layer2-liveness-detection { + description "Enabled ipv6-nud liveness detection"; + type empty; + } + } + container inet { + presence "enable inet"; + uses apply-advanced; + leaf layer2-liveness-detection { + description "Enabled arp-ping liveness detection"; + type empty; + } + } + } + } + container shmlog { + description "Subscriber management shmlog configuration"; + uses apply-advanced; + leaf disable { + description "Disable shmlogs"; + type empty; + } + container filtering { + description "Subscriber management shmlog filtering"; + uses apply-advanced; + leaf enable { + description "Enable shmlog filtering"; + type empty; + } + } + container file { + presence "enable file"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum file size"; + type string; + } + leaf files { + description "Maximum number of files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + } + list log-name { + key name; + ordered-by user; + description "The log name(s) to override"; + leaf name { + type string; + } + uses apply-advanced; + choice verbosity { + case case_1 { + leaf none { + description "Shmlog verbosity null"; + type empty; + } + } + case case_2 { + leaf terse { + description "Shmlog verbosity terse"; + type empty; + } + } + case case_3 { + leaf brief { + description "Shmlog verbosity brief"; + type empty; + } + } + case case_4 { + leaf detail { + description "Shmlog verbosity detail"; + type empty; + } + } + case case_5 { + leaf extensive { + description "Shmlog verbosity extensive"; + type empty; + } + } + } + choice file-enable { + case case_1 { + leaf file-logging { + description "Enable file write for the log(s)"; + type empty; + } + } + case case_2 { + leaf no-file-logging { + description "Disable file write for the log(s)"; + type empty; + } + } + } + } + list log-type { + key name; + ordered-by user; + description "The log type to override"; + leaf name { + type enumeration { + enum "debug" { + description "The severity debug"; + } + enum "info" { + description "The severity info"; + } + enum "notice" { + description "The severity notice and more severe"; + } + } + } + uses apply-advanced; + choice verbosity { + case case_1 { + leaf none { + description "Shmlog verbosity null"; + type empty; + } + } + case case_2 { + leaf terse { + description "Shmlog verbosity terse"; + type empty; + } + } + case case_3 { + leaf brief { + description "Shmlog verbosity brief"; + type empty; + } + } + case case_4 { + leaf detail { + description "Shmlog verbosity detail"; + type empty; + } + } + case case_5 { + leaf extensive { + description "Shmlog verbosity extensive"; + type empty; + } + } + } + choice file-enable { + case case_1 { + leaf file-logging { + description "Enable file write for the log(s)"; + type empty; + } + } + case case_2 { + leaf no-file-logging { + description "Disable file write for the log(s)"; + type empty; + } + } + } + } + } + } + container enable { + presence "enable enable"; + description "Enable subscriber management features"; + uses apply-advanced; + } + } + grouping smid-maintain-subscriber-type { + description "Maintain subscriber options for subscriber management"; + uses apply-advanced; + leaf interface-delete { + description "Maintain subscriber on interface delete events"; + type empty; + } + } + grouping smid-traceoptions-type { + description "Trace options for Subscriber management"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Subscriber management replication operations to include in debugging trace"; + leaf name { + type enumeration { + enum "database" { + description "Database operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "server" { + description "Server operations"; + } + enum "issu" { + description "ISSU operations"; + } + enum "all" { + description "All operations"; + } + } + } + } + container memory-profiling { + description "SMID Memory profiling options"; + uses apply-advanced; + leaf enabled { + description "Enable bbe-mem profiling for SMID"; + type empty; + } + } + } + grouping smihelperd-type { + description "Subscriber management helper configuration"; + uses apply-advanced; + container traceoptions { + description "Subscriber management helper trace options"; + uses smihelperd-traceoptions-type; + } + } + grouping smihelperd-traceoptions-type { + description "Trace options for Subscriber management helper"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Subscriber management replication operations to include in debugging trace"; + leaf name { + type enumeration { + enum "sdb" { + description "SDB operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "snmp" { + description "SNMP operations"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping snmp_scripts_file_type { + leaf name { + description "Local filename of the script file"; + type string { + length "1 .. 254"; + } + } + uses apply-advanced; + list oid { + key name; + ordered-by user; + description "Oid implemented by this script"; + leaf name { + description "Oid"; + type string; + } + uses apply-advanced; + leaf priority { + description "Registration priority"; + default "128"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + } + leaf source { + description "URL of source for this script"; + type string { + length "1 .. 254"; + } + } + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf python-script-user { + description "Run the python snmp script with privileges of user"; + type string; + } + leaf refresh { + description "Refresh all snmp scripts from their source"; + type empty; + } + leaf refresh-from { + description "Refresh all snmp scripts from a given base URL"; + type string { + length "1 .. 254"; + } + } + container checksum { + description "Checksum of this script"; + uses apply-advanced; + leaf sha-256 { + description "SHA-256 checksum of this script"; + type string { + length "1 .. 254"; + } + } + } + } + grouping ssd-traceoptions-type { + description "Trace options for SSD"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + leaf level { + description "Level of debugging output"; + default "error"; + type enumeration { + enum "error" { + description "Match error conditions"; + } + enum "warning" { + description "Match warning messages"; + } + enum "notice" { + description "Match conditions that should be handled specially"; + } + enum "info" { + description "Match informational messages"; + } + enum "verbose" { + description "Match verbose messages"; + } + enum "all" { + description "Match all levels"; + } + } + } + list flag { + key name; + ordered-by user; + description "Area of sdk-service daemon to enable debugging output"; + leaf name { + type enumeration { + enum "infrastructure" { + description "Trace ssd infrastructure code"; + } + enum "server" { + description "Trace ssd server functionality code"; + } + enum "routing-instance" { + description "Trace ssd routing instance functionality code"; + } + enum "client-management" { + description "Trace ssd client management code"; + } + enum "interfaces-management" { + description "Trace ssd/jdaf interfaces management code"; + } + enum "route-management" { + description "Trace ssd/jdaf route management code"; + } + enum "nexthop-management" { + description "Trace ssd nexthop route management code"; + } + enum "firewall-management" { + description "Trace JDAF-based firewall service"; + } + enum "nexthop-group-management" { + description "Trace ssd nexthop group management code"; + } + enum "cli" { + description "Trace ssd cli interaction code"; + } + enum "cfg" { + description "Trace ssd cli interaction code"; + } + enum "all" { + description "Trace all areas of ssd code"; + } + } + } + } + } + grouping syslog-object { + leaf name { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "daemon" { + description "Various system processes"; + } + enum "ftp" { + description "FTP process"; + } + enum "ntp" { + description "NTP process"; + } + enum "security" { + description "Security related"; + } + enum "kernel" { + description "Kernel"; + } + enum "user" { + description "User processes"; + } + enum "dfc" { + description "Dynamic flow capture"; + } + enum "external" { + description "Local external applications"; + } + enum "firewall" { + description "Firewall filtering system"; + } + enum "pfe" { + description "Packet Forwarding Engine"; + } + enum "conflict-log" { + description "Configuration conflict log"; + } + enum "change-log" { + description "Configuration change log"; + } + enum "interactive-commands" { + description "Commands executed by the UI"; + } + } + } + choice level { + case case_1 { + leaf any { + description "All levels"; + type empty; + } + } + case case_2 { + leaf emergency { + description "Panic conditions"; + type empty; + } + } + case case_3 { + leaf alert { + description "Conditions that should be corrected immediately"; + type empty; + } + } + case case_4 { + leaf critical { + description "Critical conditions"; + type empty; + } + } + case case_5 { + leaf error { + description "Error conditions"; + type empty; + } + } + case case_6 { + leaf warning { + description "Warning messages"; + type empty; + } + } + case case_7 { + leaf notice { + description "Conditions that should be handled specially"; + type empty; + } + } + case case_8 { + leaf info { + description "Informational messages"; + type empty; + } + } + case case_9 { + leaf none { + description "No messages"; + type empty; + } + } + } + } + grouping tacplus-server-object { + leaf name { + description "TACACS+ authentication server address"; + type jt:hostname; + } + uses apply-advanced; + leaf routing-instance { + description "Routing instance"; + type string { + } + } + leaf port { + description "TACACS+ authentication server port number"; + type union { + type uint16; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf secret { + description "Shared secret with the authentication server"; + type jt:unreadable; + } + leaf timeout { + description "Request timeout period"; + default "3"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 90"; + } + } + } + leaf single-connection { + description "Optimize TCP connection attempts"; + type empty; + } + leaf source-address { + description "Use specified address as source address"; + type jt:hostname; + } + } + grouping tty_port_object { + description "RS-232 configuration"; + uses apply-advanced; + leaf-list authentication-order { + ordered-by user; + type enumeration { + enum "radius" { + description "Remote Authentication Dial-In User Service"; + } + enum "tacplus" { + description "TACACS+ authentication services"; + } + enum "password" { + description "Traditional password authentication"; + } + } + } + leaf log-out-on-disconnect { + description "Log out the console session when cable is unplugged"; + type empty; + } + leaf disable { + description "Disable console"; + type empty; + } + leaf insecure { + description "Disallow superuser access"; + type empty; + } + leaf speed { + description "Speed of the port"; + status deprecated; + units "baud"; + type enumeration { + enum "1200" { + description "Standard terminal at 1200 baud"; + status deprecated; + } + enum "2400" { + description "Standard terminal at 2400 baud"; + status deprecated; + } + enum "4800" { + description "Standard terminal at 4800 baud"; + status deprecated; + } + enum "9600" { + description "Standard terminal at 9600 baud"; + status deprecated; + } + enum "19200" { + description "Standard terminal at 19200 baud"; + status deprecated; + } + enum "38400" { + description "Standard terminal at 38400 baud"; + status deprecated; + } + enum "57600" { + description "Standard terminal at 57600 baud"; + status deprecated; + } + enum "115200" { + description "Standard terminal at 115200 baud"; + status deprecated; + } + } + } + leaf type { + description "Terminal type"; + type enumeration { + enum "ansi" { + description "ANSI-compatible terminal"; + } + enum "vt100" { + description "VT100-compatible terminal"; + } + enum "small-xterm" { + description "Small (24-line) xterm window"; + } + enum "xterm" { + description "Large (65-line) xterm window"; + } + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-unified-edge@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-unified-edge@2019-01-01.yang new file mode 100644 index 00000000..6d114182 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-unified-edge@2019-01-01.yang @@ -0,0 +1,719 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-unified-edge { + namespace "http://yang.juniper.net/junos-qfx/conf/unified-edge"; + + prefix jc-unified-edge; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos unified-edge configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses unified-edge-group; + } + augment /jc:configuration/jc:groups { + uses unified-edge-group; + } + grouping unified-edge-group { + container unified-edge { + uses apply-advanced; + container cos-cac { + description "Unified Edge COS configuration"; + status deprecated; + uses juniper-unified-edge-cos-options; + } + list local-policies { + key name; + ordered-by user; + description "Local policy profiles"; + status deprecated; + max-elements 8001; + leaf name { + description "Local policy profile name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of local policy"; + type string; + } + leaf resource-threshold-profile { + description "Resource threshold profile associated with the local policy"; + type string; + } + leaf classifier-profile { + description "QoS class profile associated with the local policy"; + type string; + } + leaf cos-policy-profile { + description "QoS policy profile associated with the local policy"; + type string; + } + leaf roamer-classifier-profile { + description "QoS classifier profile for roamers"; + type string; + } + leaf roamer-cos-policy-profile { + description "QoS policy profile for roamers"; + type string; + } + leaf visitor-classifier-profile { + description "QoS classifier profile for visitor"; + type string; + } + leaf visitor-cos-policy-profile { + description "QoS policy profile for visitor"; + type string; + } + leaf traffic-class-qci-mapping-profile { + description "Traffic class to qci mapping profile"; + type string { + length "1 .. 128"; + } + } + leaf ul-bandwidth-pool { + description "Bandwidth pool associated with the local policy"; + type string; + } + leaf dl-bandwidth-pool { + description "Bandwidth pool associated with the local policy"; + type string; + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-unified-edge-cos-options { + uses apply-advanced; + list classifier-profiles { + key name; + ordered-by user; + description "Classifier tables for mobile subscribers (UMTS/EPS)"; + max-elements 8001; + leaf name { + description "Classification table name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of classifier profile"; + type string; + } + list qos-class-identifier { + key name; + ordered-by user; + description "QCI mapping to forwarding class and loss priority"; + leaf name { + description "Qci value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 9"; + } + } + } + leaf forwarding-class { + description "Forwarding class"; + type string { + } + } + leaf loss-priority { + description "Loss priority value"; + type enumeration { + enum "low" { + description "Loss priority low"; + } + enum "high" { + description "Loss priority high"; + } + } + } + } + } + list gbr-bandwidth-pools { + key name; + ordered-by user; + description "GBR bandwith pools configuration"; + max-elements 8001; + leaf name { + description "GBR Bandwidth pool name"; + type string { + } + } + uses apply-advanced; + leaf maximum-bandwidth { + description "Bandwidth for pool"; + units "mega-bits per second"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "50000 .. 500000"; + } + } + } + leaf downgrade-gtp-v1-gbr-bearers { + description "Downgrade GTPv1 GBR bearer traffic class to background traffic class"; + type empty; + } + } + list resource-threshold-profiles { + key name; + ordered-by user; + description "Resource threshold profiles"; + max-elements 8001; + leaf name { + description "Resource threshold profile name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of resource threshold profile"; + type string; + } + container bearers-load { + description "Number of bearers load configurations"; + uses apply-advanced; + container low { + description "Low threshold configuration"; + uses apply-advanced; + leaf percentage { + description "Low threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container high { + description "High threshold configuration"; + uses apply-advanced; + leaf percentage { + description "High threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } + container memory { + description "Memory load configurations"; + uses apply-advanced; + container low { + description "Low threshold configuration"; + uses apply-advanced; + leaf percentage { + description "Low threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container high { + description "High threshold configuration"; + uses apply-advanced; + leaf percentage { + description "High threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } + container cpu { + description "CPU load configurations"; + uses apply-advanced; + container low { + description "Low threshold configuration"; + uses apply-advanced; + leaf percentage { + description "Low threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 10"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + container high { + description "High threshold configuration"; + uses apply-advanced; + leaf percentage { + description "High threshold"; + units "Percentage"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 100"; + } + } + } + leaf priority-level { + description "Priority level - default 5"; + default "5"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + } + } + } + list cos-policy-profiles { + key name; + ordered-by user; + description "QoS policy profile"; + max-elements 8001; + leaf name { + description "QoS policy profile name"; + type string { + } + } + uses apply-advanced; + leaf description { + description "Text description of cos policy"; + type string; + } + container default-bearer-qci { + description "Default bearer qci value"; + leaf qci-value { + description "Default bearer qci value"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 9"; + } + } + } + leaf upgrade { + description "Override qci value"; + type empty; + } + leaf reject { + description "Reject calls with numerially lower qci"; + type empty; + } + } + container allocation-retention-priority { + description "ARP local policy"; + leaf priority-value { + description "ARP policy configuration"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 15"; + } + } + } + leaf reject { + description "Reject calls with higher priority value"; + type empty; + } + } + container aggregated-qos-control { + description "Aggregated qos control policy"; + uses apply-advanced; + container maximum-bit-rate-uplink { + description "Maximum bit rate uplink"; + leaf mbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink maximum-bit-rate"; + type empty; + } + } + container maximum-bit-rate-downlink { + description "Maximum bit rate downlink"; + leaf mbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink maximum-bit-rate"; + type empty; + } + } + } + container pdp-qos-control { + description "PDP qos control"; + uses apply-advanced; + container maximum-bit-rate-uplink { + description "Maximum bit rate uplink"; + leaf mbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink maximum-bit-rate"; + type empty; + } + } + container maximum-bit-rate-downlink { + description "Maximum bit rate downlink"; + leaf mbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink maximum-bit-rate"; + type empty; + } + } + container guaranteed-bit-rate-uplink { + description "Guaranteed bit rate uplink"; + leaf gbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override guaranteed-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink guaranteed-bit-rate"; + type empty; + } + } + container guaranteed-bit-rate-downlink { + description "Guaranteed bit rate downlink"; + leaf gbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override guaranteed-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink guaranteed-bit-rate"; + type empty; + } + } + list qci { + key name; + ordered-by user; + description "PDP qos control per qci"; + leaf name { + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "5 .. 9"; + } + } + } + uses apply-advanced; + container maximum-bit-rate-uplink { + description "Maximum bit rate uplink"; + leaf mbr-uplink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate uplink value"; + type empty; + } + leaf reject { + description "Reject calls with higher uplink maximum-bit-rate"; + type empty; + } + } + container maximum-bit-rate-downlink { + description "Maximum bit rate downlink"; + leaf mbr-downlink { + units "kbps"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10480000"; + } + } + } + leaf upgrade { + description "Override maximum-bit-rate downlink value"; + type empty; + } + leaf reject { + description "Reject calls with higher downlink maximum-bit-rate"; + type empty; + } + } + } + } + container policer-action { + description "Policer actions"; + uses apply-advanced; + container non-gbr-bearer { + description "Policer actions for non gbr bearers"; + uses apply-advanced; + leaf violate-action { + description "PDP policer violate action"; + type enumeration { + enum "set-loss-priority-high" { + description "Violate action set loss priority high"; + } + enum "transmit" { + description "Violate action transmit"; + } + } + } + } + container gbr-bearer { + description "Policer actions for gbr bearers"; + uses apply-advanced; + leaf exceed-action { + description "PDP policer exceed action"; + type enumeration { + enum "drop" { + description "Exceed action drop"; + } + enum "transmit" { + description "Exceed action transmit"; + } + } + } + leaf violate-action { + description "PDP policer violate action"; + type enumeration { + enum "set-loss-priority-high" { + description "Violate action set loss priority high"; + } + enum "transmit" { + description "Violate action transmit"; + } + } + } + } + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-virtual-chassis@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-virtual-chassis@2019-01-01.yang new file mode 100644 index 00000000..b6256cf7 --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-virtual-chassis@2019-01-01.yang @@ -0,0 +1,440 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-virtual-chassis { + namespace "http://yang.juniper.net/junos-qfx/conf/virtual-chassis"; + + prefix jc-virtual-chassis; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos virtual-chassis configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses virtual-chassis-group; + } + augment /jc:configuration/jc:groups { + uses virtual-chassis-group; + } + grouping virtual-chassis-group { + container virtual-chassis { + description "Virtual chassis configuration"; + uses apply-advanced; + container auto-sw-update { + presence "enable auto-sw-update"; + description "Auto software update"; + uses apply-advanced; + leaf package-name { + description "URL or pathname of software package"; + type string { + } + } + container ex-4300 { + presence "enable ex-4300"; + description "URL or pathname of EX-43xx software package"; + uses apply-advanced; + leaf package-name { + description "URL or pathname of software package"; + type string { + } + } + } + container ex-4600 { + presence "enable ex-4600"; + description "URL or pathname of EX-46xx software package"; + uses apply-advanced; + leaf package-name { + description "URL or pathname of software package"; + type string { + } + } + } + container qfx-3 { + presence "enable qfx-3"; + description "URL or pathname of qfx-3 software package"; + uses apply-advanced; + leaf package-name { + description "URL or pathname of software package"; + type string { + } + } + } + container qfx-5 { + presence "enable qfx-5"; + description "URL or pathname of qfx-5 software package"; + uses apply-advanced; + leaf package-name { + description "URL or pathname of software package"; + type string { + } + } + } + } + choice provisioning { + case case_1 { + leaf preprovisioned { + description "Only accept preprovisioned members"; + type empty; + } + } + case case_2 { + leaf auto-provisioned { + description "Add and configure new line-card members automatically"; + type empty; + } + } + } + leaf id { + description "Virtual chassis identifier, of type ISO system-id"; + type jt:isosysid; + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + } + leaf no-split-detection { + description "Disable split detection. This command is recommended to only be enabled in a 2 member setup"; + type empty; + } + container traceoptions { + uses juniper-virtual-chassis-traceoptions; + } + list member { + key name; + ordered-by user; + description "Member of virtual chassis configuration"; + leaf name { + description "Member identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32; + } + } + uses apply-advanced; + leaf mastership-priority { + description "Member's mastership priority"; + type union { + type string { + pattern "<.*>|$.*"; + } + type int32 { + range "0 .. 255"; + } + } + } + leaf fabric-tree-root { + description "Member's participation as root of multicast distribution tree"; + type empty; + } + leaf role { + description "Member's role"; + default "line-card"; + type enumeration { + enum "routing-engine" { + description "Member to assume role of routing engine"; + } + enum "line-card" { + description "Member to assume role of line card"; + } + } + } + leaf serial-number { + description "Member's serial number"; + type string { + length "1 .. 12"; + } + } + leaf no-management-vlan { + description "Disable management VLAN"; + type empty; + } + leaf location { + description "Member's location"; + type string { + length "1 .. 254"; + } + } + } + container aliases { + description "Aliases for serial numbers"; + uses apply-advanced; + list serial-number { + key name; + ordered-by user; + description "Set alias for a serial number"; + leaf name { + description "Member's serial number"; + type string { + length "1 .. 12"; + } + } + uses apply-advanced; + leaf alias-name { + description "Provide an alias name for this serial-number"; + type string { + length "1 .. 12"; + } + } + } + } + container mac-persistence-timer { + description "How long to retain MAC address when member leaves virtual chassis"; + uses apply-advanced; + leaf timer { + description "MAC persistence time"; + default "60"; + units "minutes"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 60"; + } + } + } + leaf disable { + description "Disable MAC persistence timer"; + type empty; + } + } + container fast-failover { + description "Fast failover mechanism"; + uses apply-advanced; + leaf ge { + description "Fast failover on GE VC uplink ports (ring has to be formed)"; + type empty; + } + leaf xe { + description "Fast failover on XE VC uplink ports (ring has to be formed)"; + type empty; + } + leaf et { + description "Fast failover on ET VC uplink ports (ring has to be formed)"; + type empty; + } + container vcp { + description "Fast failover on VCP ports"; + uses apply-advanced; + leaf disable { + description "Disable"; + type empty; + } + } + } + choice auto_conversion_choice { + case case_1 { + leaf no-auto-conversion { + description "Disable automatic VC port conversion"; + type empty; + } + } + case case_2 { + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping juniper-virtual-chassis-traceoptions { + description "Global tracing options for virtual chassis"; + uses apply-advanced; + container file { + description "Trace file options"; + uses vchassis_trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "hello" { + description "Trace virtual chassis hello packets"; + } + enum "psn" { + description "Trace partial sequence number (PSN) packets"; + } + enum "csn" { + description "Trace complete sequence number (CSN) packets"; + } + enum "lsp" { + description "Trace virtual link-state packets"; + } + enum "normal" { + description "Trace normal events"; + } + enum "task" { + description "Trace virtual chassis task processing"; + } + enum "krt" { + description "Trace virtual chassis kernel events"; + } + enum "spf" { + description "Trace virtual chassis SPF events"; + } + enum "me" { + description "Trace virtual chassis master election events"; + } + enum "packets" { + description "Trace virtual chassis packets"; + } + enum "lsp-generation" { + description "Trace virtual chassis LSP generation"; + } + enum "error" { + description "Trace virtual chassis errors"; + } + enum "route" { + description "Trace virtual chassis routing information"; + } + enum "state" { + description "Trace virtual chassis state transitions"; + } + enum "auto-configuration" { + description "Trace virtual chassis ports auto configuration"; + } + enum "graceful-restart" { + description "Trace graceful restart events"; + } + enum "dcp-infra" { + description "Trace dcp infrastructure configuration"; + } + enum "dcp-dev-state" { + description "Trace dcp infrastructure configuration"; + } + enum "heartbeat" { + description "Trace virtual chassis heartbeat packets"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf send { + description "Trace transmitted packets"; + type empty; + } + leaf receive { + description "Trace received packets"; + type empty; + } + leaf detail { + description "Trace detailed information"; + type empty; + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping vchassis_trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-vlans@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-vlans@2019-01-01.yang new file mode 100644 index 00000000..f4ef5fed --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-vlans@2019-01-01.yang @@ -0,0 +1,5004 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-vlans { + namespace "http://yang.juniper.net/junos-qfx/conf/vlans"; + + prefix jc-vlans; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos vlans configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses vlans-group; + } + augment /jc:configuration/jc:groups { + uses vlans-group; + } + grouping vlans-group { + container vlans { + description "VLAN configuration"; + uses apply-advanced; + list vlan { + key name; + description "Virtual LAN"; + uses vlan-types; + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + grouping vlan-types { + description "Virtual LAN"; + leaf name { + description "VLAN name"; + type string { + length "2 .. 64"; + } + } + uses apply-advanced; + leaf description { + description "Text description of VLANs"; + type string { + } + } + choice vlan-identifier-choice { + case case_1 { + leaf vlan-id { + description "IEEE 802.1q VLAN identifier for VLAN"; + type string; + } + } + case case_2 { + leaf-list vlan-id-list { + description "Create VLAN for each of the vlan-id specified in the vlan-id-list"; + type jt:vlan-range; + } + } + case case_3 { + container vlan-tags { + presence "enable vlan-tags"; + description "IEEE 802.1q VLAN tags for VLANs"; + leaf outer { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + leaf inner { + description "[tpid.]vlan-id, tpid format is 0xNNNN and is optional"; + type string { + } + } + } + } + } + list interface { + key name; + ordered-by user; + description "Interface name for this VLAN"; + leaf name { + type string; + } + uses apply-advanced; + } + leaf l3-interface { + description "L3 interface name for this vlans"; + type union { + type jt:interface-unit; + type string { + pattern "<.*>|$.*"; + } + } + } + container forwarding-options { + description "Forwarding options configuration"; + uses juniper-ethernet-switching-forwarding-options; + } + container multicast-snooping-options { + description "Multicast snooping option configuration"; + uses juniper-multicast-snooping-options; + } + container switch-options { + description "VLANs switch-options configuration"; + uses juniper-protocols-vlan; + } + leaf domain-type { + description "Type of VLANs SVLAN/DVLAN"; + type enumeration { + enum "bridge" { + description "Forwarding instance"; + } + } + } + leaf no-irb-layer-2-copy { + description "Disable transmission of layer-2 copy of packets of IRB routing-interface"; + type empty; + } + leaf service-id { + description "Service id required if VLAN is of type MC-AE, and vlan-id all or vlan-id none or vlan-tags is configured"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65535"; + } + } + } + leaf domain-id { + description "Domain-id for auto derived Route Target"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 15"; + } + } + } + leaf mcae-mac-synchronize { + description "Enable IRB MAC synchronization in this VLAN"; + type empty; + } + leaf no-arp-suppression { + description "Disable suppression of ARP/NDP for EVPN"; + type empty; + } + leaf mcae-mac-flush { + description "Enable IRB MAC flush in a/s mode for this VLAN on MCAE link up"; + type empty; + } + leaf private-vlan { + description "Type of secondary vlan for private vlan"; + type enumeration { + enum "isolated" { + description "Isolated vlan"; + } + enum "community" { + description "Community vlan"; + } + } + } + leaf isolated-vlan { + description "VLAN id or name"; + type string { + } + } + leaf-list community-vlans { + ordered-by user; + description "List of VLAN id or name"; + type string; + } + container vxlan { + uses apply-advanced; + leaf ovsdb-managed { + description "Bridge-domain is managed remotely via VXLAN OVSDB Controller"; + type empty; + } + leaf vni { + description "VXLAN identifier"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 16777214"; + } + } + } + leaf multicast-group { + description "Multicast group registered for VXLAN segment"; + type jt:ipv4addr; + } + leaf encapsulate-inner-vlan { + description "Retain inner VLAN in the packet"; + type empty; + } + leaf decapsulate-accept-inner-vlan { + description "Accept VXLAN packets with inner VLAN"; + type empty; + } + leaf unreachable-vtep-aging-timer { + description "Unreachable VXLAN tunnel endpoint removal timer"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "300 .. 1800"; + } + } + } + leaf ingress-node-replication { + description "Enable ingress node replication"; + type empty; + } + } + } + grouping juniper-ethernet-switching-forwarding-options { + uses apply-advanced; + container filter { + description "Filtering for ethernet switching forwarding table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for forwarded packets"; + type string; + } + leaf output { + description "Name of output filter to apply for forwarded packets"; + type string; + } + } + container flood { + description "Filtering for ethernet switching flood table"; + uses apply-advanced; + leaf input { + description "Name of input filter to apply for ethernet switching flood packets"; + type string; + } + } + container dhcp-relay { + description "Dynamic Host Configuration Protocol relay configuration"; + status deprecated; + uses jdhcp-relay-type; + } + container dhcp-security { + description "DHCP access security configuration"; + presence "enable dhcp-security"; + uses jdhcp-security-type; + } + container fip-security { + description "FCoE Initiation Protocol security configuration"; + presence "enable fip-security"; + uses fip-security-type; + } + } + grouping fip-security-type { + uses apply-advanced; + list interface { + key name; + description "Configure access port security for this interface"; + leaf name { + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + choice fcoe-trusted-choice { + leaf fcoe-trusted { + description "Make this interface trusted for FCoE"; + type empty; + } + leaf no-fcoe-trusted { + description "Don't make this interface trusted for FCoE"; + type empty; + } + } + } + leaf fc-map { + description "FCoE MAC address prefix"; + type string { + } + } + container examine-vn2vf { + presence "enable examine-vn2vf"; + description "Enable FIP snooping on this VLAN"; + uses apply-advanced; + leaf satellite { + description "FIP snooping enabled for extended port"; + type empty; + } + } + container examine-vn2vn { + presence "enable examine-vn2vn"; + description "Enable VN2VN FIP snooping on this VLAN"; + uses apply-advanced; + leaf beacon-period { + description "FCoE VN2VN beacon period"; + default "8000"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "250 .. 90000"; + } + } + } + } + } + grouping jdhcp-relay-type { + description "Dynamic Host Configuration Protocol relay configuration"; + uses apply-advanced; + container traceoptions { + description "DHCP relay trace options"; + status deprecated; + uses jdhcp-traceoptions-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + leaf duplicate-clients-on-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + status deprecated; + type empty; + } + container duplicate-clients-in-subnet { + description "Allow duplicate clients in a subnet"; + uses jdhcp-duplicate-clients-in-subnet-type; + } + container interface-traceoptions { + description "DHCP relay interface trace options"; + status deprecated; + uses jdhcp-interface-traceoptions-type; + } + container dhcpv6 { + description "DHCPv6 configuration"; + uses dhcpv6-relay-type; + } + leaf arp-inspection { + description "Enable Dynamic ARP Inspection"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-top; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container server-group { + description "Define a DHCP server group"; + uses server-group-type; + } + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gbl-active-sg-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCP group"; + uses dhcp-group; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + leaf no-snoop { + description "Do not snoop DHCP packets"; + type empty; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + container leasequery { + description "DHCP leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCP bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v4-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + } + grouping authentication-type { + description "DHCP authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + container option-82 { + presence "enable option-82"; + description "Include option 82"; + leaf circuit-id { + description "Include option 82 circuit-id (sub option 1)"; + type empty; + } + leaf remote-id { + description "Include option 82 remote-id (sub option 2)"; + type empty; + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf option-60 { + description "Include option 60"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcp-dual-stack-group { + description "DHCP dual stack groups"; + leaf name { + description "Dual stack group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container authentication { + description "DHCP authentication"; + uses dual-stack-authentication-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to be used for jdhcpd"; + type string { + length "1 .. 128"; + } + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-dualstack-type; + } + container relay-agent-interface-id { + description "Interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "Remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container classification-key { + description "Classification key for identifying dual stack household"; + uses classification-types; + } + leaf dual-stack-interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + container protocol-master { + description "Select family as protocol master"; + uses jdhcp-dual-stack-protocol-mstr-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + grouping classification-types { + description "Different mechanisms to identify a single household"; + uses apply-advanced; + leaf mac-address { + description "MAC address of client"; + type empty; + } + leaf circuit-id { + description "Circuit-id as key"; + type empty; + } + leaf remote-id { + description "Remote-id as key"; + type empty; + } + } + grouping dhcp-generic-v4-option { + description "Generic DHCP options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "60" { + description "Option 60"; + status deprecated; + } + enum "77" { + description "Option 77"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v4-option-ascii-hex; + } + container option-60 { + description "Add option 60 processing"; + presence "enable option-60"; + uses dhcp-generic-v4-option-type; + } + container option-77 { + description "Add option 77 processing"; + presence "enable option-77"; + uses dhcp-generic-v4-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "60" { + description "Option 60"; + } + enum "77" { + description "Option 77"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v4-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v4-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v4-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v4-option-ascii-hex; + } + } + grouping dhcp-group { + description "DHCP groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCP server group"; + uses dhcpv4-gp-active-sg-type; + } + container authentication { + description "DHCP authentication"; + uses authentication-type; + } + container liveness-detection { + description "DHCP client liveness detection processing"; + uses dhcp-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses override-type; + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + presence "enable default-action"; + uses server-match-action-choice; + } + list address { + key name; + ordered-by user; + description "Server address"; + leaf name { + description "Server address for matching"; + type jt:ipv4prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + container relay-option { + description "DHCP option processing"; + presence "enable relay-option"; + uses dhcp-generic-v4-option; + } + container relay-option-60 { + description "DHCP option-60 processing"; + presence "enable relay-option-60"; + status deprecated; + uses relay-option-60-type-group; + } + container relay-option-82 { + description "DHCP option-82 processing"; + presence "enable relay-option-82"; + uses relay-option-82-type; + } + container forward-only { + description "Forward DHCP packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container route-suppression { + description "Suppress access-internal and/or destination route addition"; + uses dhcp-route-suppression-type; + } + leaf description { + description "Text description of servers"; + type string; + } + leaf maximum-hop-count { + description "Maximum number of hops per packet"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 16"; + } + } + } + leaf minimum-wait-time { + description "Minimum number of seconds before requests are forwarded"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 30000"; + } + } + } + leaf client-response-ttl { + description "IP time-to-live value to set in responses to client"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + leaf source-ip-change { + description "Use address of egress interface as source ip"; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCP override processing"; + uses override-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv4 offer and ack packets"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-dualstack-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-arp-nud-liveness-detection-type { + description "Address Resolution detection options"; + uses apply-advanced; + leaf transmit-interval { + description "Transmit interval for address resolution"; + default "300"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "300 .. 1800"; + } + } + } + leaf max-consecutive-retries { + description "Retry attempts"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "3 .. 6"; + } + } + } + } + grouping dhcp-liveness-detection-failure-action-type { + description "Liveness detection failure action options"; + uses apply-advanced; + choice failure-action-type { + case case_1 { + leaf clear-binding { + description "Clear the client binding"; + type empty; + } + } + case case_2 { + leaf clear-binding-if-interface-up { + description "Clear the client binding only if the incoming interface is up"; + type empty; + } + } + case case_3 { + leaf log-only { + description "Maintain the client binding and log the failure event"; + type empty; + } + } + } + } + grouping dhcp-liveness-detection-type { + description "DHCP client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Address resolution options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcp-bfd-liveness-detection-type { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "30000 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + leaf session-mode { + description "BFD single-hop or multihop session-mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Choose session-mode automatically"; + } + enum "single-hop" { + description "Use single-hop"; + } + enum "multihop" { + description "Use multihop"; + } + } + } + leaf holddown-interval { + description "Time to hold the session-UP notification to the client"; + default "0"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 255000"; + } + } + } + } + grouping dhcp-remote-id-mismatch-type { + description "DHCP client remote-id-mismatch processing"; + uses apply-advanced; + leaf disconnect { + description "Disconnect session on remote-id mismatch"; + type empty; + } + } + grouping dhcp-route-suppression-type { + uses apply-advanced; + choice dhcp-route-suppression-choice { + case case_1 { + leaf access-internal { + description "Suppress access-internal and destination route addition"; + type empty; + } + } + case case_2 { + leaf destination { + description "Suppress destination route addition"; + type empty; + } + } + } + } + grouping dhcp-v4-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv4-gbl-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv4-gp-active-sg-type { + leaf active-server-group { + description "Name of DHCP server group"; + type string { + length "1 .. 64"; + } + } + leaf allow-server-change { + description "Accept DHCP-ACK from any server in this group"; + type empty; + } + } + grouping dhcpv6-relay-type { + description "DHCPv6 relay configuration"; + uses apply-advanced; + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container persistent-storage { + description "Trigger to enable flat file storage"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + leaf forward-only-replies { + description "Forward-only replies from server to appropriate logical-system:routing-instance based on options"; + type empty; + } + container forward-snooped-clients { + description "Forward snooped (unicast) packets"; + choice interface-type { + case case_1 { + leaf configured-interfaces { + description "Forward snooped (unicast) packets on configured interfaces"; + type empty; + } + } + case case_2 { + leaf non-configured-interfaces { + description "Forward snooped (unicast) packets on non-configured interfaces"; + type empty; + } + } + case case_3 { + leaf all-interfaces { + description "Forward snooped (unicast) packets on configured and non-configured interfaces"; + type empty; + } + } + } + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + list group { + key name; + ordered-by user; + description "Define a DHCPv6 relay group"; + uses dhcpv6-relay-group; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container server-group { + description "Define a DHCPv6 server group"; + uses v6-server-group-type; + } + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gbl-active-sg-type; + } + leaf server-response-time { + description "Number of seconds in a period of activity between the last server response and an unaswered request"; + default "0"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + leaf no-snoop { + description "Do not snoop DHCPV6 packets"; + type empty; + } + container leasequery { + description "DHCPv6 leasequery configuration"; + presence "enable leasequery"; + uses relay-leasequery-type; + } + container bulk-leasequery { + description "DHCPv6 bulk leasequery configuration"; + presence "enable bulk-leasequery"; + uses relay-bulk-leasequery-v6-type; + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container duplicate-clients { + description "Allow duplicate clients"; + uses dhcpv6-duplicate-clients-type; + } + } + grouping dhcp-generic-v6-option { + description "Generic DHCPv6 options processing"; + uses apply-advanced; + leaf option-number { + description "Option number"; + status deprecated; + type enumeration { + enum "15" { + description "Option 15"; + status deprecated; + } + enum "16" { + description "Option 16"; + status deprecated; + } + } + } + container equals { + description "Generic option equals"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + status deprecated; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + status deprecated; + uses relay-v6-option-ascii-hex; + } + container option-15 { + description "Add option 15 processing"; + presence "enable option-15"; + uses dhcp-generic-v6-option-type; + } + container option-16 { + description "Add option 16 processing"; + presence "enable option-16"; + uses dhcp-generic-v6-option-type; + } + list option-order { + key name; + ordered-by user; + description "Options precedence order"; + leaf name { + description "Option number"; + type enumeration { + enum "15" { + description "Option 15"; + } + enum "16" { + description "Option 16"; + } + } + } + uses apply-advanced; + } + } + grouping dhcp-generic-v6-option-type { + uses apply-advanced; + container equals { + description "Generic option equals"; + uses relay-v6-option-ascii-hex; + } + container default-action { + description "Generic option default action"; + uses dhcp-v6-option-default-action; + } + container starts-with { + description "Generic option starts with"; + uses relay-v6-option-ascii-hex; + } + } + grouping dhcp-v6-option-default-action { + description "Default action"; + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + grouping dhcpv6-authentication-type { + description "DHCPv6 authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf client-id { + description "Include client ID"; + type empty; + } + container relay-agent-remote-id { + presence "enable relay-agent-remote-id"; + description "Include the relay agent remote ID"; + uses apply-advanced; + choice relay-agent-remote-id-choice { + case case_1 { + leaf enterprise-id { + description "Only use enterprise-id portion of option-37"; + status deprecated; + type empty; + } + } + case case_2 { + leaf remote-id { + description "Only use remote-id portion of option-37"; + status deprecated; + type empty; + } + } + } + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-subscriber-id { + description "Include the relay agent subscriber ID"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + } + } + grouping dhcpv6-duplicate-clients-type { + description "Allow duplicate clients"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different underlying interfaces"; + type empty; + } + } + } + } + grouping dhcpv6-gbl-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-liveness-detection-type { + description "DHCPv6 client liveness detection processing"; + uses apply-advanced; + container failure-action { + description "Liveness detection failure action options"; + uses dhcp-liveness-detection-failure-action-type; + } + container method { + description "Liveness detection method options"; + uses apply-advanced; + choice method-choice { + case case_1 { + container bfd { + description "Bidirectional Forwarding Detection (BFD) options"; + uses dhcp-bfd-liveness-detection-type; + } + } + case case_2 { + container layer2-liveness-detection { + description "Neighbor discovery options"; + uses dhcp-arp-nud-liveness-detection-type; + } + } + } + } + } + grouping dhcpv6-override-relay-type { + description "DHCPv6 relay override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of clients allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + leaf no-bind-on-request { + description "Do not bind if stray DHCPv6 RENEW, REBIND is received"; + type empty; + } + container client-negotiation-match { + description "Use secondary match criteria for SOLICIT PDU"; + choice match-with { + case case_1 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf always-process-option-request-option { + description "Always process option even after address allocation failure"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on renegotiation"; + type empty; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + leaf asymmetric-prefix-lease-time { + description "Use a reduced prefix lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + } + grouping dhcpv6-relay-group { + description "DHCPv6 groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container active-server-group { + description "Name of DHCPv6 server group"; + uses dhcpv6-gp-active-sg-type; + } + list dual-stack-group { + key name; + description "Define a DHCP dual stack group"; + uses dhcp-dual-stack-group; + } + container authentication { + description "DHCPv6 authentication"; + uses dhcpv6-authentication-type; + } + container liveness-detection { + description "DHCPv6 client liveness detection processing"; + uses dhcpv6-liveness-detection-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + container overrides { + description "DHCPv6 override processing"; + presence "enable overrides"; + uses dhcpv6-override-relay-type; + } + container relay-option { + description "DHCPv6 option processing"; + presence "enable relay-option"; + uses dhcp-generic-v6-option; + } + container vendor-specific-information { + description "DHCPv6 option 17 vendor-specific processing"; + uses jdhcp-vendor-specific-type; + } + container forward-only { + description "Forward DHCPv6 packets without creating binding"; + presence "enable forward-only"; + uses forward-only-to-rc-type; + } + container relay-agent-interface-id { + description "DHCPv6 interface-id option processing"; + presence "enable relay-agent-interface-id"; + uses v6-relay-option-interface-id-type; + } + container relay-agent-remote-id { + description "DHCPv6 remote-id option processing"; + presence "enable relay-agent-remote-id"; + uses v6-relay-option-remote-id-type; + } + container route-suppression { + description "Suppress access-internal and/or access route addition"; + uses dhcpv6-route-suppression-type; + } + leaf relay-agent-option-79 { + description "Add the client MAC address to the Relay Forward header."; + type empty; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf upto { + description "Interface up to"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf exclude { + description "Exclude this interface range"; + type empty; + } + leaf trace { + description "Enable tracing for this interface"; + type empty; + } + container overrides { + description "DHCPv6 override processing"; + uses dhcpv6-override-relay-type; + } + container dynamic-profile { + description "Dynamic profile to use"; + uses dynamic-profile-type; + } + leaf service-profile { + description "Dynamic profile to use for default service activation"; + type string { + length "1 .. 128"; + } + } + leaf access-profile { + description "Access profile to use for AAA services"; + type string { + length "1 .. 128"; + } + } + container short-cycle-protection { + description "Short cycle lockout configuration"; + leaf lockout-min-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + leaf lockout-max-time { + description "Short cycle lockout time in seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 86400"; + } + } + } + } + } + container lease-time-validation { + presence "enable lease-time-validation"; + description "Configure lease time violation validation"; + uses apply-advanced; + leaf lease-time-threshold { + description "Threshold for lease time violation in seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "60 .. 2147483647"; + } + } + } + container violation-action { + description "Lease time validation violation action"; + leaf drop { + description "Drop dhcpv6 advertise and reply packets"; + type empty; + } + } + } + container remote-id-mismatch { + description "DHCP client remote-id mismatch"; + presence "enable remote-id-mismatch"; + uses dhcp-remote-id-mismatch-type; + } + container server-match { + description "Server match processing"; + uses apply-advanced; + container default-action { + description "Server match default action"; + uses server-match-action-choice; + } + container duid { + description "Match duid processing"; + uses apply-advanced; + container equals { + description "Duid equals"; + uses server-match-v6-ascii-hex; + } + container starts-with { + description "Duid starts with"; + uses server-match-v6-ascii-hex; + } + } + list address { + key name; + ordered-by user; + description "Server ipv6 address"; + leaf name { + description "Server ipv6 address for matching"; + type jt:ipv6prefix; + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + } + grouping dhcpv6-gp-active-sg-type { + uses apply-advanced; + leaf active-server-group { + description "Name of DHCPv6 server group"; + type string { + length "1 .. 64"; + } + } + } + grouping dhcpv6-route-suppression-type { + description "Suppress access-internal and/or access route addition"; + leaf access { + description "Suppress access route addition"; + type empty; + } + leaf access-internal { + description "Suppress access-internal route addition"; + type empty; + } + } + grouping dual-stack-authentication-type { + description "DHCP dual stack authentication"; + uses apply-advanced; + leaf password { + description "Username password to use"; + type string { + length "1 .. 64"; + } + } + container username-include { + description "Add username options"; + uses apply-advanced; + leaf delimiter { + description "Change delimiter/separator character"; + type string { + length 1; + } + } + leaf domain-name { + description "Add domain name"; + type string { + length "1 .. 64"; + } + } + leaf user-prefix { + description "Add user defined prefix"; + type string { + length "1 .. 64"; + } + } + leaf mac-address { + description "Include MAC address"; + type empty; + } + leaf relay-agent-remote-id { + description "Include the relay agent remote ID"; + type empty; + } + leaf logical-system-name { + description "Include logical system name"; + type empty; + } + leaf routing-instance-name { + description "Include routing instance name"; + type empty; + } + leaf relay-agent-interface-id { + description "Include the relay agent interface ID"; + type empty; + } + leaf interface-name { + description "Include interface name"; + type empty; + } + leaf interface-description { + description "Include interface description"; + type enumeration { + enum "device" { + description "Add the device interface description"; + } + enum "logical" { + description "Add the logical interface description"; + } + } + } + leaf circuit-type { + description "Include circuit type"; + type empty; + } + } + } + grouping dynamic-profile-type { + description "Dynamic profile to use"; + uses apply-advanced; + leaf dynamic-profile { + description "Dynamic profile to use"; + type string { + length "1 .. 80"; + } + } + choice dynamic-profile-type-choice { + case case_1 { + leaf use-primary { + description "Dynamic profile to use on the primary interface"; + type string { + length "1 .. 80"; + } + } + } + case case_2 { + container aggregate-clients { + presence "enable aggregate-clients"; + description "Aggregate client profiles"; + uses apply-advanced; + choice aggregate-type { + case case_1 { + leaf merge { + description "Merge the client dynamic profiles"; + type empty; + } + } + case case_2 { + leaf replace { + description "Replace client dynamic profiles"; + type empty; + } + } + } + } + } + } + } + grouping forward-only-to-rc-type { + description "Forward DHCP packets without creating binding"; + uses apply-advanced; + leaf logical-system { + default "current"; + type string; + } + leaf routing-instance { + default "current"; + type string; + } + } + grouping jdhcp-dual-stack-protocol-mstr-type { + description "Select family as protocol master"; + choice addr-fam { + case case_1 { + leaf inet { + description "INET family has protocol master behavior"; + type empty; + } + } + case case_2 { + leaf inet6 { + description "INET6 family has protocol master behavior"; + type empty; + } + } + } + } + grouping jdhcp-duplicate-clients-in-subnet-type { + description "Allow duplicate clients in a subnet"; + choice distinguish-with { + case case_1 { + leaf incoming-interface { + description "Allow duplicate clients on different interfaces in a subnet"; + type empty; + } + } + case case_2 { + leaf option-82 { + description "Allow duplicate clients using different option-82 options in a subnet"; + type empty; + } + } + } + } + grouping jdhcp-interface-traceoptions-type { + description "Interface trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "Interface trace categories"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + } + } + } + } + grouping jdhcp-security-type { + description "DHCP access security configuration"; + uses apply-advanced; + leaf no-dhcp-snooping { + description "Disable dhcp snooping"; + type empty; + } + leaf arp-inspection { + description "Enable dynamic ARP inspection"; + type empty; + } + leaf ip-source-guard { + description "Enable IP source guard"; + type empty; + } + leaf no-dhcpv6-snooping { + description "Disable DHCPv6 snooping"; + type empty; + } + leaf neighbor-discovery-inspection { + description "Enable neighbor discovery inspection"; + type empty; + } + leaf ipv6-source-guard { + description "Enable IPv6 source guard"; + type empty; + } + leaf light-weight-dhcpv6-relay { + description "Enable light weight dhcpv6 relay"; + type empty; + } + list group { + key name; + ordered-by user; + description "Define a DHCP security group for overriding defaults"; + uses ds-group; + } + container option-82 { + description "DHCP option-82 processing for snooped packets"; + presence "enable option-82"; + uses security-option-82-type; + } + container dhcpv6-options { + description "DHCPv6 option processing for snooped packets"; + presence "enable dhcpv6-options"; + uses security-dhcpv6-options-type; + } + } + grouping ds-group { + description "DHCP security groups"; + leaf name { + description "Group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + container overrides { + description "DHCP override processing"; + presence "enable overrides"; + uses ds-override-type; + } + list interface { + key name; + description "One or more interfaces"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + list static-ip { + key name; + ordered-by user; + description "Static IP address configuration"; + uses ip-mac-static; + } + list static-ipv6 { + key name; + ordered-by user; + description "Static IPv6 address configuration"; + uses ipv6-mac-static; + } + } + } + grouping ds-override-type { + description "Dynamic ARP Inspection override processing"; + uses apply-advanced; + leaf trusted { + description "Make this trusted group of interfaces"; + type empty; + } + leaf untrusted { + description "Make this untrusted group of interfaces"; + type empty; + } + leaf no-option82 { + description "Make this group of interfaces not to add option82"; + type empty; + } + leaf no-option37 { + description "Make this group of interfaces not to add option37"; + type empty; + } + leaf no-option18 { + description "Make this group of interfaces not to add option18"; + type empty; + } + leaf no-option16 { + description "Make this group of interfaces not to add option16"; + type empty; + } + leaf no-option79 { + description "Make this group of interfaces not to add option79"; + type empty; + } + leaf no-dhcpv6-options { + description "Make this group of interfaces not to add any DHCPv6 options"; + type empty; + } + } + grouping ip-mac-static { + leaf name { + description "IP address"; + type jt:ipaddr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping ipv6-mac-static { + leaf name { + description "IP address"; + type jt:ipv6addr; + } + leaf mac { + description "MAC address"; + type jt:mac-addr; + } + } + grouping jdhcp-traceoptions-type { + description "Trace options for DHCP"; + uses apply-advanced; + leaf no-remote-trace { + description "Disable remote tracing"; + type empty; + } + container file { + description "Trace file information"; + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + leaf match { + description "Regular expression for lines to be logged"; + type jt:regular-expression; + } + } + list flag { + key name; + ordered-by user; + description "DHCP operations to include in debugging trace"; + leaf name { + type enumeration { + enum "state" { + description "State-transition operations"; + } + enum "packet" { + description "Packet-decoding operations"; + } + enum "flow" { + description "Flow-decoding operations"; + } + enum "packet-option" { + description "DHCP option-decoding operations"; + } + enum "dhcpv6-state" { + description "State-transition operations for dhcpv6"; + } + enum "dhcpv6-packet" { + description "Packet-decoding operations for dhcpv6"; + } + enum "dhcpv6-packet-option" { + description "DHCP option-decoding operations for dhcpv6"; + } + enum "all" { + description "All operations"; + } + enum "database" { + description "Database operations"; + } + enum "persistent" { + description "Persitent file operations"; + } + enum "lockout-db" { + description "Lockout database operations"; + } + enum "interface" { + description "Interface operations"; + } + enum "rtsock" { + description "Routing socket operations"; + } + enum "flow-notify" { + description "Flow notification operations"; + } + enum "io" { + description "I/O operations"; + } + enum "ha" { + description "High Availability-related operations"; + } + enum "ui" { + description "User Interface operations"; + } + enum "general" { + description "Miscellaneous operations"; + } + enum "fwd" { + description "Firewall process operations"; + } + enum "rpd" { + description "Routing Protocol process operations"; + } + enum "auth" { + description "Authentication operations"; + } + enum "profile" { + description "Profile operations"; + } + enum "session-db" { + description "Session database operations"; + } + enum "performance" { + description "Performance measurement operations"; + } + enum "statistics" { + description "Baseline statistics operations"; + } + enum "dhcpv6-io" { + description "I/O operations for dhcpv6"; + } + enum "dhcpv6-rpd" { + description "Routing Protocol process operations for dhcpv6"; + } + enum "dhcpv6-session-db" { + description "Session database operations for dhcpv6"; + } + enum "dhcpv6-general" { + description "Miscellaneous operations for dhcpv6"; + } + enum "liveness-detection" { + description "Liveness detection operations"; + } + enum "security-persistence" { + description "Liveness detection operations"; + } + enum "mclag" { + description "Multichassis LAG"; + } + enum "ra-guard" { + description "DHCP RA guard option for dhcpv6"; + } + } + } + } + } + grouping jdhcp-vendor-specific-type { + description "Add vendor-specific option processing"; + uses apply-advanced; + leaf host-name { + description "Add router host name"; + type empty; + } + leaf location { + description "Add location information expressed as interface name format"; + type empty; + } + } + grouping juniper-multicast-snooping-options { + uses apply-advanced; + container options { + description "Miscellaneous options"; + uses apply-advanced; + container syslog { + description "Set system logging level"; + uses apply-advanced; + container level { + description "Logging level"; + leaf emergency { + description "Emergency level"; + type empty; + } + leaf alert { + description "Alert level"; + type empty; + } + leaf critical { + description "Critical level"; + type empty; + } + leaf error { + description "Error level"; + type empty; + } + leaf warning { + description "Warning level"; + type empty; + } + leaf notice { + description "Notice level"; + type empty; + } + leaf info { + description "Informational level"; + type empty; + } + leaf debug { + description "Debugging level"; + type empty; + } + } + leaf upto { + description "Log up to a particular logging level"; + type enumeration { + enum "emergency" { + description "Emergency level"; + } + enum "alert" { + description "Alert level"; + } + enum "critical" { + description "Critical level"; + } + enum "error" { + description "Error level"; + } + enum "warning" { + description "Warning level"; + } + enum "notice" { + description "Notice level"; + } + enum "info" { + description "Informational level"; + } + enum "debug" { + description "Debugging level"; + } + } + } + leaf mark { + description "Periodically mark the trace file"; + units "seconds"; + type union { + type int32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + container traceoptions { + description "Multicast snooping trace options"; + uses apply-advanced; + container file { + description "Trace file options"; + uses trace_file_type; + } + list flag { + key name; + ordered-by user; + description "Tracing parameters"; + leaf name { + type enumeration { + enum "parse" { + description "Trace configuration parsing"; + } + enum "config-internal" { + description "Trace configuration internals"; + } + enum "route" { + description "Trace routing information"; + } + enum "normal" { + description "Trace normal events"; + } + enum "general" { + description "Trace general events"; + } + enum "state" { + description "Trace state transitions"; + } + enum "policy" { + description "Trace policy processing"; + } + enum "task" { + description "Trace routing protocol task processing"; + } + enum "timer" { + description "Trace routing protocol timer processing"; + } + enum "all" { + description "Trace everything"; + } + } + } + leaf disable { + description "Disable this trace flag"; + type empty; + } + } + } + container forwarding-cache { + description "Multicast forwarding cache"; + uses apply-advanced; + container threshold { + description "Threshold"; + uses apply-advanced; + leaf suppress { + description "Suppress threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + leaf reuse { + description "Reuse threshold"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 200000"; + } + } + } + } + } + leaf-list flood-groups { + ordered-by user; + description "Groups for which the traffic will be flooded"; + type jt:ipaddr; + } + container graceful-restart { + description "Configure graceful restart attributes"; + uses apply-advanced; + choice enable-disable { + case case_1 { + leaf disable { + description "Disable graceful restart"; + type empty; + } + } + } + leaf restart-duration { + description "Maximum time for graceful restart to finish"; + default "180"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 300"; + } + } + } + } + container multichassis-lag-replicate-state { + presence "enable multichassis-lag-replicate-state"; + description "Enable multichassis lag replication"; + uses apply-advanced; + leaf suppress-report { + description "Enable mclag report suppression"; + type empty; + } + } + leaf nexthop-hold-time { + description "Nexthop hold time in milliseconds"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 1000"; + } + } + } + } + grouping juniper-protocols-vlan { + description "VLANs switch-options configuration"; + uses apply-advanced; + container mac-table-size { + description "Size of MAC address forwarding table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + } + } + } + container mac-ip-table-size { + description "Size of MAC+IP bindings table"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container interface-mac-limit { + description "Maximum MAC address learned per interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + container mac-move-limit { + presence "enable mac-move-limit"; + description "Number of MAC movements allowed on this VLAN"; + uses apply-advanced; + leaf limit { + description "Number of MAC movements allowed on this VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 4294967295"; + } + } + } + leaf packet-action { + description "Action to be taken in case the MAC movement limit is exceeded"; + default "drop"; + type enumeration { + enum "none" { + description "Take no action"; + } + enum "drop" { + description "Drop the packet and do not generate an alarm"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap, or a system log entry."; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap, or a system log entry."; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap, or a system log entry."; + } + enum "vlan-member-shutdown" { + description "Disable the interface of this VLAN"; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 7"; + } + } + } + } + } + leaf mac-table-aging-time { + description "Delay for discarding MAC address if no updates are received"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-statistics { + description "Enable MAC address statistics"; + type empty; + } + container static-rvtep-mac { + description "Configure Static MAC and remote VxLAN tunnel endpoint entries"; + uses apply-advanced; + list mac { + key "mac_addr remote-vtep"; + description "Unicast MAC address"; + leaf mac_addr { + type jt:mac-unicast; + } + leaf remote-vtep { + description "Configure static remote VXLAN tunnel endpoints"; + type jt:ipaddr; + } + } + } + list interface { + key name; + ordered-by user; + description "Interface that connect this site to the VPN"; + leaf name { + description "Interface name"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + uses apply-advanced; + container interface-mac-limit { + description "Maximum number of MAC addresses learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC addresses per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + leaf disable { + description "Disable interface for interface-mac-limit"; + type empty; + } + leaf packet-action { + description "Action when MAC limit is reached"; + type enumeration { + enum "none" { + description "Forward the packet"; + } + enum "drop" { + description "Drop packets and do not learn. Default is forward"; + } + enum "log" { + description "Do not drop the packet but generate an alarm, an SNMP trap or a system log entry"; + } + enum "shutdown" { + description "Disable the interface and generate an alarm, an SNMP trap or a system log entry"; + } + enum "drop-and-log" { + description "Drop the packet and generate an alarm, an SNMP trap or a system log entry"; + } + } + } + } + leaf protect-interface { + description "Name of protect interface"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf action-priority { + description "Blocking priority of this interface on mac move detection"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 8"; + } + } + } + leaf remote-site-id { + description "Site identifier associated with this interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 65534"; + } + } + } + leaf target-attachment-identifier { + description "FEC 129 VPWS target attachment identifier"; + type string { + } + } + leaf flow-label-transmit { + description "Advertise capability to push Flow Label in transmit direction to remote PE"; + type empty; + } + leaf flow-label-receive { + description "Advertise capability to push Flow Label in receive direction to remote PE"; + type empty; + } + leaf encapsulation-type { + description "Encapsulation type for VPN"; + type enumeration { + enum "atm-aal5" { + description "ATM AAL/5 encapsulation"; + } + enum "atm-cell" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-port-mode" { + description "ATM port promiscuous mode cell encapsulation"; + } + enum "atm-cell-vp-mode" { + description "ATM VP promiscuous mode cell encapsulation"; + } + enum "atm-cell-vc-mode" { + description "ATM non-promiscuous cell encapsulation"; + } + enum "frame-relay" { + description "Frame Relay encapsulation"; + } + enum "ppp" { + description "PPP encapsulation"; + } + enum "cisco-hdlc" { + description "Cisco-compatible HDLC encapsulation"; + } + enum "ethernet-vlan" { + description "Ethernet VLAN encapsulation"; + } + enum "ethernet" { + description "Ethernet encapsulation"; + } + enum "interworking" { + description "Layer 2.5 interworking VPN"; + } + enum "frame-relay-port-mode" { + description "Frame Relay port mode encapsulation"; + } + enum "satop-t1" { + description "SATOP-T1 based Layer 2 VPN"; + } + enum "satop-e1" { + description "SATOP-E1 based Layer 2 VPN"; + } + enum "satop-t3" { + description "SATOP-T3 based Layer 2 VPN"; + } + enum "satop-e3" { + description "SATOP-E3 based Layer 2 VPN"; + } + enum "cesop" { + description "CESOP based Layer 2 VPN"; + } + } + } + leaf ignore-encapsulation-mismatch { + description "Allow different encapsulation types on local and remote end"; + type empty; + } + leaf mtu { + description "MTU to be advertised to the remote end"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "512 .. 65535"; + } + } + } + leaf ignore-mtu-mismatch { + description "Allow different MTU values on local and remote end"; + type empty; + } + choice cword { + case case_1 { + leaf control-word { + description "Adds control-word to the Layer 2 encapsulation"; + type empty; + } + } + case case_2 { + leaf no-control-word { + description "Disables control-word to the Layer 2 encapsulation"; + type empty; + } + } + } + leaf pseudowire-status-tlv { + description "Send pseudowire status TLV"; + type empty; + } + container oam { + description "OAM Configuration for VPN"; + uses apply-advanced; + leaf ping-interval { + description "Time interval between ping messages"; + default "60"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint16 { + range "30 .. 3600"; + } + } + } + leaf ping-multiplier { + description "Number of ping reply missed before declaring BFD down"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint8 { + range "1 .. 5"; + } + } + } + container bfd-liveness-detection { + description "Bidirectional Forwarding Detection (BFD) options"; + uses apply-advanced; + leaf version { + description "BFD protocol version number"; + default "automatic"; + type enumeration { + enum "0" { + description "BFD version 0 (deprecated)"; + } + enum "1" { + description "BFD version 1"; + } + enum "automatic" { + description "Choose BFD version automatically"; + } + } + } + leaf minimum-interval { + description "Minimum transmit and receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-transmit-interval { + description "Minimum transmit interval"; + status deprecated; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf minimum-receive-interval { + description "Minimum receive interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf multiplier { + description "Detection time multiplier"; + default "3"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255"; + } + } + } + choice adaptation-choice { + case case_1 { + leaf no-adaptation { + description "Disable adaptation"; + type empty; + } + } + } + container transmit-interval { + description "Transmit-interval options"; + uses apply-advanced; + leaf minimum-interval { + description "Minimum transmit interval"; + units "milliseconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 255000"; + } + } + } + leaf threshold { + description "High transmit interval triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + container detection-time { + description "Detection-time options"; + uses apply-advanced; + leaf threshold { + description "High detection-time triggering a trap"; + units "milliseconds"; + type union { + type uint32; + type string { + pattern "<.*>|$.*"; + } + } + } + } + } + } + leaf community { + description "Community associated with this interface"; + type string; + } + list static-mac { + key name; + ordered-by user; + description "Static MAC addresses assigned to this interface"; + leaf name { + description "MAC address"; + type jt:mac-addr; + } + uses apply-advanced; + list vlan-id { + key name; + ordered-by user; + description "VLAN ID of learning VLAN"; + leaf name { + description "Learning VLAN"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "0 .. 4094"; + } + } + } + uses apply-advanced; + } + } + container interface-mac-ip-limit { + description "Maximum number of MAC+IP bindings learned on the interface"; + uses apply-advanced; + leaf limit { + description "Maximum number of MAC+IP bindings per interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32; + } + } + } + leaf no-mac-learning { + description "Disable dynamic MAC address learning"; + type empty; + } + leaf mac-pinning { + description "Enable MAC pinning"; + type empty; + } + leaf description { + description "Text description"; + type string; + } + } + } + grouping override-type { + description "DHCP override processing"; + uses apply-advanced; + choice allow-snooped-clients-choice { + leaf allow-snooped-clients { + description "Allow client creation from snooped PDUs"; + type empty; + } + leaf no-allow-snooped-clients { + description "Don't allow client creation from snooped PDUs"; + type empty; + } + } + leaf allow-no-end-option { + description "Allow packets without end-of-option"; + type empty; + } + leaf always-write-giaddr { + description "Overwrite existing 'giaddr' field, when present"; + type empty; + } + container always-write-option-82 { + description "Overwrite existing value of option 82, when present"; + presence "enable always-write-option-82"; + uses write-option-82-type; + } + leaf user-defined-option-82 { + description "Set user defined description for option-82"; + type string { + length "1 .. 252"; + } + } + leaf layer2-unicast-replies { + description "Do not broadcast client responses"; + type empty; + } + leaf trust-option-82 { + description "Trust options-82 option"; + type empty; + } + leaf delay-authentication { + description "Delay subscriber authentication in DHCP protocol processing until request packet"; + type empty; + } + leaf disable-relay { + description "Disable DHCP relay processing"; + type empty; + } + leaf no-bind-on-request { + description "Do not bind if stray DHCP request is received"; + type empty; + } + leaf interface-client-limit { + description "Limit the number of client allowed on an interface"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 500000"; + } + } + } + leaf no-arp { + description "Disable DHCP ARP table population"; + status deprecated; + type empty; + } + leaf bootp-support { + description "Allows relay of bootp req and reply"; + type empty; + } + leaf dual-stack { + description "Dual stack group to use."; + type string { + length "1 .. 64"; + } + } + container client-discover-match { + presence "enable client-discover-match"; + description "Use secondary match criteria for DISCOVER PDU"; + choice match-with { + case case_1 { + leaf option60-and-option82 { + description "Use option 60 and option 82"; + type empty; + } + } + case case_2 { + leaf incoming-interface { + description "Use incoming interface"; + type empty; + } + } + } + } + container proxy-mode { + presence "enable proxy-mode"; + description "Put the relay in proxy mode"; + } + leaf asymmetric-lease-time { + description "Use a reduced lease time for the client. In seconds"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "600 .. 86400"; + } + } + } + container replace-ip-source-with { + description "Replace IP source address in request and release packets"; + choice replacement-type { + case case_1 { + leaf giaddr { + description "Replace IP source address with giaddr"; + type empty; + } + } + } + } + leaf send-release-on-delete { + description "Always send RELEASE to the server when a binding is deleted"; + type empty; + } + leaf apply-secondary-as-giaddr { + description "Enable DHCP relay to use secondary gateway ip for relay interfaces"; + type empty; + } + leaf relay-source { + description "Interface for relay source"; + type union { + type jt:interface-name; + type string { + pattern "<.*>|$.*"; + } + } + } + leaf delete-binding-on-renegotiation { + description "Delete binding on rengotiation"; + type empty; + } + } + grouping relay-bulk-leasequery-v4-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "360"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 720"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-bulk-leasequery-v6-type { + description "Configure bulk leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + container trigger { + description "Trigger for bulk leasequery"; + leaf automatic { + description "Trigger automatically"; + type empty; + } + } + } + grouping relay-leasequery-type { + description "Configure leasequery"; + uses apply-advanced; + leaf attempts { + description "Number of retry attempts"; + default "6"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + leaf timeout { + description "Number of seconds"; + default "10"; + units "seconds"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "1 .. 10"; + } + } + } + } + grouping relay-option-60-type-group { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-group; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-group; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-group; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-group { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-60-type-top { + description "DHCP option-60 processing"; + uses apply-advanced; + container vendor-option { + description "Add vendor option"; + uses apply-advanced; + container equals { + description "Option 60 equals"; + uses relay-option-60-match-top; + } + container not-equals { + description "Option 60 does not equal"; + status deprecated; + uses relay-option-60-match-top; + } + container starts-with { + description "Option 60 starts with"; + uses relay-option-60-match-top; + } + choice server-group-choice { + case case_1 { + leaf default-relay-server-group { + description "Name of DHCP relay server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf default-local-server-group { + description "Name of DHCP local server group when match is not made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is not made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is not made"; + type empty; + } + } + } + } + } + grouping relay-option-60-match-top { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Add circuit identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf user-defined { + description "Include user defined string"; + type empty; + } + leaf keep-incoming-circuit-id { + description "Keep incoming circuit identifier"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Add remote identifier"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + } + leaf server-id-override { + description "Add link-selection and server-id sub-options on packets to server"; + type empty; + } + container vendor-specific { + description "Add vendor-specific information"; + uses jdhcp-vendor-specific-type; + } + } + grouping relay-v4-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf local-server-group { + description "Name of DHCP local server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_3 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_4 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping relay-v6-option-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-group-choice { + case case_1 { + leaf relay-server-group { + description "Name of DHCP relay server group when match is made"; + type string { + length "1 .. 64"; + } + } + } + case case_2 { + leaf drop { + description "Discard when a match is made"; + type empty; + } + } + case case_3 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + } + } + } + grouping security-dhcpv6-options-type { + description "Configure DHCPv6 options"; + uses apply-advanced; + container option-37 { + presence "enable option-37"; + description "Configure DHCPv6 remote identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 remote identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 remote identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 remote identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 remote identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 remote identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 remote identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 remote identifier"; + type string; + } + } + container option-18 { + presence "enable option-18"; + description "Configure DHCPv6 interface identifier option"; + uses apply-advanced; + container prefix { + description "Configure DHCPv6 interface identifier prefix"; + uses apply-advanced; + leaf host-name { + description "Prefix router host name to DHCPv6 interface identifier"; + type empty; + } + leaf logical-system-name { + description "Prefix logical system name to DHCPv6 interface identifier"; + type empty; + } + leaf routing-instance-name { + description "Prefix routing instance name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-name { + description "Prefix vlan name to DHCPv6 interface identifier"; + type empty; + } + leaf vlan-id { + description "Prefix vlan tag to DHCPv6 interface identifier"; + type empty; + } + } + leaf use-interface-mac { + description "Add incoming interface's MAC address to DHCPv6 circuit identifier"; + type empty; + } + leaf use-interface-index { + description "Add interface index to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface index"; + } + enum "device" { + description "Use the device interface index"; + } + } + } + leaf use-interface-name { + description "Add interface name to DHCPv6 remote identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface name"; + } + enum "device" { + description "Use the device interface name"; + } + } + } + leaf use-interface-description { + description "Add interface description to DHCPv6 interface identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Add custom string to DHCPv6 interface identifier"; + type string; + } + } + container option-16 { + presence "enable option-16"; + description "Configure DHCPv6 vendor class identifier option. Overwrite if exists"; + uses apply-advanced; + leaf use-string { + description "Add custom string to DHCPv6 vendor identifier"; + type string; + } + } + leaf option-79 { + description "Configure DHCPv6 client link layer address option"; + type empty; + } + } + grouping security-option-82-type { + description "DHCP option-82 processing"; + uses apply-advanced; + container circuit-id { + presence "enable circuit-id"; + description "Configure DHCP option 82 circuit id"; + uses apply-advanced; + container prefix { + description "Configure DHCP option 82 circuit id prefix"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 circuit id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to DHCP option-82 circuit id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to DHCP option-82 circuit id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + } + container remote-id { + presence "enable remote-id"; + description "Configure DHCP option 82 remote id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to DHCP option-82 remote id"; + type empty; + } + leaf use-interface-description { + description "Use interface description instead of interface name"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-string { + description "Use raw string instead of the default remote id"; + type string; + } + leaf mac { + description "Add chassis MAC Address to DHCP option-82 remote id"; + type empty; + } + } + container vendor-id { + presence "enable vendor-id"; + description "Configure DHCP option 82 vendor id"; + uses apply-advanced; + leaf use-string { + description "Use raw string instead of the default vendor id"; + default "Juniper Networks"; + type string; + } + } + } + grouping server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping server-match-action-choice { + uses apply-advanced; + choice v4-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + grouping server-match-v6-ascii-hex { + uses apply-advanced; + list ascii { + key name; + description "ASCII string"; + leaf name { + description "ASCII string"; + type string { + length "1 .. 256"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + list hexadecimal { + key name; + description "Hexadecimal string"; + leaf name { + description "Hexadecimal string"; + type string { + length "1 .. 512"; + } + } + uses apply-advanced; + choice server-match-action-choice { + case case_1 { + leaf forward-only { + description "Forward without subscriber services when a match is made"; + type empty; + } + } + case case_2 { + leaf create-relay-entry { + description "Create relay entry and allow subscriber services"; + type empty; + } + } + } + } + } + grouping trace_file_type { + leaf filename { + description "Name of file in which to write trace information"; + type string { + length "1 .. 1024"; + } + } + leaf replace { + description "Replace trace file rather than appending to it"; + status deprecated; + type empty; + } + leaf size { + description "Maximum trace file size"; + type string; + } + leaf files { + description "Maximum number of trace files"; + default "10"; + type union { + type string { + pattern "<.*>|$.*"; + } + type uint32 { + range "2 .. 1000"; + } + } + } + leaf no-stamp { + description "Do not timestamp trace file"; + status deprecated; + type empty; + } + choice world-readable-choice { + leaf world-readable { + description "Allow any user to read the log file"; + type empty; + } + leaf no-world-readable { + description "Don't allow any user to read the log file"; + type empty; + } + } + } + grouping v6-relay-option-interface-id-type { + description "Interface ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 circuit-id for interface-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + container keep-incoming-interface-id { + description "Keep incoming interface identifier"; + presence "enable keep-incoming-interface-id"; + uses v6-relay-option-cid-rid-action; + } + } + grouping v6-relay-option-cid-rid-action { + uses apply-advanced; + leaf strict { + description "Drop packet if id not present"; + type empty; + } + } + grouping v6-relay-option-remote-id-type { + description "Remote ID processing"; + uses apply-advanced; + container prefix { + description "Add prefix to circuit/interface-id or remote-id"; + uses apply-advanced; + leaf host-name { + description "Add router host name to circuit / interface-id or remote-id"; + type empty; + } + leaf logical-system-name { + description "Add logical system name to circuit / interface-id or remote-id"; + type empty; + } + leaf routing-instance-name { + description "Add routing instance name to circuit / interface-id or remote-id"; + type empty; + } + } + leaf use-interface-description { + description "Use interface description instead of circuit identifier"; + type enumeration { + enum "logical" { + description "Use the logical interface description"; + } + enum "device" { + description "Use the device interface description"; + } + } + } + leaf use-vlan-id { + description "Use VLAN id instead of name"; + type empty; + } + leaf no-vlan-interface-name { + description "Not include vlan or interface name"; + type empty; + } + leaf include-irb-and-l2 { + description "Include IRB and L2 interface name"; + type empty; + } + container use-option-82 { + description "Use option-82 remote-id for v6 remote-id"; + presence "enable use-option-82"; + uses v6-relay-option-cid-rid-action; + } + leaf keep-incoming-remote-id { + description "Keep incoming remote identifier"; + type empty; + } + } + grouping v6-server-group-type { + uses apply-advanced; + list server-group { + key name; + ordered-by user; + description "One or more server groups"; + leaf name { + description "DHCPv6 Server group name"; + type string { + length "1 .. 64"; + } + } + uses apply-advanced; + list address { + key name; + ordered-by user; + description "IP Address of one or more DHCP servers"; + max-elements 32; + leaf name { + description "IP Address of DHCP server"; + type jt:ipaddr; + } + uses apply-advanced; + } + } + } + grouping write-option-82-type { + uses apply-advanced; + } + } diff --git a/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-vmhost@2019-01-01.yang b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-vmhost@2019-01-01.yang new file mode 100644 index 00000000..8419e72d --- /dev/null +++ b/examples/yang/18.2/18.2R3/junos-qfx/conf/junos-qfx-conf-vmhost@2019-01-01.yang @@ -0,0 +1,454 @@ +/* + * Copyright (c) 2019 Juniper Networks, Inc. + * All rights reserved. + */ + module junos-qfx-conf-vmhost { + namespace "http://yang.juniper.net/junos-qfx/conf/vmhost"; + + prefix jc-vmhost; + + import junos-common-types { + prefix jt; + } + + import junos-qfx-conf-root { + prefix jc; + } + + organization "Juniper Networks, Inc."; + + contact "yang-support@juniper.net"; + + description "Junos vmhost configuration module"; + + revision 2019-01-01 { + description "Junos: 18.2R3"; + } + + augment /jc:configuration { + uses vmhost-group; + } + augment /jc:configuration/jc:groups { + uses vmhost-group; + } + grouping vmhost-group { + container vmhost { + description "VM Host configurations"; + uses apply-advanced; + leaf no-auto-recovery { + description "Disable Guest auto recovery by the host"; + type empty; + } + container management-if { + presence "enable management-if"; + description "Configuration for the host's side management interface"; + uses apply-advanced; + leaf link-mode { + description "Link operational mode"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Automatically negotiate duplex"; + } + enum "half-duplex" { + description "Half-duplex operation"; + } + enum "full-duplex" { + description "Full-duplex operation"; + } + } + } + leaf speed { + description "Link speed"; + default "automatic"; + type enumeration { + enum "automatic" { + description "Automatically negotiate speed"; + } + enum "10m" { + description "10Mbps operation"; + } + enum "100m" { + description "100Mbps operation"; + } + enum "1g" { + description "1Gbps operation"; + } + } + } + leaf disable { + description "Administratively disable the management port"; + type empty; + } + } + list interfaces { + key name; + ordered-by user; + description "Interface configuration"; + leaf name { + type enumeration { + enum "management-if0" { + description "Configuration for the host's side management interface0"; + } + enum "management-if1" { + description "Configuration for the host's side management interface1"; + } + } + } + uses apply-advanced; + container family { + description "Protocol family"; + container inet { + presence "enable inet"; + description "IPv4 parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv4prefix; + } + uses apply-advanced; + leaf master-only { + description "Master management IP address for host"; + type empty; + } + } + leaf gateway { + description "Gateway IP address"; + type jt:ipv4addr; + } + } + container inet6 { + presence "enable inet6"; + description "IPv6 parameters"; + uses apply-advanced; + list address { + key name; + ordered-by user; + description "Interface address/destination prefix"; + leaf name { + description "Interface address/destination prefix"; + type jt:ipv6prefix; + } + uses apply-advanced; + leaf master-only { + description "Master management IP address for host"; + type empty; + } + } + leaf gateway { + description "Gateway IP address"; + type jt:ipv6addr; + } + } + } + } + container syslog { + presence "enable syslog"; + description "VMhost logging facility"; + uses apply-advanced; + list file { + key name; + ordered-by user; + description "File in which to log data"; + leaf name { + description "Name of file in which to log data"; + type string { + length "1 .. 1024"; + } + } + uses apply-advanced; + list vmhost-syslog-object { + key "facility level"; + leaf facility { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "privileged" { + description "Privileged authorization events"; + } + enum "cron" { + description "Cron daemon"; + } + enum "daemon" { + description "Various system processes"; + } + enum "kernel" { + description "Kernel"; + } + enum "lpr" { + description "Line printer spooling system"; + } + enum "mail" { + description "Mail system"; + } + enum "mark" { + } + enum "news" { + description "Network news system"; + } + enum "syslog" { + } + enum "user" { + description "User processes"; + } + enum "uucp" { + description "UUCP system"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf level { + description "Level name"; + type enumeration { + enum "any" { + description "All levels"; + } + enum "emergency" { + description "Panic conditions"; + } + enum "alert" { + description "Conditions that should be corrected immediately"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "Error conditions"; + } + enum "warning" { + description "Warning messages"; + } + enum "notice" { + description "Conditions that should be handled specially"; + } + enum "info" { + description "Informational messages"; + } + enum "none" { + description "No messages"; + } + } + } + } + } + list host { + key name; + ordered-by user; + description "Host to be notified"; + leaf name { + description "Host to be notified"; + type string { + } + } + uses apply-advanced; + list vmhost-syslog-object { + key "facility level"; + leaf facility { + description "Facility type"; + type enumeration { + enum "any" { + description "All facilities"; + } + enum "authorization" { + description "Authorization system"; + } + enum "privileged" { + description "Privileged authorization events"; + } + enum "cron" { + description "Cron daemon"; + } + enum "daemon" { + description "Various system processes"; + } + enum "kernel" { + description "Kernel"; + } + enum "lpr" { + description "Line printer spooling system"; + } + enum "mail" { + description "Mail system"; + } + enum "mark" { + } + enum "news" { + description "Network news system"; + } + enum "syslog" { + } + enum "user" { + description "User processes"; + } + enum "uucp" { + description "UUCP system"; + } + enum "local0" { + description "Local logging option number 0"; + } + enum "local1" { + description "Local logging option number 1"; + } + enum "local2" { + description "Local logging option number 2"; + } + enum "local3" { + description "Local logging option number 3"; + } + enum "local4" { + description "Local logging option number 4"; + } + enum "local5" { + description "Local logging option number 5"; + } + enum "local6" { + description "Local logging option number 6"; + } + enum "local7" { + description "Local logging option number 7"; + } + } + } + leaf level { + description "Level name"; + type enumeration { + enum "any" { + description "All levels"; + } + enum "emergency" { + description "Panic conditions"; + } + enum "alert" { + description "Conditions that should be corrected immediately"; + } + enum "critical" { + description "Critical conditions"; + } + enum "error" { + description "Error conditions"; + } + enum "warning" { + description "Warning messages"; + } + enum "notice" { + description "Conditions that should be handled specially"; + } + enum "info" { + description "Informational messages"; + } + enum "none" { + description "No messages"; + } + } + } + } + leaf transport { + description "Transport type"; + default "udp"; + type enumeration { + enum "tcp" { + description "TCP as transport of syslog"; + } + enum "udp" { + description "UDP as transport of syslog"; + } + } + } + } + } + container services { + presence "enable services"; + description "System services"; + uses apply-advanced; + container ssh { + presence "enable ssh"; + description "Allow ssh access"; + uses apply-advanced; + leaf root-login { + description "Configure vmhost root access via ssh"; + type enumeration { + enum "allow" { + description "Allow root access via ssh"; + } + enum "deny" { + description "Do not allow root access via ssh"; + } + } + } + } + } + } + } + grouping apply-advanced { + description "Apply advanced configuration logic"; + leaf-list apply-groups { + ordered-by user; + description "Groups from which to inherit configuration data"; + type string; + } + leaf-list apply-groups-except { + ordered-by user; + description "Don't inherit configuration data from these groups"; + type string; + } + list apply-macro { + key name; + ordered-by user; + description "Macro and parameters for commit script expansion"; + uses apply-macro-type; + } + } + grouping apply-macro-type { + description "Macro data for commit-script expansion"; + leaf name { + description "Name of the macro to be expanded"; + type string; + } + list data { + key name; + uses macro-data-type; + } + } + grouping macro-data-type { + leaf name { + description "Keyword part of the keyword-value pair"; + type string; + } + leaf value { + description "Value part of the keyword-value pair"; + type string; + } + } + } diff --git a/junosterraform/unit_tests/test_workflow.py b/junosterraform/unit_tests/test_workflow.py index 2c724d9f..8d5b3866 100644 --- a/junosterraform/unit_tests/test_workflow.py +++ b/junosterraform/unit_tests/test_workflow.py @@ -5,6 +5,7 @@ import shutil import sys import unittest +from subprocess import CalledProcessError class TestWorkflow(unittest.TestCase): @@ -15,7 +16,7 @@ def test_workflow_basic(self): def test_yang2go(): repo_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")) - yang_root = os.path.abspath(os.path.join(repo_root, "..", "yang")) + yang_root = os.path.abspath(os.path.join(repo_root, "examples", "yang")) print("repo_root:", repo_root) print("yang_root:", yang_root) @@ -78,15 +79,22 @@ def test_yang2go(): ] print("CMD:", cmd) - proc = subprocess.run( - cmd, - input=stdin_json, - text=True, - capture_output=True, - check=True, - cwd=repo_root, - env=env - ) + try: + proc = subprocess.run( + cmd, + input=stdin_json, + text=True, + capture_output=True, + check=True, + cwd=repo_root, + env=env + ) + except CalledProcessError as e: + # Debug output + print("RETURNCODE:", e.returncode) + print("STDOUT:\n", e.output) + print("STDERR:\n", e.stderr) + raise(e) # Debug output print("RETURNCODE:", proc.returncode) diff --git a/requirements.txt b/requirements.txt index ada65ade..59441433 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,5 @@ pyang>=2.5 jinja2>=3.1 click>=8.0 pytest>=7.0 -lxml>=4.9 \ No newline at end of file +lxml>=4.9 +pyaml>=25.7.0 diff --git a/setup.py b/setup.py index 65896234..3bbf6d95 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,6 @@ version='1.0.1', url='https://github.com/aburston/junos-terraform', tests_require=["pytest"], - test_suite="junosterraform.unit_tests", author="Juniper Networks", description="Junos Terraform Framework", packages=["junosterraform", "jtaf_pyang_plugin", "terraform_provider"],